d3d9/tests: Test cursor clipping.
[wine.git] / configure
blob75327beacfbf55ff1fcc7fafcef3cf1476eb89d8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.5.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.5'
584 PACKAGE_STRING='Wine 5.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXCESS_PRECISION_CFLAGS
635 EXTRACFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 INOTIFY_LIBS
694 INOTIFY_CFLAGS
695 XSLT_LIBS
696 XSLT_CFLAGS
697 XML2_LIBS
698 XML2_CFLAGS
699 PCAP_LIBS
700 X_EXTRA_LIBS
701 X_LIBS
702 X_PRE_LIBS
703 X_CFLAGS
704 XMKMF
705 PTHREAD_LIBS
706 DELAYLOADFLAG
707 CROSSLDFLAGS
708 EXTRACROSSCFLAGS
709 CROSSCFLAGS
710 CROSSCC
711 CROSSTARGET
712 LIBWINE_DEPENDS
713 PRELINK
714 WINELOADER_DEPENDS
715 LIBWINE_LDFLAGS
716 LIBWINE_SHAREDLIB
717 METAL_LIBS
718 CARBON_LIBS
719 QUICKTIME_LIBS
720 OPENCL_LIBS
721 OPENAL_LIBS
722 COREAUDIO_LIBS
723 SECURITY_LIBS
724 DISKARBITRATION_LIBS
725 SYSTEMCONFIGURATION_LIBS
726 APPKIT_LIBS
727 CORESERVICES_LIBS
728 APPLICATIONSERVICES_LIBS
729 FORCEFEEDBACK_LIBS
730 IOKIT_LIBS
731 COREFOUNDATION_LIBS
732 OBJCPP
733 ac_ct_OBJC
734 OBJCFLAGS
735 OBJC
736 DLLTOOL
737 WINELOADER_PROGRAMS
738 CONFIGURE_TARGETS
739 DISABLED_SUBDIRS
740 SUBDIRS
741 READELF
742 OTOOL
744 WINEPRELOADER_LDFLAGS
745 WINELOADER_LDFLAGS
746 TOP_INSTALL_DEV
747 TOP_INSTALL_LIB
748 LDEXECFLAGS
749 LDDLLFLAGS
750 LDRPATH_LOCAL
751 LDRPATH_INSTALL
752 DLLFLAGS
754 OPENGL_LIBS
755 I386_LIBS
756 ICOTOOL
757 CONVERT
758 RSVG
759 FONTFORGE
760 PKG_CONFIG
761 MSGFMT
762 LDCONFIG
763 EGREP
764 GREP
765 LN_S
766 RANLIB
767 STRIP
768 ac_ct_AR
770 BISON
771 FLEX
772 TOOLSDIR
773 TARGETFLAGS
775 CPPBIN
776 ac_ct_CXX
777 CXXFLAGS
779 OBJEXT
780 EXEEXT
781 ac_ct_CC
782 CPPFLAGS
783 LDFLAGS
784 CFLAGS
786 SET_MAKE
787 host_os
788 host_vendor
789 host_cpu
790 host
791 build_os
792 build_vendor
793 build_cpu
794 build
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 runstatedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_win16
838 enable_win64
839 enable_tests
840 enable_maintainer_mode
841 enable_werror
842 with_alsa
843 with_capi
844 with_cms
845 with_coreaudio
846 with_cups
847 with_curses
848 with_dbus
849 with_faudio
850 with_float_abi
851 with_fontconfig
852 with_freetype
853 with_gettext
854 with_gettextpo
855 with_gphoto
856 with_glu
857 with_gnutls
858 with_gsm
859 with_gssapi
860 with_gstreamer
861 with_hal
862 with_inotify
863 with_jpeg
864 with_krb5
865 with_ldap
866 with_mingw
867 with_mpg123
868 with_netapi
869 with_openal
870 with_opencl
871 with_opengl
872 with_osmesa
873 with_oss
874 with_pcap
875 with_png
876 with_pthread
877 with_pulse
878 with_sane
879 with_sdl
880 with_tiff
881 with_udev
882 with_unwind
883 with_v4l2
884 with_vkd3d
885 with_vulkan
886 with_xcomposite
887 with_xcursor
888 with_xfixes
889 with_xinerama
890 with_xinput
891 with_xinput2
892 with_xml
893 with_xrandr
894 with_xrender
895 with_xshape
896 with_xshm
897 with_xslt
898 with_xxf86vm
899 with_wine_tools
900 with_wine64
901 enable_largefile
902 with_x
903 enable_acledit
904 enable_aclui
905 enable_activeds_tlb
906 enable_activeds
907 enable_actxprxy
908 enable_adsiid
909 enable_adsldp
910 enable_adsldpc
911 enable_advapi32
912 enable_advpack
913 enable_amsi
914 enable_amstream
915 enable_api_ms_win_appmodel_identity_l1_1_0
916 enable_api_ms_win_appmodel_runtime_l1_1_1
917 enable_api_ms_win_appmodel_runtime_l1_1_2
918 enable_api_ms_win_core_apiquery_l1_1_0
919 enable_api_ms_win_core_appcompat_l1_1_1
920 enable_api_ms_win_core_appinit_l1_1_0
921 enable_api_ms_win_core_atoms_l1_1_0
922 enable_api_ms_win_core_bem_l1_1_0
923 enable_api_ms_win_core_com_l1_1_0
924 enable_api_ms_win_core_com_l1_1_1
925 enable_api_ms_win_core_com_private_l1_1_0
926 enable_api_ms_win_core_comm_l1_1_0
927 enable_api_ms_win_core_console_l1_1_0
928 enable_api_ms_win_core_console_l2_1_0
929 enable_api_ms_win_core_crt_l1_1_0
930 enable_api_ms_win_core_crt_l2_1_0
931 enable_api_ms_win_core_datetime_l1_1_0
932 enable_api_ms_win_core_datetime_l1_1_1
933 enable_api_ms_win_core_debug_l1_1_0
934 enable_api_ms_win_core_debug_l1_1_1
935 enable_api_ms_win_core_delayload_l1_1_0
936 enable_api_ms_win_core_delayload_l1_1_1
937 enable_api_ms_win_core_errorhandling_l1_1_0
938 enable_api_ms_win_core_errorhandling_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_2
940 enable_api_ms_win_core_errorhandling_l1_1_3
941 enable_api_ms_win_core_fibers_l1_1_0
942 enable_api_ms_win_core_fibers_l1_1_1
943 enable_api_ms_win_core_file_l1_1_0
944 enable_api_ms_win_core_file_l1_2_0
945 enable_api_ms_win_core_file_l1_2_1
946 enable_api_ms_win_core_file_l1_2_2
947 enable_api_ms_win_core_file_l2_1_0
948 enable_api_ms_win_core_file_l2_1_1
949 enable_api_ms_win_core_file_l2_1_2
950 enable_api_ms_win_core_handle_l1_1_0
951 enable_api_ms_win_core_heap_l1_1_0
952 enable_api_ms_win_core_heap_l1_2_0
953 enable_api_ms_win_core_heap_l2_1_0
954 enable_api_ms_win_core_heap_obsolete_l1_1_0
955 enable_api_ms_win_core_interlocked_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_2_0
957 enable_api_ms_win_core_io_l1_1_0
958 enable_api_ms_win_core_io_l1_1_1
959 enable_api_ms_win_core_job_l1_1_0
960 enable_api_ms_win_core_job_l2_1_0
961 enable_api_ms_win_core_kernel32_legacy_l1_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_1
963 enable_api_ms_win_core_kernel32_private_l1_1_1
964 enable_api_ms_win_core_largeinteger_l1_1_0
965 enable_api_ms_win_core_libraryloader_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_1
967 enable_api_ms_win_core_libraryloader_l1_2_0
968 enable_api_ms_win_core_libraryloader_l1_2_1
969 enable_api_ms_win_core_libraryloader_l1_2_2
970 enable_api_ms_win_core_localization_l1_1_0
971 enable_api_ms_win_core_localization_l1_2_0
972 enable_api_ms_win_core_localization_l1_2_1
973 enable_api_ms_win_core_localization_l2_1_0
974 enable_api_ms_win_core_localization_obsolete_l1_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_2_0
976 enable_api_ms_win_core_localization_obsolete_l1_3_0
977 enable_api_ms_win_core_localization_private_l1_1_0
978 enable_api_ms_win_core_localregistry_l1_1_0
979 enable_api_ms_win_core_memory_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_1
981 enable_api_ms_win_core_memory_l1_1_2
982 enable_api_ms_win_core_misc_l1_1_0
983 enable_api_ms_win_core_namedpipe_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_2_0
985 enable_api_ms_win_core_namespace_l1_1_0
986 enable_api_ms_win_core_normalization_l1_1_0
987 enable_api_ms_win_core_path_l1_1_0
988 enable_api_ms_win_core_privateprofile_l1_1_1
989 enable_api_ms_win_core_processenvironment_l1_1_0
990 enable_api_ms_win_core_processenvironment_l1_2_0
991 enable_api_ms_win_core_processthreads_l1_1_0
992 enable_api_ms_win_core_processthreads_l1_1_1
993 enable_api_ms_win_core_processthreads_l1_1_2
994 enable_api_ms_win_core_processthreads_l1_1_3
995 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
996 enable_api_ms_win_core_profile_l1_1_0
997 enable_api_ms_win_core_psapi_ansi_l1_1_0
998 enable_api_ms_win_core_psapi_l1_1_0
999 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1000 enable_api_ms_win_core_quirks_l1_1_0
1001 enable_api_ms_win_core_realtime_l1_1_0
1002 enable_api_ms_win_core_registry_l1_1_0
1003 enable_api_ms_win_core_registry_l2_1_0
1004 enable_api_ms_win_core_registry_l2_2_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_qasf
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_rtworkq
1543 enable_samlib
1544 enable_sane_ds
1545 enable_sapi
1546 enable_sas
1547 enable_scarddlg
1548 enable_sccbase
1549 enable_schannel
1550 enable_schedsvc
1551 enable_scrobj
1552 enable_scrrun
1553 enable_scsiport_sys
1554 enable_secur32
1555 enable_security
1556 enable_sensapi
1557 enable_serialui
1558 enable_setupapi
1559 enable_sfc
1560 enable_sfc_os
1561 enable_shcore
1562 enable_shdoclc
1563 enable_shdocvw
1564 enable_shell32
1565 enable_shfolder
1566 enable_shlwapi
1567 enable_slbcsp
1568 enable_slc
1569 enable_snmpapi
1570 enable_softpub
1571 enable_spoolss
1572 enable_srclient
1573 enable_sspicli
1574 enable_stdole2_tlb
1575 enable_stdole32_tlb
1576 enable_sti
1577 enable_strmbase
1578 enable_strmdll
1579 enable_strmiids
1580 enable_svrapi
1581 enable_sxs
1582 enable_t2embed
1583 enable_tapi32
1584 enable_taskschd
1585 enable_tdh
1586 enable_tdi_sys
1587 enable_traffic
1588 enable_twain_32
1589 enable_tzres
1590 enable_ucrtbase
1591 enable_uianimation
1592 enable_uiautomationcore
1593 enable_uiribbon
1594 enable_unicows
1595 enable_updspapi
1596 enable_url
1597 enable_urlmon
1598 enable_usbd_sys
1599 enable_user32
1600 enable_userenv
1601 enable_usp10
1602 enable_utildll
1603 enable_uuid
1604 enable_uxtheme
1605 enable_vbscript
1606 enable_vcomp
1607 enable_vcomp100
1608 enable_vcomp110
1609 enable_vcomp120
1610 enable_vcomp140
1611 enable_vcomp90
1612 enable_vcruntime140
1613 enable_vcruntime140_1
1614 enable_vdmdbg
1615 enable_version
1616 enable_vga
1617 enable_virtdisk
1618 enable_vssapi
1619 enable_vulkan_1
1620 enable_wbemdisp
1621 enable_wbemprox
1622 enable_wbemuuid
1623 enable_wdscore
1624 enable_webservices
1625 enable_wer
1626 enable_wevtapi
1627 enable_wiaservc
1628 enable_wimgapi
1629 enable_windowscodecs
1630 enable_windowscodecsext
1631 enable_winealsa_drv
1632 enable_wineandroid_drv
1633 enable_winebus_sys
1634 enable_winecoreaudio_drv
1635 enable_winecrt0
1636 enable_wined3d
1637 enable_winegstreamer
1638 enable_winehid_sys
1639 enable_winejoystick_drv
1640 enable_winemac_drv
1641 enable_winemapi
1642 enable_wineoss_drv
1643 enable_wineps_drv
1644 enable_winepulse_drv
1645 enable_wineqtdecoder
1646 enable_winevulkan
1647 enable_winex11_drv
1648 enable_wing32
1649 enable_winhttp
1650 enable_wininet
1651 enable_winmm
1652 enable_winnls32
1653 enable_winscard
1654 enable_winspool_drv
1655 enable_winsta
1656 enable_wintab32
1657 enable_wintrust
1658 enable_winusb
1659 enable_wlanapi
1660 enable_wlanui
1661 enable_wldap32
1662 enable_wmasf
1663 enable_wmcodecdspuuid
1664 enable_wmi
1665 enable_wmiutils
1666 enable_wmp
1667 enable_wmphoto
1668 enable_wmvcore
1669 enable_wnaspi32
1670 enable_wpc
1671 enable_wpcap
1672 enable_ws2_32
1673 enable_wsdapi
1674 enable_wshom_ocx
1675 enable_wsnmp32
1676 enable_wsock32
1677 enable_wtsapi32
1678 enable_wuapi
1679 enable_wuaueng
1680 enable_x3daudio1_0
1681 enable_x3daudio1_1
1682 enable_x3daudio1_2
1683 enable_x3daudio1_3
1684 enable_x3daudio1_4
1685 enable_x3daudio1_5
1686 enable_x3daudio1_6
1687 enable_x3daudio1_7
1688 enable_xapofx1_1
1689 enable_xapofx1_2
1690 enable_xapofx1_3
1691 enable_xapofx1_4
1692 enable_xapofx1_5
1693 enable_xaudio2_0
1694 enable_xaudio2_1
1695 enable_xaudio2_2
1696 enable_xaudio2_3
1697 enable_xaudio2_4
1698 enable_xaudio2_5
1699 enable_xaudio2_6
1700 enable_xaudio2_7
1701 enable_xaudio2_8
1702 enable_xaudio2_9
1703 enable_xinput1_1
1704 enable_xinput1_2
1705 enable_xinput1_3
1706 enable_xinput1_4
1707 enable_xinput9_1_0
1708 enable_xmllite
1709 enable_xolehlp
1710 enable_xpsprint
1711 enable_xpssvcs
1712 enable_fonts
1713 enable_include
1714 enable_port
1715 enable_wine
1716 enable_wpp
1717 enable_loader
1718 enable_nls
1719 enable_po
1720 enable_arp
1721 enable_aspnet_regiis
1722 enable_attrib
1723 enable_cabarc
1724 enable_cacls
1725 enable_chcp_com
1726 enable_clock
1727 enable_cmd
1728 enable_conhost
1729 enable_control
1730 enable_cscript
1731 enable_dism
1732 enable_dpnsvr
1733 enable_dxdiag
1734 enable_eject
1735 enable_expand
1736 enable_explorer
1737 enable_extrac32
1738 enable_fc
1739 enable_find
1740 enable_findstr
1741 enable_fsutil
1742 enable_hh
1743 enable_hostname
1744 enable_icacls
1745 enable_icinfo
1746 enable_iexplore
1747 enable_ipconfig
1748 enable_lodctr
1749 enable_mofcomp
1750 enable_mshta
1751 enable_msidb
1752 enable_msiexec
1753 enable_msinfo32
1754 enable_net
1755 enable_netsh
1756 enable_netstat
1757 enable_ngen
1758 enable_notepad
1759 enable_oleview
1760 enable_ping
1761 enable_plugplay
1762 enable_powershell
1763 enable_presentationfontcache
1764 enable_progman
1765 enable_reg
1766 enable_regasm
1767 enable_regedit
1768 enable_regini
1769 enable_regsvcs
1770 enable_regsvr32
1771 enable_rpcss
1772 enable_rundll32
1773 enable_sc
1774 enable_schtasks
1775 enable_sdbinst
1776 enable_secedit
1777 enable_servicemodelreg
1778 enable_services
1779 enable_shutdown
1780 enable_spoolsv
1781 enable_start
1782 enable_subst
1783 enable_svchost
1784 enable_systeminfo
1785 enable_taskkill
1786 enable_tasklist
1787 enable_taskmgr
1788 enable_termsv
1789 enable_uninstaller
1790 enable_unlodctr
1791 enable_view
1792 enable_wevtutil
1793 enable_whoami
1794 enable_wineboot
1795 enable_winebrowser
1796 enable_winecfg
1797 enable_wineconsole
1798 enable_winedbg
1799 enable_winedevice
1800 enable_winefile
1801 enable_winemenubuilder
1802 enable_winemine
1803 enable_winemsibuilder
1804 enable_winepath
1805 enable_winetest
1806 enable_winhlp32
1807 enable_winmgmt
1808 enable_winver
1809 enable_wmic
1810 enable_wmplayer
1811 enable_wordpad
1812 enable_write
1813 enable_wscript
1814 enable_wuauserv
1815 enable_wusa
1816 enable_xcopy
1817 enable_server
1818 enable_tools
1819 enable_sfnt2fon
1820 enable_widl
1821 enable_winebuild
1822 enable_winedump
1823 enable_winegcc
1824 enable_winemaker
1825 enable_wmc
1826 enable_wrc
1828 ac_precious_vars='build_alias
1829 host_alias
1830 target_alias
1832 CFLAGS
1833 LDFLAGS
1834 LIBS
1835 CPPFLAGS
1837 CXXFLAGS
1840 OBJC
1841 OBJCFLAGS
1842 OBJCPP
1843 XMKMF
1844 XML2_CFLAGS
1845 XML2_LIBS
1846 XSLT_CFLAGS
1847 XSLT_LIBS
1848 INOTIFY_CFLAGS
1849 INOTIFY_LIBS
1850 DBUS_CFLAGS
1851 DBUS_LIBS
1852 HAL_CFLAGS
1853 HAL_LIBS
1854 GNUTLS_CFLAGS
1855 GNUTLS_LIBS
1856 SANE_CFLAGS
1857 SANE_LIBS
1858 GPHOTO2_CFLAGS
1859 GPHOTO2_LIBS
1860 GPHOTO2_PORT_CFLAGS
1861 GPHOTO2_PORT_LIBS
1862 LCMS2_CFLAGS
1863 LCMS2_LIBS
1864 FREETYPE_CFLAGS
1865 FREETYPE_LIBS
1866 PULSE_CFLAGS
1867 PULSE_LIBS
1868 GSTREAMER_CFLAGS
1869 GSTREAMER_LIBS
1870 UDEV_CFLAGS
1871 UDEV_LIBS
1872 UNWIND_CFLAGS
1873 UNWIND_LIBS
1874 SDL2_CFLAGS
1875 SDL2_LIBS
1876 FAUDIO_CFLAGS
1877 FAUDIO_LIBS
1878 CAPI20_CFLAGS
1879 CAPI20_LIBS
1880 CUPS_CFLAGS
1881 CUPS_LIBS
1882 FONTCONFIG_CFLAGS
1883 FONTCONFIG_LIBS
1884 KRB5_CFLAGS
1885 KRB5_LIBS
1886 GSSAPI_CFLAGS
1887 GSSAPI_LIBS
1888 JPEG_CFLAGS
1889 JPEG_LIBS
1890 PNG_CFLAGS
1891 PNG_LIBS
1892 TIFF_CFLAGS
1893 TIFF_LIBS
1894 MPG123_CFLAGS
1895 MPG123_LIBS
1896 NETAPI_CFLAGS
1897 NETAPI_LIBS
1898 VKD3D_CFLAGS
1899 VKD3D_LIBS
1900 LDAP_CFLAGS
1901 LDAP_LIBS'
1904 # Initialize some variables set by options.
1905 ac_init_help=
1906 ac_init_version=false
1907 ac_unrecognized_opts=
1908 ac_unrecognized_sep=
1909 # The variables have the same names as the options, with
1910 # dashes changed to underlines.
1911 cache_file=/dev/null
1912 exec_prefix=NONE
1913 no_create=
1914 no_recursion=
1915 prefix=NONE
1916 program_prefix=NONE
1917 program_suffix=NONE
1918 program_transform_name=s,x,x,
1919 silent=
1920 site=
1921 srcdir=
1922 verbose=
1923 x_includes=NONE
1924 x_libraries=NONE
1926 # Installation directory options.
1927 # These are left unexpanded so users can "make install exec_prefix=/foo"
1928 # and all the variables that are supposed to be based on exec_prefix
1929 # by default will actually change.
1930 # Use braces instead of parens because sh, perl, etc. also accept them.
1931 # (The list follows the same order as the GNU Coding Standards.)
1932 bindir='${exec_prefix}/bin'
1933 sbindir='${exec_prefix}/sbin'
1934 libexecdir='${exec_prefix}/libexec'
1935 datarootdir='${prefix}/share'
1936 datadir='${datarootdir}'
1937 sysconfdir='${prefix}/etc'
1938 sharedstatedir='${prefix}/com'
1939 localstatedir='${prefix}/var'
1940 runstatedir='${localstatedir}/run'
1941 includedir='${prefix}/include'
1942 oldincludedir='/usr/include'
1943 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1944 infodir='${datarootdir}/info'
1945 htmldir='${docdir}'
1946 dvidir='${docdir}'
1947 pdfdir='${docdir}'
1948 psdir='${docdir}'
1949 libdir='${exec_prefix}/lib'
1950 localedir='${datarootdir}/locale'
1951 mandir='${datarootdir}/man'
1953 ac_prev=
1954 ac_dashdash=
1955 for ac_option
1957 # If the previous option needs an argument, assign it.
1958 if test -n "$ac_prev"; then
1959 eval $ac_prev=\$ac_option
1960 ac_prev=
1961 continue
1964 case $ac_option in
1965 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1966 *=) ac_optarg= ;;
1967 *) ac_optarg=yes ;;
1968 esac
1970 # Accept the important Cygnus configure options, so we can diagnose typos.
1972 case $ac_dashdash$ac_option in
1974 ac_dashdash=yes ;;
1976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1977 ac_prev=bindir ;;
1978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1979 bindir=$ac_optarg ;;
1981 -build | --build | --buil | --bui | --bu)
1982 ac_prev=build_alias ;;
1983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1984 build_alias=$ac_optarg ;;
1986 -cache-file | --cache-file | --cache-fil | --cache-fi \
1987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1988 ac_prev=cache_file ;;
1989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1991 cache_file=$ac_optarg ;;
1993 --config-cache | -C)
1994 cache_file=config.cache ;;
1996 -datadir | --datadir | --datadi | --datad)
1997 ac_prev=datadir ;;
1998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1999 datadir=$ac_optarg ;;
2001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2002 | --dataroo | --dataro | --datar)
2003 ac_prev=datarootdir ;;
2004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2006 datarootdir=$ac_optarg ;;
2008 -disable-* | --disable-*)
2009 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2010 # Reject names that are not valid shell variable names.
2011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2012 as_fn_error $? "invalid feature name: $ac_useropt"
2013 ac_useropt_orig=$ac_useropt
2014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2015 case $ac_user_opts in
2017 "enable_$ac_useropt"
2018 "*) ;;
2019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2020 ac_unrecognized_sep=', ';;
2021 esac
2022 eval enable_$ac_useropt=no ;;
2024 -docdir | --docdir | --docdi | --doc | --do)
2025 ac_prev=docdir ;;
2026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2027 docdir=$ac_optarg ;;
2029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2030 ac_prev=dvidir ;;
2031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2032 dvidir=$ac_optarg ;;
2034 -enable-* | --enable-*)
2035 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2036 # Reject names that are not valid shell variable names.
2037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2038 as_fn_error $? "invalid feature name: $ac_useropt"
2039 ac_useropt_orig=$ac_useropt
2040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2041 case $ac_user_opts in
2043 "enable_$ac_useropt"
2044 "*) ;;
2045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2046 ac_unrecognized_sep=', ';;
2047 esac
2048 eval enable_$ac_useropt=\$ac_optarg ;;
2050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2052 | --exec | --exe | --ex)
2053 ac_prev=exec_prefix ;;
2054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2056 | --exec=* | --exe=* | --ex=*)
2057 exec_prefix=$ac_optarg ;;
2059 -gas | --gas | --ga | --g)
2060 # Obsolete; use --with-gas.
2061 with_gas=yes ;;
2063 -help | --help | --hel | --he | -h)
2064 ac_init_help=long ;;
2065 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2066 ac_init_help=recursive ;;
2067 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2068 ac_init_help=short ;;
2070 -host | --host | --hos | --ho)
2071 ac_prev=host_alias ;;
2072 -host=* | --host=* | --hos=* | --ho=*)
2073 host_alias=$ac_optarg ;;
2075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2076 ac_prev=htmldir ;;
2077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2078 | --ht=*)
2079 htmldir=$ac_optarg ;;
2081 -includedir | --includedir | --includedi | --included | --include \
2082 | --includ | --inclu | --incl | --inc)
2083 ac_prev=includedir ;;
2084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2085 | --includ=* | --inclu=* | --incl=* | --inc=*)
2086 includedir=$ac_optarg ;;
2088 -infodir | --infodir | --infodi | --infod | --info | --inf)
2089 ac_prev=infodir ;;
2090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2091 infodir=$ac_optarg ;;
2093 -libdir | --libdir | --libdi | --libd)
2094 ac_prev=libdir ;;
2095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2096 libdir=$ac_optarg ;;
2098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2099 | --libexe | --libex | --libe)
2100 ac_prev=libexecdir ;;
2101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2102 | --libexe=* | --libex=* | --libe=*)
2103 libexecdir=$ac_optarg ;;
2105 -localedir | --localedir | --localedi | --localed | --locale)
2106 ac_prev=localedir ;;
2107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2108 localedir=$ac_optarg ;;
2110 -localstatedir | --localstatedir | --localstatedi | --localstated \
2111 | --localstate | --localstat | --localsta | --localst | --locals)
2112 ac_prev=localstatedir ;;
2113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2115 localstatedir=$ac_optarg ;;
2117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2118 ac_prev=mandir ;;
2119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2120 mandir=$ac_optarg ;;
2122 -nfp | --nfp | --nf)
2123 # Obsolete; use --without-fp.
2124 with_fp=no ;;
2126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2127 | --no-cr | --no-c | -n)
2128 no_create=yes ;;
2130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2132 no_recursion=yes ;;
2134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2136 | --oldin | --oldi | --old | --ol | --o)
2137 ac_prev=oldincludedir ;;
2138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2141 oldincludedir=$ac_optarg ;;
2143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2144 ac_prev=prefix ;;
2145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2146 prefix=$ac_optarg ;;
2148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2149 | --program-pre | --program-pr | --program-p)
2150 ac_prev=program_prefix ;;
2151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2153 program_prefix=$ac_optarg ;;
2155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2156 | --program-suf | --program-su | --program-s)
2157 ac_prev=program_suffix ;;
2158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2160 program_suffix=$ac_optarg ;;
2162 -program-transform-name | --program-transform-name \
2163 | --program-transform-nam | --program-transform-na \
2164 | --program-transform-n | --program-transform- \
2165 | --program-transform | --program-transfor \
2166 | --program-transfo | --program-transf \
2167 | --program-trans | --program-tran \
2168 | --progr-tra | --program-tr | --program-t)
2169 ac_prev=program_transform_name ;;
2170 -program-transform-name=* | --program-transform-name=* \
2171 | --program-transform-nam=* | --program-transform-na=* \
2172 | --program-transform-n=* | --program-transform-=* \
2173 | --program-transform=* | --program-transfor=* \
2174 | --program-transfo=* | --program-transf=* \
2175 | --program-trans=* | --program-tran=* \
2176 | --progr-tra=* | --program-tr=* | --program-t=*)
2177 program_transform_name=$ac_optarg ;;
2179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2180 ac_prev=pdfdir ;;
2181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2182 pdfdir=$ac_optarg ;;
2184 -psdir | --psdir | --psdi | --psd | --ps)
2185 ac_prev=psdir ;;
2186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2187 psdir=$ac_optarg ;;
2189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2190 | -silent | --silent | --silen | --sile | --sil)
2191 silent=yes ;;
2193 -runstatedir | --runstatedir | --runstatedi | --runstated \
2194 | --runstate | --runstat | --runsta | --runst | --runs \
2195 | --run | --ru | --r)
2196 ac_prev=runstatedir ;;
2197 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2198 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2199 | --run=* | --ru=* | --r=*)
2200 runstatedir=$ac_optarg ;;
2202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2203 ac_prev=sbindir ;;
2204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2205 | --sbi=* | --sb=*)
2206 sbindir=$ac_optarg ;;
2208 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2210 | --sharedst | --shareds | --shared | --share | --shar \
2211 | --sha | --sh)
2212 ac_prev=sharedstatedir ;;
2213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2216 | --sha=* | --sh=*)
2217 sharedstatedir=$ac_optarg ;;
2219 -site | --site | --sit)
2220 ac_prev=site ;;
2221 -site=* | --site=* | --sit=*)
2222 site=$ac_optarg ;;
2224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2225 ac_prev=srcdir ;;
2226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2227 srcdir=$ac_optarg ;;
2229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2230 | --syscon | --sysco | --sysc | --sys | --sy)
2231 ac_prev=sysconfdir ;;
2232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2234 sysconfdir=$ac_optarg ;;
2236 -target | --target | --targe | --targ | --tar | --ta | --t)
2237 ac_prev=target_alias ;;
2238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2239 target_alias=$ac_optarg ;;
2241 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2242 verbose=yes ;;
2244 -version | --version | --versio | --versi | --vers | -V)
2245 ac_init_version=: ;;
2247 -with-* | --with-*)
2248 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2249 # Reject names that are not valid shell variable names.
2250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2251 as_fn_error $? "invalid package name: $ac_useropt"
2252 ac_useropt_orig=$ac_useropt
2253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2254 case $ac_user_opts in
2256 "with_$ac_useropt"
2257 "*) ;;
2258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2259 ac_unrecognized_sep=', ';;
2260 esac
2261 eval with_$ac_useropt=\$ac_optarg ;;
2263 -without-* | --without-*)
2264 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2265 # Reject names that are not valid shell variable names.
2266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2267 as_fn_error $? "invalid package name: $ac_useropt"
2268 ac_useropt_orig=$ac_useropt
2269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2270 case $ac_user_opts in
2272 "with_$ac_useropt"
2273 "*) ;;
2274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2275 ac_unrecognized_sep=', ';;
2276 esac
2277 eval with_$ac_useropt=no ;;
2279 --x)
2280 # Obsolete; use --with-x.
2281 with_x=yes ;;
2283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2284 | --x-incl | --x-inc | --x-in | --x-i)
2285 ac_prev=x_includes ;;
2286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2288 x_includes=$ac_optarg ;;
2290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2292 ac_prev=x_libraries ;;
2293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2295 x_libraries=$ac_optarg ;;
2297 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2298 Try \`$0 --help' for more information"
2301 *=*)
2302 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2303 # Reject names that are not valid shell variable names.
2304 case $ac_envvar in #(
2305 '' | [0-9]* | *[!_$as_cr_alnum]* )
2306 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2307 esac
2308 eval $ac_envvar=\$ac_optarg
2309 export $ac_envvar ;;
2312 # FIXME: should be removed in autoconf 3.0.
2313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2316 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2319 esac
2320 done
2322 if test -n "$ac_prev"; then
2323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2324 as_fn_error $? "missing argument to $ac_option"
2327 if test -n "$ac_unrecognized_opts"; then
2328 case $enable_option_checking in
2329 no) ;;
2330 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2332 esac
2335 # Check all directory arguments for consistency.
2336 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2337 datadir sysconfdir sharedstatedir localstatedir includedir \
2338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2339 libdir localedir mandir runstatedir
2341 eval ac_val=\$$ac_var
2342 # Remove trailing slashes.
2343 case $ac_val in
2344 */ )
2345 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2346 eval $ac_var=\$ac_val;;
2347 esac
2348 # Be sure to have absolute directory names.
2349 case $ac_val in
2350 [\\/$]* | ?:[\\/]* ) continue;;
2351 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2352 esac
2353 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2354 done
2356 # There might be people who depend on the old broken behavior: `$host'
2357 # used to hold the argument of --host etc.
2358 # FIXME: To remove some day.
2359 build=$build_alias
2360 host=$host_alias
2361 target=$target_alias
2363 # FIXME: To remove some day.
2364 if test "x$host_alias" != x; then
2365 if test "x$build_alias" = x; then
2366 cross_compiling=maybe
2367 elif test "x$build_alias" != "x$host_alias"; then
2368 cross_compiling=yes
2372 ac_tool_prefix=
2373 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2375 test "$silent" = yes && exec 6>/dev/null
2378 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2379 ac_ls_di=`ls -di .` &&
2380 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2381 as_fn_error $? "working directory cannot be determined"
2382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2383 as_fn_error $? "pwd does not report name of working directory"
2386 # Find the source files, if location was not specified.
2387 if test -z "$srcdir"; then
2388 ac_srcdir_defaulted=yes
2389 # Try the directory containing this script, then the parent directory.
2390 ac_confdir=`$as_dirname -- "$as_myself" ||
2391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2392 X"$as_myself" : 'X\(//\)[^/]' \| \
2393 X"$as_myself" : 'X\(//\)$' \| \
2394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2395 $as_echo X"$as_myself" |
2396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2397 s//\1/
2400 /^X\(\/\/\)[^/].*/{
2401 s//\1/
2404 /^X\(\/\/\)$/{
2405 s//\1/
2408 /^X\(\/\).*/{
2409 s//\1/
2412 s/.*/./; q'`
2413 srcdir=$ac_confdir
2414 if test ! -r "$srcdir/$ac_unique_file"; then
2415 srcdir=..
2417 else
2418 ac_srcdir_defaulted=no
2420 if test ! -r "$srcdir/$ac_unique_file"; then
2421 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2422 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2424 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2425 ac_abs_confdir=`(
2426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2427 pwd)`
2428 # When building in place, set srcdir=.
2429 if test "$ac_abs_confdir" = "$ac_pwd"; then
2430 srcdir=.
2432 # Remove unnecessary trailing slashes from srcdir.
2433 # Double slashes in file names in object file debugging info
2434 # mess up M-x gdb in Emacs.
2435 case $srcdir in
2436 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2437 esac
2438 for ac_var in $ac_precious_vars; do
2439 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2440 eval ac_env_${ac_var}_value=\$${ac_var}
2441 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2442 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2443 done
2446 # Report the --help message.
2448 if test "$ac_init_help" = "long"; then
2449 # Omit some internal or obsolete options to make the list less imposing.
2450 # This message is too long to be a string in the A/UX 3.1 sh.
2451 cat <<_ACEOF
2452 \`configure' configures Wine 5.5 to adapt to many kinds of systems.
2454 Usage: $0 [OPTION]... [VAR=VALUE]...
2456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2457 VAR=VALUE. See below for descriptions of some of the useful variables.
2459 Defaults for the options are specified in brackets.
2461 Configuration:
2462 -h, --help display this help and exit
2463 --help=short display options specific to this package
2464 --help=recursive display the short help of all the included packages
2465 -V, --version display version information and exit
2466 -q, --quiet, --silent do not print \`checking ...' messages
2467 --cache-file=FILE cache test results in FILE [disabled]
2468 -C, --config-cache alias for \`--cache-file=config.cache'
2469 -n, --no-create do not create output files
2470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2472 Installation directories:
2473 --prefix=PREFIX install architecture-independent files in PREFIX
2474 [$ac_default_prefix]
2475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2476 [PREFIX]
2478 By default, \`make install' will install all the files in
2479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2481 for instance \`--prefix=\$HOME'.
2483 For better control, use the options below.
2485 Fine tuning of the installation directories:
2486 --bindir=DIR user executables [EPREFIX/bin]
2487 --sbindir=DIR system admin executables [EPREFIX/sbin]
2488 --libexecdir=DIR program executables [EPREFIX/libexec]
2489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2491 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2492 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2493 --libdir=DIR object code libraries [EPREFIX/lib]
2494 --includedir=DIR C header files [PREFIX/include]
2495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2498 --infodir=DIR info documentation [DATAROOTDIR/info]
2499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2500 --mandir=DIR man documentation [DATAROOTDIR/man]
2501 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2502 --htmldir=DIR html documentation [DOCDIR]
2503 --dvidir=DIR dvi documentation [DOCDIR]
2504 --pdfdir=DIR pdf documentation [DOCDIR]
2505 --psdir=DIR ps documentation [DOCDIR]
2506 _ACEOF
2508 cat <<\_ACEOF
2510 X features:
2511 --x-includes=DIR X include files are in DIR
2512 --x-libraries=DIR X library files are in DIR
2514 System types:
2515 --build=BUILD configure for building on BUILD [guessed]
2516 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2517 _ACEOF
2520 if test -n "$ac_init_help"; then
2521 case $ac_init_help in
2522 short | recursive ) echo "Configuration of Wine 5.5:";;
2523 esac
2524 cat <<\_ACEOF
2526 Optional Features:
2527 --disable-option-checking ignore unrecognized --enable/--with options
2528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2530 --disable-win16 do not include Win16 support
2531 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2532 binaries)
2533 --disable-tests do not build the regression tests
2534 --enable-maintainer-mode
2535 enable maintainer-specific build rules
2536 --enable-werror treat compilation warnings as errors
2537 --disable-largefile omit support for large files
2539 Optional Packages:
2540 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2541 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2542 --without-alsa do not use the Alsa sound support
2543 --without-capi do not use CAPI (ISDN support)
2544 --without-cms do not use CMS (color management support)
2545 --without-coreaudio do not use the CoreAudio sound support
2546 --without-cups do not use CUPS
2547 --without-curses do not use (n)curses
2548 --without-dbus do not use DBus (dynamic device support)
2549 --without-faudio do not use FAudio (XAudio2 support)
2550 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2551 --without-fontconfig do not use fontconfig
2552 --without-freetype do not use the FreeType library
2553 --without-gettext do not use gettext
2554 --with-gettextpo use the GetTextPO library to rebuild po files
2555 --without-gphoto do not use gphoto (Digital Camera support)
2556 --without-glu do not use the GLU library
2557 --without-gnutls do not use GnuTLS (schannel support)
2558 --without-gsm do not use libgsm (GSM 06.10 codec support)
2559 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2560 --without-gstreamer do not use GStreamer (codecs support)
2561 --without-hal do not use HAL (dynamic device support)
2562 --without-inotify do not use inotify (filesystem change notifications)
2563 --without-jpeg do not use JPEG
2564 --without-krb5 do not use krb5 (Kerberos)
2565 --without-ldap do not use LDAP
2566 --without-mingw do not use the MinGW cross-compiler
2567 --without-mpg123 do not use the mpg123 library
2568 --without-netapi do not use the Samba NetAPI library
2569 --without-openal do not use OpenAL
2570 --without-opencl do not use OpenCL
2571 --without-opengl do not use OpenGL
2572 --without-osmesa do not use the OSMesa library
2573 --without-oss do not use the OSS sound support
2574 --without-pcap do not use the Packet Capture library
2575 --without-png do not use PNG
2576 --without-pthread do not use the pthread library
2577 --without-pulse do not use PulseAudio sound support
2578 --without-sane do not use SANE (scanner support)
2579 --without-sdl do not use SDL
2580 --without-tiff do not use TIFF
2581 --without-udev do not use udev (plug and play support)
2582 --without-unwind do not use the libunwind library (exception
2583 handling)
2584 --without-v4l2 do not use v4l2 (video capture)
2585 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2586 --without-vulkan do not use Vulkan
2587 --without-xcomposite do not use the Xcomposite extension
2588 --without-xcursor do not use the Xcursor extension
2589 --without-xfixes do not use Xfixes for clipboard change notifications
2590 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2591 --without-xinput do not use the Xinput extension
2592 --without-xinput2 do not use the Xinput 2 extension
2593 --without-xml do not use XML
2594 --without-xrandr do not use Xrandr (multi-monitor support)
2595 --without-xrender do not use the Xrender extension
2596 --without-xshape do not use the Xshape extension
2597 --without-xshm do not use XShm (shared memory extension)
2598 --without-xslt do not use XSLT
2599 --without-xxf86vm do not use XFree video mode extension
2600 --with-wine-tools=DIR use Wine tools from directory DIR
2601 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2602 --with-x use the X Window System
2604 Some influential environment variables:
2605 CC C compiler command
2606 CFLAGS C compiler flags
2607 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2608 nonstandard directory <lib dir>
2609 LIBS libraries to pass to the linker, e.g. -l<library>
2610 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2611 you have headers in a nonstandard directory <include dir>
2612 CXX C++ compiler command
2613 CXXFLAGS C++ compiler flags
2614 CPP C preprocessor
2615 OBJC Objective C compiler command
2616 OBJCFLAGS Objective C compiler flags
2617 OBJCPP Objective C preprocessor
2618 XMKMF Path to xmkmf, Makefile generator for X Window System
2619 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2620 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2621 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2622 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2623 INOTIFY_CFLAGS
2624 C compiler flags for libinotify, overriding pkg-config
2625 INOTIFY_LIBS
2626 Linker flags for libinotify, overriding pkg-config
2627 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2628 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2629 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2630 HAL_LIBS Linker flags for hal, overriding pkg-config
2631 GNUTLS_CFLAGS
2632 C compiler flags for gnutls, overriding pkg-config
2633 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2634 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2635 SANE_LIBS Linker flags for libsane, overriding pkg-config
2636 GPHOTO2_CFLAGS
2637 C compiler flags for libgphoto2, overriding pkg-config
2638 GPHOTO2_LIBS
2639 Linker flags for libgphoto2, overriding pkg-config
2640 GPHOTO2_PORT_CFLAGS
2641 C compiler flags for libgphoto2_port, overriding pkg-config
2642 GPHOTO2_PORT_LIBS
2643 Linker flags for libgphoto2_port, overriding pkg-config
2644 LCMS2_CFLAGS
2645 C compiler flags for lcms2, overriding pkg-config
2646 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2647 FREETYPE_CFLAGS
2648 C compiler flags for freetype2, overriding pkg-config
2649 FREETYPE_LIBS
2650 Linker flags for freetype2, overriding pkg-config
2651 PULSE_CFLAGS
2652 C compiler flags for libpulse, overriding pkg-config
2653 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2654 GSTREAMER_CFLAGS
2655 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2656 gstreamer-audio-1.0, overriding pkg-config
2657 GSTREAMER_LIBS
2658 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2659 gstreamer-audio-1.0, overriding pkg-config
2660 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2661 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2662 UNWIND_CFLAGS
2663 C compiler flags for libunwind, overriding pkg-config
2664 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2665 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2666 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2667 FAUDIO_CFLAGS
2668 C compiler flags for faudio, overriding pkg-config
2669 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2670 CAPI20_CFLAGS
2671 C compiler flags for capi20, overriding pkg-config
2672 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2673 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2674 CUPS_LIBS Linker flags for cups, overriding pkg-config
2675 FONTCONFIG_CFLAGS
2676 C compiler flags for fontconfig, overriding pkg-config
2677 FONTCONFIG_LIBS
2678 Linker flags for fontconfig, overriding pkg-config
2679 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2680 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2681 GSSAPI_CFLAGS
2682 C compiler flags for krb5-gssapi, overriding pkg-config
2683 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2684 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2685 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2686 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2687 PNG_LIBS Linker flags for libpng, overriding pkg-config
2688 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2689 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2690 MPG123_CFLAGS
2691 C compiler flags for libmpg123, overriding pkg-config
2692 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2693 NETAPI_CFLAGS
2694 C compiler flags for netapi, overriding pkg-config
2695 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2696 VKD3D_CFLAGS
2697 C compiler flags for libvkd3d, overriding pkg-config
2698 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2699 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2700 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2702 Use these variables to override the choices made by `configure' or to help
2703 it to find libraries and programs with nonstandard names/locations.
2705 Report bugs to <wine-devel@winehq.org>.
2706 Wine home page: <https://www.winehq.org>.
2707 _ACEOF
2708 ac_status=$?
2711 if test "$ac_init_help" = "recursive"; then
2712 # If there are subdirs, report their specific --help.
2713 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2714 test -d "$ac_dir" ||
2715 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2716 continue
2717 ac_builddir=.
2719 case "$ac_dir" in
2720 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2722 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2723 # A ".." for each directory in $ac_dir_suffix.
2724 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2725 case $ac_top_builddir_sub in
2726 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2727 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2728 esac ;;
2729 esac
2730 ac_abs_top_builddir=$ac_pwd
2731 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2732 # for backward compatibility:
2733 ac_top_builddir=$ac_top_build_prefix
2735 case $srcdir in
2736 .) # We are building in place.
2737 ac_srcdir=.
2738 ac_top_srcdir=$ac_top_builddir_sub
2739 ac_abs_top_srcdir=$ac_pwd ;;
2740 [\\/]* | ?:[\\/]* ) # Absolute name.
2741 ac_srcdir=$srcdir$ac_dir_suffix;
2742 ac_top_srcdir=$srcdir
2743 ac_abs_top_srcdir=$srcdir ;;
2744 *) # Relative name.
2745 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2746 ac_top_srcdir=$ac_top_build_prefix$srcdir
2747 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2748 esac
2749 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2751 cd "$ac_dir" || { ac_status=$?; continue; }
2752 # Check for guested configure.
2753 if test -f "$ac_srcdir/configure.gnu"; then
2754 echo &&
2755 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2756 elif test -f "$ac_srcdir/configure"; then
2757 echo &&
2758 $SHELL "$ac_srcdir/configure" --help=recursive
2759 else
2760 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2761 fi || ac_status=$?
2762 cd "$ac_pwd" || { ac_status=$?; break; }
2763 done
2766 test -n "$ac_init_help" && exit $ac_status
2767 if $ac_init_version; then
2768 cat <<\_ACEOF
2769 Wine configure 5.5
2770 generated by GNU Autoconf 2.69
2772 Copyright (C) 2012 Free Software Foundation, Inc.
2773 This configure script is free software; the Free Software Foundation
2774 gives unlimited permission to copy, distribute and modify it.
2775 _ACEOF
2776 exit
2779 ## ------------------------ ##
2780 ## Autoconf initialization. ##
2781 ## ------------------------ ##
2783 # ac_fn_c_try_compile LINENO
2784 # --------------------------
2785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2786 ac_fn_c_try_compile ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 rm -f conftest.$ac_objext
2790 if { { ac_try="$ac_compile"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_compile") 2>conftest.err
2798 ac_status=$?
2799 if test -s conftest.err; then
2800 grep -v '^ *+' conftest.err >conftest.er1
2801 cat conftest.er1 >&5
2802 mv -f conftest.er1 conftest.err
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest.$ac_objext; then :
2809 ac_retval=0
2810 else
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 ac_retval=1
2816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2817 as_fn_set_status $ac_retval
2819 } # ac_fn_c_try_compile
2821 # ac_fn_cxx_try_compile LINENO
2822 # ----------------------------
2823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2824 ac_fn_cxx_try_compile ()
2826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827 rm -f conftest.$ac_objext
2828 if { { ac_try="$ac_compile"
2829 case "(($ac_try" in
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2832 esac
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_compile") 2>conftest.err
2836 ac_status=$?
2837 if test -s conftest.err; then
2838 grep -v '^ *+' conftest.err >conftest.er1
2839 cat conftest.er1 >&5
2840 mv -f conftest.er1 conftest.err
2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843 test $ac_status = 0; } && {
2844 test -z "$ac_cxx_werror_flag" ||
2845 test ! -s conftest.err
2846 } && test -s conftest.$ac_objext; then :
2847 ac_retval=0
2848 else
2849 $as_echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2852 ac_retval=1
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_cxx_try_compile
2859 # ac_fn_c_try_link LINENO
2860 # -----------------------
2861 # Try to link conftest.$ac_ext, and return whether this succeeded.
2862 ac_fn_c_try_link ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 rm -f conftest.$ac_objext conftest$ac_exeext
2866 if { { ac_try="$ac_link"
2867 case "(($ac_try" in
2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2870 esac
2871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2872 $as_echo "$ac_try_echo"; } >&5
2873 (eval "$ac_link") 2>conftest.err
2874 ac_status=$?
2875 if test -s conftest.err; then
2876 grep -v '^ *+' conftest.err >conftest.er1
2877 cat conftest.er1 >&5
2878 mv -f conftest.er1 conftest.err
2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2881 test $ac_status = 0; } && {
2882 test -z "$ac_c_werror_flag" ||
2883 test ! -s conftest.err
2884 } && test -s conftest$ac_exeext && {
2885 test "$cross_compiling" = yes ||
2886 test -x conftest$ac_exeext
2887 }; then :
2888 ac_retval=0
2889 else
2890 $as_echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2893 ac_retval=1
2895 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2896 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2897 # interfere with the next link command; also delete a directory that is
2898 # left behind by Apple's compiler. We do this before executing the actions.
2899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 as_fn_set_status $ac_retval
2903 } # ac_fn_c_try_link
2905 # ac_fn_c_try_cpp LINENO
2906 # ----------------------
2907 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2908 ac_fn_c_try_cpp ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 if { { ac_try="$ac_cpp conftest.$ac_ext"
2912 case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2919 ac_status=$?
2920 if test -s conftest.err; then
2921 grep -v '^ *+' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2923 mv -f conftest.er1 conftest.err
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; } > conftest.i && {
2927 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2928 test ! -s conftest.err
2929 }; then :
2930 ac_retval=0
2931 else
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2935 ac_retval=1
2937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 as_fn_set_status $ac_retval
2940 } # ac_fn_c_try_cpp
2942 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2943 # -------------------------------------------------------
2944 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2945 # the include files in INCLUDES and setting the cache variable VAR
2946 # accordingly.
2947 ac_fn_c_check_header_mongrel ()
2949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2950 if eval \${$3+:} false; then :
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2952 $as_echo_n "checking for $2... " >&6; }
2953 if eval \${$3+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 eval ac_res=\$$3
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2958 $as_echo "$ac_res" >&6; }
2959 else
2960 # Is the header compilable?
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2962 $as_echo_n "checking $2 usability... " >&6; }
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2966 #include <$2>
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 ac_header_compiler=yes
2970 else
2971 ac_header_compiler=no
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2975 $as_echo "$ac_header_compiler" >&6; }
2977 # Is the header present?
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2979 $as_echo_n "checking $2 presence... " >&6; }
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2982 #include <$2>
2983 _ACEOF
2984 if ac_fn_c_try_cpp "$LINENO"; then :
2985 ac_header_preproc=yes
2986 else
2987 ac_header_preproc=no
2989 rm -f conftest.err conftest.i conftest.$ac_ext
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2991 $as_echo "$ac_header_preproc" >&6; }
2993 # So? What about this header?
2994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2995 yes:no: )
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2997 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2999 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3001 no:yes:* )
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3003 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3005 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3007 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3009 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3012 ( $as_echo "## ------------------------------------ ##
3013 ## Report this to wine-devel@winehq.org ##
3014 ## ------------------------------------ ##"
3015 ) | sed "s/^/$as_me: WARNING: /" >&2
3017 esac
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3019 $as_echo_n "checking for $2... " >&6; }
3020 if eval \${$3+:} false; then :
3021 $as_echo_n "(cached) " >&6
3022 else
3023 eval "$3=\$ac_header_compiler"
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 } # ac_fn_c_check_header_mongrel
3033 # ac_fn_c_try_run LINENO
3034 # ----------------------
3035 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3036 # that executables *can* be run.
3037 ac_fn_c_try_run ()
3039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3040 if { { ac_try="$ac_link"
3041 case "(($ac_try" in
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3044 esac
3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_link") 2>&5
3048 ac_status=$?
3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3050 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3051 { { case "(($ac_try" in
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3054 esac
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_try") 2>&5
3058 ac_status=$?
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; }; then :
3061 ac_retval=0
3062 else
3063 $as_echo "$as_me: program exited with status $ac_status" >&5
3064 $as_echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3067 ac_retval=$ac_status
3069 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3071 as_fn_set_status $ac_retval
3073 } # ac_fn_c_try_run
3075 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3076 # -------------------------------------------------------
3077 # Tests whether HEADER exists and can be compiled using the include files in
3078 # INCLUDES, setting the cache variable VAR accordingly.
3079 ac_fn_c_check_header_compile ()
3081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3083 $as_echo_n "checking for $2... " >&6; }
3084 if eval \${$3+:} false; then :
3085 $as_echo_n "(cached) " >&6
3086 else
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3090 #include <$2>
3091 _ACEOF
3092 if ac_fn_c_try_compile "$LINENO"; then :
3093 eval "$3=yes"
3094 else
3095 eval "$3=no"
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099 eval ac_res=\$$3
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3101 $as_echo "$ac_res" >&6; }
3102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 } # ac_fn_c_check_header_compile
3106 # ac_fn_objc_try_compile LINENO
3107 # -----------------------------
3108 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3109 ac_fn_objc_try_compile ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 rm -f conftest.$ac_objext
3113 if { { ac_try="$ac_compile"
3114 case "(($ac_try" in
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3117 esac
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_compile") 2>conftest.err
3121 ac_status=$?
3122 if test -s conftest.err; then
3123 grep -v '^ *+' conftest.err >conftest.er1
3124 cat conftest.er1 >&5
3125 mv -f conftest.er1 conftest.err
3127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128 test $ac_status = 0; } && {
3129 test -z "$ac_objc_werror_flag" ||
3130 test ! -s conftest.err
3131 } && test -s conftest.$ac_objext; then :
3132 ac_retval=0
3133 else
3134 $as_echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 ac_retval=1
3139 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 as_fn_set_status $ac_retval
3142 } # ac_fn_objc_try_compile
3144 # ac_fn_objc_try_cpp LINENO
3145 # -------------------------
3146 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3147 ac_fn_objc_try_cpp ()
3149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3150 if { { ac_try="$ac_cpp conftest.$ac_ext"
3151 case "(($ac_try" in
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3154 esac
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3158 ac_status=$?
3159 if test -s conftest.err; then
3160 grep -v '^ *+' conftest.err >conftest.er1
3161 cat conftest.er1 >&5
3162 mv -f conftest.er1 conftest.err
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; } > conftest.i && {
3166 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3167 test ! -s conftest.err
3168 }; then :
3169 ac_retval=0
3170 else
3171 $as_echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3174 ac_retval=1
3176 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3177 as_fn_set_status $ac_retval
3179 } # ac_fn_objc_try_cpp
3181 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3182 # ----------------------------------------------------------
3183 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3184 # the include files in INCLUDES and setting the cache variable VAR
3185 # accordingly.
3186 ac_fn_objc_check_header_mongrel ()
3188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3189 if eval \${$3+:} false; then :
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3191 $as_echo_n "checking for $2... " >&6; }
3192 if eval \${$3+:} false; then :
3193 $as_echo_n "(cached) " >&6
3195 eval ac_res=\$$3
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3197 $as_echo "$ac_res" >&6; }
3198 else
3199 # Is the header compilable?
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3201 $as_echo_n "checking $2 usability... " >&6; }
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3205 #include <$2>
3206 _ACEOF
3207 if ac_fn_objc_try_compile "$LINENO"; then :
3208 ac_header_compiler=yes
3209 else
3210 ac_header_compiler=no
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3214 $as_echo "$ac_header_compiler" >&6; }
3216 # Is the header present?
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3218 $as_echo_n "checking $2 presence... " >&6; }
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3221 #include <$2>
3222 _ACEOF
3223 if ac_fn_objc_try_cpp "$LINENO"; then :
3224 ac_header_preproc=yes
3225 else
3226 ac_header_preproc=no
3228 rm -f conftest.err conftest.i conftest.$ac_ext
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3230 $as_echo "$ac_header_preproc" >&6; }
3232 # So? What about this header?
3233 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3234 yes:no: )
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3236 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3238 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3240 no:yes:* )
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3242 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3244 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3246 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3248 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3250 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3251 ( $as_echo "## ------------------------------------ ##
3252 ## Report this to wine-devel@winehq.org ##
3253 ## ------------------------------------ ##"
3254 ) | sed "s/^/$as_me: WARNING: /" >&2
3256 esac
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3258 $as_echo_n "checking for $2... " >&6; }
3259 if eval \${$3+:} false; then :
3260 $as_echo_n "(cached) " >&6
3261 else
3262 eval "$3=\$ac_header_compiler"
3264 eval ac_res=\$$3
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3266 $as_echo "$ac_res" >&6; }
3268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3270 } # ac_fn_objc_check_header_mongrel
3272 # ac_fn_c_check_func LINENO FUNC VAR
3273 # ----------------------------------
3274 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3275 ac_fn_c_check_func ()
3277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3279 $as_echo_n "checking for $2... " >&6; }
3280 if eval \${$3+:} false; then :
3281 $as_echo_n "(cached) " >&6
3282 else
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3285 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3287 #define $2 innocuous_$2
3289 /* System header to define __stub macros and hopefully few prototypes,
3290 which can conflict with char $2 (); below.
3291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3292 <limits.h> exists even on freestanding compilers. */
3294 #ifdef __STDC__
3295 # include <limits.h>
3296 #else
3297 # include <assert.h>
3298 #endif
3300 #undef $2
3302 /* Override any GCC internal prototype to avoid an error.
3303 Use char because int might match the return type of a GCC
3304 builtin and then its argument prototype would still apply. */
3305 #ifdef __cplusplus
3306 extern "C"
3307 #endif
3308 char $2 ();
3309 /* The GNU C library defines this for functions which it implements
3310 to always fail with ENOSYS. Some functions are actually named
3311 something starting with __ and the normal name is an alias. */
3312 #if defined __stub_$2 || defined __stub___$2
3313 choke me
3314 #endif
3317 main ()
3319 return $2 ();
3321 return 0;
3323 _ACEOF
3324 if ac_fn_c_try_link "$LINENO"; then :
3325 eval "$3=yes"
3326 else
3327 eval "$3=no"
3329 rm -f core conftest.err conftest.$ac_objext \
3330 conftest$ac_exeext conftest.$ac_ext
3332 eval ac_res=\$$3
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3334 $as_echo "$ac_res" >&6; }
3335 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3337 } # ac_fn_c_check_func
3339 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3340 # ----------------------------------------------------
3341 # Tries to find if the field MEMBER exists in type AGGR, after including
3342 # INCLUDES, setting cache variable VAR accordingly.
3343 ac_fn_c_check_member ()
3345 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3347 $as_echo_n "checking for $2.$3... " >&6; }
3348 if eval \${$4+:} false; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3355 main ()
3357 static $2 ac_aggr;
3358 if (ac_aggr.$3)
3359 return 0;
3361 return 0;
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365 eval "$4=yes"
3366 else
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3371 main ()
3373 static $2 ac_aggr;
3374 if (sizeof ac_aggr.$3)
3375 return 0;
3377 return 0;
3379 _ACEOF
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381 eval "$4=yes"
3382 else
3383 eval "$4=no"
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 eval ac_res=\$$4
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3391 $as_echo "$ac_res" >&6; }
3392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3394 } # ac_fn_c_check_member
3396 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3397 # -------------------------------------------
3398 # Tests whether TYPE exists after having included INCLUDES, setting cache
3399 # variable VAR accordingly.
3400 ac_fn_c_check_type ()
3402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3404 $as_echo_n "checking for $2... " >&6; }
3405 if eval \${$3+:} false; then :
3406 $as_echo_n "(cached) " >&6
3407 else
3408 eval "$3=no"
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3413 main ()
3415 if (sizeof ($2))
3416 return 0;
3418 return 0;
3420 _ACEOF
3421 if ac_fn_c_try_compile "$LINENO"; then :
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3426 main ()
3428 if (sizeof (($2)))
3429 return 0;
3431 return 0;
3433 _ACEOF
3434 if ac_fn_c_try_compile "$LINENO"; then :
3436 else
3437 eval "$3=yes"
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 eval ac_res=\$$3
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3445 $as_echo "$ac_res" >&6; }
3446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3448 } # ac_fn_c_check_type
3449 cat >config.log <<_ACEOF
3450 This file contains any messages produced by compilers while
3451 running configure, to aid debugging if configure makes a mistake.
3453 It was created by Wine $as_me 5.5, which was
3454 generated by GNU Autoconf 2.69. Invocation command line was
3456 $ $0 $@
3458 _ACEOF
3459 exec 5>>config.log
3461 cat <<_ASUNAME
3462 ## --------- ##
3463 ## Platform. ##
3464 ## --------- ##
3466 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3467 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3468 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3469 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3470 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3472 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3473 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3475 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3476 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3477 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3478 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3479 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3480 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3481 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3483 _ASUNAME
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 for as_dir in $PATH
3488 IFS=$as_save_IFS
3489 test -z "$as_dir" && as_dir=.
3490 $as_echo "PATH: $as_dir"
3491 done
3492 IFS=$as_save_IFS
3494 } >&5
3496 cat >&5 <<_ACEOF
3499 ## ----------- ##
3500 ## Core tests. ##
3501 ## ----------- ##
3503 _ACEOF
3506 # Keep a trace of the command line.
3507 # Strip out --no-create and --no-recursion so they do not pile up.
3508 # Strip out --silent because we don't want to record it for future runs.
3509 # Also quote any args containing shell meta-characters.
3510 # Make two passes to allow for proper duplicate-argument suppression.
3511 ac_configure_args=
3512 ac_configure_args0=
3513 ac_configure_args1=
3514 ac_must_keep_next=false
3515 for ac_pass in 1 2
3517 for ac_arg
3519 case $ac_arg in
3520 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3521 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3522 | -silent | --silent | --silen | --sile | --sil)
3523 continue ;;
3524 *\'*)
3525 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3526 esac
3527 case $ac_pass in
3528 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3530 as_fn_append ac_configure_args1 " '$ac_arg'"
3531 if test $ac_must_keep_next = true; then
3532 ac_must_keep_next=false # Got value, back to normal.
3533 else
3534 case $ac_arg in
3535 *=* | --config-cache | -C | -disable-* | --disable-* \
3536 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3537 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3538 | -with-* | --with-* | -without-* | --without-* | --x)
3539 case "$ac_configure_args0 " in
3540 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3541 esac
3543 -* ) ac_must_keep_next=true ;;
3544 esac
3546 as_fn_append ac_configure_args " '$ac_arg'"
3548 esac
3549 done
3550 done
3551 { ac_configure_args0=; unset ac_configure_args0;}
3552 { ac_configure_args1=; unset ac_configure_args1;}
3554 # When interrupted or exit'd, cleanup temporary files, and complete
3555 # config.log. We remove comments because anyway the quotes in there
3556 # would cause problems or look ugly.
3557 # WARNING: Use '\'' to represent an apostrophe within the trap.
3558 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3559 trap 'exit_status=$?
3560 # Save into config.log some information that might help in debugging.
3562 echo
3564 $as_echo "## ---------------- ##
3565 ## Cache variables. ##
3566 ## ---------------- ##"
3567 echo
3568 # The following way of writing the cache mishandles newlines in values,
3570 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3571 eval ac_val=\$$ac_var
3572 case $ac_val in #(
3573 *${as_nl}*)
3574 case $ac_var in #(
3575 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3577 esac
3578 case $ac_var in #(
3579 _ | IFS | as_nl) ;; #(
3580 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3581 *) { eval $ac_var=; unset $ac_var;} ;;
3582 esac ;;
3583 esac
3584 done
3585 (set) 2>&1 |
3586 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3587 *${as_nl}ac_space=\ *)
3588 sed -n \
3589 "s/'\''/'\''\\\\'\'''\''/g;
3590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3591 ;; #(
3593 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3595 esac |
3596 sort
3598 echo
3600 $as_echo "## ----------------- ##
3601 ## Output variables. ##
3602 ## ----------------- ##"
3603 echo
3604 for ac_var in $ac_subst_vars
3606 eval ac_val=\$$ac_var
3607 case $ac_val in
3608 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3609 esac
3610 $as_echo "$ac_var='\''$ac_val'\''"
3611 done | sort
3612 echo
3614 if test -n "$ac_subst_files"; then
3615 $as_echo "## ------------------- ##
3616 ## File substitutions. ##
3617 ## ------------------- ##"
3618 echo
3619 for ac_var in $ac_subst_files
3621 eval ac_val=\$$ac_var
3622 case $ac_val in
3623 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3624 esac
3625 $as_echo "$ac_var='\''$ac_val'\''"
3626 done | sort
3627 echo
3630 if test -s confdefs.h; then
3631 $as_echo "## ----------- ##
3632 ## confdefs.h. ##
3633 ## ----------- ##"
3634 echo
3635 cat confdefs.h
3636 echo
3638 test "$ac_signal" != 0 &&
3639 $as_echo "$as_me: caught signal $ac_signal"
3640 $as_echo "$as_me: exit $exit_status"
3641 } >&5
3642 rm -f core *.core core.conftest.* &&
3643 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3644 exit $exit_status
3646 for ac_signal in 1 2 13 15; do
3647 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3648 done
3649 ac_signal=0
3651 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3652 rm -f -r conftest* confdefs.h
3654 $as_echo "/* confdefs.h */" > confdefs.h
3656 # Predefined preprocessor variables.
3658 cat >>confdefs.h <<_ACEOF
3659 #define PACKAGE_NAME "$PACKAGE_NAME"
3660 _ACEOF
3662 cat >>confdefs.h <<_ACEOF
3663 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3664 _ACEOF
3666 cat >>confdefs.h <<_ACEOF
3667 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3668 _ACEOF
3670 cat >>confdefs.h <<_ACEOF
3671 #define PACKAGE_STRING "$PACKAGE_STRING"
3672 _ACEOF
3674 cat >>confdefs.h <<_ACEOF
3675 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3676 _ACEOF
3678 cat >>confdefs.h <<_ACEOF
3679 #define PACKAGE_URL "$PACKAGE_URL"
3680 _ACEOF
3683 # Let the site file select an alternate cache file if it wants to.
3684 # Prefer an explicitly selected file to automatically selected ones.
3685 ac_site_file1=NONE
3686 ac_site_file2=NONE
3687 if test -n "$CONFIG_SITE"; then
3688 # We do not want a PATH search for config.site.
3689 case $CONFIG_SITE in #((
3690 -*) ac_site_file1=./$CONFIG_SITE;;
3691 */*) ac_site_file1=$CONFIG_SITE;;
3692 *) ac_site_file1=./$CONFIG_SITE;;
3693 esac
3694 elif test "x$prefix" != xNONE; then
3695 ac_site_file1=$prefix/share/config.site
3696 ac_site_file2=$prefix/etc/config.site
3697 else
3698 ac_site_file1=$ac_default_prefix/share/config.site
3699 ac_site_file2=$ac_default_prefix/etc/config.site
3701 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3703 test "x$ac_site_file" = xNONE && continue
3704 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3706 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3707 sed 's/^/| /' "$ac_site_file" >&5
3708 . "$ac_site_file" \
3709 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "failed to load site script $ac_site_file
3712 See \`config.log' for more details" "$LINENO" 5; }
3714 done
3716 if test -r "$cache_file"; then
3717 # Some versions of bash will fail to source /dev/null (special files
3718 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3719 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3721 $as_echo "$as_me: loading cache $cache_file" >&6;}
3722 case $cache_file in
3723 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3724 *) . "./$cache_file";;
3725 esac
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3729 $as_echo "$as_me: creating cache $cache_file" >&6;}
3730 >$cache_file
3733 # Check that the precious variables saved in the cache have kept the same
3734 # value.
3735 ac_cache_corrupted=false
3736 for ac_var in $ac_precious_vars; do
3737 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3738 eval ac_new_set=\$ac_env_${ac_var}_set
3739 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3740 eval ac_new_val=\$ac_env_${ac_var}_value
3741 case $ac_old_set,$ac_new_set in
3742 set,)
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3744 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3745 ac_cache_corrupted=: ;;
3746 ,set)
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3748 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3749 ac_cache_corrupted=: ;;
3750 ,);;
3752 if test "x$ac_old_val" != "x$ac_new_val"; then
3753 # differences in whitespace do not lead to failure.
3754 ac_old_val_w=`echo x $ac_old_val`
3755 ac_new_val_w=`echo x $ac_new_val`
3756 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3758 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3759 ac_cache_corrupted=:
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3762 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3763 eval $ac_var=\$ac_old_val
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3766 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3768 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3769 fi;;
3770 esac
3771 # Pass precious variables to config.status.
3772 if test "$ac_new_set" = set; then
3773 case $ac_new_val in
3774 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3775 *) ac_arg=$ac_var=$ac_new_val ;;
3776 esac
3777 case " $ac_configure_args " in
3778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3779 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3780 esac
3782 done
3783 if $ac_cache_corrupted; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3787 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3788 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3790 ## -------------------- ##
3791 ## Main body of script. ##
3792 ## -------------------- ##
3794 ac_ext=c
3795 ac_cpp='$CPP $CPPFLAGS'
3796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802 ac_config_headers="$ac_config_headers include/config.h"
3804 ac_aux_dir=
3805 for ac_dir in tools "$srcdir"/tools; do
3806 if test -f "$ac_dir/install-sh"; then
3807 ac_aux_dir=$ac_dir
3808 ac_install_sh="$ac_aux_dir/install-sh -c"
3809 break
3810 elif test -f "$ac_dir/install.sh"; then
3811 ac_aux_dir=$ac_dir
3812 ac_install_sh="$ac_aux_dir/install.sh -c"
3813 break
3814 elif test -f "$ac_dir/shtool"; then
3815 ac_aux_dir=$ac_dir
3816 ac_install_sh="$ac_aux_dir/shtool install -c"
3817 break
3819 done
3820 if test -z "$ac_aux_dir"; then
3821 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3824 # These three variables are undocumented and unsupported,
3825 # and are intended to be withdrawn in a future Autoconf release.
3826 # They can cause serious problems if a builder's source tree is in a directory
3827 # whose full name contains unusual characters.
3828 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3829 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3830 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3834 libwine_version="1.0"
3838 # Check whether --enable-win16 was given.
3839 if test "${enable_win16+set}" = set; then :
3840 enableval=$enable_win16;
3843 # Check whether --enable-win64 was given.
3844 if test "${enable_win64+set}" = set; then :
3845 enableval=$enable_win64;
3848 # Check whether --enable-tests was given.
3849 if test "${enable_tests+set}" = set; then :
3850 enableval=$enable_tests;
3853 # Check whether --enable-maintainer-mode was given.
3854 if test "${enable_maintainer_mode+set}" = set; then :
3855 enableval=$enable_maintainer_mode;
3858 # Check whether --enable-werror was given.
3859 if test "${enable_werror+set}" = set; then :
3860 enableval=$enable_werror;
3865 # Check whether --with-alsa was given.
3866 if test "${with_alsa+set}" = set; then :
3867 withval=$with_alsa;
3871 # Check whether --with-capi was given.
3872 if test "${with_capi+set}" = set; then :
3873 withval=$with_capi;
3877 # Check whether --with-cms was given.
3878 if test "${with_cms+set}" = set; then :
3879 withval=$with_cms;
3883 # Check whether --with-coreaudio was given.
3884 if test "${with_coreaudio+set}" = set; then :
3885 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3889 # Check whether --with-cups was given.
3890 if test "${with_cups+set}" = set; then :
3891 withval=$with_cups;
3895 # Check whether --with-curses was given.
3896 if test "${with_curses+set}" = set; then :
3897 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3901 # Check whether --with-dbus was given.
3902 if test "${with_dbus+set}" = set; then :
3903 withval=$with_dbus;
3907 # Check whether --with-faudio was given.
3908 if test "${with_faudio+set}" = set; then :
3909 withval=$with_faudio;
3913 # Check whether --with-float-abi was given.
3914 if test "${with_float_abi+set}" = set; then :
3915 withval=$with_float_abi;
3919 # Check whether --with-fontconfig was given.
3920 if test "${with_fontconfig+set}" = set; then :
3921 withval=$with_fontconfig;
3925 # Check whether --with-freetype was given.
3926 if test "${with_freetype+set}" = set; then :
3927 withval=$with_freetype;
3931 # Check whether --with-gettext was given.
3932 if test "${with_gettext+set}" = set; then :
3933 withval=$with_gettext;
3937 # Check whether --with-gettextpo was given.
3938 if test "${with_gettextpo+set}" = set; then :
3939 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3943 # Check whether --with-gphoto was given.
3944 if test "${with_gphoto+set}" = set; then :
3945 withval=$with_gphoto;
3949 # Check whether --with-glu was given.
3950 if test "${with_glu+set}" = set; then :
3951 withval=$with_glu;
3955 # Check whether --with-gnutls was given.
3956 if test "${with_gnutls+set}" = set; then :
3957 withval=$with_gnutls;
3961 # Check whether --with-gsm was given.
3962 if test "${with_gsm+set}" = set; then :
3963 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3967 # Check whether --with-gssapi was given.
3968 if test "${with_gssapi+set}" = set; then :
3969 withval=$with_gssapi;
3973 # Check whether --with-gstreamer was given.
3974 if test "${with_gstreamer+set}" = set; then :
3975 withval=$with_gstreamer;
3979 # Check whether --with-hal was given.
3980 if test "${with_hal+set}" = set; then :
3981 withval=$with_hal;
3985 # Check whether --with-inotify was given.
3986 if test "${with_inotify+set}" = set; then :
3987 withval=$with_inotify;
3991 # Check whether --with-jpeg was given.
3992 if test "${with_jpeg+set}" = set; then :
3993 withval=$with_jpeg;
3997 # Check whether --with-krb5 was given.
3998 if test "${with_krb5+set}" = set; then :
3999 withval=$with_krb5;
4003 # Check whether --with-ldap was given.
4004 if test "${with_ldap+set}" = set; then :
4005 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4009 # Check whether --with-mingw was given.
4010 if test "${with_mingw+set}" = set; then :
4011 withval=$with_mingw;
4015 # Check whether --with-mpg123 was given.
4016 if test "${with_mpg123+set}" = set; then :
4017 withval=$with_mpg123;
4021 # Check whether --with-netapi was given.
4022 if test "${with_netapi+set}" = set; then :
4023 withval=$with_netapi;
4027 # Check whether --with-openal was given.
4028 if test "${with_openal+set}" = set; then :
4029 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4033 # Check whether --with-opencl was given.
4034 if test "${with_opencl+set}" = set; then :
4035 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4039 # Check whether --with-opengl was given.
4040 if test "${with_opengl+set}" = set; then :
4041 withval=$with_opengl;
4045 # Check whether --with-osmesa was given.
4046 if test "${with_osmesa+set}" = set; then :
4047 withval=$with_osmesa;
4051 # Check whether --with-oss was given.
4052 if test "${with_oss+set}" = set; then :
4053 withval=$with_oss;
4057 # Check whether --with-pcap was given.
4058 if test "${with_pcap+set}" = set; then :
4059 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4063 # Check whether --with-png was given.
4064 if test "${with_png+set}" = set; then :
4065 withval=$with_png;
4069 # Check whether --with-pthread was given.
4070 if test "${with_pthread+set}" = set; then :
4071 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4075 # Check whether --with-pulse was given.
4076 if test "${with_pulse+set}" = set; then :
4077 withval=$with_pulse;
4081 # Check whether --with-sane was given.
4082 if test "${with_sane+set}" = set; then :
4083 withval=$with_sane;
4087 # Check whether --with-sdl was given.
4088 if test "${with_sdl+set}" = set; then :
4089 withval=$with_sdl;
4093 # Check whether --with-tiff was given.
4094 if test "${with_tiff+set}" = set; then :
4095 withval=$with_tiff;
4099 # Check whether --with-udev was given.
4100 if test "${with_udev+set}" = set; then :
4101 withval=$with_udev;
4105 # Check whether --with-unwind was given.
4106 if test "${with_unwind+set}" = set; then :
4107 withval=$with_unwind;
4111 # Check whether --with-v4l2 was given.
4112 if test "${with_v4l2+set}" = set; then :
4113 withval=$with_v4l2;
4117 # Check whether --with-vkd3d was given.
4118 if test "${with_vkd3d+set}" = set; then :
4119 withval=$with_vkd3d;
4123 # Check whether --with-vulkan was given.
4124 if test "${with_vulkan+set}" = set; then :
4125 withval=$with_vulkan;
4129 # Check whether --with-xcomposite was given.
4130 if test "${with_xcomposite+set}" = set; then :
4131 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4135 # Check whether --with-xcursor was given.
4136 if test "${with_xcursor+set}" = set; then :
4137 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4141 # Check whether --with-xfixes was given.
4142 if test "${with_xfixes+set}" = set; then :
4143 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4147 # Check whether --with-xinerama was given.
4148 if test "${with_xinerama+set}" = set; then :
4149 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4153 # Check whether --with-xinput was given.
4154 if test "${with_xinput+set}" = set; then :
4155 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4159 # Check whether --with-xinput2 was given.
4160 if test "${with_xinput2+set}" = set; then :
4161 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4165 # Check whether --with-xml was given.
4166 if test "${with_xml+set}" = set; then :
4167 withval=$with_xml;
4171 # Check whether --with-xrandr was given.
4172 if test "${with_xrandr+set}" = set; then :
4173 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4177 # Check whether --with-xrender was given.
4178 if test "${with_xrender+set}" = set; then :
4179 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4183 # Check whether --with-xshape was given.
4184 if test "${with_xshape+set}" = set; then :
4185 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4189 # Check whether --with-xshm was given.
4190 if test "${with_xshm+set}" = set; then :
4191 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4195 # Check whether --with-xslt was given.
4196 if test "${with_xslt+set}" = set; then :
4197 withval=$with_xslt;
4201 # Check whether --with-xxf86vm was given.
4202 if test "${with_xxf86vm+set}" = set; then :
4203 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4208 # Check whether --with-wine-tools was given.
4209 if test "${with_wine_tools+set}" = set; then :
4210 withval=$with_wine_tools;
4214 # Check whether --with-wine64 was given.
4215 if test "${with_wine64+set}" = set; then :
4216 withval=$with_wine64;
4220 # Make sure we can run config.sub.
4221 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4222 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4225 $as_echo_n "checking build system type... " >&6; }
4226 if ${ac_cv_build+:} false; then :
4227 $as_echo_n "(cached) " >&6
4228 else
4229 ac_build_alias=$build_alias
4230 test "x$ac_build_alias" = x &&
4231 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4232 test "x$ac_build_alias" = x &&
4233 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4234 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4235 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4239 $as_echo "$ac_cv_build" >&6; }
4240 case $ac_cv_build in
4241 *-*-*) ;;
4242 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4243 esac
4244 build=$ac_cv_build
4245 ac_save_IFS=$IFS; IFS='-'
4246 set x $ac_cv_build
4247 shift
4248 build_cpu=$1
4249 build_vendor=$2
4250 shift; shift
4251 # Remember, the first character of IFS is used to create $*,
4252 # except with old shells:
4253 build_os=$*
4254 IFS=$ac_save_IFS
4255 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4259 $as_echo_n "checking host system type... " >&6; }
4260 if ${ac_cv_host+:} false; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 if test "x$host_alias" = x; then
4264 ac_cv_host=$ac_cv_build
4265 else
4266 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4267 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4272 $as_echo "$ac_cv_host" >&6; }
4273 case $ac_cv_host in
4274 *-*-*) ;;
4275 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4276 esac
4277 host=$ac_cv_host
4278 ac_save_IFS=$IFS; IFS='-'
4279 set x $ac_cv_host
4280 shift
4281 host_cpu=$1
4282 host_vendor=$2
4283 shift; shift
4284 # Remember, the first character of IFS is used to create $*,
4285 # except with old shells:
4286 host_os=$*
4287 IFS=$ac_save_IFS
4288 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4295 set x ${MAKE-make}
4296 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4297 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 cat >conftest.make <<\_ACEOF
4301 SHELL = /bin/sh
4302 all:
4303 @echo '@@@%%%=$(MAKE)=@@@%%%'
4304 _ACEOF
4305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4307 *@@@%%%=?*=@@@%%%*)
4308 eval ac_cv_prog_make_${ac_make}_set=yes;;
4310 eval ac_cv_prog_make_${ac_make}_set=no;;
4311 esac
4312 rm -f conftest.make
4314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4317 SET_MAKE=
4318 else
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320 $as_echo "no" >&6; }
4321 SET_MAKE="MAKE=${MAKE-make}"
4324 ac_ext=c
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 if test -n "$ac_tool_prefix"; then
4330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4339 else
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 for as_dir in $PATH
4343 IFS=$as_save_IFS
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4347 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 break 2
4351 done
4352 done
4353 IFS=$as_save_IFS
4357 CC=$ac_cv_prog_CC
4358 if test -n "$CC"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360 $as_echo "$CC" >&6; }
4361 else
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test -z "$ac_cv_prog_CC"; then
4369 ac_ct_CC=$CC
4370 # Extract the first word of "gcc", so it can be a program name with args.
4371 set dummy gcc; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 if test -n "$ac_ct_CC"; then
4378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4379 else
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_ac_ct_CC="gcc"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 break 2
4391 done
4392 done
4393 IFS=$as_save_IFS
4397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4398 if test -n "$ac_ct_CC"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4400 $as_echo "$ac_ct_CC" >&6; }
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4406 if test "x$ac_ct_CC" = x; then
4407 CC=""
4408 else
4409 case $cross_compiling:$ac_tool_warned in
4410 yes:)
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned=yes ;;
4414 esac
4415 CC=$ac_ct_CC
4417 else
4418 CC="$ac_cv_prog_CC"
4421 if test -z "$CC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}cc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CC="${ac_tool_prefix}cc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4462 if test -z "$CC"; then
4463 # Extract the first word of "cc", so it can be a program name with args.
4464 set dummy cc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$CC"; then
4471 ac_cv_prog_CC="$CC" # Let the user override the test.
4472 else
4473 ac_prog_rejected=no
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 for as_dir in $PATH
4477 IFS=$as_save_IFS
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4482 ac_prog_rejected=yes
4483 continue
4485 ac_cv_prog_CC="cc"
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 break 2
4489 done
4490 done
4491 IFS=$as_save_IFS
4493 if test $ac_prog_rejected = yes; then
4494 # We found a bogon in the path, so make sure we never use it.
4495 set dummy $ac_cv_prog_CC
4496 shift
4497 if test $# != 0; then
4498 # We chose a different compiler from the bogus one.
4499 # However, it has the same basename, so the bogon will be chosen
4500 # first if we set CC to just the basename; use the full file name.
4501 shift
4502 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4507 CC=$ac_cv_prog_CC
4508 if test -n "$CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4510 $as_echo "$CC" >&6; }
4511 else
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$CC"; then
4519 if test -n "$ac_tool_prefix"; then
4520 for ac_prog in cl.exe
4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 CC=$ac_cv_prog_CC
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4553 else
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$CC" && break
4560 done
4562 if test -z "$CC"; then
4563 ac_ct_CC=$CC
4564 for ac_prog in cl.exe
4566 # Extract the first word of "$ac_prog", so it can be a program name with args.
4567 set dummy $ac_prog; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 if test -n "$ac_ct_CC"; then
4574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4575 else
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 for as_dir in $PATH
4579 IFS=$as_save_IFS
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_ac_ct_CC="$ac_prog"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 break 2
4587 done
4588 done
4589 IFS=$as_save_IFS
4593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4594 if test -n "$ac_ct_CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4596 $as_echo "$ac_ct_CC" >&6; }
4597 else
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4603 test -n "$ac_ct_CC" && break
4604 done
4606 if test "x$ac_ct_CC" = x; then
4607 CC=""
4608 else
4609 case $cross_compiling:$ac_tool_warned in
4610 yes:)
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4613 ac_tool_warned=yes ;;
4614 esac
4615 CC=$ac_ct_CC
4622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4624 as_fn_error $? "no acceptable C compiler found in \$PATH
4625 See \`config.log' for more details" "$LINENO" 5; }
4627 # Provide some information about the compiler.
4628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4629 set X $ac_compile
4630 ac_compiler=$2
4631 for ac_option in --version -v -V -qversion; do
4632 { { ac_try="$ac_compiler $ac_option >&5"
4633 case "(($ac_try" in
4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635 *) ac_try_echo=$ac_try;;
4636 esac
4637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4638 $as_echo "$ac_try_echo"; } >&5
4639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4640 ac_status=$?
4641 if test -s conftest.err; then
4642 sed '10a\
4643 ... rest of stderr output deleted ...
4644 10q' conftest.err >conftest.er1
4645 cat conftest.er1 >&5
4647 rm -f conftest.er1 conftest.err
4648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4649 test $ac_status = 0; }
4650 done
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 main ()
4660 return 0;
4662 _ACEOF
4663 ac_clean_files_save=$ac_clean_files
4664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4665 # Try to create an executable without -o first, disregard a.out.
4666 # It will help us diagnose broken compilers, and finding out an intuition
4667 # of exeext.
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4669 $as_echo_n "checking whether the C compiler works... " >&6; }
4670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4672 # The possible output files:
4673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4675 ac_rmfiles=
4676 for ac_file in $ac_files
4678 case $ac_file in
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4681 esac
4682 done
4683 rm -f $ac_rmfiles
4685 if { { ac_try="$ac_link_default"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4691 $as_echo "$ac_try_echo"; } >&5
4692 (eval "$ac_link_default") 2>&5
4693 ac_status=$?
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }; then :
4696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4699 # so that the user can short-circuit this test for compilers unknown to
4700 # Autoconf.
4701 for ac_file in $ac_files ''
4703 test -f "$ac_file" || continue
4704 case $ac_file in
4705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4707 [ab].out )
4708 # We found the default executable, but exeext='' is most
4709 # certainly right.
4710 break;;
4711 *.* )
4712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4713 then :; else
4714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4716 # We set ac_cv_exeext here because the later test for it is not
4717 # safe: cross compilers may not add the suffix if given an `-o'
4718 # argument, so we may need to know it at that point already.
4719 # Even if this section looks crufty: it has the advantage of
4720 # actually working.
4721 break;;
4723 break;;
4724 esac
4725 done
4726 test "$ac_cv_exeext" = no && ac_cv_exeext=
4728 else
4729 ac_file=''
4731 if test -z "$ac_file"; then :
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4734 $as_echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739 as_fn_error 77 "C compiler cannot create executables
4740 See \`config.log' for more details" "$LINENO" 5; }
4741 else
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4746 $as_echo_n "checking for C compiler default output file name... " >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4748 $as_echo "$ac_file" >&6; }
4749 ac_exeext=$ac_cv_exeext
4751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4752 ac_clean_files=$ac_clean_files_save
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4754 $as_echo_n "checking for suffix of executables... " >&6; }
4755 if { { ac_try="$ac_link"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_link") 2>&5
4763 ac_status=$?
4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765 test $ac_status = 0; }; then :
4766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4768 # work properly (i.e., refer to `conftest.exe'), while it won't with
4769 # `rm'.
4770 for ac_file in conftest.exe conftest conftest.*; do
4771 test -f "$ac_file" || continue
4772 case $ac_file in
4773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4775 break;;
4776 * ) break;;
4777 esac
4778 done
4779 else
4780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4783 See \`config.log' for more details" "$LINENO" 5; }
4785 rm -f conftest conftest$ac_cv_exeext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4787 $as_echo "$ac_cv_exeext" >&6; }
4789 rm -f conftest.$ac_ext
4790 EXEEXT=$ac_cv_exeext
4791 ac_exeext=$EXEEXT
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4794 #include <stdio.h>
4796 main ()
4798 FILE *f = fopen ("conftest.out", "w");
4799 return ferror (f) || fclose (f) != 0;
4802 return 0;
4804 _ACEOF
4805 ac_clean_files="$ac_clean_files conftest.out"
4806 # Check that the compiler produces executables we can run. If not, either
4807 # the compiler is broken, or we cross compile.
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4809 $as_echo_n "checking whether we are cross compiling... " >&6; }
4810 if test "$cross_compiling" != yes; then
4811 { { ac_try="$ac_link"
4812 case "(($ac_try" in
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4815 esac
4816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4817 $as_echo "$ac_try_echo"; } >&5
4818 (eval "$ac_link") 2>&5
4819 ac_status=$?
4820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4821 test $ac_status = 0; }
4822 if { ac_try='./conftest$ac_cv_exeext'
4823 { { case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4826 esac
4827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4828 $as_echo "$ac_try_echo"; } >&5
4829 (eval "$ac_try") 2>&5
4830 ac_status=$?
4831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4832 test $ac_status = 0; }; }; then
4833 cross_compiling=no
4834 else
4835 if test "$cross_compiling" = maybe; then
4836 cross_compiling=yes
4837 else
4838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840 as_fn_error $? "cannot run C compiled programs.
4841 If you meant to cross compile, use \`--host'.
4842 See \`config.log' for more details" "$LINENO" 5; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4847 $as_echo "$cross_compiling" >&6; }
4849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4850 ac_clean_files=$ac_clean_files_save
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4852 $as_echo_n "checking for suffix of object files... " >&6; }
4853 if ${ac_cv_objext+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 rm -f conftest.o conftest.obj
4868 if { { ac_try="$ac_compile"
4869 case "(($ac_try" in
4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4872 esac
4873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874 $as_echo "$ac_try_echo"; } >&5
4875 (eval "$ac_compile") 2>&5
4876 ac_status=$?
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }; then :
4879 for ac_file in conftest.o conftest.obj conftest.*; do
4880 test -f "$ac_file" || continue;
4881 case $ac_file in
4882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4883 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4884 break;;
4885 esac
4886 done
4887 else
4888 $as_echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot compute suffix of object files: cannot compile
4894 See \`config.log' for more details" "$LINENO" 5; }
4896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4899 $as_echo "$ac_cv_objext" >&6; }
4900 OBJEXT=$ac_cv_objext
4901 ac_objext=$OBJEXT
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4904 if ${ac_cv_c_compiler_gnu+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4911 main ()
4913 #ifndef __GNUC__
4914 choke me
4915 #endif
4918 return 0;
4920 _ACEOF
4921 if ac_fn_c_try_compile "$LINENO"; then :
4922 ac_compiler_gnu=yes
4923 else
4924 ac_compiler_gnu=no
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4932 if test $ac_compiler_gnu = yes; then
4933 GCC=yes
4934 else
4935 GCC=
4937 ac_test_CFLAGS=${CFLAGS+set}
4938 ac_save_CFLAGS=$CFLAGS
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4941 if ${ac_cv_prog_cc_g+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 ac_save_c_werror_flag=$ac_c_werror_flag
4945 ac_c_werror_flag=yes
4946 ac_cv_prog_cc_g=no
4947 CFLAGS="-g"
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 main ()
4956 return 0;
4958 _ACEOF
4959 if ac_fn_c_try_compile "$LINENO"; then :
4960 ac_cv_prog_cc_g=yes
4961 else
4962 CFLAGS=""
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4976 else
4977 ac_c_werror_flag=$ac_save_c_werror_flag
4978 CFLAGS="-g"
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4983 main ()
4987 return 0;
4989 _ACEOF
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 ac_cv_prog_cc_g=yes
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 ac_c_werror_flag=$ac_save_c_werror_flag
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5001 $as_echo "$ac_cv_prog_cc_g" >&6; }
5002 if test "$ac_test_CFLAGS" = set; then
5003 CFLAGS=$ac_save_CFLAGS
5004 elif test $ac_cv_prog_cc_g = yes; then
5005 if test "$GCC" = yes; then
5006 CFLAGS="-g -O2"
5007 else
5008 CFLAGS="-g"
5010 else
5011 if test "$GCC" = yes; then
5012 CFLAGS="-O2"
5013 else
5014 CFLAGS=
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5019 if ${ac_cv_prog_cc_c89+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 ac_cv_prog_cc_c89=no
5023 ac_save_CC=$CC
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5027 #include <stdio.h>
5028 struct stat;
5029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5030 struct buf { int x; };
5031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5032 static char *e (p, i)
5033 char **p;
5034 int i;
5036 return p[i];
5038 static char *f (char * (*g) (char **, int), char **p, ...)
5040 char *s;
5041 va_list v;
5042 va_start (v,p);
5043 s = g (p, va_arg (v,int));
5044 va_end (v);
5045 return s;
5048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5049 function prototypes and stuff, but not '\xHH' hex character constants.
5050 These don't provoke an error unfortunately, instead are silently treated
5051 as 'x'. The following induces an error, until -std is added to get
5052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5053 array size at least. It's necessary to write '\x00'==0 to get something
5054 that's true only with -std. */
5055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5058 inside strings and character constants. */
5059 #define FOO(x) 'x'
5060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5062 int test (int i, double x);
5063 struct s1 {int (*f) (int a);};
5064 struct s2 {int (*f) (double a);};
5065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5066 int argc;
5067 char **argv;
5069 main ()
5071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5073 return 0;
5075 _ACEOF
5076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5079 CC="$ac_save_CC $ac_arg"
5080 if ac_fn_c_try_compile "$LINENO"; then :
5081 ac_cv_prog_cc_c89=$ac_arg
5083 rm -f core conftest.err conftest.$ac_objext
5084 test "x$ac_cv_prog_cc_c89" != "xno" && break
5085 done
5086 rm -f conftest.$ac_ext
5087 CC=$ac_save_CC
5090 # AC_CACHE_VAL
5091 case "x$ac_cv_prog_cc_c89" in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5094 $as_echo "none needed" >&6; } ;;
5095 xno)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5097 $as_echo "unsupported" >&6; } ;;
5099 CC="$CC $ac_cv_prog_cc_c89"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5102 esac
5103 if test "x$ac_cv_prog_cc_c89" != xno; then :
5107 ac_ext=c
5108 ac_cpp='$CPP $CPPFLAGS'
5109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113 ac_ext=cpp
5114 ac_cpp='$CXXCPP $CPPFLAGS'
5115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5118 if test -z "$CXX"; then
5119 if test -n "$CCC"; then
5120 CXX=$CCC
5121 else
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CXX+:} false; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 if test -n "$CXX"; then
5133 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5138 IFS=$as_save_IFS
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 break 2
5146 done
5147 done
5148 IFS=$as_save_IFS
5152 CXX=$ac_cv_prog_CXX
5153 if test -n "$CXX"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5155 $as_echo "$CXX" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 test -n "$CXX" && break
5163 done
5165 if test -z "$CXX"; then
5166 ac_ct_CXX=$CXX
5167 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$ac_ct_CXX"; then
5177 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_CXX="$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5197 if test -n "$ac_ct_CXX"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5199 $as_echo "$ac_ct_CXX" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$ac_ct_CXX" && break
5207 done
5209 if test "x$ac_ct_CXX" = x; then
5210 CXX="g++"
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 CXX=$ac_ct_CXX
5224 # Provide some information about the compiler.
5225 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5226 set X $ac_compile
5227 ac_compiler=$2
5228 for ac_option in --version -v -V -qversion; do
5229 { { ac_try="$ac_compiler $ac_option >&5"
5230 case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 $as_echo "$ac_try_echo"; } >&5
5236 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5237 ac_status=$?
5238 if test -s conftest.err; then
5239 sed '10a\
5240 ... rest of stderr output deleted ...
5241 10q' conftest.err >conftest.er1
5242 cat conftest.er1 >&5
5244 rm -f conftest.er1 conftest.err
5245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }
5247 done
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5250 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5251 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5258 main ()
5260 #ifndef __GNUC__
5261 choke me
5262 #endif
5265 return 0;
5267 _ACEOF
5268 if ac_fn_cxx_try_compile "$LINENO"; then :
5269 ac_compiler_gnu=yes
5270 else
5271 ac_compiler_gnu=no
5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5274 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5278 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5279 if test $ac_compiler_gnu = yes; then
5280 GXX=yes
5281 else
5282 GXX=
5284 ac_test_CXXFLAGS=${CXXFLAGS+set}
5285 ac_save_CXXFLAGS=$CXXFLAGS
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5287 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5288 if ${ac_cv_prog_cxx_g+:} false; then :
5289 $as_echo_n "(cached) " >&6
5290 else
5291 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5292 ac_cxx_werror_flag=yes
5293 ac_cv_prog_cxx_g=no
5294 CXXFLAGS="-g"
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5299 main ()
5303 return 0;
5305 _ACEOF
5306 if ac_fn_cxx_try_compile "$LINENO"; then :
5307 ac_cv_prog_cxx_g=yes
5308 else
5309 CXXFLAGS=""
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5323 else
5324 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5325 CXXFLAGS="-g"
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main ()
5334 return 0;
5336 _ACEOF
5337 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 ac_cv_prog_cxx_g=yes
5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5348 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5349 if test "$ac_test_CXXFLAGS" = set; then
5350 CXXFLAGS=$ac_save_CXXFLAGS
5351 elif test $ac_cv_prog_cxx_g = yes; then
5352 if test "$GXX" = yes; then
5353 CXXFLAGS="-g -O2"
5354 else
5355 CXXFLAGS="-g"
5357 else
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-O2"
5360 else
5361 CXXFLAGS=
5364 ac_ext=c
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5370 if test -n "$ac_tool_prefix"; then
5371 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5372 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_CPPBIN+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$CPPBIN"; then
5379 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 CPPBIN=$ac_cv_prog_CPPBIN
5399 if test -n "$CPPBIN"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5401 $as_echo "$CPPBIN" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5409 if test -z "$ac_cv_prog_CPPBIN"; then
5410 ac_ct_CPPBIN=$CPPBIN
5411 # Extract the first word of "cpp", so it can be a program name with args.
5412 set dummy cpp; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 if test -n "$ac_ct_CPPBIN"; then
5419 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_ac_ct_CPPBIN="cpp"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5438 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5439 if test -n "$ac_ct_CPPBIN"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5441 $as_echo "$ac_ct_CPPBIN" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5447 if test "x$ac_ct_CPPBIN" = x; then
5448 CPPBIN="cpp"
5449 else
5450 case $cross_compiling:$ac_tool_warned in
5451 yes:)
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5454 ac_tool_warned=yes ;;
5455 esac
5456 CPPBIN=$ac_ct_CPPBIN
5458 else
5459 CPPBIN="$ac_cv_prog_CPPBIN"
5463 cat >>confdefs.h <<_ACEOF
5464 #define EXEEXT "$ac_exeext"
5465 _ACEOF
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}ld; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_LD+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$LD"; then
5476 ac_cv_prog_LD="$LD" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_LD="${ac_tool_prefix}ld"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 LD=$ac_cv_prog_LD
5496 if test -n "$LD"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5498 $as_echo "$LD" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_LD"; then
5507 ac_ct_LD=$LD
5508 # Extract the first word of "ld", so it can be a program name with args.
5509 set dummy ld; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_LD"; then
5516 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_LD="ld"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5536 if test -n "$ac_ct_LD"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5538 $as_echo "$ac_ct_LD" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_LD" = x; then
5545 LD=""
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 LD=$ac_ct_LD
5555 else
5556 LD="$ac_cv_prog_LD"
5560 case $host in
5561 *-darwin*)
5562 with_fontconfig=${with_fontconfig:-no}
5564 *-mingw32*|*-cygwin*)
5565 enable_win16=${enable_win16:-no}
5566 with_mingw=${with_mingw:-no}
5567 CFLAGS="$CFLAGS -D_WIN32"
5569 esac
5571 case $host in
5572 x86_64*|amd64*)
5573 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5574 then
5575 CC="$CC -m32"
5576 CXX="$CXX -m32"
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5579 $as_echo_n "checking whether $CC works... " >&6; }
5580 if ${wine_cv_cc_m32+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5587 main ()
5591 return 0;
5593 _ACEOF
5594 if ac_fn_c_try_link "$LINENO"; then :
5595 wine_cv_cc_m32=yes
5596 else
5597 wine_cv_cc_m32=no
5599 rm -f core conftest.err conftest.$ac_objext \
5600 conftest$ac_exeext conftest.$ac_ext
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5603 $as_echo "$wine_cv_cc_m32" >&6; }
5604 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
5605 host_cpu="i386"
5606 notice_platform="32-bit "
5607 TARGETFLAGS="-m32"
5609 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5610 export PKG_CONFIG_PATH
5611 enable_win16=${enable_win16:-yes}
5612 with_unwind=${with_unwind:-no}
5613 else
5614 if test "x${GCC}" = "xyes"
5615 then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5617 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5618 if ${wine_cv_builtin_ms_va_list+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 #include <stdarg.h>
5625 main ()
5627 void func(__builtin_ms_va_list *args);
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 wine_cv_builtin_ms_va_list=yes
5634 else
5635 wine_cv_builtin_ms_va_list=no
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5640 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5641 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
5643 CC="$CC -m64"
5644 CXX="$CXX -m64"
5645 host_cpu="x86_64"
5646 notice_platform="64-bit "
5647 TARGETFLAGS="-m64"
5651 arm*)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5653 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5654 if ${wine_cv_thumb+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 int ac_test(int i) { return i; }
5661 main ()
5663 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5665 return 0;
5667 _ACEOF
5668 if ac_fn_c_try_link "$LINENO"; then :
5669 wine_cv_thumb=yes
5670 else
5671 wine_cv_thumb=no
5673 rm -f core conftest.err conftest.$ac_objext \
5674 conftest$ac_exeext conftest.$ac_ext
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5677 $as_echo "$wine_cv_thumb" >&6; }
5678 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5679 case $with_float_abi in
5680 soft|softfp|hard)
5681 float_abi=$with_float_abi ;;
5683 case $host_os in
5684 *eabihf)
5685 float_abi=hard ;;
5687 float_abi=softfp
5688 saved_CFLAGS=$CFLAGS
5689 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5691 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5692 if ${wine_cv_float_abi+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5699 main ()
5701 asm("vmrs r2,fpscr");
5703 return 0;
5705 _ACEOF
5706 if ac_fn_c_try_link "$LINENO"; then :
5707 wine_cv_float_abi=yes
5708 else
5709 wine_cv_float_abi=no
5711 rm -f core conftest.err conftest.$ac_objext \
5712 conftest$ac_exeext conftest.$ac_ext
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5715 $as_echo "$wine_cv_float_abi" >&6; }
5716 if test $wine_cv_float_abi = no
5717 then
5718 float_abi=soft
5719 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5721 CFLAGS=$saved_CFLAGS
5722 esac
5724 esac
5725 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5726 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5729 aarch64*)
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5731 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5732 if ${wine_cv_builtin_ms_va_list+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5737 #include <stdarg.h>
5739 main ()
5741 void func(__builtin_ms_va_list *args);
5743 return 0;
5745 _ACEOF
5746 if ac_fn_c_try_compile "$LINENO"; then :
5747 wine_cv_builtin_ms_va_list=yes
5748 else
5749 wine_cv_builtin_ms_va_list=no
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5754 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5755 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5757 i[3456789]86*)
5758 enable_win16=${enable_win16:-yes}
5759 with_unwind=${with_unwind:-no}
5761 esac
5763 enable_win16=${enable_win16:-no}
5764 enable_win64=${enable_win64:-no}
5766 enable_winetest=${enable_winetest:-$enable_tests}
5768 if test "x$enable_win64" = "xyes"
5769 then
5770 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5771 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5772 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5776 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5777 if ${wine_cv_toolsdir+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 wine_cv_toolsdir="$with_wine_tools"
5781 if test -z "$with_wine_tools"; then
5782 if test "$cross_compiling" = "yes"; then
5783 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5784 elif test -n "$with_wine64"; then
5785 wine_cv_toolsdir="$with_wine64"
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5790 $as_echo "$wine_cv_toolsdir" >&6; }
5791 if test -z "$wine_cv_toolsdir"; then
5792 wine_makedep=tools/makedep
5793 TOOLSDIR="\$(top_builddir)"
5795 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5796 wine_makedep=$wine_cv_toolsdir/tools/makedep
5797 case "$wine_cv_toolsdir" in
5798 /*) TOOLSDIR=$wine_cv_toolsdir
5800 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5802 esac
5803 enable_tools=${enable_tools:-no}
5804 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5805 else
5806 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5808 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5809 then
5810 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5814 for ac_prog in flex
5816 # Extract the first word of "$ac_prog", so it can be a program name with args.
5817 set dummy $ac_prog; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_FLEX+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 if test -n "$FLEX"; then
5824 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_FLEX="$ac_prog"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5837 done
5838 done
5839 IFS=$as_save_IFS
5843 FLEX=$ac_cv_prog_FLEX
5844 if test -n "$FLEX"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5846 $as_echo "$FLEX" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 test -n "$FLEX" && break
5854 done
5855 test -n "$FLEX" || FLEX="none"
5857 if test "$FLEX" = "none"
5858 then
5859 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5862 $as_echo_n "checking whether flex is recent enough... " >&6; }
5863 if ${wine_cv_recent_flex+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 cat >conftest.l <<EOF
5867 %top{
5868 #include "prediluvian.h"
5872 if $FLEX -t conftest.l >/dev/null 2>&5
5873 then
5874 wine_cv_recent_flex=yes
5875 else
5876 wine_cv_recent_flex=no
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5880 $as_echo "$wine_cv_recent_flex" >&6; }
5881 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
5883 for ac_prog in bison
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy $ac_prog; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_BISON+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -n "$BISON"; then
5893 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_BISON="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 break 2
5906 done
5907 done
5908 IFS=$as_save_IFS
5912 BISON=$ac_cv_prog_BISON
5913 if test -n "$BISON"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5915 $as_echo "$BISON" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$BISON" && break
5923 done
5924 test -n "$BISON" || BISON="none"
5926 if test "$BISON" = "none"
5927 then
5928 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5931 $as_echo_n "checking whether bison is recent enough... " >&6; }
5932 if ${wine_cv_recent_bison+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 cat >conftest.y <<EOF
5936 %define parse.error verbose
5938 empty: ;
5940 if $BISON conftest.y >/dev/null 2>&5
5941 then
5942 wine_cv_recent_bison=yes
5943 else
5944 wine_cv_recent_bison=no
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5948 $as_echo "$wine_cv_recent_bison" >&6; }
5949 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
5951 if test -n "$ac_tool_prefix"; then
5952 for ac_prog in ar gar
5954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_AR+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 if test -n "$AR"; then
5962 ac_cv_prog_AR="$AR" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5967 IFS=$as_save_IFS
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 AR=$ac_cv_prog_AR
5982 if test -n "$AR"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5984 $as_echo "$AR" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5991 test -n "$AR" && break
5992 done
5994 if test -z "$AR"; then
5995 ac_ct_AR=$AR
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$ac_ct_AR"; then
6006 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_ac_ct_AR="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6026 if test -n "$ac_ct_AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6028 $as_echo "$ac_ct_AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$ac_ct_AR" && break
6036 done
6038 if test "x$ac_ct_AR" = x; then
6039 AR="ar"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6045 ac_tool_warned=yes ;;
6046 esac
6047 AR=$ac_ct_AR
6051 if test -n "$ac_tool_prefix"; then
6052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}strip; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_STRIP+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$STRIP"; then
6060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 STRIP=$ac_cv_prog_STRIP
6080 if test -n "$STRIP"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6082 $as_echo "$STRIP" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6090 if test -z "$ac_cv_prog_STRIP"; then
6091 ac_ct_STRIP=$STRIP
6092 # Extract the first word of "strip", so it can be a program name with args.
6093 set dummy strip; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$ac_ct_STRIP"; then
6100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_ac_ct_STRIP="strip"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6115 IFS=$as_save_IFS
6119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6120 if test -n "$ac_ct_STRIP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6122 $as_echo "$ac_ct_STRIP" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6128 if test "x$ac_ct_STRIP" = x; then
6129 STRIP="strip"
6130 else
6131 case $cross_compiling:$ac_tool_warned in
6132 yes:)
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137 STRIP=$ac_ct_STRIP
6139 else
6140 STRIP="$ac_cv_prog_STRIP"
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_RANLIB+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$RANLIB"; then
6152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 RANLIB=$ac_cv_prog_RANLIB
6172 if test -n "$RANLIB"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6174 $as_echo "$RANLIB" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 if test -z "$ac_cv_prog_RANLIB"; then
6183 ac_ct_RANLIB=$RANLIB
6184 # Extract the first word of "ranlib", so it can be a program name with args.
6185 set dummy ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 if test -n "$ac_ct_RANLIB"; then
6192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197 IFS=$as_save_IFS
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_ac_ct_RANLIB="ranlib"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 break 2
6205 done
6206 done
6207 IFS=$as_save_IFS
6211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6212 if test -n "$ac_ct_RANLIB"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6214 $as_echo "$ac_ct_RANLIB" >&6; }
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6220 if test "x$ac_ct_RANLIB" = x; then
6221 RANLIB=":"
6222 else
6223 case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229 RANLIB=$ac_ct_RANLIB
6231 else
6232 RANLIB="$ac_cv_prog_RANLIB"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6236 $as_echo_n "checking whether ln -s works... " >&6; }
6237 LN_S=$as_ln_s
6238 if test "$LN_S" = "ln -s"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6240 $as_echo "yes" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6243 $as_echo "no, using $LN_S" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6247 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6248 if ${ac_cv_path_GREP+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 if test -z "$GREP"; then
6252 ac_path_GREP_found=false
6253 # Loop through the user's path and test for each of PROGNAME-LIST
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_prog in grep ggrep; do
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6262 as_fn_executable_p "$ac_path_GREP" || continue
6263 # Check for GNU ac_path_GREP and select it if it is found.
6264 # Check for GNU $ac_path_GREP
6265 case `"$ac_path_GREP" --version 2>&1` in
6266 *GNU*)
6267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6269 ac_count=0
6270 $as_echo_n 0123456789 >"conftest.in"
6271 while :
6273 cat "conftest.in" "conftest.in" >"conftest.tmp"
6274 mv "conftest.tmp" "conftest.in"
6275 cp "conftest.in" "conftest.nl"
6276 $as_echo 'GREP' >> "conftest.nl"
6277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6279 as_fn_arith $ac_count + 1 && ac_count=$as_val
6280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6281 # Best one so far, save it but keep looking for a better one
6282 ac_cv_path_GREP="$ac_path_GREP"
6283 ac_path_GREP_max=$ac_count
6285 # 10*(2^10) chars as input seems more than enough
6286 test $ac_count -gt 10 && break
6287 done
6288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6289 esac
6291 $ac_path_GREP_found && break 3
6292 done
6293 done
6294 done
6295 IFS=$as_save_IFS
6296 if test -z "$ac_cv_path_GREP"; then
6297 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6299 else
6300 ac_cv_path_GREP=$GREP
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6305 $as_echo "$ac_cv_path_GREP" >&6; }
6306 GREP="$ac_cv_path_GREP"
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6310 $as_echo_n "checking for egrep... " >&6; }
6311 if ${ac_cv_path_EGREP+:} false; then :
6312 $as_echo_n "(cached) " >&6
6313 else
6314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6315 then ac_cv_path_EGREP="$GREP -E"
6316 else
6317 if test -z "$EGREP"; then
6318 ac_path_EGREP_found=false
6319 # Loop through the user's path and test for each of PROGNAME-LIST
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6323 IFS=$as_save_IFS
6324 test -z "$as_dir" && as_dir=.
6325 for ac_prog in egrep; do
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6328 as_fn_executable_p "$ac_path_EGREP" || continue
6329 # Check for GNU ac_path_EGREP and select it if it is found.
6330 # Check for GNU $ac_path_EGREP
6331 case `"$ac_path_EGREP" --version 2>&1` in
6332 *GNU*)
6333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6335 ac_count=0
6336 $as_echo_n 0123456789 >"conftest.in"
6337 while :
6339 cat "conftest.in" "conftest.in" >"conftest.tmp"
6340 mv "conftest.tmp" "conftest.in"
6341 cp "conftest.in" "conftest.nl"
6342 $as_echo 'EGREP' >> "conftest.nl"
6343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6345 as_fn_arith $ac_count + 1 && ac_count=$as_val
6346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6347 # Best one so far, save it but keep looking for a better one
6348 ac_cv_path_EGREP="$ac_path_EGREP"
6349 ac_path_EGREP_max=$ac_count
6351 # 10*(2^10) chars as input seems more than enough
6352 test $ac_count -gt 10 && break
6353 done
6354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6355 esac
6357 $ac_path_EGREP_found && break 3
6358 done
6359 done
6360 done
6361 IFS=$as_save_IFS
6362 if test -z "$ac_cv_path_EGREP"; then
6363 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6365 else
6366 ac_cv_path_EGREP=$EGREP
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6372 $as_echo "$ac_cv_path_EGREP" >&6; }
6373 EGREP="$ac_cv_path_EGREP"
6376 # Extract the first word of "ldconfig", so it can be a program name with args.
6377 set dummy ldconfig; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_path_LDCONFIG+:} false; then :
6381 $as_echo_n "(cached) " >&6
6382 else
6383 case $LDCONFIG in
6384 [\\/]* | ?:[\\/]*)
6385 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in /sbin /usr/sbin $PATH
6391 IFS=$as_save_IFS
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 break 2
6399 done
6400 done
6401 IFS=$as_save_IFS
6403 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6405 esac
6407 LDCONFIG=$ac_cv_path_LDCONFIG
6408 if test -n "$LDCONFIG"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6410 $as_echo "$LDCONFIG" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 for ac_prog in msgfmt
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy $ac_prog; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_MSGFMT+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 if test -n "$MSGFMT"; then
6427 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6432 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_MSGFMT="$ac_prog"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 break 2
6440 done
6441 done
6442 IFS=$as_save_IFS
6446 MSGFMT=$ac_cv_prog_MSGFMT
6447 if test -n "$MSGFMT"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6449 $as_echo "$MSGFMT" >&6; }
6450 else
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6456 test -n "$MSGFMT" && break
6457 done
6458 test -n "$MSGFMT" || MSGFMT="false"
6460 if ${ac_tool_prefix+:} false; then :
6461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 if test -n "$PKG_CONFIG"; then
6469 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6474 IFS=$as_save_IFS
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 break 2
6482 done
6483 done
6484 IFS=$as_save_IFS
6488 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6489 if test -n "$PKG_CONFIG"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6491 $as_echo "$PKG_CONFIG" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6499 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6500 if test "x$cross_compiling" = xyes; then :
6502 else
6503 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6504 # Extract the first word of "pkg-config", so it can be a program name with args.
6505 set dummy pkg-config; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$PKG_CONFIG"; then
6512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_PKG_CONFIG="pkg-config"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6532 if test -n "$PKG_CONFIG"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6534 $as_echo "$PKG_CONFIG" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6542 else
6543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6546 if test "x$enable_maintainer_mode" != "xyes"
6547 then
6548 FONTFORGE=""
6549 RSVG=""
6550 CONVERT=""
6551 ICOTOOL=""
6552 else
6553 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6554 for ac_prog in fontforge
6556 # Extract the first word of "$ac_prog", so it can be a program name with args.
6557 set dummy $ac_prog; ac_word=$2
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 $as_echo_n "checking for $ac_word... " >&6; }
6560 if ${ac_cv_prog_FONTFORGE+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 if test -n "$FONTFORGE"; then
6564 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6565 else
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH
6569 IFS=$as_save_IFS
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_FONTFORGE="$ac_prog"
6574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 break 2
6577 done
6578 done
6579 IFS=$as_save_IFS
6583 FONTFORGE=$ac_cv_prog_FONTFORGE
6584 if test -n "$FONTFORGE"; then
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6586 $as_echo "$FONTFORGE" >&6; }
6587 else
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 $as_echo "no" >&6; }
6593 test -n "$FONTFORGE" && break
6594 done
6595 test -n "$FONTFORGE" || FONTFORGE="false"
6597 for ac_prog in rsvg-convert rsvg
6599 # Extract the first word of "$ac_prog", so it can be a program name with args.
6600 set dummy $ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_RSVG+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$RSVG"; then
6607 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_RSVG="$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 RSVG=$ac_cv_prog_RSVG
6627 if test -n "$RSVG"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6629 $as_echo "$RSVG" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$RSVG" && break
6637 done
6638 test -n "$RSVG" || RSVG="false"
6640 for ac_prog in convert
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_CONVERT+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$CONVERT"; then
6650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_CONVERT="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 CONVERT=$ac_cv_prog_CONVERT
6670 if test -n "$CONVERT"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6672 $as_echo "$CONVERT" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$CONVERT" && break
6680 done
6681 test -n "$CONVERT" || CONVERT="false"
6683 for ac_prog in icotool
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_ICOTOOL+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$ICOTOOL"; then
6693 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_ICOTOOL="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 ICOTOOL=$ac_cv_prog_ICOTOOL
6713 if test -n "$ICOTOOL"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6715 $as_echo "$ICOTOOL" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$ICOTOOL" && break
6723 done
6724 test -n "$ICOTOOL" || ICOTOOL="false"
6726 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6727 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6729 if test "$CONVERT" = false
6730 then
6731 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6732 else
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6734 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6735 convert_version=`convert --version | head -n1`
6736 if test "x$convert_version" != "x"
6737 then
6738 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6739 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6740 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6741 then
6742 CONVERT=false
6745 if test "$CONVERT" = false
6746 then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6748 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6749 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6752 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6756 if test "$ICOTOOL" = false
6757 then
6758 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6761 $as_echo_n "checking for recent enough icotool... " >&6; }
6762 icotool_version=`icotool --version | head -n1`
6763 if test "x$icotool_version" != "x"
6764 then
6765 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6766 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6767 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6768 then
6769 ICOTOOL=false
6770 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6773 if test "$ICOTOOL" = false
6774 then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6776 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6777 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6780 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6784 with_gettext=yes
6785 with_gettextpo=yes
6787 enable_werror=yes
6790 test "x$with_gettext" != xno || MSGFMT=false
6791 if test "$MSGFMT" != "false"
6792 then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6794 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6795 if ${wine_cv_msgfmt_contexts+:} false; then :
6796 $as_echo_n "(cached) " >&6
6797 else
6798 cat >conftest.po <<EOF
6799 # comment
6800 msgctxt "ctxt"
6801 msgid "id"
6802 msgstr "str"
6804 if $MSGFMT -o /dev/null conftest.po 2>&5
6805 then
6806 wine_cv_msgfmt_contexts=yes
6807 else
6808 wine_cv_msgfmt_contexts=no
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6812 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6813 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6815 if test "$MSGFMT" = false; then :
6816 case "x$with_gettext" in
6817 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6818 xno) ;;
6819 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6820 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6821 esac
6822 enable_po=${enable_po:-no}
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6827 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6828 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6829 $as_echo_n "(cached) " >&6
6830 else
6831 ac_check_lib_save_LIBS=$LIBS
6832 LIBS="-li386 $LIBS"
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6836 /* Override any GCC internal prototype to avoid an error.
6837 Use char because int might match the return type of a GCC
6838 builtin and then its argument prototype would still apply. */
6839 #ifdef __cplusplus
6840 extern "C"
6841 #endif
6842 char i386_set_ldt ();
6844 main ()
6846 return i386_set_ldt ();
6848 return 0;
6850 _ACEOF
6851 if ac_fn_c_try_link "$LINENO"; then :
6852 ac_cv_lib_i386_i386_set_ldt=yes
6853 else
6854 ac_cv_lib_i386_i386_set_ldt=no
6856 rm -f core conftest.err conftest.$ac_objext \
6857 conftest$ac_exeext conftest.$ac_ext
6858 LIBS=$ac_check_lib_save_LIBS
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6861 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6862 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6863 I386_LIBS="-li386"
6868 OPENGL_LIBS=""
6872 # Check whether --enable-largefile was given.
6873 if test "${enable_largefile+set}" = set; then :
6874 enableval=$enable_largefile;
6877 if test "$enable_largefile" != no; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6880 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6881 if ${ac_cv_sys_largefile_CC+:} false; then :
6882 $as_echo_n "(cached) " >&6
6883 else
6884 ac_cv_sys_largefile_CC=no
6885 if test "$GCC" != yes; then
6886 ac_save_CC=$CC
6887 while :; do
6888 # IRIX 6.2 and later do not support large files by default,
6889 # so use the C compiler's -n32 option if that helps.
6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6892 #include <sys/types.h>
6893 /* Check that off_t can represent 2**63 - 1 correctly.
6894 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6895 since some C++ compilers masquerading as C compilers
6896 incorrectly reject 9223372036854775807. */
6897 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6899 && LARGE_OFF_T % 2147483647 == 1)
6900 ? 1 : -1];
6902 main ()
6906 return 0;
6908 _ACEOF
6909 if ac_fn_c_try_compile "$LINENO"; then :
6910 break
6912 rm -f core conftest.err conftest.$ac_objext
6913 CC="$CC -n32"
6914 if ac_fn_c_try_compile "$LINENO"; then :
6915 ac_cv_sys_largefile_CC=' -n32'; break
6917 rm -f core conftest.err conftest.$ac_objext
6918 break
6919 done
6920 CC=$ac_save_CC
6921 rm -f conftest.$ac_ext
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6925 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6926 if test "$ac_cv_sys_largefile_CC" != no; then
6927 CC=$CC$ac_cv_sys_largefile_CC
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6931 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6932 if ${ac_cv_sys_file_offset_bits+:} false; then :
6933 $as_echo_n "(cached) " >&6
6934 else
6935 while :; do
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 #include <sys/types.h>
6939 /* Check that off_t can represent 2**63 - 1 correctly.
6940 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6941 since some C++ compilers masquerading as C compilers
6942 incorrectly reject 9223372036854775807. */
6943 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6944 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6945 && LARGE_OFF_T % 2147483647 == 1)
6946 ? 1 : -1];
6948 main ()
6952 return 0;
6954 _ACEOF
6955 if ac_fn_c_try_compile "$LINENO"; then :
6956 ac_cv_sys_file_offset_bits=no; break
6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #define _FILE_OFFSET_BITS 64
6962 #include <sys/types.h>
6963 /* Check that off_t can represent 2**63 - 1 correctly.
6964 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6965 since some C++ compilers masquerading as C compilers
6966 incorrectly reject 9223372036854775807. */
6967 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6968 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6969 && LARGE_OFF_T % 2147483647 == 1)
6970 ? 1 : -1];
6972 main ()
6976 return 0;
6978 _ACEOF
6979 if ac_fn_c_try_compile "$LINENO"; then :
6980 ac_cv_sys_file_offset_bits=64; break
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6983 ac_cv_sys_file_offset_bits=unknown
6984 break
6985 done
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6988 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6989 case $ac_cv_sys_file_offset_bits in #(
6990 no | unknown) ;;
6992 cat >>confdefs.h <<_ACEOF
6993 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6994 _ACEOF
6996 esac
6997 rm -rf conftest*
6998 if test $ac_cv_sys_file_offset_bits = unknown; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7000 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7001 if ${ac_cv_sys_large_files+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 while :; do
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7006 /* end confdefs.h. */
7007 #include <sys/types.h>
7008 /* Check that off_t can represent 2**63 - 1 correctly.
7009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7010 since some C++ compilers masquerading as C compilers
7011 incorrectly reject 9223372036854775807. */
7012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7014 && LARGE_OFF_T % 2147483647 == 1)
7015 ? 1 : -1];
7017 main ()
7021 return 0;
7023 _ACEOF
7024 if ac_fn_c_try_compile "$LINENO"; then :
7025 ac_cv_sys_large_files=no; break
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 #define _LARGE_FILES 1
7031 #include <sys/types.h>
7032 /* Check that off_t can represent 2**63 - 1 correctly.
7033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7034 since some C++ compilers masquerading as C compilers
7035 incorrectly reject 9223372036854775807. */
7036 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7038 && LARGE_OFF_T % 2147483647 == 1)
7039 ? 1 : -1];
7041 main ()
7045 return 0;
7047 _ACEOF
7048 if ac_fn_c_try_compile "$LINENO"; then :
7049 ac_cv_sys_large_files=1; break
7051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7052 ac_cv_sys_large_files=unknown
7053 break
7054 done
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7057 $as_echo "$ac_cv_sys_large_files" >&6; }
7058 case $ac_cv_sys_large_files in #(
7059 no | unknown) ;;
7061 cat >>confdefs.h <<_ACEOF
7062 #define _LARGE_FILES $ac_cv_sys_large_files
7063 _ACEOF
7065 esac
7066 rm -rf conftest*
7073 ac_ext=c
7074 ac_cpp='$CPP $CPPFLAGS'
7075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7080 # On Suns, sometimes $CPP names a directory.
7081 if test -n "$CPP" && test -d "$CPP"; then
7082 CPP=
7084 if test -z "$CPP"; then
7085 if ${ac_cv_prog_CPP+:} false; then :
7086 $as_echo_n "(cached) " >&6
7087 else
7088 # Double quotes because CPP needs to be expanded
7089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7091 ac_preproc_ok=false
7092 for ac_c_preproc_warn_flag in '' yes
7094 # Use a header file that comes with gcc, so configuring glibc
7095 # with a fresh cross-compiler works.
7096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7097 # <limits.h> exists even on freestanding compilers.
7098 # On the NeXT, cc -E runs the code through the compiler's parser,
7099 # not just through cpp. "Syntax error" is here to catch this case.
7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7102 #ifdef __STDC__
7103 # include <limits.h>
7104 #else
7105 # include <assert.h>
7106 #endif
7107 Syntax error
7108 _ACEOF
7109 if ac_fn_c_try_cpp "$LINENO"; then :
7111 else
7112 # Broken: fails on valid input.
7113 continue
7115 rm -f conftest.err conftest.i conftest.$ac_ext
7117 # OK, works on sane cases. Now check whether nonexistent headers
7118 # can be detected and how.
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <ac_nonexistent.h>
7122 _ACEOF
7123 if ac_fn_c_try_cpp "$LINENO"; then :
7124 # Broken: success on invalid input.
7125 continue
7126 else
7127 # Passes both tests.
7128 ac_preproc_ok=:
7129 break
7131 rm -f conftest.err conftest.i conftest.$ac_ext
7133 done
7134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7135 rm -f conftest.i conftest.err conftest.$ac_ext
7136 if $ac_preproc_ok; then :
7137 break
7140 done
7141 ac_cv_prog_CPP=$CPP
7144 CPP=$ac_cv_prog_CPP
7145 else
7146 ac_cv_prog_CPP=$CPP
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7149 $as_echo "$CPP" >&6; }
7150 ac_preproc_ok=false
7151 for ac_c_preproc_warn_flag in '' yes
7153 # Use a header file that comes with gcc, so configuring glibc
7154 # with a fresh cross-compiler works.
7155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7156 # <limits.h> exists even on freestanding compilers.
7157 # On the NeXT, cc -E runs the code through the compiler's parser,
7158 # not just through cpp. "Syntax error" is here to catch this case.
7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7161 #ifdef __STDC__
7162 # include <limits.h>
7163 #else
7164 # include <assert.h>
7165 #endif
7166 Syntax error
7167 _ACEOF
7168 if ac_fn_c_try_cpp "$LINENO"; then :
7170 else
7171 # Broken: fails on valid input.
7172 continue
7174 rm -f conftest.err conftest.i conftest.$ac_ext
7176 # OK, works on sane cases. Now check whether nonexistent headers
7177 # can be detected and how.
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 #include <ac_nonexistent.h>
7181 _ACEOF
7182 if ac_fn_c_try_cpp "$LINENO"; then :
7183 # Broken: success on invalid input.
7184 continue
7185 else
7186 # Passes both tests.
7187 ac_preproc_ok=:
7188 break
7190 rm -f conftest.err conftest.i conftest.$ac_ext
7192 done
7193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7194 rm -f conftest.i conftest.err conftest.$ac_ext
7195 if $ac_preproc_ok; then :
7197 else
7198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7201 See \`config.log' for more details" "$LINENO" 5; }
7204 ac_ext=c
7205 ac_cpp='$CPP $CPPFLAGS'
7206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7212 $as_echo_n "checking for ANSI C header files... " >&6; }
7213 if ${ac_cv_header_stdc+:} false; then :
7214 $as_echo_n "(cached) " >&6
7215 else
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218 #include <stdlib.h>
7219 #include <stdarg.h>
7220 #include <string.h>
7221 #include <float.h>
7224 main ()
7228 return 0;
7230 _ACEOF
7231 if ac_fn_c_try_compile "$LINENO"; then :
7232 ac_cv_header_stdc=yes
7233 else
7234 ac_cv_header_stdc=no
7236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7238 if test $ac_cv_header_stdc = yes; then
7239 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 #include <string.h>
7244 _ACEOF
7245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7246 $EGREP "memchr" >/dev/null 2>&1; then :
7248 else
7249 ac_cv_header_stdc=no
7251 rm -f conftest*
7255 if test $ac_cv_header_stdc = yes; then
7256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #include <stdlib.h>
7261 _ACEOF
7262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7263 $EGREP "free" >/dev/null 2>&1; then :
7265 else
7266 ac_cv_header_stdc=no
7268 rm -f conftest*
7272 if test $ac_cv_header_stdc = yes; then
7273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7274 if test "$cross_compiling" = yes; then :
7276 else
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <ctype.h>
7280 #include <stdlib.h>
7281 #if ((' ' & 0x0FF) == 0x020)
7282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7284 #else
7285 # define ISLOWER(c) \
7286 (('a' <= (c) && (c) <= 'i') \
7287 || ('j' <= (c) && (c) <= 'r') \
7288 || ('s' <= (c) && (c) <= 'z'))
7289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7290 #endif
7292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7294 main ()
7296 int i;
7297 for (i = 0; i < 256; i++)
7298 if (XOR (islower (i), ISLOWER (i))
7299 || toupper (i) != TOUPPER (i))
7300 return 2;
7301 return 0;
7303 _ACEOF
7304 if ac_fn_c_try_run "$LINENO"; then :
7306 else
7307 ac_cv_header_stdc=no
7309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7310 conftest.$ac_objext conftest.beam conftest.$ac_ext
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7316 $as_echo "$ac_cv_header_stdc" >&6; }
7317 if test $ac_cv_header_stdc = yes; then
7319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7324 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7325 inttypes.h stdint.h unistd.h
7326 do :
7327 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7330 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7331 cat >>confdefs.h <<_ACEOF
7332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7333 _ACEOF
7337 done
7340 for ac_header in \
7341 AL/al.h \
7342 ApplicationServices/ApplicationServices.h \
7343 AudioToolbox/AudioConverter.h \
7344 AudioUnit/AudioUnit.h \
7345 AudioUnit/AudioComponent.h \
7346 CL/cl.h \
7347 Carbon/Carbon.h \
7348 CommonCrypto/CommonCryptor.h \
7349 CoreAudio/CoreAudio.h \
7350 CoreServices/CoreServices.h \
7351 DiskArbitration/DiskArbitration.h \
7352 EGL/egl.h \
7353 IOKit/IOKitLib.h \
7354 IOKit/hid/IOHIDLib.h \
7355 OpenAL/al.h \
7356 OpenCL/opencl.h \
7357 QuickTime/ImageCompression.h \
7358 Security/Security.h \
7359 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7360 SystemConfiguration/SCNetworkConfiguration.h \
7361 alias.h \
7362 arpa/inet.h \
7363 arpa/nameser.h \
7364 asm/types.h \
7365 asm/user.h \
7366 curses.h \
7367 dirent.h \
7368 dlfcn.h \
7369 elf.h \
7370 float.h \
7371 fnmatch.h \
7372 getopt.h \
7373 gettext-po.h \
7374 grp.h \
7375 gsm.h \
7376 gsm/gsm.h \
7377 ieeefp.h \
7378 inet/mib2.h \
7379 kstat.h \
7380 libproc.h \
7381 link.h \
7382 linux/cdrom.h \
7383 linux/compiler.h \
7384 linux/filter.h \
7385 linux/hdreg.h \
7386 linux/hidraw.h \
7387 linux/input.h \
7388 linux/ioctl.h \
7389 linux/joystick.h \
7390 linux/major.h \
7391 linux/param.h \
7392 linux/serial.h \
7393 linux/types.h \
7394 linux/ucdrom.h \
7395 lwp.h \
7396 mach-o/nlist.h \
7397 mach-o/loader.h \
7398 mach/mach.h \
7399 mach/machine.h \
7400 machine/cpu.h \
7401 machine/limits.h \
7402 machine/sysarch.h \
7403 mntent.h \
7404 ncurses.h \
7405 netdb.h \
7406 netinet/in.h \
7407 netinet/in_systm.h \
7408 netinet/tcp.h \
7409 netinet/tcp_fsm.h \
7410 pcap/pcap.h \
7411 poll.h \
7412 port.h \
7413 pthread.h \
7414 pwd.h \
7415 sasl/sasl.h \
7416 sched.h \
7417 scsi/scsi.h \
7418 scsi/scsi_ioctl.h \
7419 scsi/sg.h \
7420 stdbool.h \
7421 stdint.h \
7422 stropts.h \
7423 sys/attr.h \
7424 sys/auxv.h \
7425 sys/cdio.h \
7426 sys/epoll.h \
7427 sys/event.h \
7428 sys/filio.h \
7429 sys/ioctl.h \
7430 sys/ipc.h \
7431 sys/limits.h \
7432 sys/link.h \
7433 sys/mman.h \
7434 sys/modem.h \
7435 sys/msg.h \
7436 sys/mtio.h \
7437 sys/param.h \
7438 sys/poll.h \
7439 sys/prctl.h \
7440 sys/protosw.h \
7441 sys/ptrace.h \
7442 sys/queue.h \
7443 sys/resource.h \
7444 sys/scsiio.h \
7445 sys/shm.h \
7446 sys/signal.h \
7447 sys/socket.h \
7448 sys/socketvar.h \
7449 sys/sockio.h \
7450 sys/statvfs.h \
7451 sys/strtio.h \
7452 sys/syscall.h \
7453 sys/sysinfo.h \
7454 sys/tihdr.h \
7455 sys/time.h \
7456 sys/timeout.h \
7457 sys/times.h \
7458 sys/uio.h \
7459 sys/user.h \
7460 sys/utsname.h \
7461 sys/vnode.h \
7462 sys/wait.h \
7463 syscall.h \
7464 termios.h \
7465 unistd.h \
7466 utime.h \
7467 valgrind/memcheck.h \
7468 valgrind/valgrind.h
7470 do :
7471 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7472 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7473 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7474 cat >>confdefs.h <<_ACEOF
7475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7476 _ACEOF
7480 done
7482 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7483 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7485 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7490 if test $ac_cv_header_sys_mkdev_h = no; then
7491 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7492 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7494 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7501 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7502 if ${ac_cv_header_stat_broken+:} false; then :
7503 $as_echo_n "(cached) " >&6
7504 else
7505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7507 #include <sys/types.h>
7508 #include <sys/stat.h>
7510 #if defined S_ISBLK && defined S_IFDIR
7511 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7512 #endif
7514 #if defined S_ISBLK && defined S_IFCHR
7515 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7516 #endif
7518 #if defined S_ISLNK && defined S_IFREG
7519 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7520 #endif
7522 #if defined S_ISSOCK && defined S_IFREG
7523 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7524 #endif
7526 _ACEOF
7527 if ac_fn_c_try_compile "$LINENO"; then :
7528 ac_cv_header_stat_broken=no
7529 else
7530 ac_cv_header_stat_broken=yes
7532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7535 $as_echo "$ac_cv_header_stat_broken" >&6; }
7536 if test $ac_cv_header_stat_broken = yes; then
7538 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7544 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7545 do :
7546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7548 #ifdef HAVE_SYS_PARAM_H
7549 # include <sys/param.h>
7550 #endif
7552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7553 cat >>confdefs.h <<_ACEOF
7554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7555 _ACEOF
7559 done
7562 for ac_header in \
7563 netinet/ip.h \
7564 net/if.h \
7565 net/if_arp.h \
7566 net/if_dl.h \
7567 net/if_types.h \
7568 net/route.h \
7569 netinet/if_ether.h \
7570 netinet/if_inarp.h \
7571 netinet/in_pcb.h \
7572 netinet/ip_icmp.h \
7573 netinet/ip_var.h \
7574 netinet/udp.h \
7575 netipx/ipx.h \
7576 sys/un.h \
7578 do :
7579 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7580 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7581 #ifdef HAVE_SYS_SOCKET_H
7582 # include <sys/socket.h>
7583 #endif
7584 #ifdef HAVE_SYS_SOCKETVAR_H
7585 # include <sys/socketvar.h>
7586 #endif
7587 #ifdef HAVE_NET_ROUTE_H
7588 # include <net/route.h>
7589 #endif
7590 #ifdef HAVE_NETINET_IN_H
7591 # include <netinet/in.h>
7592 #endif
7593 #ifdef HAVE_NETINET_IN_SYSTM_H
7594 # include <netinet/in_systm.h>
7595 #endif
7596 #ifdef HAVE_NET_IF_H
7597 # include <net/if.h>
7598 #endif
7599 #ifdef HAVE_NETINET_IP_H
7600 # include <netinet/ip.h>
7601 #endif
7603 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7604 cat >>confdefs.h <<_ACEOF
7605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7606 _ACEOF
7610 done
7613 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7614 do :
7615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7616 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7617 #ifdef HAVE_ALIAS_H
7618 # include <alias.h>
7619 #endif
7620 #ifdef HAVE_SYS_SOCKET_H
7621 # include <sys/socket.h>
7622 #endif
7623 #ifdef HAVE_SYS_SOCKETVAR_H
7624 # include <sys/socketvar.h>
7625 #endif
7626 #ifdef HAVE_SYS_TIMEOUT_H
7627 # include <sys/timeout.h>
7628 #endif
7629 #ifdef HAVE_NETINET_IN_H
7630 # include <netinet/in.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IN_SYSTM_H
7633 # include <netinet/in_systm.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IP_H
7636 # include <netinet/ip.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_VAR_H
7639 # include <netinet/ip_var.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IP_ICMP_H
7642 # include <netinet/ip_icmp.h>
7643 #endif
7644 #ifdef HAVE_NETINET_UDP_H
7645 # include <netinet/udp.h>
7646 #endif
7647 #ifdef HAVE_NETINET_TCP_H
7648 # include <netinet/tcp.h>
7649 #endif
7650 #ifdef HAVE_NETINET_TCP_TIMER_H
7651 #include <netinet/tcp_timer.h>
7652 #endif
7654 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7655 cat >>confdefs.h <<_ACEOF
7656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7657 _ACEOF
7661 done
7664 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7665 do :
7666 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7667 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7668 #ifdef HAVE_ASM_TYPES_H
7669 # include <asm/types.h>
7670 #endif
7671 #ifdef HAVE_SYS_SOCKET_H
7672 # include <sys/socket.h>
7673 #endif
7674 #ifdef HAVE_LINUX_TYPES_H
7675 # include <linux/types.h>
7676 #endif
7678 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7679 cat >>confdefs.h <<_ACEOF
7680 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7681 _ACEOF
7685 done
7688 for ac_header in resolv.h
7689 do :
7690 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7691 #ifdef HAVE_SYS_SOCKET_H
7692 # include <sys/socket.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IN_H
7695 # include <netinet/in.h>
7696 #endif
7697 #ifdef HAVE_ARPA_NAMESER_H
7698 # include <arpa/nameser.h>
7699 #endif
7701 if test "x$ac_cv_header_resolv_h" = xyes; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define HAVE_RESOLV_H 1
7704 _ACEOF
7708 done
7711 for ac_header in ifaddrs.h
7712 do :
7713 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7715 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7716 cat >>confdefs.h <<_ACEOF
7717 #define HAVE_IFADDRS_H 1
7718 _ACEOF
7722 done
7725 for ac_header in sys/ucontext.h
7726 do :
7727 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7729 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7730 cat >>confdefs.h <<_ACEOF
7731 #define HAVE_SYS_UCONTEXT_H 1
7732 _ACEOF
7736 done
7739 for ac_header in sys/thr.h
7740 do :
7741 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7742 #ifdef HAVE_SYS_UCONTEXT_H
7743 #include <sys/ucontext.h>
7744 #endif
7746 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_SYS_THR_H 1
7749 _ACEOF
7753 done
7756 for ac_header in pthread_np.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7759 #include <pthread.h>
7760 #endif
7762 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_PTHREAD_NP_H 1
7765 _ACEOF
7769 done
7772 for ac_header in linux/videodev2.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7775 #include <sys/time.h>
7776 #endif
7777 #include <sys/types.h>
7778 #ifdef HAVE_ASM_TYPES_H
7779 #include <asm/types.h>
7780 #endif
7782 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_LINUX_VIDEODEV2_H 1
7785 _ACEOF
7789 done
7792 for ac_header in libprocstat.h
7793 do :
7794 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7795 #include <sys/param.h>
7796 #endif
7797 #ifdef HAVE_SYS_QUEUE_H
7798 #include <sys/queue.h>
7799 #endif
7800 #ifdef HAVE_SYS_SOCKET_H
7801 #include <sys/socket.h>
7802 #endif
7804 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7805 cat >>confdefs.h <<_ACEOF
7806 #define HAVE_LIBPROCSTAT_H 1
7807 _ACEOF
7811 done
7815 DLLFLAGS="-D_REENTRANT"
7817 LDRPATH_INSTALL=""
7819 LDRPATH_LOCAL=""
7821 LDDLLFLAGS=""
7823 LDEXECFLAGS=""
7825 TOP_INSTALL_LIB=""
7827 TOP_INSTALL_DEV=""
7829 WINELOADER_LDFLAGS=""
7831 WINEPRELOADER_LDFLAGS=""
7833 LIBEXT="so"
7834 DLLEXT=".so"
7835 # Extract the first word of "ldd", so it can be a program name with args.
7836 set dummy ldd; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_path_LDD+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 case $LDD in
7843 [\\/]* | ?:[\\/]*)
7844 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848 as_dummy="/sbin:/usr/sbin:$PATH"
7849 for as_dir in $as_dummy
7851 IFS=$as_save_IFS
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7855 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 break 2
7859 done
7860 done
7861 IFS=$as_save_IFS
7863 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7865 esac
7867 LDD=$ac_cv_path_LDD
7868 if test -n "$LDD"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7870 $as_echo "$LDD" >&6; }
7871 else
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7877 if test -n "$ac_tool_prefix"; then
7878 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7879 set dummy ${ac_tool_prefix}otool; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_prog_OTOOL+:} false; then :
7883 $as_echo_n "(cached) " >&6
7884 else
7885 if test -n "$OTOOL"; then
7886 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7887 else
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 for as_dir in $PATH
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7905 OTOOL=$ac_cv_prog_OTOOL
7906 if test -n "$OTOOL"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7908 $as_echo "$OTOOL" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7916 if test -z "$ac_cv_prog_OTOOL"; then
7917 ac_ct_OTOOL=$OTOOL
7918 # Extract the first word of "otool", so it can be a program name with args.
7919 set dummy otool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 if test -n "$ac_ct_OTOOL"; then
7926 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7927 else
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_ac_ct_OTOOL="otool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7945 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7946 if test -n "$ac_ct_OTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7948 $as_echo "$ac_ct_OTOOL" >&6; }
7949 else
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7954 if test "x$ac_ct_OTOOL" = x; then
7955 OTOOL="otool"
7956 else
7957 case $cross_compiling:$ac_tool_warned in
7958 yes:)
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7961 ac_tool_warned=yes ;;
7962 esac
7963 OTOOL=$ac_ct_OTOOL
7965 else
7966 OTOOL="$ac_cv_prog_OTOOL"
7969 if test -n "$ac_tool_prefix"; then
7970 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7971 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_prog_READELF+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 if test -n "$READELF"; then
7978 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7979 else
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 for as_dir in $PATH
7983 IFS=$as_save_IFS
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989 break 2
7991 done
7992 done
7993 IFS=$as_save_IFS
7997 READELF=$ac_cv_prog_READELF
7998 if test -n "$READELF"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8000 $as_echo "$READELF" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8008 if test -z "$ac_cv_prog_READELF"; then
8009 ac_ct_READELF=$READELF
8010 # Extract the first word of "readelf", so it can be a program name with args.
8011 set dummy readelf; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$ac_ct_READELF"; then
8018 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_ac_ct_READELF="readelf"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8038 if test -n "$ac_ct_READELF"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8040 $as_echo "$ac_ct_READELF" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8046 if test "x$ac_ct_READELF" = x; then
8047 READELF="true"
8048 else
8049 case $cross_compiling:$ac_tool_warned in
8050 yes:)
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053 ac_tool_warned=yes ;;
8054 esac
8055 READELF=$ac_ct_READELF
8057 else
8058 READELF="$ac_cv_prog_READELF"
8061 wine_rules_file=conf$$rules.make
8062 rm -f $wine_rules_file
8063 SUBDIRS=""
8065 DISABLED_SUBDIRS=""
8067 CONFIGURE_TARGETS=""
8070 wine_fn_append_file ()
8072 as_fn_append $1 " \\$as_nl $2"
8075 wine_fn_append_rule ()
8077 $as_echo "$1" >>$wine_rules_file
8080 wine_fn_config_makefile ()
8082 wine_fn_append_file SUBDIRS $1
8083 if eval test \"x\$"$2"\" = x"no"; then :
8084 wine_fn_append_file DISABLED_SUBDIRS $1
8088 wine_fn_config_symlink ()
8090 ac_links=$@
8091 wine_fn_append_rule \
8092 "$ac_links:
8093 @./config.status \$@"
8094 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8097 wine_binary="wine"
8098 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8099 WINELOADER_PROGRAMS="$wine_binary"
8101 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8103 case $host_os in
8104 cygwin*|mingw32*)
8105 if test -n "$ac_tool_prefix"; then
8106 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8107 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if ${ac_cv_prog_DLLTOOL+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 if test -n "$DLLTOOL"; then
8114 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8115 else
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 for as_dir in $PATH
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8133 DLLTOOL=$ac_cv_prog_DLLTOOL
8134 if test -n "$DLLTOOL"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8136 $as_echo "$DLLTOOL" >&6; }
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8144 if test -z "$ac_cv_prog_DLLTOOL"; then
8145 ac_ct_DLLTOOL=$DLLTOOL
8146 # Extract the first word of "dlltool", so it can be a program name with args.
8147 set dummy dlltool; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$ac_ct_DLLTOOL"; then
8154 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8174 if test -n "$ac_ct_DLLTOOL"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8176 $as_echo "$ac_ct_DLLTOOL" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8182 if test "x$ac_ct_DLLTOOL" = x; then
8183 DLLTOOL="false"
8184 else
8185 case $cross_compiling:$ac_tool_warned in
8186 yes:)
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189 ac_tool_warned=yes ;;
8190 esac
8191 DLLTOOL=$ac_ct_DLLTOOL
8193 else
8194 DLLTOOL="$ac_cv_prog_DLLTOOL"
8197 LIBEXT="dll"
8198 DLLEXT=""
8199 case $host_cpu in
8200 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8201 esac
8202 enable_iphlpapi=${enable_iphlpapi:-no}
8203 enable_kernel32=${enable_kernel32:-no}
8204 enable_ntdll=${enable_ntdll:-no}
8205 enable_ws2_32=${enable_ws2_32:-no}
8206 enable_loader=${enable_loader:-no}
8207 enable_server=${enable_server:-no}
8208 with_x=${with_x:-no}
8209 with_pthread=${with_pthread:-no}
8212 darwin*|macosx*)
8213 ac_ext=m
8214 ac_cpp='$OBJCPP $CPPFLAGS'
8215 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8216 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8217 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8219 ac_ext=m
8220 ac_cpp='$OBJCPP $CPPFLAGS'
8221 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8222 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8223 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8224 if test -n "$ac_tool_prefix"; then
8225 for ac_prog in gcc objcc objc cc CC
8227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230 $as_echo_n "checking for $ac_word... " >&6; }
8231 if ${ac_cv_prog_OBJC+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 if test -n "$OBJC"; then
8235 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8236 else
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 for as_dir in $PATH
8240 IFS=$as_save_IFS
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8244 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 break 2
8248 done
8249 done
8250 IFS=$as_save_IFS
8254 OBJC=$ac_cv_prog_OBJC
8255 if test -n "$OBJC"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8257 $as_echo "$OBJC" >&6; }
8258 else
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8264 test -n "$OBJC" && break
8265 done
8267 if test -z "$OBJC"; then
8268 ac_ct_OBJC=$OBJC
8269 for ac_prog in gcc objcc objc cc CC
8271 # Extract the first word of "$ac_prog", so it can be a program name with args.
8272 set dummy $ac_prog; ac_word=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8274 $as_echo_n "checking for $ac_word... " >&6; }
8275 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8276 $as_echo_n "(cached) " >&6
8277 else
8278 if test -n "$ac_ct_OBJC"; then
8279 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8280 else
8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8282 for as_dir in $PATH
8284 IFS=$as_save_IFS
8285 test -z "$as_dir" && as_dir=.
8286 for ac_exec_ext in '' $ac_executable_extensions; do
8287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8288 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 break 2
8292 done
8293 done
8294 IFS=$as_save_IFS
8298 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8299 if test -n "$ac_ct_OBJC"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8301 $as_echo "$ac_ct_OBJC" >&6; }
8302 else
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8304 $as_echo "no" >&6; }
8308 test -n "$ac_ct_OBJC" && break
8309 done
8311 if test "x$ac_ct_OBJC" = x; then
8312 OBJC="gcc"
8313 else
8314 case $cross_compiling:$ac_tool_warned in
8315 yes:)
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8318 ac_tool_warned=yes ;;
8319 esac
8320 OBJC=$ac_ct_OBJC
8324 # Provide some information about the compiler.
8325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8326 set X $ac_compile
8327 ac_compiler=$2
8328 for ac_option in --version -v -V -qversion; do
8329 { { ac_try="$ac_compiler $ac_option >&5"
8330 case "(($ac_try" in
8331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8332 *) ac_try_echo=$ac_try;;
8333 esac
8334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8335 $as_echo "$ac_try_echo"; } >&5
8336 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8337 ac_status=$?
8338 if test -s conftest.err; then
8339 sed '10a\
8340 ... rest of stderr output deleted ...
8341 10q' conftest.err >conftest.er1
8342 cat conftest.er1 >&5
8344 rm -f conftest.er1 conftest.err
8345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8346 test $ac_status = 0; }
8347 done
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8350 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8351 if ${ac_cv_objc_compiler_gnu+:} false; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8358 main ()
8360 #ifndef __GNUC__
8361 choke me
8362 #endif
8365 return 0;
8367 _ACEOF
8368 if ac_fn_objc_try_compile "$LINENO"; then :
8369 ac_compiler_gnu=yes
8370 else
8371 ac_compiler_gnu=no
8373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8374 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8378 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8379 if test $ac_compiler_gnu = yes; then
8380 GOBJC=yes
8381 else
8382 GOBJC=
8384 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8385 ac_save_OBJCFLAGS=$OBJCFLAGS
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8387 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8388 if ${ac_cv_prog_objc_g+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_save_objc_werror_flag=$ac_objc_werror_flag
8392 ac_objc_werror_flag=yes
8393 ac_cv_prog_objc_g=no
8394 OBJCFLAGS="-g"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8399 main ()
8403 return 0;
8405 _ACEOF
8406 if ac_fn_objc_try_compile "$LINENO"; then :
8407 ac_cv_prog_objc_g=yes
8408 else
8409 OBJCFLAGS=""
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8414 main ()
8418 return 0;
8420 _ACEOF
8421 if ac_fn_objc_try_compile "$LINENO"; then :
8423 else
8424 ac_objc_werror_flag=$ac_save_objc_werror_flag
8425 OBJCFLAGS="-g"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8430 main ()
8434 return 0;
8436 _ACEOF
8437 if ac_fn_objc_try_compile "$LINENO"; then :
8438 ac_cv_prog_objc_g=yes
8440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 ac_objc_werror_flag=$ac_save_objc_werror_flag
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8448 $as_echo "$ac_cv_prog_objc_g" >&6; }
8449 if test "$ac_test_OBJCFLAGS" = set; then
8450 OBJCFLAGS=$ac_save_OBJCFLAGS
8451 elif test $ac_cv_prog_objc_g = yes; then
8452 if test "$GOBJC" = yes; then
8453 OBJCFLAGS="-g -O2"
8454 else
8455 OBJCFLAGS="-g"
8457 else
8458 if test "$GOBJC" = yes; then
8459 OBJCFLAGS="-O2"
8460 else
8461 OBJCFLAGS=
8464 ac_ext=m
8465 ac_cpp='$OBJCPP $CPPFLAGS'
8466 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8467 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8468 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8471 ac_ext=m
8472 ac_cpp='$OBJCPP $CPPFLAGS'
8473 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8474 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8475 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8477 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8478 if test -z "$OBJCPP"; then
8479 if ${ac_cv_prog_OBJCPP+:} false; then :
8480 $as_echo_n "(cached) " >&6
8481 else
8482 # Double quotes because OBJCPP needs to be expanded
8483 for OBJCPP in "$OBJC -E" "/lib/cpp"
8485 ac_preproc_ok=false
8486 for ac_objc_preproc_warn_flag in '' yes
8488 # Use a header file that comes with gcc, so configuring glibc
8489 # with a fresh cross-compiler works.
8490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8491 # <limits.h> exists even on freestanding compilers.
8492 # On the NeXT, cc -E runs the code through the compiler's parser,
8493 # not just through cpp. "Syntax error" is here to catch this case.
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 #ifdef __STDC__
8497 # include <limits.h>
8498 #else
8499 # include <assert.h>
8500 #endif
8501 Syntax error
8502 _ACEOF
8503 if ac_fn_objc_try_cpp "$LINENO"; then :
8505 else
8506 # Broken: fails on valid input.
8507 continue
8509 rm -f conftest.err conftest.i conftest.$ac_ext
8511 # OK, works on sane cases. Now check whether nonexistent headers
8512 # can be detected and how.
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 #include <ac_nonexistent.h>
8516 _ACEOF
8517 if ac_fn_objc_try_cpp "$LINENO"; then :
8518 # Broken: success on invalid input.
8519 continue
8520 else
8521 # Passes both tests.
8522 ac_preproc_ok=:
8523 break
8525 rm -f conftest.err conftest.i conftest.$ac_ext
8527 done
8528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8529 rm -f conftest.i conftest.err conftest.$ac_ext
8530 if $ac_preproc_ok; then :
8531 break
8534 done
8535 ac_cv_prog_OBJCPP=$OBJCPP
8538 OBJCPP=$ac_cv_prog_OBJCPP
8539 else
8540 ac_cv_prog_OBJCPP=$OBJCPP
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8543 $as_echo "$OBJCPP" >&6; }
8544 ac_preproc_ok=false
8545 for ac_objc_preproc_warn_flag in '' yes
8547 # Use a header file that comes with gcc, so configuring glibc
8548 # with a fresh cross-compiler works.
8549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8550 # <limits.h> exists even on freestanding compilers.
8551 # On the NeXT, cc -E runs the code through the compiler's parser,
8552 # not just through cpp. "Syntax error" is here to catch this case.
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 #ifdef __STDC__
8556 # include <limits.h>
8557 #else
8558 # include <assert.h>
8559 #endif
8560 Syntax error
8561 _ACEOF
8562 if ac_fn_objc_try_cpp "$LINENO"; then :
8564 else
8565 # Broken: fails on valid input.
8566 continue
8568 rm -f conftest.err conftest.i conftest.$ac_ext
8570 # OK, works on sane cases. Now check whether nonexistent headers
8571 # can be detected and how.
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 #include <ac_nonexistent.h>
8575 _ACEOF
8576 if ac_fn_objc_try_cpp "$LINENO"; then :
8577 # Broken: success on invalid input.
8578 continue
8579 else
8580 # Passes both tests.
8581 ac_preproc_ok=:
8582 break
8584 rm -f conftest.err conftest.i conftest.$ac_ext
8586 done
8587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8588 rm -f conftest.i conftest.err conftest.$ac_ext
8589 if $ac_preproc_ok; then :
8591 else
8592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8594 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8595 See \`config.log' for more details" "$LINENO" 5; }
8598 ac_ext=m
8599 ac_cpp='$OBJCPP $CPPFLAGS'
8600 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8605 for ac_header in Metal/Metal.h
8606 do :
8607 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8608 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8609 cat >>confdefs.h <<_ACEOF
8610 #define HAVE_METAL_METAL_H 1
8611 _ACEOF
8615 done
8617 ac_ext=c
8618 ac_cpp='$CPP $CPPFLAGS'
8619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8623 LIBEXT="dylib"
8624 DLLFLAGS="$DLLFLAGS -fPIC"
8625 LDDLLFLAGS="-fPIC"
8626 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8627 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8628 COREFOUNDATION_LIBS="-framework CoreFoundation"
8630 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8632 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8634 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8636 CORESERVICES_LIBS="-framework CoreServices"
8638 APPKIT_LIBS="-framework AppKit"
8640 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8643 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8645 wine_can_build_preloader=yes
8646 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8648 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8649 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 int main(int argc, char **argv) { return 0; }
8657 _ACEOF
8658 if ac_fn_c_try_link "$LINENO"; then :
8659 ac_cv_cflags__Wl__no_new_main__e__main=yes
8660 else
8661 ac_cv_cflags__Wl__no_new_main__e__main=no
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8668 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8669 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8670 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8672 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8673 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} 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 -nostartfiles -nodefaultlibs"
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__nostartfiles__nodefaultlibs=yes
8684 else
8685 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=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__nostartfiles__nodefaultlibs" >&5
8692 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8693 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8694 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8695 else
8696 { $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
8697 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8698 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8709 else
8710 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $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
8717 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8718 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8719 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8720 else
8721 wine_can_build_preloader=no
8724 else
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8726 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8727 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8738 else
8739 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8746 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8747 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8748 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8749 else
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8751 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8752 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8763 else
8764 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8771 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8772 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8773 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8774 else
8775 wine_can_build_preloader=no
8779 if test "$wine_can_build_preloader" = "yes"
8780 then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8782 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8783 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -Wl,-no_pie"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__Wl__no_pie=yes
8794 else
8795 ac_cv_cflags__Wl__no_pie=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8802 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8803 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8804 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8806 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8807 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8808 else
8809 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8812 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8813 then
8814 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8817 if test "$ac_cv_header_Security_Security_h" = "yes"
8818 then
8819 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8821 ac_save_LIBS="$LIBS"
8822 LIBS="$LIBS $SECURITY_LIBS"
8823 for ac_func in SSLCopyPeerCertificates
8824 do :
8825 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8826 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8827 cat >>confdefs.h <<_ACEOF
8828 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8829 _ACEOF
8832 done
8834 LIBS="$ac_save_LIBS"
8836 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8837 then
8838 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8839 then
8840 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8842 else
8843 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8846 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8847 ac_save_LIBS="$LIBS"
8848 LIBS="$LIBS $COREAUDIO_LIBS"
8849 for ac_func in AUGraphAddNode
8850 do :
8851 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8852 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8853 cat >>confdefs.h <<_ACEOF
8854 #define HAVE_AUGRAPHADDNODE 1
8855 _ACEOF
8858 done
8860 LIBS="$ac_save_LIBS"
8862 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8863 then
8864 OPENAL_LIBS="-framework OpenAL"
8867 cat >>confdefs.h <<_ACEOF
8868 #define HAVE_OPENAL 1
8869 _ACEOF
8871 ac_cv_lib_openal=yes
8873 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8874 then
8875 OPENCL_LIBS="-framework OpenCL"
8877 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8879 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8880 then
8881 ac_save_LIBS="$LIBS"
8882 LIBS="$LIBS $IOKIT_LIBS"
8883 for ac_func in IOHIDManagerCreate
8884 do :
8885 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8886 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8887 cat >>confdefs.h <<_ACEOF
8888 #define HAVE_IOHIDMANAGERCREATE 1
8889 _ACEOF
8892 done
8894 LIBS="$ac_save_LIBS"
8896 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8897 then
8898 ac_save_LIBS="$LIBS"
8899 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8901 $as_echo_n "checking for the QuickTime framework... " >&6; }
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 #include <QuickTime/ImageCompression.h>
8906 main ()
8908 CodecManagerVersion(NULL);
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8915 $as_echo "yes" >&6; }
8916 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8918 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921 $as_echo "no" >&6; }
8922 ac_cv_header_QuickTime_ImageCompression_h=no
8924 rm -f core conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 LIBS="$ac_save_LIBS"
8928 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8929 then
8930 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8932 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8933 then
8934 CARBON_LIBS="-framework Carbon"
8937 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8938 then
8939 METAL_LIBS="-framework Metal -framework QuartzCore"
8943 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8944 then
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8946 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8947 ac_ext=m
8948 ac_cpp='$OBJCPP $CPPFLAGS'
8949 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8950 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8951 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8954 /* end confdefs.h. */
8955 #include <Metal/Metal.h>
8957 main ()
8959 id<MTLDevice> device; device.registryID;
8961 return 0;
8963 _ACEOF
8964 if ac_fn_objc_try_compile "$LINENO"; then :
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8966 $as_echo "yes" >&6; }
8968 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8970 else
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8975 ac_ext=c
8976 ac_cpp='$CPP $CPPFLAGS'
8977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8983 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8984 then
8985 ac_save_LIBS="$LIBS"
8986 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8987 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8988 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8989 enable_winemac_drv=${enable_winemac_drv:-yes}
8992 LIBS="$ac_save_LIBS"
8995 if test "x$enable_win16" = "xyes"
8996 then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8998 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8999 if test "$cross_compiling" = yes; then :
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9001 $as_echo "cross-compiling, assuming yes" >&6; }
9002 else
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9005 asm(".text\n"
9006 "bad:\tnop;nop\n"
9007 "good:\tnop;nop\n\t"
9008 ".globl _testfunc\n"
9009 "_testfunc:\tcallw good");
9010 extern void testfunc();
9012 main ()
9014 unsigned short *p = (unsigned short *)testfunc;
9015 return p[0] != 0xe866 || p[1] != 0xfffa
9017 return 0;
9019 _ACEOF
9020 if ac_fn_c_try_run "$LINENO"; then :
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9022 $as_echo "yes" >&6; }
9023 else
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9025 $as_echo "no" >&6; }
9026 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
9028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9029 conftest.$ac_objext conftest.beam conftest.$ac_ext
9034 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9036 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9038 WINELOADER_DEPENDS="wine_info.plist"
9040 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9041 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9044 linux-android*)
9045 DLLFLAGS="$DLLFLAGS -fPIC"
9046 LDDLLFLAGS="-fPIC"
9047 LDEXECFLAGS="-Wl,-pie"
9048 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9050 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9051 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9052 $as_echo_n "(cached) " >&6
9053 else
9054 ac_wine_try_cflags_saved=$CFLAGS
9055 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9057 /* end confdefs.h. */
9058 int main(int argc, char **argv) { return 0; }
9059 _ACEOF
9060 if ac_fn_c_try_link "$LINENO"; then :
9061 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9062 else
9063 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9065 rm -f core conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9067 CFLAGS=$ac_wine_try_cflags_saved
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9070 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9071 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9072 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9074 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9075 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9077 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9078 if eval \${$as_ac_var+:} false; then :
9079 $as_echo_n "(cached) " >&6
9080 else
9081 ac_wine_try_cflags_saved=$CFLAGS
9082 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9085 int main(int argc, char **argv) { return 0; }
9086 _ACEOF
9087 if ac_fn_c_try_link "$LINENO"; then :
9088 eval "$as_ac_var=yes"
9089 else
9090 eval "$as_ac_var=no"
9092 rm -f core conftest.err conftest.$ac_objext \
9093 conftest$ac_exeext conftest.$ac_ext
9094 CFLAGS=$ac_wine_try_cflags_saved
9096 eval ac_res=\$$as_ac_var
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9098 $as_echo "$ac_res" >&6; }
9099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9100 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9101 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9102 else
9103 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9105 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9106 if eval \${$as_ac_var+:} false; then :
9107 $as_echo_n "(cached) " >&6
9108 else
9109 ac_wine_try_cflags_saved=$CFLAGS
9110 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9113 int main(int argc, char **argv) { return 0; }
9114 _ACEOF
9115 if ac_fn_c_try_link "$LINENO"; then :
9116 eval "$as_ac_var=yes"
9117 else
9118 eval "$as_ac_var=no"
9120 rm -f core conftest.err conftest.$ac_objext \
9121 conftest$ac_exeext conftest.$ac_ext
9122 CFLAGS=$ac_wine_try_cflags_saved
9124 eval ac_res=\$$as_ac_var
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9126 $as_echo "$ac_res" >&6; }
9127 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9128 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9129 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9133 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9134 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9135 $as_echo_n "(cached) " >&6
9136 else
9137 ac_wine_try_cflags_saved=$CFLAGS
9138 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9141 int main(int argc, char **argv) { return 0; }
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 ac_cv_cflags__Wl___enable_new_dtags=yes
9145 else
9146 ac_cv_cflags__Wl___enable_new_dtags=no
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 CFLAGS=$ac_wine_try_cflags_saved
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9153 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9154 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9155 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9158 LIBWINE_SHAREDLIB="libwine.so"
9160 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9162 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9165 $as_echo_n "checking for -lEGL... " >&6; }
9166 if ${ac_cv_lib_soname_EGL+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_check_soname_save_LIBS=$LIBS
9170 LIBS="-lEGL $LIBS"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9177 #ifdef __cplusplus
9178 extern "C"
9179 #endif
9180 char eglGetProcAddress ();
9182 main ()
9184 return eglGetProcAddress ();
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 case "$LIBEXT" in
9191 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9192 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'` ;;
9193 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9194 if ${ac_cv_lib_soname_EGL:+false} :; then :
9195 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9196 fi ;;
9197 esac
9198 else
9199 ac_cv_lib_soname_EGL=
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 LIBS=$ac_check_soname_save_LIBS
9205 if ${ac_cv_lib_soname_EGL:+false} :; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9207 $as_echo "not found" >&6; }
9209 else
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9211 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9213 cat >>confdefs.h <<_ACEOF
9214 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9215 _ACEOF
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9220 $as_echo_n "checking for -lGLESv2... " >&6; }
9221 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_soname_save_LIBS=$LIBS
9225 LIBS="-lGLESv2 $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char glFlush ();
9237 main ()
9239 return glFlush ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 case "$LIBEXT" in
9246 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9247 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'` ;;
9248 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9249 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9250 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9251 fi ;;
9252 esac
9253 else
9254 ac_cv_lib_soname_GLESv2=
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 LIBS=$ac_check_soname_save_LIBS
9260 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9262 $as_echo "not found" >&6; }
9264 else
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9266 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9268 cat >>confdefs.h <<_ACEOF
9269 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9270 _ACEOF
9275 if test "x$exec_prefix" = xNONE
9276 then
9277 case $host_cpu in
9278 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9279 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9280 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9281 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9282 esac
9287 case $host_cpu in
9288 *i[3456789]86*)
9289 DLLFLAGS="$DLLFLAGS -fno-PIC"
9290 LDDLLFLAGS="-fno-PIC" ;;
9292 DLLFLAGS="$DLLFLAGS -fPIC"
9293 LDDLLFLAGS="-fPIC" ;;
9294 esac
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9296 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9297 if ${ac_cv_c_dll_gnuelf+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_wine_try_cflags_saved=$CFLAGS
9301 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9304 void myfunc() {}
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9308 else
9309 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 CFLAGS=$ac_wine_try_cflags_saved
9314 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9315 ac_cv_c_dll_gnuelf="yes"
9316 else
9317 ac_cv_c_dll_gnuelf="no"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9321 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9322 if test "$ac_cv_c_dll_gnuelf" = "yes"
9323 then
9324 LIBWINE_LDFLAGS="-shared"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9326 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9327 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_wine_try_cflags_saved=$CFLAGS
9331 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9334 int main(int argc, char **argv) { return 0; }
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9338 else
9339 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 CFLAGS=$ac_wine_try_cflags_saved
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9346 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9347 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9348 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9349 else
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9351 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9352 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_wine_try_cflags_saved=$CFLAGS
9356 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9359 int main(int argc, char **argv) { return 0; }
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9363 else
9364 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 CFLAGS=$ac_wine_try_cflags_saved
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9371 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9372 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9373 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9377 echo '{ global: *; };' >conftest.map
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9379 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9380 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9391 else
9392 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9399 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9400 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9401 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9403 rm -f conftest.map
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9406 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9407 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_wine_try_cflags_saved=$CFLAGS
9411 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9414 int main(int argc, char **argv) { return 0; }
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_cflags__Wl___export_dynamic=yes
9418 else
9419 ac_cv_cflags__Wl___export_dynamic=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 CFLAGS=$ac_wine_try_cflags_saved
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9426 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9427 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9428 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9430 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9432 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9434 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9435 if eval \${$as_ac_var+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_wine_try_cflags_saved=$CFLAGS
9439 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int main(int argc, char **argv) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 eval "$as_ac_var=yes"
9446 else
9447 eval "$as_ac_var=no"
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 CFLAGS=$ac_wine_try_cflags_saved
9453 eval ac_res=\$$as_ac_var
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9455 $as_echo "$ac_res" >&6; }
9456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9457 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9458 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9459 else
9460 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9462 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9463 if eval \${$as_ac_var+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 eval "$as_ac_var=yes"
9474 else
9475 eval "$as_ac_var=no"
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 eval ac_res=\$$as_ac_var
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9483 $as_echo "$ac_res" >&6; }
9484 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9485 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9486 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9491 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9492 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 ac_wine_try_cflags_saved=$CFLAGS
9496 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int main(int argc, char **argv) { return 0; }
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 ac_cv_cflags__Wl___enable_new_dtags=yes
9503 else
9504 ac_cv_cflags__Wl___enable_new_dtags=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 CFLAGS=$ac_wine_try_cflags_saved
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9511 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9512 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9513 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9516 case $host_cpu in
9517 *i[3456789]86* | x86_64 | *aarch64*)
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9519 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9520 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 ac_wine_try_cflags_saved=$CFLAGS
9524 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527 int main(int argc, char **argv) { return 0; }
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9530 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9531 else
9532 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9534 rm -f core conftest.err conftest.$ac_objext \
9535 conftest$ac_exeext conftest.$ac_ext
9536 CFLAGS=$ac_wine_try_cflags_saved
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9539 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9540 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9541 case $host_os in
9542 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9543 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9544 esac
9545 else
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9547 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9548 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_wine_try_cflags_saved=$CFLAGS
9552 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 int main(int argc, char **argv) { return 0; }
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"; then :
9558 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9559 else
9560 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 CFLAGS=$ac_wine_try_cflags_saved
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9567 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9568 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9569 case $host_os in
9570 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9571 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9572 esac
9574 # Extract the first word of "prelink", so it can be a program name with args.
9575 set dummy prelink; ac_word=$2
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9577 $as_echo_n "checking for $ac_word... " >&6; }
9578 if ${ac_cv_path_PRELINK+:} false; then :
9579 $as_echo_n "(cached) " >&6
9580 else
9581 case $PRELINK in
9582 [\\/]* | ?:[\\/]*)
9583 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 for as_dir in /sbin /usr/sbin $PATH
9589 IFS=$as_save_IFS
9590 test -z "$as_dir" && as_dir=.
9591 for ac_exec_ext in '' $ac_executable_extensions; do
9592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9593 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9595 break 2
9597 done
9598 done
9599 IFS=$as_save_IFS
9601 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9603 esac
9605 PRELINK=$ac_cv_path_PRELINK
9606 if test -n "$PRELINK"; then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9608 $as_echo "$PRELINK" >&6; }
9609 else
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9611 $as_echo "no" >&6; }
9615 if test "x$PRELINK" = xfalse
9616 then
9617 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9621 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9622 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9623 $as_echo_n "(cached) " >&6
9624 else
9625 ac_wine_try_cflags_saved=$CFLAGS
9626 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9629 int main(int argc, char **argv) { return 0; }
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9633 else
9634 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 CFLAGS=$ac_wine_try_cflags_saved
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9641 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9642 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9643 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9646 esac
9648 else
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9650 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9651 if ${ac_cv_c_dll_unixware+:} false; then :
9652 $as_echo_n "(cached) " >&6
9653 else
9654 ac_wine_try_cflags_saved=$CFLAGS
9655 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9658 void myfunc() {}
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9662 else
9663 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 CFLAGS=$ac_wine_try_cflags_saved
9668 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9669 ac_cv_c_dll_unixware="yes"
9670 else
9671 ac_cv_c_dll_unixware="no"
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9675 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9676 if test "$ac_cv_c_dll_unixware" = "yes"
9677 then
9678 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9681 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9683 LIBWINE_DEPENDS="wine.map"
9685 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9686 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9688 esac
9690 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9691 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9692 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9693 enable_winemac_drv=${enable_winemac_drv:-no}
9694 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9696 CROSSTARGET=""
9698 if test "x$with_mingw" != xno
9699 then
9700 case "x$with_mingw" in
9701 x|xyes) case "$host_cpu" in
9702 aarch64*)
9703 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9704 arm*)
9705 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9706 i[3456789]86*)
9707 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
9708 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9709 mingw32-gcc" ;;
9710 x86_64)
9711 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
9712 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9714 ac_prefix_list="" ;;
9715 esac
9716 for ac_prog in $ac_prefix_list
9718 # Extract the first word of "$ac_prog", so it can be a program name with args.
9719 set dummy $ac_prog; ac_word=$2
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9721 $as_echo_n "checking for $ac_word... " >&6; }
9722 if ${ac_cv_prog_CROSSCC+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 if test -n "$CROSSCC"; then
9726 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9727 else
9728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9729 for as_dir in $PATH
9731 IFS=$as_save_IFS
9732 test -z "$as_dir" && as_dir=.
9733 for ac_exec_ext in '' $ac_executable_extensions; do
9734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9735 ac_cv_prog_CROSSCC="$ac_prog"
9736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9737 break 2
9739 done
9740 done
9741 IFS=$as_save_IFS
9745 CROSSCC=$ac_cv_prog_CROSSCC
9746 if test -n "$CROSSCC"; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9748 $as_echo "$CROSSCC" >&6; }
9749 else
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9751 $as_echo "no" >&6; }
9755 test -n "$CROSSCC" && break
9756 done
9757 test -n "$CROSSCC" || CROSSCC="false"
9759 *) CROSSCC=$with_mingw ;;
9760 esac
9761 if test "$CROSSCC" != "false"
9762 then
9763 ac_save_CC="$CC"
9764 saved_CFLAGS=$CFLAGS
9765 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9767 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9771 CC="$CROSSCC"
9772 CFLAGS=$CROSSCFLAGS
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9774 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9775 if ${wine_cv_crosscc+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9782 main ()
9786 return 0;
9788 _ACEOF
9789 if ac_fn_c_try_compile "$LINENO"; then :
9790 wine_cv_crosscc=yes
9791 else
9792 wine_cv_crosscc=no
9794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9797 $as_echo "$wine_cv_crosscc" >&6; }
9798 if test $wine_cv_crosscc = yes
9799 then
9800 set x $CROSSCC
9801 shift
9802 while test $# -ge 1
9804 case "$1" in
9805 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9806 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9807 esac
9808 shift
9809 done
9811 llvm_target=$CROSSTARGET
9812 if test -z "$llvm_target"
9813 then
9814 case $host_cpu in
9815 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9816 *) llvm_target=$host_cpu-windows-gnu ;;
9817 esac
9819 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9821 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9822 if eval \${$as_ac_var+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_wine_try_cflags_saved=$CFLAGS
9826 ac_wine_try_cflags_saved_cc=$CC
9827 ac_wine_try_cflags_saved_exeext=$ac_exeext
9828 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9829 CC="$CROSSCC"
9830 ac_exeext=".exe"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 eval "$as_ac_var=yes"
9837 else
9838 eval "$as_ac_var=no"
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 CFLAGS=$ac_wine_try_cflags_saved
9843 CC=$ac_wine_try_cflags_saved_cc
9844 ac_exeext=$ac_wine_try_cflags_saved_exeext
9846 eval ac_res=\$$as_ac_var
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9848 $as_echo "$ac_res" >&6; }
9849 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9850 CROSSTARGET=$llvm_target
9851 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9852 CFLAGS="$CFLAGS -fuse-ld=lld"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9856 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9857 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_wine_try_cflags_saved=$CFLAGS
9861 ac_wine_try_cflags_saved_cc=$CC
9862 ac_wine_try_cflags_saved_exeext=$ac_exeext
9863 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9864 CC="$CROSSCC"
9865 ac_exeext=".exe"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_crosscflags__fno_strict_aliasing=yes
9872 else
9873 ac_cv_crosscflags__fno_strict_aliasing=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CFLAGS=$ac_wine_try_cflags_saved
9878 CC=$ac_wine_try_cflags_saved_cc
9879 ac_exeext=$ac_wine_try_cflags_saved_exeext
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9882 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9883 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9884 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9887 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9888 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 ac_wine_try_cflags_saved_cc=$CC
9893 ac_wine_try_cflags_saved_exeext=$ac_exeext
9894 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9895 CC="$CROSSCC"
9896 ac_exeext=".exe"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9903 else
9904 ac_cv_crosscflags__Werror_unknown_warning_option=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 CFLAGS=$ac_wine_try_cflags_saved
9909 CC=$ac_wine_try_cflags_saved_cc
9910 ac_exeext=$ac_wine_try_cflags_saved_exeext
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9913 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9914 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9915 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9918 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9919 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 ac_wine_try_cflags_saved_cc=$CC
9924 ac_wine_try_cflags_saved_exeext=$ac_exeext
9925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9926 CC="$CROSSCC"
9927 ac_exeext=".exe"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9934 else
9935 ac_cv_crosscflags__Wdeclaration_after_statement=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9940 CC=$ac_wine_try_cflags_saved_cc
9941 ac_exeext=$ac_wine_try_cflags_saved_exeext
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9944 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9945 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9946 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9949 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9950 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_wine_try_cflags_saved=$CFLAGS
9954 ac_wine_try_cflags_saved_cc=$CC
9955 ac_wine_try_cflags_saved_exeext=$ac_exeext
9956 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9957 CC="$CROSSCC"
9958 ac_exeext=".exe"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_crosscflags__Wempty_body=yes
9965 else
9966 ac_cv_crosscflags__Wempty_body=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9971 CC=$ac_wine_try_cflags_saved_cc
9972 ac_exeext=$ac_wine_try_cflags_saved_exeext
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9975 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9976 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9977 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9980 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9981 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 ac_wine_try_cflags_saved_cc=$CC
9986 ac_wine_try_cflags_saved_exeext=$ac_exeext
9987 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9988 CC="$CROSSCC"
9989 ac_exeext=".exe"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_crosscflags__Wignored_qualifiers=yes
9996 else
9997 ac_cv_crosscflags__Wignored_qualifiers=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 CFLAGS=$ac_wine_try_cflags_saved
10002 CC=$ac_wine_try_cflags_saved_cc
10003 ac_exeext=$ac_wine_try_cflags_saved_exeext
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10006 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10007 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10008 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10011 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10012 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_wine_try_cflags_saved=$CFLAGS
10016 ac_wine_try_cflags_saved_cc=$CC
10017 ac_wine_try_cflags_saved_exeext=$ac_exeext
10018 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10019 CC="$CROSSCC"
10020 ac_exeext=".exe"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_crosscflags__Wpacked_not_aligned=yes
10027 else
10028 ac_cv_crosscflags__Wpacked_not_aligned=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 CFLAGS=$ac_wine_try_cflags_saved
10033 CC=$ac_wine_try_cflags_saved_cc
10034 ac_exeext=$ac_wine_try_cflags_saved_exeext
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10037 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10038 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10039 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10042 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10043 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10044 $as_echo_n "(cached) " >&6
10045 else
10046 ac_wine_try_cflags_saved=$CFLAGS
10047 ac_wine_try_cflags_saved_cc=$CC
10048 ac_wine_try_cflags_saved_exeext=$ac_exeext
10049 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10050 CC="$CROSSCC"
10051 ac_exeext=".exe"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_crosscflags__Wpragma_pack=yes
10058 else
10059 ac_cv_crosscflags__Wpragma_pack=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 CFLAGS=$ac_wine_try_cflags_saved
10064 CC=$ac_wine_try_cflags_saved_cc
10065 ac_exeext=$ac_wine_try_cflags_saved_exeext
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10068 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10069 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10070 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10073 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10074 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 ac_wine_try_cflags_saved_cc=$CC
10079 ac_wine_try_cflags_saved_exeext=$ac_exeext
10080 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10081 CC="$CROSSCC"
10082 ac_exeext=".exe"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10085 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_crosscflags__Wshift_overflow_2=yes
10089 else
10090 ac_cv_crosscflags__Wshift_overflow_2=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 CFLAGS=$ac_wine_try_cflags_saved
10095 CC=$ac_wine_try_cflags_saved_cc
10096 ac_exeext=$ac_wine_try_cflags_saved_exeext
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10099 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10100 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10101 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10104 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10105 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 ac_wine_try_cflags_saved_cc=$CC
10110 ac_wine_try_cflags_saved_exeext=$ac_exeext
10111 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10112 CC="$CROSSCC"
10113 ac_exeext=".exe"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_crosscflags__Wstrict_prototypes=yes
10120 else
10121 ac_cv_crosscflags__Wstrict_prototypes=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10126 CC=$ac_wine_try_cflags_saved_cc
10127 ac_exeext=$ac_wine_try_cflags_saved_exeext
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10130 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10131 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10132 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10135 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10136 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 ac_wine_try_cflags_saved_cc=$CC
10141 ac_wine_try_cflags_saved_exeext=$ac_exeext
10142 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10143 CC="$CROSSCC"
10144 ac_exeext=".exe"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10147 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 ac_cv_crosscflags__Wtype_limits=yes
10151 else
10152 ac_cv_crosscflags__Wtype_limits=no
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10157 CC=$ac_wine_try_cflags_saved_cc
10158 ac_exeext=$ac_wine_try_cflags_saved_exeext
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10161 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10162 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10163 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10166 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10167 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 ac_wine_try_cflags_saved_cc=$CC
10172 ac_wine_try_cflags_saved_exeext=$ac_exeext
10173 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10174 CC="$CROSSCC"
10175 ac_exeext=".exe"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10182 else
10183 ac_cv_crosscflags__Wunused_but_set_parameter=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10188 CC=$ac_wine_try_cflags_saved_cc
10189 ac_exeext=$ac_wine_try_cflags_saved_exeext
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10192 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10193 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10194 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10197 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10198 if ${ac_cv_crosscflags__Wvla+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 ac_wine_try_cflags_saved_cc=$CC
10203 ac_wine_try_cflags_saved_exeext=$ac_exeext
10204 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10205 CC="$CROSSCC"
10206 ac_exeext=".exe"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_crosscflags__Wvla=yes
10213 else
10214 ac_cv_crosscflags__Wvla=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10219 CC=$ac_wine_try_cflags_saved_cc
10220 ac_exeext=$ac_wine_try_cflags_saved_exeext
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10223 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10224 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10225 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10228 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10229 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 ac_wine_try_cflags_saved_cc=$CC
10234 ac_wine_try_cflags_saved_exeext=$ac_exeext
10235 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10236 CC="$CROSSCC"
10237 ac_exeext=".exe"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_crosscflags__Wwrite_strings=yes
10244 else
10245 ac_cv_crosscflags__Wwrite_strings=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10250 CC=$ac_wine_try_cflags_saved_cc
10251 ac_exeext=$ac_wine_try_cflags_saved_exeext
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10254 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10255 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10256 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10259 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10260 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 ac_wine_try_cflags_saved_cc=$CC
10265 ac_wine_try_cflags_saved_exeext=$ac_exeext
10266 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10267 CC="$CROSSCC"
10268 ac_exeext=".exe"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 ac_cv_crosscflags__Wpointer_arith=yes
10275 else
10276 ac_cv_crosscflags__Wpointer_arith=no
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 CFLAGS=$ac_wine_try_cflags_saved
10281 CC=$ac_wine_try_cflags_saved_cc
10282 ac_exeext=$ac_wine_try_cflags_saved_exeext
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10285 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10286 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10290 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10291 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_wine_try_cflags_saved=$CFLAGS
10295 ac_wine_try_cflags_saved_cc=$CC
10296 ac_wine_try_cflags_saved_exeext=$ac_exeext
10297 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10298 CC="$CROSSCC"
10299 ac_exeext=".exe"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10302 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10303 _ACEOF
10304 if ac_fn_c_try_link "$LINENO"; then :
10305 ac_cv_crosscflags__Wlogical_op=yes
10306 else
10307 ac_cv_crosscflags__Wlogical_op=no
10309 rm -f core conftest.err conftest.$ac_objext \
10310 conftest$ac_exeext conftest.$ac_ext
10311 CFLAGS=$ac_wine_try_cflags_saved
10312 CC=$ac_wine_try_cflags_saved_cc
10313 ac_exeext=$ac_wine_try_cflags_saved_exeext
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10316 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10317 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10318 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10321 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10322 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_wine_try_cflags_saved=$CFLAGS
10326 ac_wine_try_cflags_saved_cc=$CC
10327 ac_wine_try_cflags_saved_exeext=$ac_exeext
10328 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10329 CC="$CROSSCC"
10330 ac_exeext=".exe"
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10337 else
10338 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 CFLAGS=$ac_wine_try_cflags_saved
10343 CC=$ac_wine_try_cflags_saved_cc
10344 ac_exeext=$ac_wine_try_cflags_saved_exeext
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10347 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10348 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10349 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10352 case $host_cpu in
10353 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10354 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10355 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10356 $as_echo_n "(cached) " >&6
10357 else
10358 ac_wine_try_cflags_saved=$CFLAGS
10359 ac_wine_try_cflags_saved_cc=$CC
10360 ac_wine_try_cflags_saved_exeext=$ac_exeext
10361 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10362 CC="$CROSSCC"
10363 ac_exeext=".exe"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10366 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10370 else
10371 ac_cv_crosscflags__fno_omit_frame_pointer=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 CFLAGS=$ac_wine_try_cflags_saved
10376 CC=$ac_wine_try_cflags_saved_cc
10377 ac_exeext=$ac_wine_try_cflags_saved_exeext
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10380 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10381 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10382 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10383 fi ;;
10384 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10385 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10386 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10387 $as_echo_n "(cached) " >&6
10388 else
10389 ac_wine_try_cflags_saved=$CFLAGS
10390 ac_wine_try_cflags_saved_cc=$CC
10391 ac_wine_try_cflags_saved_exeext=$ac_exeext
10392 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10393 CC="$CROSSCC"
10394 ac_exeext=".exe"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400 ac_cv_crosscflags__Wno_format=yes
10401 else
10402 ac_cv_crosscflags__Wno_format=no
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 CFLAGS=$ac_wine_try_cflags_saved
10407 CC=$ac_wine_try_cflags_saved_cc
10408 ac_exeext=$ac_wine_try_cflags_saved_exeext
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10411 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10412 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10413 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10416 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10417 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_wine_try_cflags_saved=$CFLAGS
10421 ac_wine_try_cflags_saved_cc=$CC
10422 ac_wine_try_cflags_saved_exeext=$ac_exeext
10423 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10424 CC="$CROSSCC"
10425 ac_exeext=".exe"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10428 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 ac_cv_crosscflags__Wformat_overflow=yes
10432 else
10433 ac_cv_crosscflags__Wformat_overflow=no
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 CFLAGS=$ac_wine_try_cflags_saved
10438 CC=$ac_wine_try_cflags_saved_cc
10439 ac_exeext=$ac_wine_try_cflags_saved_exeext
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10442 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10443 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10444 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10447 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10448 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10449 $as_echo_n "(cached) " >&6
10450 else
10451 ac_wine_try_cflags_saved=$CFLAGS
10452 ac_wine_try_cflags_saved_cc=$CC
10453 ac_wine_try_cflags_saved_exeext=$ac_exeext
10454 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10455 CC="$CROSSCC"
10456 ac_exeext=".exe"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10459 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 ac_cv_crosscflags__Wnonnull=yes
10463 else
10464 ac_cv_crosscflags__Wnonnull=no
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 CFLAGS=$ac_wine_try_cflags_saved
10469 CC=$ac_wine_try_cflags_saved_cc
10470 ac_exeext=$ac_wine_try_cflags_saved_exeext
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10473 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10474 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10475 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10476 fi ;;
10477 esac
10479 for ac_flag in $CROSSCFLAGS; do
10480 case $ac_flag in
10481 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10482 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10483 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10484 $as_echo_n "(cached) " >&6
10485 else
10486 ac_wine_try_cflags_saved=$CFLAGS
10487 ac_wine_try_cflags_saved_cc=$CC
10488 ac_wine_try_cflags_saved_exeext=$ac_exeext
10489 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10490 CC="$CROSSCC"
10491 ac_exeext=".exe"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10494 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 ac_cv_crosscflags__gdwarf_2=yes
10498 else
10499 ac_cv_crosscflags__gdwarf_2=no
10501 rm -f core conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 CFLAGS=$ac_wine_try_cflags_saved
10504 CC=$ac_wine_try_cflags_saved_cc
10505 ac_exeext=$ac_wine_try_cflags_saved_exeext
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10508 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10509 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10510 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10513 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10514 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_wine_try_cflags_saved=$CFLAGS
10518 ac_wine_try_cflags_saved_cc=$CC
10519 ac_wine_try_cflags_saved_exeext=$ac_exeext
10520 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10521 CC="$CROSSCC"
10522 ac_exeext=".exe"
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10525 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 ac_cv_crosscflags__gstrict_dwarf=yes
10529 else
10530 ac_cv_crosscflags__gstrict_dwarf=no
10532 rm -f core conftest.err conftest.$ac_objext \
10533 conftest$ac_exeext conftest.$ac_ext
10534 CFLAGS=$ac_wine_try_cflags_saved
10535 CC=$ac_wine_try_cflags_saved_cc
10536 ac_exeext=$ac_wine_try_cflags_saved_exeext
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10539 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10540 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10541 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10542 fi ;;
10543 esac
10544 done
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10547 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10548 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10549 $as_echo_n "(cached) " >&6
10550 else
10551 ac_wine_try_cflags_saved=$CFLAGS
10552 ac_wine_try_cflags_saved_cc=$CC
10553 ac_wine_try_cflags_saved_exeext=$ac_exeext
10554 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10555 CC="$CROSSCC"
10556 ac_exeext=".exe"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10560 _ACEOF
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10563 else
10564 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 CFLAGS=$ac_wine_try_cflags_saved
10569 CC=$ac_wine_try_cflags_saved_cc
10570 ac_exeext=$ac_wine_try_cflags_saved_exeext
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10573 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10574 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10575 DELAYLOADFLAG="-Wl,-delayload,"
10579 if test "x$enable_werror" = "xyes"
10580 then
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10582 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10583 if ${ac_cv_crosscflags__Werror+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_wine_try_cflags_saved=$CFLAGS
10587 ac_wine_try_cflags_saved_cc=$CC
10588 ac_wine_try_cflags_saved_exeext=$ac_exeext
10589 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10590 CC="$CROSSCC"
10591 ac_exeext=".exe"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10594 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10595 _ACEOF
10596 if ac_fn_c_try_link "$LINENO"; then :
10597 ac_cv_crosscflags__Werror=yes
10598 else
10599 ac_cv_crosscflags__Werror=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 CFLAGS=$ac_wine_try_cflags_saved
10604 CC=$ac_wine_try_cflags_saved_cc
10605 ac_exeext=$ac_wine_try_cflags_saved_exeext
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10608 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10609 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10610 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10614 CFLAGS=$saved_CFLAGS
10615 CC="$ac_save_CC"
10618 if test "x$CROSSTARGET" = "x"; then :
10619 case "x$with_mingw" in
10620 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10621 xno) ;;
10622 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10623 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10624 esac
10629 if test "$ac_cv_header_pthread_h" = "yes"
10630 then
10631 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10632 if test "x$ac_cv_func_pthread_create" = xyes; then :
10634 else
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10636 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10637 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10638 $as_echo_n "(cached) " >&6
10639 else
10640 ac_check_lib_save_LIBS=$LIBS
10641 LIBS="-lpthread $LIBS"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
10648 #ifdef __cplusplus
10649 extern "C"
10650 #endif
10651 char pthread_create ();
10653 main ()
10655 return pthread_create ();
10657 return 0;
10659 _ACEOF
10660 if ac_fn_c_try_link "$LINENO"; then :
10661 ac_cv_lib_pthread_pthread_create=yes
10662 else
10663 ac_cv_lib_pthread_pthread_create=no
10665 rm -f core conftest.err conftest.$ac_objext \
10666 conftest$ac_exeext conftest.$ac_ext
10667 LIBS=$ac_check_lib_save_LIBS
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10670 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10671 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10672 PTHREAD_LIBS="-lpthread"
10679 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10680 case "x$with_pthread" in
10681 xno) ;;
10682 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10683 Wine cannot support threads without libpthread.
10684 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10685 esac
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10691 $as_echo_n "checking for X... " >&6; }
10694 # Check whether --with-x was given.
10695 if test "${with_x+set}" = set; then :
10696 withval=$with_x;
10699 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10700 if test "x$with_x" = xno; then
10701 # The user explicitly disabled X.
10702 have_x=disabled
10703 else
10704 case $x_includes,$x_libraries in #(
10705 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10706 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10707 $as_echo_n "(cached) " >&6
10708 else
10709 # One or both of the vars are not set, and there is no cached value.
10710 ac_x_includes=no ac_x_libraries=no
10711 rm -f -r conftest.dir
10712 if mkdir conftest.dir; then
10713 cd conftest.dir
10714 cat >Imakefile <<'_ACEOF'
10715 incroot:
10716 @echo incroot='${INCROOT}'
10717 usrlibdir:
10718 @echo usrlibdir='${USRLIBDIR}'
10719 libdir:
10720 @echo libdir='${LIBDIR}'
10721 _ACEOF
10722 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10724 for ac_var in incroot usrlibdir libdir; do
10725 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10726 done
10727 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10728 for ac_extension in a so sl dylib la dll; do
10729 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10730 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10731 ac_im_usrlibdir=$ac_im_libdir; break
10733 done
10734 # Screen out bogus values from the imake configuration. They are
10735 # bogus both because they are the default anyway, and because
10736 # using them would break gcc on systems where it needs fixed includes.
10737 case $ac_im_incroot in
10738 /usr/include) ac_x_includes= ;;
10739 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10740 esac
10741 case $ac_im_usrlibdir in
10742 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10743 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10744 esac
10746 cd ..
10747 rm -f -r conftest.dir
10750 # Standard set of common directories for X headers.
10751 # Check X11 before X11Rn because it is often a symlink to the current release.
10752 ac_x_header_dirs='
10753 /usr/X11/include
10754 /usr/X11R7/include
10755 /usr/X11R6/include
10756 /usr/X11R5/include
10757 /usr/X11R4/include
10759 /usr/include/X11
10760 /usr/include/X11R7
10761 /usr/include/X11R6
10762 /usr/include/X11R5
10763 /usr/include/X11R4
10765 /usr/local/X11/include
10766 /usr/local/X11R7/include
10767 /usr/local/X11R6/include
10768 /usr/local/X11R5/include
10769 /usr/local/X11R4/include
10771 /usr/local/include/X11
10772 /usr/local/include/X11R7
10773 /usr/local/include/X11R6
10774 /usr/local/include/X11R5
10775 /usr/local/include/X11R4
10777 /usr/X386/include
10778 /usr/x386/include
10779 /usr/XFree86/include/X11
10781 /usr/include
10782 /usr/local/include
10783 /usr/unsupported/include
10784 /usr/athena/include
10785 /usr/local/x11r5/include
10786 /usr/lpp/Xamples/include
10788 /usr/openwin/include
10789 /usr/openwin/share/include'
10791 if test "$ac_x_includes" = no; then
10792 # Guess where to find include files, by looking for Xlib.h.
10793 # First, try using that file with no special directory specified.
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10796 #include <X11/Xlib.h>
10797 _ACEOF
10798 if ac_fn_c_try_cpp "$LINENO"; then :
10799 # We can compile using X headers with no special include directory.
10800 ac_x_includes=
10801 else
10802 for ac_dir in $ac_x_header_dirs; do
10803 if test -r "$ac_dir/X11/Xlib.h"; then
10804 ac_x_includes=$ac_dir
10805 break
10807 done
10809 rm -f conftest.err conftest.i conftest.$ac_ext
10810 fi # $ac_x_includes = no
10812 if test "$ac_x_libraries" = no; then
10813 # Check for the libraries.
10814 # See if we find them without any special options.
10815 # Don't add to $LIBS permanently.
10816 ac_save_LIBS=$LIBS
10817 LIBS="-lX11 $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 #include <X11/Xlib.h>
10822 main ()
10824 XrmInitialize ()
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 LIBS=$ac_save_LIBS
10831 # We can link X programs with no special library path.
10832 ac_x_libraries=
10833 else
10834 LIBS=$ac_save_LIBS
10835 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10837 # Don't even attempt the hair of trying to link an X program!
10838 for ac_extension in a so sl dylib la dll; do
10839 if test -r "$ac_dir/libX11.$ac_extension"; then
10840 ac_x_libraries=$ac_dir
10841 break 2
10843 done
10844 done
10846 rm -f core conftest.err conftest.$ac_objext \
10847 conftest$ac_exeext conftest.$ac_ext
10848 fi # $ac_x_libraries = no
10850 case $ac_x_includes,$ac_x_libraries in #(
10851 no,* | *,no | *\'*)
10852 # Didn't find X, or a directory has "'" in its name.
10853 ac_cv_have_x="have_x=no";; #(
10855 # Record where we found X for the cache.
10856 ac_cv_have_x="have_x=yes\
10857 ac_x_includes='$ac_x_includes'\
10858 ac_x_libraries='$ac_x_libraries'"
10859 esac
10861 ;; #(
10862 *) have_x=yes;;
10863 esac
10864 eval "$ac_cv_have_x"
10865 fi # $with_x != no
10867 if test "$have_x" != yes; then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10869 $as_echo "$have_x" >&6; }
10870 no_x=yes
10871 else
10872 # If each of the values was on the command line, it overrides each guess.
10873 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10874 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10875 # Update the cache value to reflect the command line values.
10876 ac_cv_have_x="have_x=yes\
10877 ac_x_includes='$x_includes'\
10878 ac_x_libraries='$x_libraries'"
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10880 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10883 if test "$no_x" = yes; then
10884 # Not all programs may use this symbol, but it does not hurt to define it.
10886 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10888 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10889 else
10890 if test -n "$x_includes"; then
10891 X_CFLAGS="$X_CFLAGS -I$x_includes"
10894 # It would also be nice to do this for all -L options, not just this one.
10895 if test -n "$x_libraries"; then
10896 X_LIBS="$X_LIBS -L$x_libraries"
10897 # For Solaris; some versions of Sun CC require a space after -R and
10898 # others require no space. Words are not sufficient . . . .
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10900 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10901 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10902 ac_xsave_c_werror_flag=$ac_c_werror_flag
10903 ac_c_werror_flag=yes
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10908 main ()
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10917 $as_echo "no" >&6; }
10918 X_LIBS="$X_LIBS -R$x_libraries"
10919 else
10920 LIBS="$ac_xsave_LIBS -R $x_libraries"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10925 main ()
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10934 $as_echo "yes" >&6; }
10935 X_LIBS="$X_LIBS -R $x_libraries"
10936 else
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10938 $as_echo "neither works" >&6; }
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 ac_c_werror_flag=$ac_xsave_c_werror_flag
10946 LIBS=$ac_xsave_LIBS
10949 # Check for system-dependent libraries X programs must link with.
10950 # Do this before checking for the system-independent R6 libraries
10951 # (-lICE), since we may need -lsocket or whatever for X linking.
10953 if test "$ISC" = yes; then
10954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10955 else
10956 # Martyn Johnson says this is needed for Ultrix, if the X
10957 # libraries were built with DECnet support. And Karl Berry says
10958 # the Alpha needs dnet_stub (dnet does not exist).
10959 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char XOpenDisplay ();
10971 main ()
10973 return XOpenDisplay ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10980 else
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10982 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10983 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10984 $as_echo_n "(cached) " >&6
10985 else
10986 ac_check_lib_save_LIBS=$LIBS
10987 LIBS="-ldnet $LIBS"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
10994 #ifdef __cplusplus
10995 extern "C"
10996 #endif
10997 char dnet_ntoa ();
10999 main ()
11001 return dnet_ntoa ();
11003 return 0;
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"; then :
11007 ac_cv_lib_dnet_dnet_ntoa=yes
11008 else
11009 ac_cv_lib_dnet_dnet_ntoa=no
11011 rm -f core conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11016 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11017 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11018 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11021 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11023 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11024 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-ldnet_stub $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char dnet_ntoa ();
11040 main ()
11042 return dnet_ntoa ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11049 else
11050 ac_cv_lib_dnet_stub_dnet_ntoa=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11057 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11058 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11059 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS="$ac_xsave_LIBS"
11068 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11069 # to get the SysV transport functions.
11070 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11071 # needs -lnsl.
11072 # The nsl library prevents programs from opening the X display
11073 # on Irix 5.2, according to T.E. Dickey.
11074 # The functions gethostbyname, getservbyname, and inet_addr are
11075 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11076 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11077 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11081 if test $ac_cv_func_gethostbyname = no; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11083 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11084 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11085 $as_echo_n "(cached) " >&6
11086 else
11087 ac_check_lib_save_LIBS=$LIBS
11088 LIBS="-lnsl $LIBS"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11092 /* Override any GCC internal prototype to avoid an error.
11093 Use char because int might match the return type of a GCC
11094 builtin and then its argument prototype would still apply. */
11095 #ifdef __cplusplus
11096 extern "C"
11097 #endif
11098 char gethostbyname ();
11100 main ()
11102 return gethostbyname ();
11104 return 0;
11106 _ACEOF
11107 if ac_fn_c_try_link "$LINENO"; then :
11108 ac_cv_lib_nsl_gethostbyname=yes
11109 else
11110 ac_cv_lib_nsl_gethostbyname=no
11112 rm -f core conftest.err conftest.$ac_objext \
11113 conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_lib_save_LIBS
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11117 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11118 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11119 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11122 if test $ac_cv_lib_nsl_gethostbyname = no; then
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11124 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11125 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11126 $as_echo_n "(cached) " >&6
11127 else
11128 ac_check_lib_save_LIBS=$LIBS
11129 LIBS="-lbsd $LIBS"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11136 #ifdef __cplusplus
11137 extern "C"
11138 #endif
11139 char gethostbyname ();
11141 main ()
11143 return gethostbyname ();
11145 return 0;
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"; then :
11149 ac_cv_lib_bsd_gethostbyname=yes
11150 else
11151 ac_cv_lib_bsd_gethostbyname=no
11153 rm -f core conftest.err conftest.$ac_objext \
11154 conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11158 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11159 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11160 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11166 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11167 # socket/setsockopt and other routines are undefined under SCO ODT
11168 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11169 # on later versions), says Simon Leinen: it contains gethostby*
11170 # variants that don't use the name server (or something). -lsocket
11171 # must be given before -lnsl if both are needed. We assume that
11172 # if connect needs -lnsl, so does gethostbyname.
11173 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11174 if test "x$ac_cv_func_connect" = xyes; then :
11178 if test $ac_cv_func_connect = no; then
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11180 $as_echo_n "checking for connect in -lsocket... " >&6; }
11181 if ${ac_cv_lib_socket_connect+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char connect ();
11197 main ()
11199 return connect ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_socket_connect=yes
11206 else
11207 ac_cv_lib_socket_connect=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11214 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11215 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11216 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11221 # Guillermo Gomez says -lposix is necessary on A/UX.
11222 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11223 if test "x$ac_cv_func_remove" = xyes; then :
11227 if test $ac_cv_func_remove = no; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11229 $as_echo_n "checking for remove in -lposix... " >&6; }
11230 if ${ac_cv_lib_posix_remove+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lposix $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char remove ();
11246 main ()
11248 return remove ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_posix_remove=yes
11255 else
11256 ac_cv_lib_posix_remove=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11263 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11264 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11265 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11270 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11271 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11272 if test "x$ac_cv_func_shmat" = xyes; then :
11276 if test $ac_cv_func_shmat = no; then
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11278 $as_echo_n "checking for shmat in -lipc... " >&6; }
11279 if ${ac_cv_lib_ipc_shmat+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lipc $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char shmat ();
11295 main ()
11297 return shmat ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_ipc_shmat=yes
11304 else
11305 ac_cv_lib_ipc_shmat=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11312 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11313 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11320 # Check for libraries that X11R6 Xt/Xaw programs need.
11321 ac_save_LDFLAGS=$LDFLAGS
11322 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11323 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11324 # check for ICE first), but we must link in the order -lSM -lICE or
11325 # we get undefined symbols. So assume we have SM if we have ICE.
11326 # These have to be linked with before -lX11, unlike the other
11327 # libraries we check for below, so use a different variable.
11328 # John Interrante, Karl Berry
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11330 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11331 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char IceConnectionNumber ();
11347 main ()
11349 return IceConnectionNumber ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_ICE_IceConnectionNumber=yes
11356 else
11357 ac_cv_lib_ICE_IceConnectionNumber=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11364 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11365 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11366 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11369 LDFLAGS=$ac_save_LDFLAGS
11374 if test "$have_x" = "yes"
11375 then
11376 ac_save_CPPFLAGS="$CPPFLAGS"
11377 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11380 $as_echo_n "checking for -lX11... " >&6; }
11381 if ${ac_cv_lib_soname_X11+:} false; then :
11382 $as_echo_n "(cached) " >&6
11383 else
11384 ac_check_soname_save_LIBS=$LIBS
11385 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char XCreateWindow ();
11397 main ()
11399 return XCreateWindow ();
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 case "$LIBEXT" in
11406 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11409 if ${ac_cv_lib_soname_X11:+false} :; then :
11410 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11411 fi ;;
11412 esac
11413 else
11414 ac_cv_lib_soname_X11=
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_X11:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11426 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11430 _ACEOF
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11435 $as_echo_n "checking for -lXext... " >&6; }
11436 if ${ac_cv_lib_soname_Xext+:} false; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_soname_save_LIBS=$LIBS
11440 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char XextCreateExtension ();
11452 main ()
11454 return XextCreateExtension ();
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 case "$LIBEXT" in
11461 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11462 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'` ;;
11463 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11464 if ${ac_cv_lib_soname_Xext:+false} :; then :
11465 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11466 fi ;;
11467 esac
11468 else
11469 ac_cv_lib_soname_Xext=
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_soname_save_LIBS
11475 if ${ac_cv_lib_soname_Xext:+false} :; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11477 $as_echo "not found" >&6; }
11479 else
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11481 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11483 cat >>confdefs.h <<_ACEOF
11484 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11485 _ACEOF
11487 X_LIBS="$X_LIBS -lXext"
11489 X_LIBS="$X_LIBS -lX11"
11491 for ac_header in X11/Xlib.h \
11492 X11/XKBlib.h \
11493 X11/Xutil.h \
11494 X11/Xcursor/Xcursor.h \
11495 X11/extensions/shape.h \
11496 X11/extensions/XInput.h \
11497 X11/extensions/XInput2.h \
11498 X11/extensions/XShm.h \
11499 X11/extensions/Xcomposite.h \
11500 X11/extensions/Xfixes.h \
11501 X11/extensions/Xinerama.h \
11502 X11/extensions/Xrandr.h \
11503 X11/extensions/Xrender.h \
11504 X11/extensions/xf86vmode.h \
11505 X11/extensions/xf86vmproto.h
11506 do :
11507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11508 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11509 # include <X11/Xlib.h>
11510 #endif
11511 #ifdef HAVE_X11_XUTIL_H
11512 # include <X11/Xutil.h>
11513 #endif
11515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11516 cat >>confdefs.h <<_ACEOF
11517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11518 _ACEOF
11522 done
11525 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11526 then
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11528 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11529 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char XkbQueryExtension ();
11545 main ()
11547 return XkbQueryExtension ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 ac_cv_lib_X11_XkbQueryExtension=yes
11554 else
11555 ac_cv_lib_X11_XkbQueryExtension=no
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11562 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11563 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11565 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11571 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11572 then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11574 $as_echo_n "checking for -lXcursor... " >&6; }
11575 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11576 $as_echo_n "(cached) " >&6
11577 else
11578 ac_check_soname_save_LIBS=$LIBS
11579 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11586 #ifdef __cplusplus
11587 extern "C"
11588 #endif
11589 char XcursorImageLoadCursor ();
11591 main ()
11593 return XcursorImageLoadCursor ();
11595 return 0;
11597 _ACEOF
11598 if ac_fn_c_try_link "$LINENO"; then :
11599 case "$LIBEXT" in
11600 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11601 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'` ;;
11602 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11603 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11604 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11605 fi ;;
11606 esac
11607 else
11608 ac_cv_lib_soname_Xcursor=
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_soname_save_LIBS
11614 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11616 $as_echo "not found" >&6; }
11618 else
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11620 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11622 cat >>confdefs.h <<_ACEOF
11623 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11624 _ACEOF
11629 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11630 case "x$with_xcursor" in
11631 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11632 xno) ;;
11633 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11634 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11635 esac
11639 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11640 then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11642 $as_echo_n "checking for -lXi... " >&6; }
11643 if ${ac_cv_lib_soname_Xi+:} false; then :
11644 $as_echo_n "(cached) " >&6
11645 else
11646 ac_check_soname_save_LIBS=$LIBS
11647 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11654 #ifdef __cplusplus
11655 extern "C"
11656 #endif
11657 char XOpenDevice ();
11659 main ()
11661 return XOpenDevice ();
11663 return 0;
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667 case "$LIBEXT" in
11668 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11671 if ${ac_cv_lib_soname_Xi:+false} :; then :
11672 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11673 fi ;;
11674 esac
11675 else
11676 ac_cv_lib_soname_Xi=
11678 rm -f core conftest.err conftest.$ac_objext \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_soname_save_LIBS
11682 if ${ac_cv_lib_soname_Xi:+false} :; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11684 $as_echo "not found" >&6; }
11686 else
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11688 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11690 cat >>confdefs.h <<_ACEOF
11691 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11692 _ACEOF
11697 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11698 case "x$with_xinput" in
11699 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11700 xno) ;;
11701 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11702 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11703 esac
11707 if test "x$ac_cv_lib_soname_Xi" != x
11708 then
11709 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11710 case "x$with_xinput2" in
11711 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11712 xno) ;;
11713 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11714 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11715 esac
11720 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11721 then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11723 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11724 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11725 $as_echo_n "(cached) " >&6
11726 else
11727 ac_check_lib_save_LIBS=$LIBS
11728 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char XShmQueryExtension ();
11740 main ()
11742 return XShmQueryExtension ();
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 ac_cv_lib_Xext_XShmQueryExtension=yes
11749 else
11750 ac_cv_lib_Xext_XShmQueryExtension=no
11752 rm -f core conftest.err conftest.$ac_objext \
11753 conftest$ac_exeext conftest.$ac_ext
11754 LIBS=$ac_check_lib_save_LIBS
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11757 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11758 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11760 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11765 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11766 case "x$with_xshm" in
11767 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11768 xno) ;;
11769 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11770 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11771 esac
11775 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11776 then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11778 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11779 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11780 $as_echo_n "(cached) " >&6
11781 else
11782 ac_check_lib_save_LIBS=$LIBS
11783 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 #ifdef __cplusplus
11791 extern "C"
11792 #endif
11793 char XShapeQueryExtension ();
11795 main ()
11797 return XShapeQueryExtension ();
11799 return 0;
11801 _ACEOF
11802 if ac_fn_c_try_link "$LINENO"; then :
11803 ac_cv_lib_Xext_XShapeQueryExtension=yes
11804 else
11805 ac_cv_lib_Xext_XShapeQueryExtension=no
11807 rm -f core conftest.err conftest.$ac_objext \
11808 conftest$ac_exeext conftest.$ac_ext
11809 LIBS=$ac_check_lib_save_LIBS
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11812 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11813 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11815 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11820 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11821 case "x$with_xshape" in
11822 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11823 xno) ;;
11824 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11825 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11826 esac
11830 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11831 then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11833 $as_echo_n "checking for -lXxf86vm... " >&6; }
11834 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 ac_check_soname_save_LIBS=$LIBS
11838 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11845 #ifdef __cplusplus
11846 extern "C"
11847 #endif
11848 char XF86VidModeQueryExtension ();
11850 main ()
11852 return XF86VidModeQueryExtension ();
11854 return 0;
11856 _ACEOF
11857 if ac_fn_c_try_link "$LINENO"; then :
11858 case "$LIBEXT" in
11859 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11860 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'` ;;
11861 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11862 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11863 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11864 fi ;;
11865 esac
11866 else
11867 ac_cv_lib_soname_Xxf86vm=
11869 rm -f core conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_soname_save_LIBS
11873 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11875 $as_echo "not found" >&6; }
11877 else
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11879 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11881 cat >>confdefs.h <<_ACEOF
11882 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11883 _ACEOF
11888 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11889 case "x$with_xxf86vm" in
11890 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11891 xno) ;;
11892 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11893 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11894 esac
11898 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11899 then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11901 $as_echo_n "checking for -lXrender... " >&6; }
11902 if ${ac_cv_lib_soname_Xrender+:} false; then :
11903 $as_echo_n "(cached) " >&6
11904 else
11905 ac_check_soname_save_LIBS=$LIBS
11906 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 char XRenderQueryExtension ();
11918 main ()
11920 return XRenderQueryExtension ();
11922 return 0;
11924 _ACEOF
11925 if ac_fn_c_try_link "$LINENO"; then :
11926 case "$LIBEXT" in
11927 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11928 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'` ;;
11929 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11930 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11931 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11932 fi ;;
11933 esac
11934 else
11935 ac_cv_lib_soname_Xrender=
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_soname_save_LIBS
11941 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11943 $as_echo "not found" >&6; }
11945 else
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11947 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11949 cat >>confdefs.h <<_ACEOF
11950 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11951 _ACEOF
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11954 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11955 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11956 $as_echo_n "(cached) " >&6
11957 else
11958 ac_check_lib_save_LIBS=$LIBS
11959 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11963 /* Override any GCC internal prototype to avoid an error.
11964 Use char because int might match the return type of a GCC
11965 builtin and then its argument prototype would still apply. */
11966 #ifdef __cplusplus
11967 extern "C"
11968 #endif
11969 char XRenderSetPictureTransform ();
11971 main ()
11973 return XRenderSetPictureTransform ();
11975 return 0;
11977 _ACEOF
11978 if ac_fn_c_try_link "$LINENO"; then :
11979 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11980 else
11981 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11983 rm -f core conftest.err conftest.$ac_objext \
11984 conftest$ac_exeext conftest.$ac_ext
11985 LIBS=$ac_check_lib_save_LIBS
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11988 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11989 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11991 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11996 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11997 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11998 $as_echo_n "(cached) " >&6
11999 else
12000 ac_check_lib_save_LIBS=$LIBS
12001 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12008 #ifdef __cplusplus
12009 extern "C"
12010 #endif
12011 char XRenderCreateLinearGradient ();
12013 main ()
12015 return XRenderCreateLinearGradient ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"; then :
12021 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12022 else
12023 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12025 rm -f core conftest.err conftest.$ac_objext \
12026 conftest$ac_exeext conftest.$ac_ext
12027 LIBS=$ac_check_lib_save_LIBS
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12030 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12031 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12033 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12040 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12041 case "x$with_xrender" in
12042 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12043 xno) ;;
12044 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12045 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12046 esac
12050 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12051 then
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 #include <X11/Xlib.h>
12055 #include <X11/extensions/Xrandr.h>
12057 main ()
12059 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_compile "$LINENO"; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12066 $as_echo_n "checking for -lXrandr... " >&6; }
12067 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_check_soname_save_LIBS=$LIBS
12071 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char XRRQueryExtension ();
12083 main ()
12085 return XRRQueryExtension ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 case "$LIBEXT" in
12092 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12093 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'` ;;
12094 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12095 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12096 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12097 fi ;;
12098 esac
12099 else
12100 ac_cv_lib_soname_Xrandr=
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_soname_save_LIBS
12106 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12108 $as_echo "not found" >&6; }
12110 else
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12112 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12114 cat >>confdefs.h <<_ACEOF
12115 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12116 _ACEOF
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 #include <X11/Xlib.h>
12121 #include <X11/extensions/Xrandr.h>
12123 main ()
12125 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_compile "$LINENO"; then :
12132 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12138 #include <X11/Xlib.h>
12139 #include <X11/extensions/Xrandr.h>
12141 main ()
12143 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_compile "$LINENO"; then :
12150 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12152 else
12153 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12161 case "x$with_xrandr" in
12162 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12163 xno) ;;
12164 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12165 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12166 esac
12170 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12171 then
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12174 #include <X11/Xlib.h>
12175 #include <X11/extensions/Xfixes.h>
12177 main ()
12179 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_compile "$LINENO"; then :
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12186 $as_echo_n "checking for -lXfixes... " >&6; }
12187 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_check_soname_save_LIBS=$LIBS
12191 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 #ifdef __cplusplus
12199 extern "C"
12200 #endif
12201 char XFixesQueryVersion ();
12203 main ()
12205 return XFixesQueryVersion ();
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 case "$LIBEXT" in
12212 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12213 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'` ;;
12214 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12215 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12216 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12217 fi ;;
12218 esac
12219 else
12220 ac_cv_lib_soname_Xfixes=
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_soname_save_LIBS
12226 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12228 $as_echo "not found" >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12232 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12234 cat >>confdefs.h <<_ACEOF
12235 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12236 _ACEOF
12241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12243 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12244 case "x$with_xfixes" in
12245 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12246 xno) ;;
12247 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12248 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12249 esac
12253 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12254 then
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 #include <X11/Xlib.h>
12258 #include <X11/extensions/Xinerama.h>
12260 main ()
12262 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_compile "$LINENO"; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12269 $as_echo_n "checking for -lXinerama... " >&6; }
12270 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12271 $as_echo_n "(cached) " >&6
12272 else
12273 ac_check_soname_save_LIBS=$LIBS
12274 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12278 /* Override any GCC internal prototype to avoid an error.
12279 Use char because int might match the return type of a GCC
12280 builtin and then its argument prototype would still apply. */
12281 #ifdef __cplusplus
12282 extern "C"
12283 #endif
12284 char XineramaQueryScreens ();
12286 main ()
12288 return XineramaQueryScreens ();
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_link "$LINENO"; then :
12294 case "$LIBEXT" in
12295 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12296 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'` ;;
12297 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12298 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12299 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12300 fi ;;
12301 esac
12302 else
12303 ac_cv_lib_soname_Xinerama=
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_soname_save_LIBS
12309 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12311 $as_echo "not found" >&6; }
12313 else
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12315 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12317 cat >>confdefs.h <<_ACEOF
12318 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12319 _ACEOF
12324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12326 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12327 case "x$with_xinerama" in
12328 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12329 xno) ;;
12330 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12331 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12332 esac
12336 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12337 then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12339 $as_echo_n "checking for -lXcomposite... " >&6; }
12340 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12341 $as_echo_n "(cached) " >&6
12342 else
12343 ac_check_soname_save_LIBS=$LIBS
12344 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 char XCompositeRedirectWindow ();
12356 main ()
12358 return XCompositeRedirectWindow ();
12360 return 0;
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 case "$LIBEXT" in
12365 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12366 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'` ;;
12367 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12368 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12369 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12370 fi ;;
12371 esac
12372 else
12373 ac_cv_lib_soname_Xcomposite=
12375 rm -f core conftest.err conftest.$ac_objext \
12376 conftest$ac_exeext conftest.$ac_ext
12377 LIBS=$ac_check_soname_save_LIBS
12379 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12381 $as_echo "not found" >&6; }
12383 else
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12385 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12387 cat >>confdefs.h <<_ACEOF
12388 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12389 _ACEOF
12394 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12395 case "x$with_xcomposite" in
12396 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12397 xno) ;;
12398 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12399 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12400 esac
12404 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12405 #include <X11/Xlib.h>
12406 #endif
12408 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12410 cat >>confdefs.h <<_ACEOF
12411 #define HAVE_XICCALLBACK_CALLBACK 1
12412 _ACEOF
12416 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12417 #include <X11/Xlib.h>
12418 #endif
12420 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12422 cat >>confdefs.h <<_ACEOF
12423 #define HAVE_XEVENT_XCOOKIE 1
12424 _ACEOF
12431 opengl_msg=""
12432 if test "x$with_opengl" != "xno"
12433 then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12435 $as_echo_n "checking for -lGL... " >&6; }
12436 if ${ac_cv_lib_soname_GL+:} false; then :
12437 $as_echo_n "(cached) " >&6
12438 else
12439 ac_check_soname_save_LIBS=$LIBS
12440 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12447 #ifdef __cplusplus
12448 extern "C"
12449 #endif
12450 char glXCreateContext ();
12452 main ()
12454 return glXCreateContext ();
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 case "$LIBEXT" in
12461 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12462 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'` ;;
12463 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12464 if ${ac_cv_lib_soname_GL:+false} :; then :
12465 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12466 fi ;;
12467 esac
12468 else
12469 ac_cv_lib_soname_GL=
12471 rm -f core conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_soname_save_LIBS
12475 if ${ac_cv_lib_soname_GL:+false} :; then :
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12477 $as_echo "not found" >&6; }
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12479 $as_echo_n "checking for -lGL... " >&6; }
12480 if ${ac_cv_lib_soname_GL+:} false; then :
12481 $as_echo_n "(cached) " >&6
12482 else
12483 ac_check_soname_save_LIBS=$LIBS
12484 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"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char glXCreateContext ();
12496 main ()
12498 return glXCreateContext ();
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_link "$LINENO"; then :
12504 case "$LIBEXT" in
12505 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12506 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'` ;;
12507 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12508 if ${ac_cv_lib_soname_GL:+false} :; then :
12509 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12510 fi ;;
12511 esac
12512 else
12513 ac_cv_lib_soname_GL=
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_soname_save_LIBS
12519 if ${ac_cv_lib_soname_GL:+false} :; then :
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12521 $as_echo "not found" >&6; }
12522 if test -f /usr/X11R6/lib/libGL.a
12523 then
12524 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12525 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12526 else
12527 opengl_msg="No OpenGL library found on this system."
12529 else
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12531 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12533 cat >>confdefs.h <<_ACEOF
12534 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12535 _ACEOF
12537 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"
12539 else
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12541 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12543 cat >>confdefs.h <<_ACEOF
12544 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12545 _ACEOF
12547 OPENGL_LIBS="-lGL"
12549 if test "x$with_glu" != "xno"
12550 then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12552 $as_echo_n "checking for -lGLU... " >&6; }
12553 if ${ac_cv_lib_soname_GLU+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_soname_save_LIBS=$LIBS
12557 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char gluLookAt ();
12569 main ()
12571 return gluLookAt ();
12573 return 0;
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 case "$LIBEXT" in
12578 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12579 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'` ;;
12580 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12581 if ${ac_cv_lib_soname_GLU:+false} :; then :
12582 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12583 fi ;;
12584 esac
12585 else
12586 ac_cv_lib_soname_GLU=
12588 rm -f core conftest.err conftest.$ac_objext \
12589 conftest$ac_exeext conftest.$ac_ext
12590 LIBS=$ac_check_soname_save_LIBS
12592 if ${ac_cv_lib_soname_GLU:+false} :; then :
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12594 $as_echo "not found" >&6; }
12596 else
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12598 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12600 cat >>confdefs.h <<_ACEOF
12601 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12602 _ACEOF
12606 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12607 case "x$with_glu" in
12608 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12609 xno) ;;
12610 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12611 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12612 esac
12617 if test "x$with_osmesa" != "xno"
12618 then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12620 $as_echo_n "checking for -lOSMesa... " >&6; }
12621 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12622 $as_echo_n "(cached) " >&6
12623 else
12624 ac_check_soname_save_LIBS=$LIBS
12625 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12632 #ifdef __cplusplus
12633 extern "C"
12634 #endif
12635 char OSMesaGetProcAddress ();
12637 main ()
12639 return OSMesaGetProcAddress ();
12641 return 0;
12643 _ACEOF
12644 if ac_fn_c_try_link "$LINENO"; then :
12645 case "$LIBEXT" in
12646 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12647 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'` ;;
12648 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12649 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12650 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12651 fi ;;
12652 esac
12653 else
12654 ac_cv_lib_soname_OSMesa=
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_soname_save_LIBS
12660 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12662 $as_echo "not found" >&6; }
12664 else
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12666 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12668 cat >>confdefs.h <<_ACEOF
12669 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12670 _ACEOF
12674 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12675 case "x$with_osmesa" in
12676 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12677 xno) ;;
12678 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12679 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12680 esac
12685 if test -n "$opengl_msg"; then :
12686 case "x$with_opengl" in
12687 x) as_fn_append wine_warnings "|$opengl_msg
12688 OpenGL and Direct3D won't be supported." ;;
12689 xno) ;;
12690 *) as_fn_error $? "$opengl_msg
12691 OpenGL and Direct3D won't be supported.
12692 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12693 esac
12697 CPPFLAGS="$ac_save_CPPFLAGS"
12698 else
12699 X_CFLAGS=""
12700 X_LIBS=""
12703 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12704 then
12705 if test "x$X_LIBS" = "x"; then :
12706 case "x$with_x" in
12707 xno) ;;
12708 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12709 without X support, which probably isn't what you want. You will need
12710 to install ${notice_platform}development packages of Xlib at the very least.
12711 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12712 esac
12713 enable_winex11_drv=${enable_winex11_drv:-no}
12715 else
12716 if test "x$X_LIBS" = "x"; then :
12717 case "x$with_x" in
12718 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12719 xno) ;;
12720 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12721 This is an error since --with-x was requested." "$LINENO" 5 ;;
12722 esac
12723 enable_winex11_drv=${enable_winex11_drv:-no}
12727 if test "$ac_cv_header_CL_cl_h" = "yes"
12728 then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12730 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12731 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12732 $as_echo_n "(cached) " >&6
12733 else
12734 ac_check_lib_save_LIBS=$LIBS
12735 LIBS="-lOpenCL $LIBS"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char clGetPlatformInfo ();
12747 main ()
12749 return clGetPlatformInfo ();
12751 return 0;
12753 _ACEOF
12754 if ac_fn_c_try_link "$LINENO"; then :
12755 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12756 else
12757 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12759 rm -f core conftest.err conftest.$ac_objext \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12764 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12765 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12766 OPENCL_LIBS="-lOpenCL"
12771 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12772 case "x$with_opencl" in
12773 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12774 xno) ;;
12775 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12776 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12777 esac
12778 enable_opencl=${enable_opencl:-no}
12781 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12782 then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12784 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12785 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12786 $as_echo_n "(cached) " >&6
12787 else
12788 ac_check_lib_save_LIBS=$LIBS
12789 LIBS="-lpcap $LIBS"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 /* Override any GCC internal prototype to avoid an error.
12794 Use char because int might match the return type of a GCC
12795 builtin and then its argument prototype would still apply. */
12796 #ifdef __cplusplus
12797 extern "C"
12798 #endif
12799 char pcap_create ();
12801 main ()
12803 return pcap_create ();
12805 return 0;
12807 _ACEOF
12808 if ac_fn_c_try_link "$LINENO"; then :
12809 ac_cv_lib_pcap_pcap_create=yes
12810 else
12811 ac_cv_lib_pcap_pcap_create=no
12813 rm -f core conftest.err conftest.$ac_objext \
12814 conftest$ac_exeext conftest.$ac_ext
12815 LIBS=$ac_check_lib_save_LIBS
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12818 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12819 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12820 PCAP_LIBS="-lpcap"
12825 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12826 case "x$with_pcap" in
12827 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12828 xno) ;;
12829 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12830 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12831 esac
12832 enable_wpcap=${enable_wpcap:-no}
12836 if test "x$with_xml" != "xno"
12837 then
12838 if ${XML2_CFLAGS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12843 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12844 if ${XML2_LIBS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12849 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12850 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12851 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12853 ac_save_CPPFLAGS=$CPPFLAGS
12854 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12855 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12856 do :
12857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12858 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12860 cat >>confdefs.h <<_ACEOF
12861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12862 _ACEOF
12866 done
12868 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"
12869 then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12871 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12872 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12873 $as_echo_n "(cached) " >&6
12874 else
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lxml2 $XML2_LIBS $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char xmlParseMemory ();
12888 main ()
12890 return xmlParseMemory ();
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 ac_cv_lib_xml2_xmlParseMemory=yes
12897 else
12898 ac_cv_lib_xml2_xmlParseMemory=no
12900 rm -f core conftest.err conftest.$ac_objext \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12905 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12906 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12908 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12910 else
12911 XML2_LIBS=""
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12915 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12916 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12917 $as_echo_n "(cached) " >&6
12918 else
12919 ac_check_lib_save_LIBS=$LIBS
12920 LIBS="-lxml2 $XML2_LIBS $LIBS"
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12927 #ifdef __cplusplus
12928 extern "C"
12929 #endif
12930 char xmlReadMemory ();
12932 main ()
12934 return xmlReadMemory ();
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 ac_cv_lib_xml2_xmlReadMemory=yes
12941 else
12942 ac_cv_lib_xml2_xmlReadMemory=no
12944 rm -f core conftest.err conftest.$ac_objext \
12945 conftest$ac_exeext conftest.$ac_ext
12946 LIBS=$ac_check_lib_save_LIBS
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12949 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12950 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12952 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12957 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12958 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12959 $as_echo_n "(cached) " >&6
12960 else
12961 ac_check_lib_save_LIBS=$LIBS
12962 LIBS="-lxml2 $XML2_LIBS $LIBS"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12969 #ifdef __cplusplus
12970 extern "C"
12971 #endif
12972 char xmlNewDocPI ();
12974 main ()
12976 return xmlNewDocPI ();
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_link "$LINENO"; then :
12982 ac_cv_lib_xml2_xmlNewDocPI=yes
12983 else
12984 ac_cv_lib_xml2_xmlNewDocPI=no
12986 rm -f core conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12988 LIBS=$ac_check_lib_save_LIBS
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12991 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12992 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12994 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12999 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13000 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13001 $as_echo_n "(cached) " >&6
13002 else
13003 ac_check_lib_save_LIBS=$LIBS
13004 LIBS="-lxml2 $XML2_LIBS $LIBS"
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 /* Override any GCC internal prototype to avoid an error.
13009 Use char because int might match the return type of a GCC
13010 builtin and then its argument prototype would still apply. */
13011 #ifdef __cplusplus
13012 extern "C"
13013 #endif
13014 char xmlSchemaSetParserStructuredErrors ();
13016 main ()
13018 return xmlSchemaSetParserStructuredErrors ();
13020 return 0;
13022 _ACEOF
13023 if ac_fn_c_try_link "$LINENO"; then :
13024 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13025 else
13026 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13028 rm -f core conftest.err conftest.$ac_objext \
13029 conftest$ac_exeext conftest.$ac_ext
13030 LIBS=$ac_check_lib_save_LIBS
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13033 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13034 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13036 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13041 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13042 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13043 $as_echo_n "(cached) " >&6
13044 else
13045 ac_check_lib_save_LIBS=$LIBS
13046 LIBS="-lxml2 $XML2_LIBS $LIBS"
13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13050 /* Override any GCC internal prototype to avoid an error.
13051 Use char because int might match the return type of a GCC
13052 builtin and then its argument prototype would still apply. */
13053 #ifdef __cplusplus
13054 extern "C"
13055 #endif
13056 char xmlSchemaSetValidStructuredErrors ();
13058 main ()
13060 return xmlSchemaSetValidStructuredErrors ();
13062 return 0;
13064 _ACEOF
13065 if ac_fn_c_try_link "$LINENO"; then :
13066 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13067 else
13068 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13070 rm -f core conftest.err conftest.$ac_objext \
13071 conftest$ac_exeext conftest.$ac_ext
13072 LIBS=$ac_check_lib_save_LIBS
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13075 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13076 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13078 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13083 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13084 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 ac_check_lib_save_LIBS=$LIBS
13088 LIBS="-lxml2 $XML2_LIBS $LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char xmlFirstElementChild ();
13100 main ()
13102 return xmlFirstElementChild ();
13104 return 0;
13106 _ACEOF
13107 if ac_fn_c_try_link "$LINENO"; then :
13108 ac_cv_lib_xml2_xmlFirstElementChild=yes
13109 else
13110 ac_cv_lib_xml2_xmlFirstElementChild=no
13112 rm -f core conftest.err conftest.$ac_objext \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_lib_save_LIBS
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13117 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13118 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13120 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13124 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13126 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13128 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13132 else
13133 XML2_CFLAGS=""
13134 XML2_LIBS=""
13136 CPPFLAGS=$ac_save_CPPFLAGS
13137 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13142 case "x$with_xml" in
13143 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13144 xno) ;;
13145 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13146 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13147 esac
13151 if test "x$with_xslt" != "xno"
13152 then
13153 if ${XSLT_CFLAGS:+false} :; then :
13154 if ${PKG_CONFIG+:} false; then :
13155 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13158 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13159 if ${XSLT_LIBS:+false} :; then :
13160 if ${PKG_CONFIG+:} false; then :
13161 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13164 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13165 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13167 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13168 ac_save_CPPFLAGS=$CPPFLAGS
13169 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13170 for ac_header in libxslt/pattern.h libxslt/transform.h
13171 do :
13172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13173 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13174 # include <libxslt/pattern.h>
13175 #endif
13177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13178 cat >>confdefs.h <<_ACEOF
13179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13180 _ACEOF
13184 done
13186 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13187 then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13189 $as_echo_n "checking for -lxslt... " >&6; }
13190 if ${ac_cv_lib_soname_xslt+:} false; then :
13191 $as_echo_n "(cached) " >&6
13192 else
13193 ac_check_soname_save_LIBS=$LIBS
13194 LIBS="-lxslt $XSLT_LIBS $LIBS"
13195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13201 #ifdef __cplusplus
13202 extern "C"
13203 #endif
13204 char xsltCompilePattern ();
13206 main ()
13208 return xsltCompilePattern ();
13210 return 0;
13212 _ACEOF
13213 if ac_fn_c_try_link "$LINENO"; then :
13214 case "$LIBEXT" in
13215 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13216 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'` ;;
13217 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13218 if ${ac_cv_lib_soname_xslt:+false} :; then :
13219 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13220 fi ;;
13221 esac
13222 else
13223 ac_cv_lib_soname_xslt=
13225 rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13227 LIBS=$ac_check_soname_save_LIBS
13229 if ${ac_cv_lib_soname_xslt:+false} :; then :
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13231 $as_echo "not found" >&6; }
13233 else
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13235 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13237 cat >>confdefs.h <<_ACEOF
13238 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13239 _ACEOF
13243 else
13244 XSLT_CFLAGS=""
13246 CPPFLAGS=$ac_save_CPPFLAGS
13247 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13248 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13251 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13252 case "x$with_xslt" in
13253 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13254 xno) ;;
13255 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13256 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13257 esac
13261 if test "x$with_inotify" != "xno"
13262 then
13263 if ${INOTIFY_CFLAGS:+false} :; then :
13264 if ${PKG_CONFIG+:} false; then :
13265 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13269 if ${INOTIFY_LIBS:+false} :; then :
13270 if ${PKG_CONFIG+:} false; then :
13271 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13276 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13277 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13278 ac_save_CPPFLAGS=$CPPFLAGS
13279 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13280 for ac_header in sys/inotify.h
13281 do :
13282 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13283 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13284 cat >>confdefs.h <<_ACEOF
13285 #define HAVE_SYS_INOTIFY_H 1
13286 _ACEOF
13290 done
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13293 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13294 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 ac_check_lib_save_LIBS=$LIBS
13298 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13305 #ifdef __cplusplus
13306 extern "C"
13307 #endif
13308 char inotify_add_watch ();
13310 main ()
13312 return inotify_add_watch ();
13314 return 0;
13316 _ACEOF
13317 if ac_fn_c_try_link "$LINENO"; then :
13318 ac_cv_lib_inotify_inotify_add_watch=yes
13319 else
13320 ac_cv_lib_inotify_inotify_add_watch=no
13322 rm -f core conftest.err conftest.$ac_objext \
13323 conftest$ac_exeext conftest.$ac_ext
13324 LIBS=$ac_check_lib_save_LIBS
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13327 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13328 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13330 else
13331 INOTIFY_LIBS=""
13334 CPPFLAGS=$ac_save_CPPFLAGS
13335 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13336 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13339 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13340 case "x$with_inotify" in
13341 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13342 xno) ;;
13343 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13344 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13345 esac
13349 if test "x$with_dbus" != "xno"
13350 then
13351 if ${DBUS_CFLAGS:+false} :; then :
13352 if ${PKG_CONFIG+:} false; then :
13353 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13357 if ${DBUS_LIBS:+false} :; then :
13358 if ${PKG_CONFIG+:} false; then :
13359 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13364 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13365 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13366 ac_save_CPPFLAGS=$CPPFLAGS
13367 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13368 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13369 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13371 $as_echo_n "checking for -ldbus-1... " >&6; }
13372 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13373 $as_echo_n "(cached) " >&6
13374 else
13375 ac_check_soname_save_LIBS=$LIBS
13376 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 /* Override any GCC internal prototype to avoid an error.
13381 Use char because int might match the return type of a GCC
13382 builtin and then its argument prototype would still apply. */
13383 #ifdef __cplusplus
13384 extern "C"
13385 #endif
13386 char dbus_connection_close ();
13388 main ()
13390 return dbus_connection_close ();
13392 return 0;
13394 _ACEOF
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 case "$LIBEXT" in
13397 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13398 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'` ;;
13399 *) 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'`
13400 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13401 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13402 fi ;;
13403 esac
13404 else
13405 ac_cv_lib_soname_dbus_1=
13407 rm -f core conftest.err conftest.$ac_objext \
13408 conftest$ac_exeext conftest.$ac_ext
13409 LIBS=$ac_check_soname_save_LIBS
13411 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13413 $as_echo "not found" >&6; }
13414 DBUS_CFLAGS=""
13415 else
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13417 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13419 cat >>confdefs.h <<_ACEOF
13420 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13421 _ACEOF
13425 else
13426 DBUS_CFLAGS=""
13430 CPPFLAGS=$ac_save_CPPFLAGS
13431 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13432 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13435 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13436 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13437 case "x$with_dbus" in
13438 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13439 xno) ;;
13440 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13441 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13442 esac
13446 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13447 then
13448 if ${HAL_CFLAGS:+false} :; then :
13449 if ${PKG_CONFIG+:} false; then :
13450 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13454 if ${HAL_LIBS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13460 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13461 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13462 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13463 ac_save_CPPFLAGS=$CPPFLAGS
13464 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13465 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13466 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13468 $as_echo_n "checking for -lhal... " >&6; }
13469 if ${ac_cv_lib_soname_hal+:} false; then :
13470 $as_echo_n "(cached) " >&6
13471 else
13472 ac_check_soname_save_LIBS=$LIBS
13473 LIBS="-lhal $HAL_LIBS $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13480 #ifdef __cplusplus
13481 extern "C"
13482 #endif
13483 char libhal_ctx_new ();
13485 main ()
13487 return libhal_ctx_new ();
13489 return 0;
13491 _ACEOF
13492 if ac_fn_c_try_link "$LINENO"; then :
13493 case "$LIBEXT" in
13494 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13495 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'` ;;
13496 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13497 if ${ac_cv_lib_soname_hal:+false} :; then :
13498 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13499 fi ;;
13500 esac
13501 else
13502 ac_cv_lib_soname_hal=
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_soname_save_LIBS
13508 if ${ac_cv_lib_soname_hal:+false} :; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13510 $as_echo "not found" >&6; }
13511 HAL_CFLAGS=""
13512 else
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13514 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13516 cat >>confdefs.h <<_ACEOF
13517 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13518 _ACEOF
13522 else
13523 HAL_CFLAGS=""
13527 CPPFLAGS=$ac_save_CPPFLAGS
13528 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13529 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13531 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13532 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13533 case "x$with_hal" in
13534 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13535 xno) ;;
13536 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13537 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13538 esac
13543 if test "x$with_gnutls" != "xno"
13544 then
13545 if ${GNUTLS_CFLAGS:+false} :; then :
13546 if ${PKG_CONFIG+:} false; then :
13547 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13551 if ${GNUTLS_LIBS:+false} :; then :
13552 if ${PKG_CONFIG+:} false; then :
13553 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13558 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13559 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13560 ac_save_CPPFLAGS=$CPPFLAGS
13561 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13562 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13563 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13566 #include <gnutls/gnutls.h>
13567 #include <gnutls/crypto.h>
13569 main ()
13571 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13573 return 0;
13575 _ACEOF
13576 if ac_fn_c_try_compile "$LINENO"; then :
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13578 $as_echo_n "checking for -lgnutls... " >&6; }
13579 if ${ac_cv_lib_soname_gnutls+:} false; then :
13580 $as_echo_n "(cached) " >&6
13581 else
13582 ac_check_soname_save_LIBS=$LIBS
13583 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13587 /* Override any GCC internal prototype to avoid an error.
13588 Use char because int might match the return type of a GCC
13589 builtin and then its argument prototype would still apply. */
13590 #ifdef __cplusplus
13591 extern "C"
13592 #endif
13593 char gnutls_global_init ();
13595 main ()
13597 return gnutls_global_init ();
13599 return 0;
13601 _ACEOF
13602 if ac_fn_c_try_link "$LINENO"; then :
13603 case "$LIBEXT" in
13604 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13605 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'` ;;
13606 *) 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'`
13607 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13608 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'`
13609 fi ;;
13610 esac
13611 else
13612 ac_cv_lib_soname_gnutls=
13614 rm -f core conftest.err conftest.$ac_objext \
13615 conftest$ac_exeext conftest.$ac_ext
13616 LIBS=$ac_check_soname_save_LIBS
13618 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13620 $as_echo "not found" >&6; }
13621 GNUTLS_CFLAGS=""
13622 else
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13624 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13626 cat >>confdefs.h <<_ACEOF
13627 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13628 _ACEOF
13632 ac_wine_check_funcs_save_LIBS="$LIBS"
13633 LIBS="$LIBS $GNUTLS_LIBS"
13634 for ac_func in gnutls_cipher_init
13635 do :
13636 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13637 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13638 cat >>confdefs.h <<_ACEOF
13639 #define HAVE_GNUTLS_CIPHER_INIT 1
13640 _ACEOF
13642 else
13643 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13645 done
13647 LIBS="$ac_wine_check_funcs_save_LIBS"
13649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13650 else
13651 GNUTLS_CFLAGS=""
13655 CPPFLAGS=$ac_save_CPPFLAGS
13656 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13657 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13660 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13661 case "x$with_gnutls" in
13662 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13663 xno) ;;
13664 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13665 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13666 esac
13670 CURSES_LIBS=""
13671 if test "$ac_cv_header_ncurses_h" = "yes"
13672 then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13674 $as_echo_n "checking for -lncurses... " >&6; }
13675 if ${ac_cv_lib_soname_ncurses+:} false; then :
13676 $as_echo_n "(cached) " >&6
13677 else
13678 ac_check_soname_save_LIBS=$LIBS
13679 LIBS="-lncurses $LIBS"
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13683 /* Override any GCC internal prototype to avoid an error.
13684 Use char because int might match the return type of a GCC
13685 builtin and then its argument prototype would still apply. */
13686 #ifdef __cplusplus
13687 extern "C"
13688 #endif
13689 char waddch ();
13691 main ()
13693 return waddch ();
13695 return 0;
13697 _ACEOF
13698 if ac_fn_c_try_link "$LINENO"; then :
13699 case "$LIBEXT" in
13700 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13701 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'` ;;
13702 *) 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'`
13703 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13704 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13705 fi ;;
13706 esac
13707 else
13708 ac_cv_lib_soname_ncurses=
13710 rm -f core conftest.err conftest.$ac_objext \
13711 conftest$ac_exeext conftest.$ac_ext
13712 LIBS=$ac_check_soname_save_LIBS
13714 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13716 $as_echo "not found" >&6; }
13718 else
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13720 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13722 cat >>confdefs.h <<_ACEOF
13723 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13724 _ACEOF
13726 CURSES_LIBS="-lncurses"
13728 elif test "$ac_cv_header_curses_h" = "yes"
13729 then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13731 $as_echo_n "checking for -lcurses... " >&6; }
13732 if ${ac_cv_lib_soname_curses+:} false; then :
13733 $as_echo_n "(cached) " >&6
13734 else
13735 ac_check_soname_save_LIBS=$LIBS
13736 LIBS="-lcurses $LIBS"
13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 /* Override any GCC internal prototype to avoid an error.
13741 Use char because int might match the return type of a GCC
13742 builtin and then its argument prototype would still apply. */
13743 #ifdef __cplusplus
13744 extern "C"
13745 #endif
13746 char waddch ();
13748 main ()
13750 return waddch ();
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 case "$LIBEXT" in
13757 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13758 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'` ;;
13759 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13760 if ${ac_cv_lib_soname_curses:+false} :; then :
13761 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13762 fi ;;
13763 esac
13764 else
13765 ac_cv_lib_soname_curses=
13767 rm -f core conftest.err conftest.$ac_objext \
13768 conftest$ac_exeext conftest.$ac_ext
13769 LIBS=$ac_check_soname_save_LIBS
13771 if ${ac_cv_lib_soname_curses:+false} :; then :
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13773 $as_echo "not found" >&6; }
13775 else
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13777 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13779 cat >>confdefs.h <<_ACEOF
13780 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13781 _ACEOF
13783 CURSES_LIBS="-lcurses"
13786 ac_save_LIBS="$LIBS"
13787 LIBS="$LIBS $CURSES_LIBS"
13788 for ac_func in mousemask
13789 do :
13790 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13791 if test "x$ac_cv_func_mousemask" = xyes; then :
13792 cat >>confdefs.h <<_ACEOF
13793 #define HAVE_MOUSEMASK 1
13794 _ACEOF
13797 done
13799 LIBS="$ac_save_LIBS"
13800 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13801 case "x$with_curses" in
13802 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13803 xno) ;;
13804 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13805 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13806 esac
13810 if test "x$with_sane" != "xno"
13811 then
13812 if ${SANE_CFLAGS:+false} :; then :
13813 if ${PKG_CONFIG+:} false; then :
13814 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13817 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13818 if ${SANE_LIBS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13823 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13825 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13826 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13827 ac_save_CPPFLAGS=$CPPFLAGS
13828 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13829 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13830 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13832 $as_echo_n "checking for -lsane... " >&6; }
13833 if ${ac_cv_lib_soname_sane+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 ac_check_soname_save_LIBS=$LIBS
13837 LIBS="-lsane $SANE_LIBS $LIBS"
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 #endif
13847 char sane_init ();
13849 main ()
13851 return sane_init ();
13853 return 0;
13855 _ACEOF
13856 if ac_fn_c_try_link "$LINENO"; then :
13857 case "$LIBEXT" in
13858 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13859 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'` ;;
13860 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13861 if ${ac_cv_lib_soname_sane:+false} :; then :
13862 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13863 fi ;;
13864 esac
13865 else
13866 ac_cv_lib_soname_sane=
13868 rm -f core conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 LIBS=$ac_check_soname_save_LIBS
13872 if ${ac_cv_lib_soname_sane:+false} :; then :
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13874 $as_echo "not found" >&6; }
13875 SANE_CFLAGS=""
13876 else
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13878 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13880 cat >>confdefs.h <<_ACEOF
13881 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13882 _ACEOF
13886 else
13887 SANE_CFLAGS=""
13891 CPPFLAGS=$ac_save_CPPFLAGS
13892 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13893 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13896 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13897 case "x$with_sane" in
13898 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13899 xno) ;;
13900 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13901 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13902 esac
13906 if test "x$with_v4l2" != "xno"
13907 then
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13909 $as_echo_n "checking for -lv4l2... " >&6; }
13910 if ${ac_cv_lib_soname_v4l2+:} false; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 ac_check_soname_save_LIBS=$LIBS
13914 LIBS="-lv4l2 $LIBS"
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13918 /* Override any GCC internal prototype to avoid an error.
13919 Use char because int might match the return type of a GCC
13920 builtin and then its argument prototype would still apply. */
13921 #ifdef __cplusplus
13922 extern "C"
13923 #endif
13924 char v4l2_open ();
13926 main ()
13928 return v4l2_open ();
13930 return 0;
13932 _ACEOF
13933 if ac_fn_c_try_link "$LINENO"; then :
13934 case "$LIBEXT" in
13935 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13936 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'` ;;
13937 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13938 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13939 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13940 fi ;;
13941 esac
13942 else
13943 ac_cv_lib_soname_v4l2=
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_soname_save_LIBS
13949 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13951 $as_echo "not found" >&6; }
13953 else
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13955 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13957 cat >>confdefs.h <<_ACEOF
13958 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13959 _ACEOF
13964 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13965 case "x$with_v4l2" in
13966 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13967 xno) ;;
13968 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13969 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13970 esac
13974 if test "x$with_gphoto" != "xno"
13975 then
13976 if ${GPHOTO2_CFLAGS:+false} :; then :
13977 if ${PKG_CONFIG+:} false; then :
13978 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13981 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13982 if ${GPHOTO2_LIBS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13987 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13988 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13989 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13990 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13991 ac_save_CPPFLAGS=$CPPFLAGS
13992 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13993 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13994 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13996 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13997 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13998 $as_echo_n "(cached) " >&6
13999 else
14000 ac_check_lib_save_LIBS=$LIBS
14001 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14008 #ifdef __cplusplus
14009 extern "C"
14010 #endif
14011 char gp_camera_new ();
14013 main ()
14015 return gp_camera_new ();
14017 return 0;
14019 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14021 ac_cv_lib_gphoto2_gp_camera_new=yes
14022 else
14023 ac_cv_lib_gphoto2_gp_camera_new=no
14025 rm -f core conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 LIBS=$ac_check_lib_save_LIBS
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14030 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14031 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14033 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14035 else
14036 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14039 else
14040 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14044 CPPFLAGS=$ac_save_CPPFLAGS
14045 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14046 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14048 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14049 if ${PKG_CONFIG+:} false; then :
14050 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14053 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14054 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14059 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14060 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14061 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14063 ac_save_CPPFLAGS=$CPPFLAGS
14064 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14065 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14066 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14068 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14069 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_check_lib_save_LIBS=$LIBS
14073 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char gp_port_info_list_new ();
14085 main ()
14087 return gp_port_info_list_new ();
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14094 else
14095 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14097 rm -f core conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 LIBS=$ac_check_lib_save_LIBS
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14102 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14103 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14105 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14107 else
14108 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14111 else
14112 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14116 CPPFLAGS=$ac_save_CPPFLAGS
14117 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14118 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14121 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14122 case "x$with_gphoto" in
14123 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14124 xno) ;;
14125 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14126 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14127 esac
14130 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14131 case "x$with_gphoto" in
14132 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14133 xno) ;;
14134 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14135 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14136 esac
14141 if test "$ac_cv_header_resolv_h" = "yes"
14142 then
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14144 $as_echo_n "checking for resolver library... " >&6; }
14145 if ${ac_cv_have_resolv+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_save_LIBS="$LIBS"
14149 for lib in '' -lresolv
14151 LIBS="$lib $ac_save_LIBS"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 #ifdef HAVE_NETINET_IN_H
14155 #include <netinet/in.h>
14156 #endif
14157 #include <resolv.h>
14159 main ()
14161 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"; then :
14167 ac_cv_have_resolv=${lib:-"none required"}
14168 else
14169 ac_cv_have_resolv="not found"
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 test "x$ac_cv_have_resolv" = "xnot found" || break
14174 done
14175 LIBS="$ac_save_LIBS"
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14178 $as_echo "$ac_cv_have_resolv" >&6; }
14180 case "$ac_cv_have_resolv" in
14181 "not found") ;;
14182 "none required")
14184 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14187 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14189 RESOLV_LIBS=$ac_cv_have_resolv
14191 esac
14193 if test "x$ac_cv_have_resolv" != "xnot found"
14194 then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14196 $as_echo_n "checking for res_getservers... " >&6; }
14197 if ${ac_cv_have_res_getservers+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_save_LIBS="$LIBS"
14201 LIBS="$RESOLV_LIBS $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 #include <resolv.h>
14206 main ()
14208 res_getservers(NULL, NULL, 0);
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_have_res_getservers=yes
14215 else
14216 ac_cv_have_res_getservers=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS="$ac_save_LIBS"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14223 $as_echo "$ac_cv_have_res_getservers" >&6; }
14224 if test "$ac_cv_have_res_getservers" = "yes"
14225 then
14227 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14233 if test "x$with_cms" != "xno"
14234 then
14235 if ${LCMS2_CFLAGS:+false} :; then :
14236 if ${PKG_CONFIG+:} false; then :
14237 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14241 if ${LCMS2_LIBS:+false} :; then :
14242 if ${PKG_CONFIG+:} false; then :
14243 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14247 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14248 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14249 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14250 ac_save_CPPFLAGS=$CPPFLAGS
14251 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14252 for ac_header in lcms2.h
14253 do :
14254 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14255 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14256 cat >>confdefs.h <<_ACEOF
14257 #define HAVE_LCMS2_H 1
14258 _ACEOF
14262 done
14264 if test "$ac_cv_header_lcms2_h" = "yes"
14265 then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14267 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14268 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 ac_check_lib_save_LIBS=$LIBS
14272 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14276 /* Override any GCC internal prototype to avoid an error.
14277 Use char because int might match the return type of a GCC
14278 builtin and then its argument prototype would still apply. */
14279 #ifdef __cplusplus
14280 extern "C"
14281 #endif
14282 char cmsOpenProfileFromFile ();
14284 main ()
14286 return cmsOpenProfileFromFile ();
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14293 else
14294 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 LIBS=$ac_check_lib_save_LIBS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14301 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14302 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14304 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14306 else
14307 LCMS2_LIBS=""
14310 else
14311 LCMS2_CFLAGS=""
14312 LCMS2_LIBS=""
14314 CPPFLAGS=$ac_save_CPPFLAGS
14315 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14316 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14319 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14320 case "x$with_cms" in
14321 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14322 xno) ;;
14323 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14324 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14325 esac
14329 if test "x$with_freetype" != "xno"
14330 then
14331 if ${FREETYPE_CFLAGS:+false} :; then :
14332 if ${PKG_CONFIG+:} false; then :
14333 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14336 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14337 if ${FREETYPE_LIBS:+false} :; then :
14338 if ${PKG_CONFIG+:} false; then :
14339 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14342 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14343 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14344 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14345 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14346 ac_save_CPPFLAGS=$CPPFLAGS
14347 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14348 for ac_header in ft2build.h
14349 do :
14350 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14351 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14352 cat >>confdefs.h <<_ACEOF
14353 #define HAVE_FT2BUILD_H 1
14354 _ACEOF
14358 done
14360 if test "$ac_cv_header_ft2build_h" = "yes"
14361 then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14363 $as_echo_n "checking for -lfreetype... " >&6; }
14364 if ${ac_cv_lib_soname_freetype+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_check_soname_save_LIBS=$LIBS
14368 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char FT_Init_FreeType ();
14380 main ()
14382 return FT_Init_FreeType ();
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 case "$LIBEXT" in
14389 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14390 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'` ;;
14391 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14392 if ${ac_cv_lib_soname_freetype:+false} :; then :
14393 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14394 fi ;;
14395 esac
14396 else
14397 ac_cv_lib_soname_freetype=
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 LIBS=$ac_check_soname_save_LIBS
14403 if ${ac_cv_lib_soname_freetype:+false} :; then :
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14405 $as_echo "not found" >&6; }
14406 FREETYPE_LIBS=""
14407 else
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14409 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14411 cat >>confdefs.h <<_ACEOF
14412 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14413 _ACEOF
14416 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14418 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14419 #include FT_MODULE_H
14421 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14423 cat >>confdefs.h <<_ACEOF
14424 #define HAVE_FT_TRUETYPEENGINETYPE 1
14425 _ACEOF
14431 else
14432 FREETYPE_CFLAGS=""
14433 FREETYPE_LIBS=""
14435 CPPFLAGS=$ac_save_CPPFLAGS
14436 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14437 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14440 if test "x$ac_cv_lib_soname_freetype" = x; then :
14441 case "x$with_freetype" in
14442 xno) ;;
14443 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14444 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14445 esac
14446 enable_fonts=${enable_fonts:-no}
14449 ac_wine_check_funcs_save_LIBS="$LIBS"
14450 LIBS="$LIBS $PTHREAD_LIBS"
14451 for ac_func in \
14452 pthread_getthreadid_np
14453 do :
14454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14457 cat >>confdefs.h <<_ACEOF
14458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14459 _ACEOF
14462 done
14464 LIBS="$ac_wine_check_funcs_save_LIBS"
14466 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14467 then
14468 if test "$ac_cv_header_gettext_po_h" = "yes"
14469 then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14471 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14472 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_check_lib_save_LIBS=$LIBS
14476 LIBS="-lgettextpo $LIBS"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 /* Override any GCC internal prototype to avoid an error.
14481 Use char because int might match the return type of a GCC
14482 builtin and then its argument prototype would still apply. */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char po_message_msgctxt ();
14488 main ()
14490 return po_message_msgctxt ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14497 else
14498 ac_cv_lib_gettextpo_po_message_msgctxt=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14505 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14506 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14508 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14510 GETTEXTPO_LIBS="-lgettextpo"
14515 if test "x$GETTEXTPO_LIBS" = "x"; then :
14516 case "x$with_gettextpo" in
14517 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14518 xno) ;;
14519 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14520 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14521 esac
14524 if test "$srcdir" != .; then :
14525 case "x$with_gettextpo" in
14526 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14527 xno) ;;
14528 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14529 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14530 esac
14535 if test "x$with_pulse" != "xno";
14536 then
14537 if ${PULSE_CFLAGS:+false} :; then :
14538 if ${PKG_CONFIG+:} false; then :
14539 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14543 if ${PULSE_LIBS:+false} :; then :
14544 if ${PKG_CONFIG+:} false; then :
14545 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14550 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14551 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14552 ac_save_CPPFLAGS=$CPPFLAGS
14553 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14554 for ac_header in pulse/pulseaudio.h
14555 do :
14556 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14557 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14558 cat >>confdefs.h <<_ACEOF
14559 #define HAVE_PULSE_PULSEAUDIO_H 1
14560 _ACEOF
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14562 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14563 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
14566 ac_check_lib_save_LIBS=$LIBS
14567 LIBS="-lpulse $PULSE_LIBS $LIBS"
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14571 /* Override any GCC internal prototype to avoid an error.
14572 Use char because int might match the return type of a GCC
14573 builtin and then its argument prototype would still apply. */
14574 #ifdef __cplusplus
14575 extern "C"
14576 #endif
14577 char pa_stream_is_corked ();
14579 main ()
14581 return pa_stream_is_corked ();
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 ac_cv_lib_pulse_pa_stream_is_corked=yes
14588 else
14589 ac_cv_lib_pulse_pa_stream_is_corked=no
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14593 LIBS=$ac_check_lib_save_LIBS
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14596 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14597 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14599 else
14600 PULSE_LIBS=""
14603 else
14604 PULSE_LIBS=""
14607 done
14609 CPPFLAGS=$ac_save_CPPFLAGS
14610 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14611 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14614 if test -z "$PULSE_LIBS"; then :
14615 case "x$with_pulse" in
14616 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14617 xno) ;;
14618 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14619 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14620 esac
14621 enable_winepulse_drv=${enable_winepulse_drv:-no}
14624 if test "x$with_gstreamer" != "xno"
14625 then
14626 if ${GSTREAMER_CFLAGS:+false} :; then :
14627 if ${PKG_CONFIG+:} false; then :
14628 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14632 if ${GSTREAMER_LIBS:+false} :; then :
14633 if ${PKG_CONFIG+:} false; then :
14634 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14639 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14640 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14641 ac_save_CPPFLAGS=$CPPFLAGS
14642 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14643 ac_gst_incl=""
14644 for i in $GSTREAMER_CFLAGS
14646 case "$i" in
14647 -I*) ac_gst_incl="$ac_gst_incl $i";;
14648 esac
14649 done
14650 GSTREAMER_CFLAGS=$ac_gst_incl
14651 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14652 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14653 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14655 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 #include <gst/gst.h>
14660 main ()
14662 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_compile "$LINENO"; then :
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14669 $as_echo "yes" >&6; }
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14671 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14672 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 ac_check_lib_save_LIBS=$LIBS
14676 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14683 #ifdef __cplusplus
14684 extern "C"
14685 #endif
14686 char gst_pad_new ();
14688 main ()
14690 return gst_pad_new ();
14692 return 0;
14694 _ACEOF
14695 if ac_fn_c_try_link "$LINENO"; then :
14696 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14697 else
14698 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14700 rm -f core conftest.err conftest.$ac_objext \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_check_lib_save_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14705 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14706 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14710 else
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14712 $as_echo "no" >&6; }
14713 ac_glib2_broken=yes
14714 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14720 CPPFLAGS=$ac_save_CPPFLAGS
14721 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14722 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14725 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 :
14726 case "x$with_gstreamer" in
14727 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14728 xno) ;;
14729 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14730 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14731 esac
14734 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14736 ALSA_LIBS=""
14738 if test "x$with_alsa" != "xno"
14739 then
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14741 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14742 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 ac_check_lib_save_LIBS=$LIBS
14746 LIBS="-lasound $LIBS"
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14750 /* Override any GCC internal prototype to avoid an error.
14751 Use char because int might match the return type of a GCC
14752 builtin and then its argument prototype would still apply. */
14753 #ifdef __cplusplus
14754 extern "C"
14755 #endif
14756 char snd_pcm_hw_params_get_access_mask ();
14758 main ()
14760 return snd_pcm_hw_params_get_access_mask ();
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14767 else
14768 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 LIBS=$ac_check_lib_save_LIBS
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14775 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14776 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 #include <alsa/asoundlib.h>
14781 main ()
14783 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14785 return 0;
14787 _ACEOF
14788 if ac_fn_c_try_compile "$LINENO"; then :
14789 ALSA_LIBS="-lasound"
14791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14795 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14797 if test "x$with_oss" != xno
14798 then
14799 ac_save_CPPFLAGS="$CPPFLAGS"
14800 if test -f /etc/oss.conf
14801 then
14802 . /etc/oss.conf
14804 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14805 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14806 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14807 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14808 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14810 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14812 cat >>confdefs.h <<_ACEOF
14813 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14814 _ACEOF
14816 OSS4_CFLAGS="$ac_oss_incl"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14819 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14820 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 ac_check_lib_save_LIBS=$LIBS
14824 LIBS="-lossaudio $LIBS"
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14831 #ifdef __cplusplus
14832 extern "C"
14833 #endif
14834 char _oss_ioctl ();
14836 main ()
14838 return _oss_ioctl ();
14840 return 0;
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"; then :
14844 ac_cv_lib_ossaudio__oss_ioctl=yes
14845 else
14846 ac_cv_lib_ossaudio__oss_ioctl=no
14848 rm -f core conftest.err conftest.$ac_objext \
14849 conftest$ac_exeext conftest.$ac_ext
14850 LIBS=$ac_check_lib_save_LIBS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14853 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14854 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14855 OSS4_LIBS="-lossaudio"
14864 CPPFLAGS="$ac_save_CPPFLAGS"
14866 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14867 case "x$with_oss" in
14868 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14869 xno) ;;
14870 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14871 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14872 esac
14873 enable_wineoss_drv=${enable_wineoss_drv:-no}
14876 if test "x$with_udev" != "xno"
14877 then
14878 if ${UDEV_CFLAGS:+false} :; then :
14879 if ${PKG_CONFIG+:} false; then :
14880 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14884 if ${UDEV_LIBS:+false} :; then :
14885 if ${PKG_CONFIG+:} false; then :
14886 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14890 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14891 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14892 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14893 ac_save_CPPFLAGS=$CPPFLAGS
14894 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14895 for ac_header in libudev.h
14896 do :
14897 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14898 if test "x$ac_cv_header_libudev_h" = xyes; then :
14899 cat >>confdefs.h <<_ACEOF
14900 #define HAVE_LIBUDEV_H 1
14901 _ACEOF
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14903 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14904 if ${ac_cv_lib_udev_udev_new+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 ac_check_lib_save_LIBS=$LIBS
14908 LIBS="-ludev $UDEV_LIBS $LIBS"
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 /* Override any GCC internal prototype to avoid an error.
14913 Use char because int might match the return type of a GCC
14914 builtin and then its argument prototype would still apply. */
14915 #ifdef __cplusplus
14916 extern "C"
14917 #endif
14918 char udev_new ();
14920 main ()
14922 return udev_new ();
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 ac_cv_lib_udev_udev_new=yes
14929 else
14930 ac_cv_lib_udev_udev_new=no
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext conftest.$ac_ext
14934 LIBS=$ac_check_lib_save_LIBS
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14937 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14938 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14940 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14942 else
14943 UDEV_LIBS=""
14946 else
14947 UDEV_LIBS=""
14950 done
14952 CPPFLAGS=$ac_save_CPPFLAGS
14953 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14954 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14957 if test "x$UDEV_LIBS" = "x"; then :
14958 case "x$with_udev" in
14959 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14960 xno) ;;
14961 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14962 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14963 esac
14967 if test "x$with_unwind" != xno
14968 then
14969 if ${UNWIND_CFLAGS:+false} :; then :
14970 if ${PKG_CONFIG+:} false; then :
14971 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14975 if ${UNWIND_LIBS:+false} :; then :
14976 if ${PKG_CONFIG+:} false; then :
14977 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14981 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14982 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14983 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14984 ac_save_CPPFLAGS=$CPPFLAGS
14985 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14987 $as_echo_n "checking for unw_step... " >&6; }
14988 if ${wine_cv_have_unw_step+:} false; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14993 #define UNW_LOCAL_ONLY
14994 #include <libunwind.h>
14996 main ()
14998 unw_cursor_t cursor; unw_step( &cursor );
15000 return 0;
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 wine_cv_have_unw_step="yes"
15005 else
15006 wine_cv_have_unw_step="no"
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15012 $as_echo "$wine_cv_have_unw_step" >&6; }
15013 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15014 then
15015 save_libs=$LIBS
15016 LIBS="$UNWIND_LIBS $LIBS"
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15018 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15019 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15024 #define UNW_LOCAL_ONLY
15025 #include <libunwind.h>
15027 main ()
15029 unw_cursor_t cursor; unw_step( &cursor );
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 wine_cv_have_libunwind_unw_step="yes"
15036 else
15037 wine_cv_have_libunwind_unw_step="no"
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15043 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15044 LIBS=$save_libs
15046 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15047 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15048 then
15050 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15053 CPPFLAGS=$ac_save_CPPFLAGS
15054 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15055 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15058 case $host in
15059 aarch64*|*-darwin*)
15060 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15061 case "x$with_unwind" in
15062 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15063 xno) ;;
15064 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15065 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15066 esac
15068 fi ;;
15069 esac
15071 if test "x$with_sdl" != "xno"
15072 then
15073 if ${SDL2_CFLAGS:+false} :; then :
15074 if ${PKG_CONFIG+:} false; then :
15075 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15079 if ${SDL2_LIBS:+false} :; then :
15080 if ${PKG_CONFIG+:} false; then :
15081 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15085 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15086 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15087 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15088 ac_save_CPPFLAGS=$CPPFLAGS
15089 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15090 for ac_header in SDL2/SDL.h
15091 do :
15092 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15093 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15094 cat >>confdefs.h <<_ACEOF
15095 #define HAVE_SDL2_SDL_H 1
15096 _ACEOF
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15098 $as_echo_n "checking for -lSDL2... " >&6; }
15099 if ${ac_cv_lib_soname_SDL2+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_check_soname_save_LIBS=$LIBS
15103 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15107 /* Override any GCC internal prototype to avoid an error.
15108 Use char because int might match the return type of a GCC
15109 builtin and then its argument prototype would still apply. */
15110 #ifdef __cplusplus
15111 extern "C"
15112 #endif
15113 char SDL_Init ();
15115 main ()
15117 return SDL_Init ();
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"; then :
15123 case "$LIBEXT" in
15124 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15125 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'` ;;
15126 *) 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'`
15127 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15128 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15129 fi ;;
15130 esac
15131 else
15132 ac_cv_lib_soname_SDL2=
15134 rm -f core conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 LIBS=$ac_check_soname_save_LIBS
15138 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15140 $as_echo "not found" >&6; }
15142 else
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15144 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15146 cat >>confdefs.h <<_ACEOF
15147 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15148 _ACEOF
15154 done
15156 CPPFLAGS=$ac_save_CPPFLAGS
15157 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15158 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15161 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15162 case "x$with_sdl" in
15163 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15164 xno) ;;
15165 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15166 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15167 esac
15171 if test "x$with_faudio" != "xno"
15172 then
15173 if ${FAUDIO_CFLAGS:+false} :; then :
15174 if ${PKG_CONFIG+:} false; then :
15175 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15179 if ${FAUDIO_LIBS:+false} :; then :
15180 if ${PKG_CONFIG+:} false; then :
15181 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15185 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15186 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15187 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15188 ac_save_CPPFLAGS=$CPPFLAGS
15189 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15190 for ac_header in FAudio.h
15191 do :
15192 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15193 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define HAVE_FAUDIO_H 1
15196 _ACEOF
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15198 $as_echo_n "checking for -lFAudio... " >&6; }
15199 if ${ac_cv_lib_soname_FAudio+:} false; then :
15200 $as_echo_n "(cached) " >&6
15201 else
15202 ac_check_soname_save_LIBS=$LIBS
15203 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15207 /* Override any GCC internal prototype to avoid an error.
15208 Use char because int might match the return type of a GCC
15209 builtin and then its argument prototype would still apply. */
15210 #ifdef __cplusplus
15211 extern "C"
15212 #endif
15213 char FAudioCreate ();
15215 main ()
15217 return FAudioCreate ();
15219 return 0;
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 case "$LIBEXT" in
15224 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15225 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'` ;;
15226 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15227 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15228 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15229 fi ;;
15230 esac
15231 else
15232 ac_cv_lib_soname_FAudio=
15234 rm -f core conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_soname_save_LIBS
15238 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15240 $as_echo "not found" >&6; }
15242 else
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15244 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15246 cat >>confdefs.h <<_ACEOF
15247 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15248 _ACEOF
15254 done
15256 ac_wine_check_funcs_save_LIBS="$LIBS"
15257 LIBS="$LIBS $FAUDIO_LIBS"
15258 for ac_func in FAudio_CommitOperationSet \
15259 F3DAudioInitialize8 \
15260 FAudioLinkedVersion
15261 do :
15262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15265 cat >>confdefs.h <<_ACEOF
15266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15267 _ACEOF
15270 done
15272 LIBS="$ac_wine_check_funcs_save_LIBS"
15274 CPPFLAGS=$ac_save_CPPFLAGS
15275 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15276 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15279 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15280 case "x$with_faudio" in
15281 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15282 xno) ;;
15283 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15284 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15285 esac
15289 if test "x$with_capi" != "xno"
15290 then
15291 if ${CAPI20_CFLAGS:+false} :; then :
15292 if ${PKG_CONFIG+:} false; then :
15293 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15297 if ${CAPI20_LIBS:+false} :; then :
15298 if ${PKG_CONFIG+:} false; then :
15299 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15304 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15305 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15306 ac_save_CPPFLAGS=$CPPFLAGS
15307 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15308 for ac_header in capi20.h linux/capi.h
15309 do :
15310 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15311 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15316 _ACEOF
15320 done
15322 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15323 then
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15325 $as_echo_n "checking for -lcapi20... " >&6; }
15326 if ${ac_cv_lib_soname_capi20+:} false; then :
15327 $as_echo_n "(cached) " >&6
15328 else
15329 ac_check_soname_save_LIBS=$LIBS
15330 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15334 /* Override any GCC internal prototype to avoid an error.
15335 Use char because int might match the return type of a GCC
15336 builtin and then its argument prototype would still apply. */
15337 #ifdef __cplusplus
15338 extern "C"
15339 #endif
15340 char capi20_register ();
15342 main ()
15344 return capi20_register ();
15346 return 0;
15348 _ACEOF
15349 if ac_fn_c_try_link "$LINENO"; then :
15350 case "$LIBEXT" in
15351 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15352 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'` ;;
15353 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15354 if ${ac_cv_lib_soname_capi20:+false} :; then :
15355 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15356 fi ;;
15357 esac
15358 else
15359 ac_cv_lib_soname_capi20=
15361 rm -f core conftest.err conftest.$ac_objext \
15362 conftest$ac_exeext conftest.$ac_ext
15363 LIBS=$ac_check_soname_save_LIBS
15365 if ${ac_cv_lib_soname_capi20:+false} :; then :
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15367 $as_echo "not found" >&6; }
15369 else
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15371 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15373 cat >>confdefs.h <<_ACEOF
15374 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15375 _ACEOF
15380 CPPFLAGS=$ac_save_CPPFLAGS
15381 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15382 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15385 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15386 case "x$with_capi" in
15387 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15388 xno) ;;
15389 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15390 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15391 esac
15395 if test "x$with_cups" != "xno"
15396 then
15397 if ${CUPS_CFLAGS:+false} :; then :
15398 if ${PKG_CONFIG+:} false; then :
15399 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15402 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15403 if ${CUPS_LIBS:+false} :; then :
15404 if ${PKG_CONFIG+:} false; then :
15405 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15408 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15409 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15410 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15411 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15412 ac_save_CPPFLAGS=$CPPFLAGS
15413 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15414 for ac_header in cups/cups.h cups/ppd.h
15415 do :
15416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15417 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15419 cat >>confdefs.h <<_ACEOF
15420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15421 _ACEOF
15425 done
15427 if test "$ac_cv_header_cups_cups_h" = "yes"
15428 then
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15430 $as_echo_n "checking for -lcups... " >&6; }
15431 if ${ac_cv_lib_soname_cups+:} false; then :
15432 $as_echo_n "(cached) " >&6
15433 else
15434 ac_check_soname_save_LIBS=$LIBS
15435 LIBS="-lcups $CUPS_LIBS $LIBS"
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15442 #ifdef __cplusplus
15443 extern "C"
15444 #endif
15445 char cupsGetDefault ();
15447 main ()
15449 return cupsGetDefault ();
15451 return 0;
15453 _ACEOF
15454 if ac_fn_c_try_link "$LINENO"; then :
15455 case "$LIBEXT" in
15456 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15457 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'` ;;
15458 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15459 if ${ac_cv_lib_soname_cups:+false} :; then :
15460 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15461 fi ;;
15462 esac
15463 else
15464 ac_cv_lib_soname_cups=
15466 rm -f core conftest.err conftest.$ac_objext \
15467 conftest$ac_exeext conftest.$ac_ext
15468 LIBS=$ac_check_soname_save_LIBS
15470 if ${ac_cv_lib_soname_cups:+false} :; then :
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15472 $as_echo "not found" >&6; }
15473 CUPS_LIBS=""
15474 else
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15476 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15478 cat >>confdefs.h <<_ACEOF
15479 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15480 _ACEOF
15484 else
15485 CUPS_CFLAGS=""
15486 CUPS_LIBS=""
15488 CPPFLAGS=$ac_save_CPPFLAGS
15489 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15490 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15493 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15494 case "x$with_cups" in
15495 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15496 xno) ;;
15497 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15498 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15499 esac
15503 if test "x$with_fontconfig" != "xno"
15504 then
15505 if ${FONTCONFIG_CFLAGS:+false} :; then :
15506 if ${PKG_CONFIG+:} false; then :
15507 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15510 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15511 if ${FONTCONFIG_LIBS:+false} :; then :
15512 if ${PKG_CONFIG+:} false; then :
15513 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15516 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15518 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15519 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15520 ac_save_CPPFLAGS=$CPPFLAGS
15521 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15522 for ac_header in fontconfig/fontconfig.h
15523 do :
15524 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15525 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15526 cat >>confdefs.h <<_ACEOF
15527 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15528 _ACEOF
15532 done
15534 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15535 then
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15537 $as_echo_n "checking for -lfontconfig... " >&6; }
15538 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15539 $as_echo_n "(cached) " >&6
15540 else
15541 ac_check_soname_save_LIBS=$LIBS
15542 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 #ifdef __cplusplus
15550 extern "C"
15551 #endif
15552 char FcInit ();
15554 main ()
15556 return FcInit ();
15558 return 0;
15560 _ACEOF
15561 if ac_fn_c_try_link "$LINENO"; then :
15562 case "$LIBEXT" in
15563 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15564 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'` ;;
15565 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15566 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15567 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15568 fi ;;
15569 esac
15570 else
15571 ac_cv_lib_soname_fontconfig=
15573 rm -f core conftest.err conftest.$ac_objext \
15574 conftest$ac_exeext conftest.$ac_ext
15575 LIBS=$ac_check_soname_save_LIBS
15577 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15579 $as_echo "not found" >&6; }
15580 FONTCONFIG_CFLAGS=""
15581 else
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15583 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15585 cat >>confdefs.h <<_ACEOF
15586 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15587 _ACEOF
15591 else
15592 FONTCONFIG_CFLAGS=""
15594 CPPFLAGS=$ac_save_CPPFLAGS
15595 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15596 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15599 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15600 case "x$with_fontconfig" in
15601 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15602 xno) ;;
15603 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15604 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15605 esac
15609 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15610 then
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15612 $as_echo_n "checking for -lgsm... " >&6; }
15613 if ${ac_cv_lib_soname_gsm+:} false; then :
15614 $as_echo_n "(cached) " >&6
15615 else
15616 ac_check_soname_save_LIBS=$LIBS
15617 LIBS="-lgsm $LIBS"
15618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15624 #ifdef __cplusplus
15625 extern "C"
15626 #endif
15627 char gsm_create ();
15629 main ()
15631 return gsm_create ();
15633 return 0;
15635 _ACEOF
15636 if ac_fn_c_try_link "$LINENO"; then :
15637 case "$LIBEXT" in
15638 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15639 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'` ;;
15640 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15641 if ${ac_cv_lib_soname_gsm:+false} :; then :
15642 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15643 fi ;;
15644 esac
15645 else
15646 ac_cv_lib_soname_gsm=
15648 rm -f core conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext conftest.$ac_ext
15650 LIBS=$ac_check_soname_save_LIBS
15652 if ${ac_cv_lib_soname_gsm:+false} :; then :
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15654 $as_echo "not found" >&6; }
15656 else
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15658 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15660 cat >>confdefs.h <<_ACEOF
15661 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15662 _ACEOF
15667 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15668 case "x$with_gsm" in
15669 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15670 xno) ;;
15671 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15672 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15673 esac
15677 if test "x$with_krb5" != "xno"
15678 then
15679 if ${KRB5_CFLAGS:+false} :; then :
15680 if ${PKG_CONFIG+:} false; then :
15681 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15684 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15685 if ${KRB5_LIBS:+false} :; then :
15686 if ${PKG_CONFIG+:} false; then :
15687 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15690 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15692 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15693 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15694 ac_save_CPPFLAGS=$CPPFLAGS
15695 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15696 for ac_header in krb5/krb5.h
15697 do :
15698 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15699 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15700 cat >>confdefs.h <<_ACEOF
15701 #define HAVE_KRB5_KRB5_H 1
15702 _ACEOF
15706 done
15708 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15709 then
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15711 $as_echo_n "checking for -lkrb5... " >&6; }
15712 if ${ac_cv_lib_soname_krb5+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 ac_check_soname_save_LIBS=$LIBS
15716 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15720 /* Override any GCC internal prototype to avoid an error.
15721 Use char because int might match the return type of a GCC
15722 builtin and then its argument prototype would still apply. */
15723 #ifdef __cplusplus
15724 extern "C"
15725 #endif
15726 char krb5_is_config_principal ();
15728 main ()
15730 return krb5_is_config_principal ();
15732 return 0;
15734 _ACEOF
15735 if ac_fn_c_try_link "$LINENO"; then :
15736 case "$LIBEXT" in
15737 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15738 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'` ;;
15739 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15740 if ${ac_cv_lib_soname_krb5:+false} :; then :
15741 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15742 fi ;;
15743 esac
15744 else
15745 ac_cv_lib_soname_krb5=
15747 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_soname_save_LIBS
15751 if ${ac_cv_lib_soname_krb5:+false} :; then :
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15753 $as_echo "not found" >&6; }
15754 KRB5_CFLAGS=""
15755 else
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15757 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15759 cat >>confdefs.h <<_ACEOF
15760 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15761 _ACEOF
15765 else
15766 KRB5_CFLAGS=""
15768 CPPFLAGS=$ac_save_CPPFLAGS
15769 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15770 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15773 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15774 case "x$with_krb5" in
15775 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15776 xno) ;;
15777 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15778 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15779 esac
15782 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15784 if test "x$with_gssapi" != "xno"
15785 then
15786 if ${GSSAPI_CFLAGS:+false} :; then :
15787 if ${PKG_CONFIG+:} false; then :
15788 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15791 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15792 if ${GSSAPI_LIBS:+false} :; then :
15793 if ${PKG_CONFIG+:} false; then :
15794 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15797 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15799 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15800 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15801 ac_save_CPPFLAGS=$CPPFLAGS
15802 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15803 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15804 do :
15805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15806 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15807 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15810 _ACEOF
15814 done
15816 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15817 then
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15819 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15820 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15821 $as_echo_n "(cached) " >&6
15822 else
15823 ac_check_soname_save_LIBS=$LIBS
15824 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15828 /* Override any GCC internal prototype to avoid an error.
15829 Use char because int might match the return type of a GCC
15830 builtin and then its argument prototype would still apply. */
15831 #ifdef __cplusplus
15832 extern "C"
15833 #endif
15834 char gss_init_sec_context ();
15836 main ()
15838 return gss_init_sec_context ();
15840 return 0;
15842 _ACEOF
15843 if ac_fn_c_try_link "$LINENO"; then :
15844 case "$LIBEXT" in
15845 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15846 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'` ;;
15847 *) 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'`
15848 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15849 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15850 fi ;;
15851 esac
15852 else
15853 ac_cv_lib_soname_gssapi_krb5=
15855 rm -f core conftest.err conftest.$ac_objext \
15856 conftest$ac_exeext conftest.$ac_ext
15857 LIBS=$ac_check_soname_save_LIBS
15859 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15861 $as_echo "not found" >&6; }
15862 GSSAPI_CFLAGS=""
15863 else
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15865 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15867 cat >>confdefs.h <<_ACEOF
15868 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15869 _ACEOF
15873 else
15874 GSSAPI_CFLAGS=""
15876 CPPFLAGS=$ac_save_CPPFLAGS
15877 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15878 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15881 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15882 case "x$with_gssapi" in
15883 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15884 xno) ;;
15885 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15886 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15887 esac
15891 if test "x$with_jpeg" != "xno"
15892 then
15893 if ${JPEG_CFLAGS:+false} :; then :
15894 if ${PKG_CONFIG+:} false; then :
15895 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15899 if ${JPEG_LIBS:+false} :; then :
15900 if ${PKG_CONFIG+:} false; then :
15901 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15906 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15907 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15908 ac_save_CPPFLAGS=$CPPFLAGS
15909 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15910 for ac_header in jpeglib.h
15911 do :
15912 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15913 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_JPEGLIB_H 1
15916 _ACEOF
15920 done
15922 if test "$ac_cv_header_jpeglib_h" = "yes"
15923 then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15925 $as_echo_n "checking for -ljpeg... " >&6; }
15926 if ${ac_cv_lib_soname_jpeg+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 ac_check_soname_save_LIBS=$LIBS
15930 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15934 /* Override any GCC internal prototype to avoid an error.
15935 Use char because int might match the return type of a GCC
15936 builtin and then its argument prototype would still apply. */
15937 #ifdef __cplusplus
15938 extern "C"
15939 #endif
15940 char jpeg_start_decompress ();
15942 main ()
15944 return jpeg_start_decompress ();
15946 return 0;
15948 _ACEOF
15949 if ac_fn_c_try_link "$LINENO"; then :
15950 case "$LIBEXT" in
15951 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15952 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'` ;;
15953 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15954 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15955 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15956 fi ;;
15957 esac
15958 else
15959 ac_cv_lib_soname_jpeg=
15961 rm -f core conftest.err conftest.$ac_objext \
15962 conftest$ac_exeext conftest.$ac_ext
15963 LIBS=$ac_check_soname_save_LIBS
15965 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15967 $as_echo "not found" >&6; }
15968 JPEG_CFLAGS=""
15969 else
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15971 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15973 cat >>confdefs.h <<_ACEOF
15974 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15975 _ACEOF
15979 else
15980 JPEG_CFLAGS=""
15982 CPPFLAGS=$ac_save_CPPFLAGS
15983 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15984 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15987 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15988 case "x$with_jpeg" in
15989 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15990 xno) ;;
15991 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15992 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15993 esac
15997 if test "x$with_png" != "xno"
15998 then
15999 if ${PNG_CFLAGS:+false} :; then :
16000 if ${PKG_CONFIG+:} false; then :
16001 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16004 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16005 if ${PNG_LIBS:+false} :; then :
16006 if ${PKG_CONFIG+:} false; then :
16007 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16010 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16012 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16013 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16014 ac_save_CPPFLAGS=$CPPFLAGS
16015 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16016 for ac_header in png.h
16017 do :
16018 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16019 if test "x$ac_cv_header_png_h" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_PNG_H 1
16022 _ACEOF
16026 done
16028 if test "$ac_cv_header_png_h" = "yes"
16029 then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16031 $as_echo_n "checking for -lpng... " >&6; }
16032 if ${ac_cv_lib_soname_png+:} false; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 ac_check_soname_save_LIBS=$LIBS
16036 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16040 /* Override any GCC internal prototype to avoid an error.
16041 Use char because int might match the return type of a GCC
16042 builtin and then its argument prototype would still apply. */
16043 #ifdef __cplusplus
16044 extern "C"
16045 #endif
16046 char png_create_read_struct ();
16048 main ()
16050 return png_create_read_struct ();
16052 return 0;
16054 _ACEOF
16055 if ac_fn_c_try_link "$LINENO"; then :
16056 case "$LIBEXT" in
16057 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16058 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'` ;;
16059 *) 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'`
16060 if ${ac_cv_lib_soname_png:+false} :; then :
16061 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16062 fi ;;
16063 esac
16064 else
16065 ac_cv_lib_soname_png=
16067 rm -f core conftest.err conftest.$ac_objext \
16068 conftest$ac_exeext conftest.$ac_ext
16069 LIBS=$ac_check_soname_save_LIBS
16071 if ${ac_cv_lib_soname_png:+false} :; then :
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16073 $as_echo "not found" >&6; }
16074 PNG_CFLAGS=""
16075 else
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16077 $as_echo "$ac_cv_lib_soname_png" >&6; }
16079 cat >>confdefs.h <<_ACEOF
16080 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16081 _ACEOF
16085 else
16086 PNG_CFLAGS=""
16088 CPPFLAGS=$ac_save_CPPFLAGS
16089 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16090 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16093 if test "x$ac_cv_lib_soname_png" = "x"; then :
16094 case "x$with_png" in
16095 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16096 xno) ;;
16097 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16098 This is an error since --with-png was requested." "$LINENO" 5 ;;
16099 esac
16103 if test "x$with_tiff" != "xno"
16104 then
16105 if ${TIFF_CFLAGS:+false} :; then :
16106 if ${PKG_CONFIG+:} false; then :
16107 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16111 if ${TIFF_LIBS:+false} :; then :
16112 if ${PKG_CONFIG+:} false; then :
16113 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16118 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16119 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16120 ac_save_CPPFLAGS=$CPPFLAGS
16121 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16122 for ac_header in tiffio.h
16123 do :
16124 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16125 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_TIFFIO_H 1
16128 _ACEOF
16132 done
16134 if test "$ac_cv_header_tiffio_h" = "yes"
16135 then
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16137 $as_echo_n "checking for -ltiff... " >&6; }
16138 if ${ac_cv_lib_soname_tiff+:} false; then :
16139 $as_echo_n "(cached) " >&6
16140 else
16141 ac_check_soname_save_LIBS=$LIBS
16142 LIBS="-ltiff $TIFF_LIBS $LIBS"
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char TIFFClientOpen ();
16154 main ()
16156 return TIFFClientOpen ();
16158 return 0;
16160 _ACEOF
16161 if ac_fn_c_try_link "$LINENO"; then :
16162 case "$LIBEXT" in
16163 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16164 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'` ;;
16165 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16166 if ${ac_cv_lib_soname_tiff:+false} :; then :
16167 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16168 fi ;;
16169 esac
16170 else
16171 ac_cv_lib_soname_tiff=
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16175 LIBS=$ac_check_soname_save_LIBS
16177 if ${ac_cv_lib_soname_tiff:+false} :; then :
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16179 $as_echo "not found" >&6; }
16181 else
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16183 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16185 cat >>confdefs.h <<_ACEOF
16186 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16187 _ACEOF
16192 CPPFLAGS=$ac_save_CPPFLAGS
16193 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16194 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16197 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16198 case "x$with_tiff" in
16199 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16200 xno) ;;
16201 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16202 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16203 esac
16207 if test "x$with_mpg123" != "xno"
16208 then
16209 if ${MPG123_CFLAGS:+false} :; then :
16210 if ${PKG_CONFIG+:} false; then :
16211 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16215 if ${MPG123_LIBS:+false} :; then :
16216 if ${PKG_CONFIG+:} false; then :
16217 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16221 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16222 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16223 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16224 ac_save_CPPFLAGS=$CPPFLAGS
16225 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16226 for ac_header in mpg123.h
16227 do :
16228 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16229 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_MPG123_H 1
16232 _ACEOF
16236 done
16238 if test "$ac_cv_header_mpg123_h" = "yes"
16239 then
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16241 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16242 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16243 $as_echo_n "(cached) " >&6
16244 else
16245 ac_check_lib_save_LIBS=$LIBS
16246 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16253 #ifdef __cplusplus
16254 extern "C"
16255 #endif
16256 char mpg123_feed ();
16258 main ()
16260 return mpg123_feed ();
16262 return 0;
16264 _ACEOF
16265 if ac_fn_c_try_link "$LINENO"; then :
16266 ac_cv_lib_mpg123_mpg123_feed=yes
16267 else
16268 ac_cv_lib_mpg123_mpg123_feed=no
16270 rm -f core conftest.err conftest.$ac_objext \
16271 conftest$ac_exeext conftest.$ac_ext
16272 LIBS=$ac_check_lib_save_LIBS
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16275 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16276 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16278 else
16279 MPG123_LIBS=""
16282 else
16283 MPG123_CFLAGS=""
16284 MPG123_LIBS=""
16286 CPPFLAGS=$ac_save_CPPFLAGS
16287 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16288 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16291 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16292 case "x$with_mpg123" in
16293 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16294 xno) ;;
16295 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16296 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16297 esac
16298 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16300 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16302 if test "$ac_cv_header_AL_al_h" = "yes"
16303 then
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16305 $as_echo_n "checking for -lopenal... " >&6; }
16306 if ${ac_cv_lib_soname_openal+:} false; then :
16307 $as_echo_n "(cached) " >&6
16308 else
16309 ac_check_soname_save_LIBS=$LIBS
16310 LIBS="-lopenal $LIBS"
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16314 /* Override any GCC internal prototype to avoid an error.
16315 Use char because int might match the return type of a GCC
16316 builtin and then its argument prototype would still apply. */
16317 #ifdef __cplusplus
16318 extern "C"
16319 #endif
16320 char alGetSource3i ();
16322 main ()
16324 return alGetSource3i ();
16326 return 0;
16328 _ACEOF
16329 if ac_fn_c_try_link "$LINENO"; then :
16330 case "$LIBEXT" in
16331 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16332 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'` ;;
16333 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16334 if ${ac_cv_lib_soname_openal:+false} :; then :
16335 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16336 fi ;;
16337 esac
16338 else
16339 ac_cv_lib_soname_openal=
16341 rm -f core conftest.err conftest.$ac_objext \
16342 conftest$ac_exeext conftest.$ac_ext
16343 LIBS=$ac_check_soname_save_LIBS
16345 if ${ac_cv_lib_soname_openal:+false} :; then :
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16347 $as_echo "not found" >&6; }
16349 else
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16351 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16353 cat >>confdefs.h <<_ACEOF
16354 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16355 _ACEOF
16357 OPENAL_LIBS="-lopenal"
16359 ac_cv_lib_openal=yes
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_OPENAL 1
16363 _ACEOF
16367 if test "x$ac_cv_lib_openal" != xyes; then :
16368 case "x$with_openal" in
16369 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16370 xno) ;;
16371 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16372 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16373 esac
16374 enable_openal32=${enable_openal32:-no}
16377 if test "x$ac_cv_lib_soname_FAudio" = "x"
16378 then
16379 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16380 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16381 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16382 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16383 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16384 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16385 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16386 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16387 enable_xapofx1_1=${enable_xapofx1_1:-no}
16388 enable_xapofx1_2=${enable_xapofx1_2:-no}
16389 enable_xapofx1_3=${enable_xapofx1_3:-no}
16390 enable_xapofx1_4=${enable_xapofx1_4:-no}
16391 enable_xapofx1_5=${enable_xapofx1_5:-no}
16392 enable_xaudio2_0=${enable_xaudio2_0:-no}
16393 enable_xaudio2_1=${enable_xaudio2_1:-no}
16394 enable_xaudio2_2=${enable_xaudio2_2:-no}
16395 enable_xaudio2_3=${enable_xaudio2_3:-no}
16396 enable_xaudio2_4=${enable_xaudio2_4:-no}
16397 enable_xaudio2_5=${enable_xaudio2_5:-no}
16398 enable_xaudio2_6=${enable_xaudio2_6:-no}
16399 enable_xaudio2_7=${enable_xaudio2_7:-no}
16400 enable_xaudio2_8=${enable_xaudio2_8:-no}
16401 enable_xaudio2_9=${enable_xaudio2_9:-no}
16404 if test "$ac_cv_header_kstat_h" = "yes"
16405 then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16407 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16408 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 ac_check_lib_save_LIBS=$LIBS
16412 LIBS="-lkstat $LIBS"
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16416 /* Override any GCC internal prototype to avoid an error.
16417 Use char because int might match the return type of a GCC
16418 builtin and then its argument prototype would still apply. */
16419 #ifdef __cplusplus
16420 extern "C"
16421 #endif
16422 char kstat_open ();
16424 main ()
16426 return kstat_open ();
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"; then :
16432 ac_cv_lib_kstat_kstat_open=yes
16433 else
16434 ac_cv_lib_kstat_kstat_open=no
16436 rm -f core conftest.err conftest.$ac_objext \
16437 conftest$ac_exeext conftest.$ac_ext
16438 LIBS=$ac_check_lib_save_LIBS
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16441 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16442 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16444 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16446 KSTAT_LIBS="-lkstat"
16452 if test "$ac_cv_header_libprocstat_h" = "yes"
16453 then
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16455 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16456 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 ac_check_lib_save_LIBS=$LIBS
16460 LIBS="-lprocstat $LIBS"
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16464 /* Override any GCC internal prototype to avoid an error.
16465 Use char because int might match the return type of a GCC
16466 builtin and then its argument prototype would still apply. */
16467 #ifdef __cplusplus
16468 extern "C"
16469 #endif
16470 char procstat_open_sysctl ();
16472 main ()
16474 return procstat_open_sysctl ();
16476 return 0;
16478 _ACEOF
16479 if ac_fn_c_try_link "$LINENO"; then :
16480 ac_cv_lib_procstat_procstat_open_sysctl=yes
16481 else
16482 ac_cv_lib_procstat_procstat_open_sysctl=no
16484 rm -f core conftest.err conftest.$ac_objext \
16485 conftest$ac_exeext conftest.$ac_ext
16486 LIBS=$ac_check_lib_save_LIBS
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16489 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16490 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16492 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16494 PROCSTAT_LIBS="-lprocstat"
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16501 $as_echo_n "checking for -lodbc... " >&6; }
16502 if ${ac_cv_lib_soname_odbc+:} false; then :
16503 $as_echo_n "(cached) " >&6
16504 else
16505 ac_check_soname_save_LIBS=$LIBS
16506 LIBS="-lodbc $LIBS"
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16510 /* Override any GCC internal prototype to avoid an error.
16511 Use char because int might match the return type of a GCC
16512 builtin and then its argument prototype would still apply. */
16513 #ifdef __cplusplus
16514 extern "C"
16515 #endif
16516 char SQLConnect ();
16518 main ()
16520 return SQLConnect ();
16522 return 0;
16524 _ACEOF
16525 if ac_fn_c_try_link "$LINENO"; then :
16526 case "$LIBEXT" in
16527 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16528 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'` ;;
16529 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16530 if ${ac_cv_lib_soname_odbc:+false} :; then :
16531 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16532 fi ;;
16533 esac
16534 else
16535 ac_cv_lib_soname_odbc=
16537 rm -f core conftest.err conftest.$ac_objext \
16538 conftest$ac_exeext conftest.$ac_ext
16539 LIBS=$ac_check_soname_save_LIBS
16541 if ${ac_cv_lib_soname_odbc:+false} :; then :
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16543 $as_echo "not found" >&6; }
16544 cat >>confdefs.h <<_ACEOF
16545 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16546 _ACEOF
16548 else
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16550 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16552 cat >>confdefs.h <<_ACEOF
16553 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16554 _ACEOF
16559 if test "x$with_netapi" != "xno"
16560 then
16561 if ${NETAPI_CFLAGS:+false} :; then :
16562 if ${PKG_CONFIG+:} false; then :
16563 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16567 if ${NETAPI_LIBS:+false} :; then :
16568 if ${PKG_CONFIG+:} false; then :
16569 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16574 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16575 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16576 ac_save_CPPFLAGS=$CPPFLAGS
16577 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16579 $as_echo_n "checking for -lnetapi... " >&6; }
16580 if ${ac_cv_lib_soname_netapi+:} false; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 ac_check_soname_save_LIBS=$LIBS
16584 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16588 /* Override any GCC internal prototype to avoid an error.
16589 Use char because int might match the return type of a GCC
16590 builtin and then its argument prototype would still apply. */
16591 #ifdef __cplusplus
16592 extern "C"
16593 #endif
16594 char libnetapi_init ();
16596 main ()
16598 return libnetapi_init ();
16600 return 0;
16602 _ACEOF
16603 if ac_fn_c_try_link "$LINENO"; then :
16604 case "$LIBEXT" in
16605 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16606 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'` ;;
16607 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16608 if ${ac_cv_lib_soname_netapi:+false} :; then :
16609 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16610 fi ;;
16611 esac
16612 else
16613 ac_cv_lib_soname_netapi=
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 LIBS=$ac_check_soname_save_LIBS
16619 if ${ac_cv_lib_soname_netapi:+false} :; then :
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16621 $as_echo "not found" >&6; }
16622 cat >>confdefs.h <<_ACEOF
16623 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16624 _ACEOF
16626 else
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16628 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16630 cat >>confdefs.h <<_ACEOF
16631 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16632 _ACEOF
16636 CPPFLAGS=$ac_save_CPPFLAGS
16637 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16638 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16642 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16643 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16644 then
16645 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16648 if test "x$with_vulkan" != "xno"
16649 then
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16651 $as_echo_n "checking for -lvulkan... " >&6; }
16652 if ${ac_cv_lib_soname_vulkan+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 ac_check_soname_save_LIBS=$LIBS
16656 LIBS="-lvulkan $LIBS"
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16660 /* Override any GCC internal prototype to avoid an error.
16661 Use char because int might match the return type of a GCC
16662 builtin and then its argument prototype would still apply. */
16663 #ifdef __cplusplus
16664 extern "C"
16665 #endif
16666 char vkGetInstanceProcAddr ();
16668 main ()
16670 return vkGetInstanceProcAddr ();
16672 return 0;
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 case "$LIBEXT" in
16677 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16678 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'` ;;
16679 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16680 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16681 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16682 fi ;;
16683 esac
16684 else
16685 ac_cv_lib_soname_vulkan=
16687 rm -f core conftest.err conftest.$ac_objext \
16688 conftest$ac_exeext conftest.$ac_ext
16689 LIBS=$ac_check_soname_save_LIBS
16691 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16693 $as_echo "not found" >&6; }
16695 else
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16697 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16699 cat >>confdefs.h <<_ACEOF
16700 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16701 _ACEOF
16705 if test "x$ac_cv_lib_soname_vulkan" = "x"
16706 then
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16708 $as_echo_n "checking for -lMoltenVK... " >&6; }
16709 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16710 $as_echo_n "(cached) " >&6
16711 else
16712 ac_check_soname_save_LIBS=$LIBS
16713 LIBS="-lMoltenVK $LIBS"
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16720 #ifdef __cplusplus
16721 extern "C"
16722 #endif
16723 char vkGetInstanceProcAddr ();
16725 main ()
16727 return vkGetInstanceProcAddr ();
16729 return 0;
16731 _ACEOF
16732 if ac_fn_c_try_link "$LINENO"; then :
16733 case "$LIBEXT" in
16734 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16735 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'` ;;
16736 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16737 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16738 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16739 fi ;;
16740 esac
16741 else
16742 ac_cv_lib_soname_MoltenVK=
16744 rm -f core conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext conftest.$ac_ext
16746 LIBS=$ac_check_soname_save_LIBS
16748 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16750 $as_echo "not found" >&6; }
16752 else
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16754 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16756 cat >>confdefs.h <<_ACEOF
16757 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16758 _ACEOF
16764 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16765 case "x$with_vulkan" in
16766 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16767 xno) ;;
16768 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16769 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16770 esac
16774 if test "x$with_vkd3d" != "xno"
16775 then
16776 if ${VKD3D_CFLAGS:+false} :; then :
16777 if ${PKG_CONFIG+:} false; then :
16778 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16782 if ${VKD3D_LIBS:+false} :; then :
16783 if ${PKG_CONFIG+:} false; then :
16784 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16789 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16790 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16791 ac_save_CPPFLAGS=$CPPFLAGS
16792 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16794 $as_echo_n "checking for -lvkd3d... " >&6; }
16795 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 ac_check_soname_save_LIBS=$LIBS
16799 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16803 /* Override any GCC internal prototype to avoid an error.
16804 Use char because int might match the return type of a GCC
16805 builtin and then its argument prototype would still apply. */
16806 #ifdef __cplusplus
16807 extern "C"
16808 #endif
16809 char vkd3d_get_dxgi_format ();
16811 main ()
16813 return vkd3d_get_dxgi_format ();
16815 return 0;
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"; then :
16819 case "$LIBEXT" in
16820 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16821 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'` ;;
16822 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16823 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16824 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16825 fi ;;
16826 esac
16827 else
16828 ac_cv_lib_soname_vkd3d=
16830 rm -f core conftest.err conftest.$ac_objext \
16831 conftest$ac_exeext conftest.$ac_ext
16832 LIBS=$ac_check_soname_save_LIBS
16834 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16836 $as_echo "not found" >&6; }
16838 else
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16840 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16842 cat >>confdefs.h <<_ACEOF
16843 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16844 _ACEOF
16848 CPPFLAGS=$ac_save_CPPFLAGS
16849 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16850 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16853 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16854 case "x$with_vkd3d" in
16855 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16856 xno) ;;
16857 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16858 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16859 esac
16862 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16865 EXTRACFLAGS=""
16867 if test "x${GCC}" = "xyes"
16868 then
16869 EXTRACFLAGS="-Wall -pipe"
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16872 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16873 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16874 $as_echo_n "(cached) " >&6
16875 else
16876 ac_wine_try_cflags_saved=$CFLAGS
16877 CFLAGS="$CFLAGS -fcf-protection=none"
16878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16879 /* end confdefs.h. */
16880 int main(int argc, char **argv) { return 0; }
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 ac_cv_cflags__fcf_protection_none=yes
16884 else
16885 ac_cv_cflags__fcf_protection_none=no
16887 rm -f core conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16889 CFLAGS=$ac_wine_try_cflags_saved
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16892 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16893 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16894 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16897 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16898 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 ac_wine_try_cflags_saved=$CFLAGS
16902 CFLAGS="$CFLAGS -fno-stack-protector"
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16905 int main(int argc, char **argv) { return 0; }
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_cflags__fno_stack_protector=yes
16909 else
16910 ac_cv_cflags__fno_stack_protector=no
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 CFLAGS=$ac_wine_try_cflags_saved
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16917 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16918 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16919 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16922 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16923 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_wine_try_cflags_saved=$CFLAGS
16927 CFLAGS="$CFLAGS -fno-strict-aliasing"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 int main(int argc, char **argv) { return 0; }
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_cflags__fno_strict_aliasing=yes
16934 else
16935 ac_cv_cflags__fno_strict_aliasing=no
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 CFLAGS=$ac_wine_try_cflags_saved
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16942 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16943 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16944 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16947 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16948 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_wine_try_cflags_saved=$CFLAGS
16952 CFLAGS="$CFLAGS -fexcess-precision=standard"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 int main(int argc, char **argv) { return 0; }
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 ac_cv_cflags__fexcess_precision_standard=yes
16959 else
16960 ac_cv_cflags__fexcess_precision_standard=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 CFLAGS=$ac_wine_try_cflags_saved
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16967 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16968 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16969 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16972 saved_CFLAGS=$CFLAGS
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16974 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16975 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978 ac_wine_try_cflags_saved=$CFLAGS
16979 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 int main(int argc, char **argv) { return 0; }
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 ac_cv_cflags__Werror_unknown_warning_option=yes
16986 else
16987 ac_cv_cflags__Werror_unknown_warning_option=no
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16991 CFLAGS=$ac_wine_try_cflags_saved
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16994 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16995 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16996 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16999 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17000 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 ac_wine_try_cflags_saved=$CFLAGS
17004 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 int main(int argc, char **argv) { return 0; }
17008 _ACEOF
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 ac_cv_cflags__Werror_unused_command_line_argument=yes
17011 else
17012 ac_cv_cflags__Werror_unused_command_line_argument=no
17014 rm -f core conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17016 CFLAGS=$ac_wine_try_cflags_saved
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17019 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17020 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17021 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17024 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17025 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 ac_wine_try_cflags_saved=$CFLAGS
17029 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 int main(int argc, char **argv) { return 0; }
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"; then :
17035 ac_cv_cflags__Wdeclaration_after_statement=yes
17036 else
17037 ac_cv_cflags__Wdeclaration_after_statement=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17041 CFLAGS=$ac_wine_try_cflags_saved
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17044 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17045 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17046 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17049 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17050 if ${ac_cv_cflags__Wempty_body+:} false; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17053 ac_wine_try_cflags_saved=$CFLAGS
17054 CFLAGS="$CFLAGS -Wempty-body"
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 int main(int argc, char **argv) { return 0; }
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_cflags__Wempty_body=yes
17061 else
17062 ac_cv_cflags__Wempty_body=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 CFLAGS=$ac_wine_try_cflags_saved
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17069 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17070 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17071 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17074 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17075 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17076 $as_echo_n "(cached) " >&6
17077 else
17078 ac_wine_try_cflags_saved=$CFLAGS
17079 CFLAGS="$CFLAGS -Wignored-qualifiers"
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082 int main(int argc, char **argv) { return 0; }
17083 _ACEOF
17084 if ac_fn_c_try_link "$LINENO"; then :
17085 ac_cv_cflags__Wignored_qualifiers=yes
17086 else
17087 ac_cv_cflags__Wignored_qualifiers=no
17089 rm -f core conftest.err conftest.$ac_objext \
17090 conftest$ac_exeext conftest.$ac_ext
17091 CFLAGS=$ac_wine_try_cflags_saved
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17094 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17095 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17096 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17099 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17100 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 ac_wine_try_cflags_saved=$CFLAGS
17104 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 int main(int argc, char **argv) { return 0; }
17108 _ACEOF
17109 if ac_fn_c_try_link "$LINENO"; then :
17110 ac_cv_cflags__Wpacked_not_aligned=yes
17111 else
17112 ac_cv_cflags__Wpacked_not_aligned=no
17114 rm -f core conftest.err conftest.$ac_objext \
17115 conftest$ac_exeext conftest.$ac_ext
17116 CFLAGS=$ac_wine_try_cflags_saved
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17119 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17120 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17121 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17124 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17125 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 ac_wine_try_cflags_saved=$CFLAGS
17129 CFLAGS="$CFLAGS -Wpragma-pack"
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 int main(int argc, char **argv) { return 0; }
17133 _ACEOF
17134 if ac_fn_c_try_link "$LINENO"; then :
17135 ac_cv_cflags__Wpragma_pack=yes
17136 else
17137 ac_cv_cflags__Wpragma_pack=no
17139 rm -f core conftest.err conftest.$ac_objext \
17140 conftest$ac_exeext conftest.$ac_ext
17141 CFLAGS=$ac_wine_try_cflags_saved
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17144 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17145 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17146 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17149 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17150 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17151 $as_echo_n "(cached) " >&6
17152 else
17153 ac_wine_try_cflags_saved=$CFLAGS
17154 CFLAGS="$CFLAGS -Wshift-overflow=2"
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 int main(int argc, char **argv) { return 0; }
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_cflags__Wshift_overflow_2=yes
17161 else
17162 ac_cv_cflags__Wshift_overflow_2=no
17164 rm -f core conftest.err conftest.$ac_objext \
17165 conftest$ac_exeext conftest.$ac_ext
17166 CFLAGS=$ac_wine_try_cflags_saved
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17169 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17170 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17171 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17174 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17175 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 ac_wine_try_cflags_saved=$CFLAGS
17179 CFLAGS="$CFLAGS -Wstrict-prototypes"
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17182 int main(int argc, char **argv) { return 0; }
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 ac_cv_cflags__Wstrict_prototypes=yes
17186 else
17187 ac_cv_cflags__Wstrict_prototypes=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 CFLAGS=$ac_wine_try_cflags_saved
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17194 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17195 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17196 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17199 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17200 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_wine_try_cflags_saved=$CFLAGS
17204 CFLAGS="$CFLAGS -Wtype-limits"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 int main(int argc, char **argv) { return 0; }
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_cflags__Wtype_limits=yes
17211 else
17212 ac_cv_cflags__Wtype_limits=no
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216 CFLAGS=$ac_wine_try_cflags_saved
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17219 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17220 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17221 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17224 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17225 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 ac_wine_try_cflags_saved=$CFLAGS
17229 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 int main(int argc, char **argv) { return 0; }
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_cflags__Wunused_but_set_parameter=yes
17236 else
17237 ac_cv_cflags__Wunused_but_set_parameter=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 CFLAGS=$ac_wine_try_cflags_saved
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17244 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17245 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17246 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17249 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17250 if ${ac_cv_cflags__Wvla+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_wine_try_cflags_saved=$CFLAGS
17254 CFLAGS="$CFLAGS -Wvla"
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 int main(int argc, char **argv) { return 0; }
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"; then :
17260 ac_cv_cflags__Wvla=yes
17261 else
17262 ac_cv_cflags__Wvla=no
17264 rm -f core conftest.err conftest.$ac_objext \
17265 conftest$ac_exeext conftest.$ac_ext
17266 CFLAGS=$ac_wine_try_cflags_saved
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17269 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17270 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17271 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17274 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17275 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17278 ac_wine_try_cflags_saved=$CFLAGS
17279 CFLAGS="$CFLAGS -Wwrite-strings"
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 int main(int argc, char **argv) { return 0; }
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 ac_cv_cflags__Wwrite_strings=yes
17286 else
17287 ac_cv_cflags__Wwrite_strings=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17291 CFLAGS=$ac_wine_try_cflags_saved
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17294 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17295 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17296 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17300 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17301 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304 ac_wine_try_cflags_saved=$CFLAGS
17305 CFLAGS="$CFLAGS -Wpointer-arith"
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 int main(int argc, char **argv) { return 0; }
17309 _ACEOF
17310 if ac_fn_c_try_link "$LINENO"; then :
17311 ac_cv_cflags__Wpointer_arith=yes
17312 else
17313 ac_cv_cflags__Wpointer_arith=no
17315 rm -f core conftest.err conftest.$ac_objext \
17316 conftest$ac_exeext conftest.$ac_ext
17317 CFLAGS=$ac_wine_try_cflags_saved
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17320 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17321 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17322 saved_string_h_CFLAGS=$CFLAGS
17323 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17325 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17326 if ${ac_cv_c_string_h_warnings+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #include <string.h>
17333 main ()
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_compile "$LINENO"; then :
17341 ac_cv_c_string_h_warnings=no
17342 else
17343 ac_cv_c_string_h_warnings=yes
17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17348 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17349 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17350 CFLAGS=$saved_string_h_CFLAGS
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17354 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17355 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 ac_wine_try_cflags_saved=$CFLAGS
17359 CFLAGS="$CFLAGS -Wlogical-op"
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17362 int main(int argc, char **argv) { return 0; }
17363 _ACEOF
17364 if ac_fn_c_try_link "$LINENO"; then :
17365 ac_cv_cflags__Wlogical_op=yes
17366 else
17367 ac_cv_cflags__Wlogical_op=no
17369 rm -f core conftest.err conftest.$ac_objext \
17370 conftest$ac_exeext conftest.$ac_ext
17371 CFLAGS=$ac_wine_try_cflags_saved
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17374 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17375 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17376 saved_string_h_CFLAGS=$CFLAGS
17377 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17379 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17380 if ${ac_cv_c_logicalop_noisy+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <string.h>
17386 char*f(const char *h,char n) {return strchr(h,n);}
17388 main ()
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_compile "$LINENO"; then :
17396 ac_cv_c_logicalop_noisy=no
17397 else
17398 ac_cv_c_logicalop_noisy=yes
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17403 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17404 CFLAGS=$saved_string_h_CFLAGS
17405 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17408 for ac_flag in $CFLAGS; do
17409 case $ac_flag in
17410 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17411 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17412 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 ac_wine_try_cflags_saved=$CFLAGS
17416 CFLAGS="$CFLAGS -gdwarf-2"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 int main(int argc, char **argv) { return 0; }
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 ac_cv_cflags__gdwarf_2=yes
17423 else
17424 ac_cv_cflags__gdwarf_2=no
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17428 CFLAGS=$ac_wine_try_cflags_saved
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17431 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17432 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17433 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17436 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17437 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440 ac_wine_try_cflags_saved=$CFLAGS
17441 CFLAGS="$CFLAGS -gstrict-dwarf"
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17444 int main(int argc, char **argv) { return 0; }
17445 _ACEOF
17446 if ac_fn_c_try_link "$LINENO"; then :
17447 ac_cv_cflags__gstrict_dwarf=yes
17448 else
17449 ac_cv_cflags__gstrict_dwarf=no
17451 rm -f core conftest.err conftest.$ac_objext \
17452 conftest$ac_exeext conftest.$ac_ext
17453 CFLAGS=$ac_wine_try_cflags_saved
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17456 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17457 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17458 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17459 fi ;;
17460 esac
17461 done
17463 MSVCRTFLAGS=""
17465 case $host_os in
17466 mingw32*) ;;
17467 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17468 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17469 if ${ac_cv_cflags__fno_builtin+:} false; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17472 ac_wine_try_cflags_saved=$CFLAGS
17473 CFLAGS="$CFLAGS -fno-builtin"
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 int main(int argc, char **argv) { return 0; }
17477 _ACEOF
17478 if ac_fn_c_try_link "$LINENO"; then :
17479 ac_cv_cflags__fno_builtin=yes
17480 else
17481 ac_cv_cflags__fno_builtin=no
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17485 CFLAGS=$ac_wine_try_cflags_saved
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17488 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17489 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17490 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17493 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17494 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 ac_wine_try_cflags_saved=$CFLAGS
17498 CFLAGS="$CFLAGS -fshort-wchar"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 int main(int argc, char **argv) { return 0; }
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 ac_cv_cflags__fshort_wchar=yes
17505 else
17506 ac_cv_cflags__fshort_wchar=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17510 CFLAGS=$ac_wine_try_cflags_saved
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17513 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17514 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17515 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17516 fi ;;
17517 esac
17519 case $host_cpu in
17520 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17521 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17522 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17523 $as_echo_n "(cached) " >&6
17524 else
17525 ac_wine_try_cflags_saved=$CFLAGS
17526 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 int main(int argc, char **argv) { return 0; }
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 ac_cv_cflags__fno_omit_frame_pointer=yes
17533 else
17534 ac_cv_cflags__fno_omit_frame_pointer=no
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17538 CFLAGS=$ac_wine_try_cflags_saved
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17541 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17542 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17543 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17544 fi ;;
17545 *x86_64*)
17546 case $host_os in
17547 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17548 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17549 if ${ac_cv_cflags__Wno_format+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 ac_wine_try_cflags_saved=$CFLAGS
17553 CFLAGS="$CFLAGS -Wno-format"
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 int main(int argc, char **argv) { return 0; }
17557 _ACEOF
17558 if ac_fn_c_try_link "$LINENO"; then :
17559 ac_cv_cflags__Wno_format=yes
17560 else
17561 ac_cv_cflags__Wno_format=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17565 CFLAGS=$ac_wine_try_cflags_saved
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17568 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17569 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17570 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17571 fi ;;
17572 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17573 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17574 if ${ac_cv_cflags__mabi_ms+:} false; then :
17575 $as_echo_n "(cached) " >&6
17576 else
17577 ac_wine_try_cflags_saved=$CFLAGS
17578 CFLAGS="$CFLAGS -mabi=ms"
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 int main(int argc, char **argv) { return 0; }
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"; then :
17584 ac_cv_cflags__mabi_ms=yes
17585 else
17586 ac_cv_cflags__mabi_ms=no
17588 rm -f core conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17590 CFLAGS=$ac_wine_try_cflags_saved
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17593 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17594 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17595 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17596 fi ;;
17597 esac ;;
17598 esac
17600 CFLAGS=$saved_CFLAGS
17602 if test "x$enable_werror" = "xyes"
17603 then
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17605 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17606 if ${ac_cv_cflags__Werror+:} false; then :
17607 $as_echo_n "(cached) " >&6
17608 else
17609 ac_wine_try_cflags_saved=$CFLAGS
17610 CFLAGS="$CFLAGS -Werror"
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 int main(int argc, char **argv) { return 0; }
17614 _ACEOF
17615 if ac_fn_c_try_link "$LINENO"; then :
17616 ac_cv_cflags__Werror=yes
17617 else
17618 ac_cv_cflags__Werror=no
17620 rm -f core conftest.err conftest.$ac_objext \
17621 conftest$ac_exeext conftest.$ac_ext
17622 CFLAGS=$ac_wine_try_cflags_saved
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17625 $as_echo "$ac_cv_cflags__Werror" >&6; }
17626 if test "x$ac_cv_cflags__Werror" = xyes; then :
17627 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17634 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17635 if ${ac_cv_c_fortify_enabled+:} false; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #include <string.h>
17642 main ()
17644 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17645 #error Fortify enabled
17646 #endif
17648 return 0;
17650 _ACEOF
17651 if ac_fn_c_try_compile "$LINENO"; then :
17652 ac_cv_c_fortify_enabled=no
17653 else
17654 ac_cv_c_fortify_enabled=yes
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17659 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17660 if test "$ac_cv_c_fortify_enabled" = yes
17661 then
17662 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17667 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17668 if ${ac_cv_c_cfi_support+:} false; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17675 main ()
17679 return 0;
17681 _ACEOF
17682 if ac_fn_c_try_compile "$LINENO"; then :
17683 ac_cv_c_cfi_support="yes"
17684 else
17685 ac_cv_c_cfi_support="no"
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17690 $as_echo "$ac_cv_c_cfi_support" >&6; }
17691 if test "$ac_cv_c_cfi_support" = "yes"
17692 then
17693 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17694 else
17695 if test "x$enable_win64" = "xyes"
17696 then
17697 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17702 case $build_os in
17703 cygwin*|mingw32*) TOOLSEXT=".exe"
17705 esac
17707 case $host_os in
17708 linux*)
17709 case $host_cpu in
17710 *i[3456789]86*|x86_64*|*aarch64*)
17711 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17712 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17714 esac
17716 esac
17719 ac_save_CFLAGS="$CFLAGS"
17720 CFLAGS="$CFLAGS $BUILTINFLAG"
17721 for ac_func in \
17722 __res_get_state \
17723 __res_getservers \
17724 _spawnvp \
17725 epoll_create \
17726 ffs \
17727 finitef \
17728 fnmatch \
17729 fork \
17730 fpclass \
17731 fstatfs \
17732 fstatvfs \
17733 futimens \
17734 futimes \
17735 futimesat \
17736 getattrlist \
17737 getauxval \
17738 getifaddrs \
17739 getopt_long_only \
17740 kqueue \
17741 lstat \
17742 mach_continuous_time \
17743 pipe2 \
17744 poll \
17745 port_create \
17746 prctl \
17747 pread \
17748 proc_pidinfo \
17749 pwrite \
17750 readdir \
17751 readlink \
17752 sched_yield \
17753 select \
17754 setproctitle \
17755 setprogname \
17756 settimeofday \
17757 sigprocmask \
17758 statfs \
17759 statvfs \
17760 strnlen \
17761 strtold \
17762 symlink \
17763 sysinfo \
17764 tcdrain \
17765 thr_kill2 \
17766 timegm \
17767 usleep
17769 do :
17770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17773 cat >>confdefs.h <<_ACEOF
17774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17775 _ACEOF
17778 done
17780 CFLAGS="$ac_save_CFLAGS"
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17783 $as_echo_n "checking for library containing dlopen... " >&6; }
17784 if ${ac_cv_search_dlopen+:} false; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787 ac_func_search_save_LIBS=$LIBS
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17791 /* Override any GCC internal prototype to avoid an error.
17792 Use char because int might match the return type of a GCC
17793 builtin and then its argument prototype would still apply. */
17794 #ifdef __cplusplus
17795 extern "C"
17796 #endif
17797 char dlopen ();
17799 main ()
17801 return dlopen ();
17803 return 0;
17805 _ACEOF
17806 for ac_lib in '' dl; do
17807 if test -z "$ac_lib"; then
17808 ac_res="none required"
17809 else
17810 ac_res=-l$ac_lib
17811 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17813 if ac_fn_c_try_link "$LINENO"; then :
17814 ac_cv_search_dlopen=$ac_res
17816 rm -f core conftest.err conftest.$ac_objext \
17817 conftest$ac_exeext
17818 if ${ac_cv_search_dlopen+:} false; then :
17819 break
17821 done
17822 if ${ac_cv_search_dlopen+:} false; then :
17824 else
17825 ac_cv_search_dlopen=no
17827 rm conftest.$ac_ext
17828 LIBS=$ac_func_search_save_LIBS
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17831 $as_echo "$ac_cv_search_dlopen" >&6; }
17832 ac_res=$ac_cv_search_dlopen
17833 if test "$ac_res" != no; then :
17834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17838 ac_wine_check_funcs_save_LIBS="$LIBS"
17839 LIBS="$LIBS $DL_LIBS"
17840 for ac_func in dladdr
17841 do :
17842 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17843 if test "x$ac_cv_func_dladdr" = xyes; then :
17844 cat >>confdefs.h <<_ACEOF
17845 #define HAVE_DLADDR 1
17846 _ACEOF
17849 done
17851 LIBS="$ac_wine_check_funcs_save_LIBS"
17853 if test "$ac_cv_func_poll" = no
17854 then
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17856 $as_echo_n "checking for poll in -lpoll... " >&6; }
17857 if ${ac_cv_lib_poll_poll+:} false; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17860 ac_check_lib_save_LIBS=$LIBS
17861 LIBS="-lpoll $LIBS"
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17865 /* Override any GCC internal prototype to avoid an error.
17866 Use char because int might match the return type of a GCC
17867 builtin and then its argument prototype would still apply. */
17868 #ifdef __cplusplus
17869 extern "C"
17870 #endif
17871 char poll ();
17873 main ()
17875 return poll ();
17877 return 0;
17879 _ACEOF
17880 if ac_fn_c_try_link "$LINENO"; then :
17881 ac_cv_lib_poll_poll=yes
17882 else
17883 ac_cv_lib_poll_poll=no
17885 rm -f core conftest.err conftest.$ac_objext \
17886 conftest$ac_exeext conftest.$ac_ext
17887 LIBS=$ac_check_lib_save_LIBS
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17890 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17891 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17892 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17893 POLL_LIBS="-lpoll"
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17900 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17901 if ${ac_cv_search_gethostbyname+:} false; then :
17902 $as_echo_n "(cached) " >&6
17903 else
17904 ac_func_search_save_LIBS=$LIBS
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17908 /* Override any GCC internal prototype to avoid an error.
17909 Use char because int might match the return type of a GCC
17910 builtin and then its argument prototype would still apply. */
17911 #ifdef __cplusplus
17912 extern "C"
17913 #endif
17914 char gethostbyname ();
17916 main ()
17918 return gethostbyname ();
17920 return 0;
17922 _ACEOF
17923 for ac_lib in '' nsl; do
17924 if test -z "$ac_lib"; then
17925 ac_res="none required"
17926 else
17927 ac_res=-l$ac_lib
17928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17930 if ac_fn_c_try_link "$LINENO"; then :
17931 ac_cv_search_gethostbyname=$ac_res
17933 rm -f core conftest.err conftest.$ac_objext \
17934 conftest$ac_exeext
17935 if ${ac_cv_search_gethostbyname+:} false; then :
17936 break
17938 done
17939 if ${ac_cv_search_gethostbyname+:} false; then :
17941 else
17942 ac_cv_search_gethostbyname=no
17944 rm conftest.$ac_ext
17945 LIBS=$ac_func_search_save_LIBS
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17948 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17949 ac_res=$ac_cv_search_gethostbyname
17950 if test "$ac_res" != no; then :
17951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17957 $as_echo_n "checking for library containing connect... " >&6; }
17958 if ${ac_cv_search_connect+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961 ac_func_search_save_LIBS=$LIBS
17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963 /* end confdefs.h. */
17965 /* Override any GCC internal prototype to avoid an error.
17966 Use char because int might match the return type of a GCC
17967 builtin and then its argument prototype would still apply. */
17968 #ifdef __cplusplus
17969 extern "C"
17970 #endif
17971 char connect ();
17973 main ()
17975 return connect ();
17977 return 0;
17979 _ACEOF
17980 for ac_lib in '' socket; do
17981 if test -z "$ac_lib"; then
17982 ac_res="none required"
17983 else
17984 ac_res=-l$ac_lib
17985 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17987 if ac_fn_c_try_link "$LINENO"; then :
17988 ac_cv_search_connect=$ac_res
17990 rm -f core conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext
17992 if ${ac_cv_search_connect+:} false; then :
17993 break
17995 done
17996 if ${ac_cv_search_connect+:} false; then :
17998 else
17999 ac_cv_search_connect=no
18001 rm conftest.$ac_ext
18002 LIBS=$ac_func_search_save_LIBS
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18005 $as_echo "$ac_cv_search_connect" >&6; }
18006 ac_res=$ac_cv_search_connect
18007 if test "$ac_res" != no; then :
18008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18014 $as_echo_n "checking for library containing inet_aton... " >&6; }
18015 if ${ac_cv_search_inet_aton+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 ac_func_search_save_LIBS=$LIBS
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18022 /* Override any GCC internal prototype to avoid an error.
18023 Use char because int might match the return type of a GCC
18024 builtin and then its argument prototype would still apply. */
18025 #ifdef __cplusplus
18026 extern "C"
18027 #endif
18028 char inet_aton ();
18030 main ()
18032 return inet_aton ();
18034 return 0;
18036 _ACEOF
18037 for ac_lib in '' resolv; do
18038 if test -z "$ac_lib"; then
18039 ac_res="none required"
18040 else
18041 ac_res=-l$ac_lib
18042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18044 if ac_fn_c_try_link "$LINENO"; then :
18045 ac_cv_search_inet_aton=$ac_res
18047 rm -f core conftest.err conftest.$ac_objext \
18048 conftest$ac_exeext
18049 if ${ac_cv_search_inet_aton+:} false; then :
18050 break
18052 done
18053 if ${ac_cv_search_inet_aton+:} false; then :
18055 else
18056 ac_cv_search_inet_aton=no
18058 rm conftest.$ac_ext
18059 LIBS=$ac_func_search_save_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18062 $as_echo "$ac_cv_search_inet_aton" >&6; }
18063 ac_res=$ac_cv_search_inet_aton
18064 if test "$ac_res" != no; then :
18065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18070 for ac_func in \
18071 getaddrinfo \
18072 getnameinfo \
18073 getnetbyname \
18074 getprotobyname \
18075 getprotobynumber \
18076 getservbyport \
18077 inet_addr \
18078 inet_network \
18079 inet_ntop \
18080 inet_pton \
18082 do :
18083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18085 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18086 cat >>confdefs.h <<_ACEOF
18087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18088 _ACEOF
18091 done
18094 case $host_os in
18095 darwin*|macosx*) ;;
18096 *) ac_save_LIBS=$LIBS
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18098 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18099 if ${ac_cv_search_clock_gettime+:} false; then :
18100 $as_echo_n "(cached) " >&6
18101 else
18102 ac_func_search_save_LIBS=$LIBS
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18106 /* Override any GCC internal prototype to avoid an error.
18107 Use char because int might match the return type of a GCC
18108 builtin and then its argument prototype would still apply. */
18109 #ifdef __cplusplus
18110 extern "C"
18111 #endif
18112 char clock_gettime ();
18114 main ()
18116 return clock_gettime ();
18118 return 0;
18120 _ACEOF
18121 for ac_lib in '' rt; do
18122 if test -z "$ac_lib"; then
18123 ac_res="none required"
18124 else
18125 ac_res=-l$ac_lib
18126 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18128 if ac_fn_c_try_link "$LINENO"; then :
18129 ac_cv_search_clock_gettime=$ac_res
18131 rm -f core conftest.err conftest.$ac_objext \
18132 conftest$ac_exeext
18133 if ${ac_cv_search_clock_gettime+:} false; then :
18134 break
18136 done
18137 if ${ac_cv_search_clock_gettime+:} false; then :
18139 else
18140 ac_cv_search_clock_gettime=no
18142 rm conftest.$ac_ext
18143 LIBS=$ac_func_search_save_LIBS
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18146 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18147 ac_res=$ac_cv_search_clock_gettime
18148 if test "$ac_res" != no; then :
18149 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18151 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18153 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18157 LIBS=$ac_save_LIBS
18159 esac
18161 if test "x$with_ldap" != "xno"
18162 then
18163 if ${LDAP_CFLAGS:+false} :; then :
18164 if ${PKG_CONFIG+:} false; then :
18165 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18169 if ${LDAP_LIBS:+false} :; then :
18170 if ${PKG_CONFIG+:} false; then :
18171 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18175 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18176 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18177 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18178 ac_save_CPPFLAGS=$CPPFLAGS
18179 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18180 for ac_header in ldap.h lber.h
18181 do :
18182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18183 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18184 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18185 cat >>confdefs.h <<_ACEOF
18186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18187 _ACEOF
18191 done
18193 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18194 then
18195 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18197 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18199 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18200 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 ac_check_lib_save_LIBS=$LIBS
18204 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18208 /* Override any GCC internal prototype to avoid an error.
18209 Use char because int might match the return type of a GCC
18210 builtin and then its argument prototype would still apply. */
18211 #ifdef __cplusplus
18212 extern "C"
18213 #endif
18214 char ldap_initialize ();
18216 main ()
18218 return ldap_initialize ();
18220 return 0;
18222 _ACEOF
18223 if ac_fn_c_try_link "$LINENO"; then :
18224 ac_cv_lib_ldap_r_ldap_initialize=yes
18225 else
18226 ac_cv_lib_ldap_r_ldap_initialize=no
18228 rm -f core conftest.err conftest.$ac_objext \
18229 conftest$ac_exeext conftest.$ac_ext
18230 LIBS=$ac_check_lib_save_LIBS
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18233 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18234 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18236 $as_echo_n "checking for ber_init in -llber... " >&6; }
18237 if ${ac_cv_lib_lber_ber_init+:} false; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240 ac_check_lib_save_LIBS=$LIBS
18241 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char ber_init ();
18253 main ()
18255 return ber_init ();
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"; then :
18261 ac_cv_lib_lber_ber_init=yes
18262 else
18263 ac_cv_lib_lber_ber_init=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18267 LIBS=$ac_check_lib_save_LIBS
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18270 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18271 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18273 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18275 else
18276 LDAP_LIBS=""
18279 else
18280 LDAP_LIBS=""
18283 else
18284 LDAP_LIBS=""
18287 ac_wine_check_funcs_save_LIBS="$LIBS"
18288 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18289 for ac_func in \
18290 ldap_count_references \
18291 ldap_first_reference \
18292 ldap_next_reference \
18293 ldap_parse_reference \
18294 ldap_parse_sort_control \
18295 ldap_parse_sortresponse_control \
18296 ldap_parse_vlv_control \
18297 ldap_parse_vlvresponse_control
18298 do :
18299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18301 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18302 cat >>confdefs.h <<_ACEOF
18303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18304 _ACEOF
18307 done
18309 LIBS="$ac_wine_check_funcs_save_LIBS"
18310 else
18311 LDAP_LIBS=""
18313 CPPFLAGS=$ac_save_CPPFLAGS
18314 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18315 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18318 if test "x$LDAP_LIBS" = "x"; then :
18319 case "x$with_ldap" in
18320 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18321 xno) ;;
18322 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18323 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18324 esac
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18329 $as_echo_n "checking for sched_setaffinity... " >&6; }
18330 if ${wine_cv_have_sched_setaffinity+:} false; then :
18331 $as_echo_n "(cached) " >&6
18332 else
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18335 #define _GNU_SOURCE
18336 #include <sched.h>
18338 main ()
18340 sched_setaffinity(0, 0, 0);
18342 return 0;
18344 _ACEOF
18345 if ac_fn_c_try_link "$LINENO"; then :
18346 wine_cv_have_sched_setaffinity=yes
18347 else
18348 wine_cv_have_sched_setaffinity=no
18350 rm -f core conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18354 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18355 if test "$wine_cv_have_sched_setaffinity" = "yes"
18356 then
18358 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18363 $as_echo_n "checking for fallocate... " >&6; }
18364 if ${wine_cv_have_fallocate+:} false; then :
18365 $as_echo_n "(cached) " >&6
18366 else
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18369 #define _GNU_SOURCE
18370 #include <fcntl.h>
18372 main ()
18374 fallocate(-1, 0, 0, 0);
18376 return 0;
18378 _ACEOF
18379 if ac_fn_c_try_link "$LINENO"; then :
18380 wine_cv_have_fallocate=yes
18381 else
18382 wine_cv_have_fallocate=no
18384 rm -f core conftest.err conftest.$ac_objext \
18385 conftest$ac_exeext conftest.$ac_ext
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18388 $as_echo "$wine_cv_have_fallocate" >&6; }
18389 if test "$wine_cv_have_fallocate" = "yes"
18390 then
18392 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18398 $as_echo_n "checking for inline... " >&6; }
18399 if ${ac_cv_c_inline+:} false; then :
18400 $as_echo_n "(cached) " >&6
18401 else
18402 ac_cv_c_inline=no
18403 for ac_kw in inline __inline__ __inline; do
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #ifndef __cplusplus
18407 typedef int foo_t;
18408 static $ac_kw foo_t static_foo () {return 0; }
18409 $ac_kw foo_t foo () {return 0; }
18410 #endif
18412 _ACEOF
18413 if ac_fn_c_try_compile "$LINENO"; then :
18414 ac_cv_c_inline=$ac_kw
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417 test "$ac_cv_c_inline" != no && break
18418 done
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18422 $as_echo "$ac_cv_c_inline" >&6; }
18424 case $ac_cv_c_inline in
18425 inline | yes) ;;
18427 case $ac_cv_c_inline in
18428 no) ac_val=;;
18429 *) ac_val=$ac_cv_c_inline;;
18430 esac
18431 cat >>confdefs.h <<_ACEOF
18432 #ifndef __cplusplus
18433 #define inline $ac_val
18434 #endif
18435 _ACEOF
18437 esac
18439 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18440 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18442 cat >>confdefs.h <<_ACEOF
18443 #define HAVE_FSBLKCNT_T 1
18444 _ACEOF
18448 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18449 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18451 cat >>confdefs.h <<_ACEOF
18452 #define HAVE_FSFILCNT_T 1
18453 _ACEOF
18458 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18459 #include <signal.h>
18461 if test "x$ac_cv_type_sigset_t" = xyes; then :
18463 cat >>confdefs.h <<_ACEOF
18464 #define HAVE_SIGSET_T 1
18465 _ACEOF
18470 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18472 if test "x$ac_cv_type_request_sense" = xyes; then :
18474 cat >>confdefs.h <<_ACEOF
18475 #define HAVE_REQUEST_SENSE 1
18476 _ACEOF
18482 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18483 #ifdef HAVE_SYS_SOCKET_H
18484 #include <sys/socket.h>
18485 #endif
18486 #ifdef HAVE_SYS_SOCKETVAR_H
18487 #include <sys/socketvar.h>
18488 #endif
18489 #ifdef HAVE_NET_ROUTE_H
18490 #include <net/route.h>
18491 #endif
18492 #ifdef HAVE_NETINET_IN_H
18493 #include <netinet/in.h>
18494 #endif
18495 #ifdef HAVE_NETINET_IN_SYSTM_H
18496 #include <netinet/in_systm.h>
18497 #endif
18498 #ifdef HAVE_NETINET_IP_H
18499 #include <netinet/ip.h>
18500 #endif
18501 #ifdef HAVE_NETINET_IN_PCB_H
18502 #include <netinet/in_pcb.h>
18503 #endif
18505 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18507 cat >>confdefs.h <<_ACEOF
18508 #define HAVE_STRUCT_XINPGEN 1
18509 _ACEOF
18515 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18516 #include <linux/input.h>
18517 #endif
18519 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18521 cat >>confdefs.h <<_ACEOF
18522 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18523 _ACEOF
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18530 $as_echo_n "checking for if_nameindex... " >&6; }
18531 if ${wine_cv_have_if_nameindex+:} false; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 #ifdef HAVE_SYS_TYPES_H
18537 #include <sys/types.h>
18538 #endif
18539 #ifdef HAVE_SYS_SOCKET_H
18540 #include <sys/socket.h>
18541 #endif
18542 #ifdef HAVE_NET_IF_H
18543 # include <net/if.h>
18544 #endif
18546 main ()
18548 struct if_nameindex *p = if_nameindex(); return p->if_index;
18550 return 0;
18552 _ACEOF
18553 if ac_fn_c_try_link "$LINENO"; then :
18554 wine_cv_have_if_nameindex=yes
18555 else
18556 wine_cv_have_if_nameindex=no
18558 rm -f core conftest.err conftest.$ac_objext \
18559 conftest$ac_exeext conftest.$ac_ext
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18562 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18563 if test "$wine_cv_have_if_nameindex" = "yes"
18564 then
18566 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18571 $as_echo_n "checking for sigaddset... " >&6; }
18572 if ${wine_cv_have_sigaddset+:} false; then :
18573 $as_echo_n "(cached) " >&6
18574 else
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 #include <signal.h>
18579 main ()
18581 sigset_t set; sigaddset(&set,SIGTERM);
18583 return 0;
18585 _ACEOF
18586 if ac_fn_c_try_link "$LINENO"; then :
18587 wine_cv_have_sigaddset=yes
18588 else
18589 wine_cv_have_sigaddset=no
18591 rm -f core conftest.err conftest.$ac_objext \
18592 conftest$ac_exeext conftest.$ac_ext
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18595 $as_echo "$wine_cv_have_sigaddset" >&6; }
18596 if test "$wine_cv_have_sigaddset" = "yes"
18597 then
18599 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18605 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18606 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18607 $as_echo_n "(cached) " >&6
18608 else
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #include <netdb.h>
18613 main ()
18616 char *name=0;
18617 struct hostent he;
18618 struct hostent *result;
18619 char *buf=0;
18620 int bufsize=0;
18621 int errnr;
18622 char *addr=0;
18623 int addrlen=0;
18624 int addrtype=0;
18625 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18626 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18629 return 0;
18631 _ACEOF
18632 if ac_fn_c_try_link "$LINENO"; then :
18633 wine_cv_linux_gethostbyname_r_6=yes
18634 else
18635 wine_cv_linux_gethostbyname_r_6=no
18638 rm -f core conftest.err conftest.$ac_objext \
18639 conftest$ac_exeext conftest.$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18643 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18644 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18645 then
18647 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18651 if test "$ac_cv_header_linux_joystick_h" = "yes"
18652 then
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18654 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18655 if ${wine_cv_linux_joystick_22_api+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18661 #include <sys/ioctl.h>
18662 #include <sys/types.h>
18663 #include <linux/joystick.h>
18665 struct js_event blub;
18666 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18667 #error "no 2.2 header"
18668 #endif
18671 main ()
18673 /*empty*/
18675 return 0;
18677 _ACEOF
18678 if ac_fn_c_try_compile "$LINENO"; then :
18679 wine_cv_linux_joystick_22_api=yes
18680 else
18681 wine_cv_linux_joystick_22_api=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18687 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18688 if test "$wine_cv_linux_joystick_22_api" = "yes"
18689 then
18691 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18697 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18698 #ifdef HAVE_SYS_PARAM_H
18699 # include <sys/param.h>
18700 #endif
18701 #ifdef HAVE_SYS_MOUNT_H
18702 # include <sys/mount.h>
18703 #endif
18704 #ifdef HAVE_SYS_VFS_H
18705 # include <sys/vfs.h>
18706 #endif
18707 #ifdef HAVE_SYS_STATFS_H
18708 # include <sys/statfs.h>
18709 #endif
18711 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18713 cat >>confdefs.h <<_ACEOF
18714 #define HAVE_STRUCT_STATFS_F_BFREE 1
18715 _ACEOF
18719 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18720 #ifdef HAVE_SYS_PARAM_H
18721 # include <sys/param.h>
18722 #endif
18723 #ifdef HAVE_SYS_MOUNT_H
18724 # include <sys/mount.h>
18725 #endif
18726 #ifdef HAVE_SYS_VFS_H
18727 # include <sys/vfs.h>
18728 #endif
18729 #ifdef HAVE_SYS_STATFS_H
18730 # include <sys/statfs.h>
18731 #endif
18733 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18735 cat >>confdefs.h <<_ACEOF
18736 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18737 _ACEOF
18741 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18742 #ifdef HAVE_SYS_PARAM_H
18743 # include <sys/param.h>
18744 #endif
18745 #ifdef HAVE_SYS_MOUNT_H
18746 # include <sys/mount.h>
18747 #endif
18748 #ifdef HAVE_SYS_VFS_H
18749 # include <sys/vfs.h>
18750 #endif
18751 #ifdef HAVE_SYS_STATFS_H
18752 # include <sys/statfs.h>
18753 #endif
18755 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18757 cat >>confdefs.h <<_ACEOF
18758 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18759 _ACEOF
18763 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18764 #ifdef HAVE_SYS_PARAM_H
18765 # include <sys/param.h>
18766 #endif
18767 #ifdef HAVE_SYS_MOUNT_H
18768 # include <sys/mount.h>
18769 #endif
18770 #ifdef HAVE_SYS_VFS_H
18771 # include <sys/vfs.h>
18772 #endif
18773 #ifdef HAVE_SYS_STATFS_H
18774 # include <sys/statfs.h>
18775 #endif
18777 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_STRUCT_STATFS_F_FFREE 1
18781 _ACEOF
18785 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18786 #ifdef HAVE_SYS_PARAM_H
18787 # include <sys/param.h>
18788 #endif
18789 #ifdef HAVE_SYS_MOUNT_H
18790 # include <sys/mount.h>
18791 #endif
18792 #ifdef HAVE_SYS_VFS_H
18793 # include <sys/vfs.h>
18794 #endif
18795 #ifdef HAVE_SYS_STATFS_H
18796 # include <sys/statfs.h>
18797 #endif
18799 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18803 _ACEOF
18807 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18808 #ifdef HAVE_SYS_PARAM_H
18809 # include <sys/param.h>
18810 #endif
18811 #ifdef HAVE_SYS_MOUNT_H
18812 # include <sys/mount.h>
18813 #endif
18814 #ifdef HAVE_SYS_VFS_H
18815 # include <sys/vfs.h>
18816 #endif
18817 #ifdef HAVE_SYS_STATFS_H
18818 # include <sys/statfs.h>
18819 #endif
18821 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18825 _ACEOF
18831 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18832 #include <sys/statvfs.h>
18833 #endif
18835 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18837 cat >>confdefs.h <<_ACEOF
18838 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18839 _ACEOF
18845 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18846 #include <dirent.h>
18847 #endif
18849 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18851 cat >>confdefs.h <<_ACEOF
18852 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18853 _ACEOF
18859 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18860 #ifdef HAVE_SYS_SOCKET_H
18861 # include <sys/socket.h>
18862 #endif
18863 #ifdef HAVE_SYS_UN_H
18864 # include <sys/un.h>
18865 #endif
18867 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18871 _ACEOF
18875 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18876 #ifdef HAVE_SYS_SOCKET_H
18877 # include <sys/socket.h>
18878 #endif
18879 #ifdef HAVE_SYS_UN_H
18880 # include <sys/un.h>
18881 #endif
18883 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18885 cat >>confdefs.h <<_ACEOF
18886 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18887 _ACEOF
18891 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18892 #ifdef HAVE_SYS_SOCKET_H
18893 # include <sys/socket.h>
18894 #endif
18895 #ifdef HAVE_SYS_UN_H
18896 # include <sys/un.h>
18897 #endif
18899 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18901 cat >>confdefs.h <<_ACEOF
18902 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18903 _ACEOF
18909 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18910 #ifdef HAVE_SCSI_SG_H
18911 #include <scsi/sg.h>
18912 #endif
18914 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_SCSIREQ_T_CMD 1
18918 _ACEOF
18922 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>
18923 #ifdef HAVE_SCSI_SG_H
18924 #include <scsi/sg.h>
18925 #endif
18927 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18931 _ACEOF
18937 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18939 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18941 cat >>confdefs.h <<_ACEOF
18942 #define HAVE_SIGINFO_T_SI_FD 1
18943 _ACEOF
18949 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18950 #ifdef HAVE_SYS_MTIO_H
18951 #include <sys/mtio.h>
18952 #endif
18954 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18958 _ACEOF
18962 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18963 #ifdef HAVE_SYS_MTIO_H
18964 #include <sys/mtio.h>
18965 #endif
18967 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18971 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18976 #ifdef HAVE_SYS_MTIO_H
18977 #include <sys/mtio.h>
18978 #endif
18980 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18984 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18991 #include <getopt.h>
18992 #endif
18994 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_OPTION_NAME 1
18998 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19005 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19009 _ACEOF
19013 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19014 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_STAT_ST_MTIM 1
19018 _ACEOF
19022 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19023 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19027 _ACEOF
19031 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19032 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19034 cat >>confdefs.h <<_ACEOF
19035 #define HAVE_STRUCT_STAT_ST_CTIM 1
19036 _ACEOF
19040 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19041 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19045 _ACEOF
19049 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19050 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_STAT_ST_ATIM 1
19054 _ACEOF
19058 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19059 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19061 cat >>confdefs.h <<_ACEOF
19062 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19063 _ACEOF
19067 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19068 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19077 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19081 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19086 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19090 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19095 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19099 _ACEOF
19103 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19104 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19108 _ACEOF
19114 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
19115 #include <sys/types.h>
19116 #endif
19117 #ifdef HAVE_NETINET_IN_H
19118 #include <netinet/in.h>
19119 #endif
19121 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19125 _ACEOF
19131 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19132 #include <sys/types.h>
19133 #endif
19134 #ifdef HAVE_NETINET_IN_H
19135 #include <netinet/in.h>
19136 #endif
19137 #ifdef HAVE_RESOLV_H
19138 #include <resolv.h>
19139 #endif
19141 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT___RES_STATE 1
19145 _ACEOF
19151 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
19152 #include <resolv.h>
19153 #endif
19155 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19159 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19166 #include <sys/types.h>
19167 #endif
19168 #ifdef HAVE_NETINET_IN_H
19169 # include <netinet/in.h>
19170 #endif
19171 #ifdef HAVE_ARPA_NAMESER_H
19172 # include <arpa/nameser.h>
19173 #endif
19175 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_NS_MSG__MSG_PTR 1
19179 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#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_NETINET_IP_H
19192 #include <netinet/ip.h>
19193 #endif
19194 #ifdef HAVE_NETINET_IP_ICMP_H
19195 #include <netinet/ip_icmp.h>
19196 #endif
19197 #ifdef HAVE_NETINET_ICMP_VAR_H
19198 #include <netinet/icmp_var.h>
19199 #endif
19201 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19205 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19212 #include <sys/types.h>
19213 #endif
19214 #ifdef HAVE_ALIAS_H
19215 #include <alias.h>
19216 #endif
19217 #ifdef HAVE_SYS_SOCKET_H
19218 #include <sys/socket.h>
19219 #endif
19220 #ifdef HAVE_SYS_SOCKETVAR_H
19221 #include <sys/socketvar.h>
19222 #endif
19223 #ifdef HAVE_SYS_TIMEOUT_H
19224 #include <sys/timeout.h>
19225 #endif
19226 #ifdef HAVE_NETINET_IN_H
19227 #include <netinet/in.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IN_SYSTM_H
19230 #include <netinet/in_systm.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IP_H
19233 #include <netinet/ip.h>
19234 #endif
19235 #ifdef HAVE_NETINET_IP_VAR_H
19236 #include <netinet/ip_var.h>
19237 #endif
19238 #ifdef HAVE_NETINET_IP_ICMP_H
19239 #include <netinet/ip_icmp.h>
19240 #endif
19241 #ifdef HAVE_NETINET_ICMP_VAR_H
19242 #include <netinet/icmp_var.h>
19243 #endif
19245 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19249 _ACEOF
19255 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19256 #include <sys/types.h>
19257 #endif
19258 #ifdef HAVE_SYS_SOCKETVAR_H
19259 #include <sys/socketvar.h>
19260 #endif
19261 #ifdef HAVE_NETINET_IN_H
19262 #include <netinet/in.h>
19263 #endif
19264 #ifdef HAVE_NETINET_IP_VAR_H
19265 #include <netinet/ip_var.h>
19266 #endif
19268 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19272 _ACEOF
19278 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
19279 #include <netinet/ip_var.h>
19280 #endif
19282 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19284 cat >>confdefs.h <<_ACEOF
19285 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19286 _ACEOF
19292 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19293 #include <sys/types.h>
19294 #endif
19295 #ifdef HAVE_SYS_SOCKETVAR_H
19296 #include <sys/socketvar.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IN_H
19299 #include <netinet/in.h>
19300 #endif
19301 #ifdef HAVE_NETINET_TCP_H
19302 #include <netinet/tcp.h>
19303 #endif
19304 #ifdef HAVE_NETINET_TCP_VAR_H
19305 #include <netinet/tcp_var.h>
19306 #endif
19308 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19310 cat >>confdefs.h <<_ACEOF
19311 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19312 _ACEOF
19318 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
19319 #include <netinet/tcp_var.h>
19320 #endif
19322 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19324 cat >>confdefs.h <<_ACEOF
19325 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19326 _ACEOF
19332 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19333 #include <sys/types.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IN_H
19336 #include <netinet/in.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IP_VAR_H
19339 #include <netinet/ip_var.h>
19340 #endif
19341 #ifdef HAVE_NETINET_UDP_H
19342 #include <netinet/udp.h>
19343 #endif
19344 #ifdef HAVE_NETINET_UDP_VAR_H
19345 #include <netinet/udp_var.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19352 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19359 #include <sys/types.h>
19360 #endif
19361 #ifdef HAVE_NET_IF_H
19362 # include <net/if.h>
19363 #endif
19365 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19369 _ACEOF
19375 ac_save_LIBS="$LIBS"
19376 LIBS="$LIBS -lm"
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19378 $as_echo_n "checking for isfinite... " >&6; }
19379 if ${ac_cv_have_isfinite+:} false; then :
19380 $as_echo_n "(cached) " >&6
19381 else
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 #define _GNU_SOURCE
19385 #include <math.h>
19387 main ()
19389 float f = 0.0; return isfinite(f)
19391 return 0;
19393 _ACEOF
19394 if ac_fn_c_try_link "$LINENO"; then :
19395 ac_cv_have_isfinite="yes"
19396 else
19397 ac_cv_have_isfinite="no"
19399 rm -f core conftest.err conftest.$ac_objext \
19400 conftest$ac_exeext conftest.$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19403 $as_echo "$ac_cv_have_isfinite" >&6; }
19404 if test "$ac_cv_have_isfinite" = "yes"
19405 then
19407 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19412 $as_echo_n "checking for isinf... " >&6; }
19413 if ${ac_cv_have_isinf+:} false; then :
19414 $as_echo_n "(cached) " >&6
19415 else
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19418 #include <math.h>
19420 main ()
19422 float f = 0.0; return isinf(f)
19424 return 0;
19426 _ACEOF
19427 if ac_fn_c_try_link "$LINENO"; then :
19428 ac_cv_have_isinf="yes"
19429 else
19430 ac_cv_have_isinf="no"
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext conftest.$ac_ext
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19436 $as_echo "$ac_cv_have_isinf" >&6; }
19437 if test "$ac_cv_have_isinf" = "yes"
19438 then
19440 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19445 $as_echo_n "checking for isnan... " >&6; }
19446 if ${ac_cv_have_isnan+:} false; then :
19447 $as_echo_n "(cached) " >&6
19448 else
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451 #include <math.h>
19453 main ()
19455 float f = 0.0; return isnan(f)
19457 return 0;
19459 _ACEOF
19460 if ac_fn_c_try_link "$LINENO"; then :
19461 ac_cv_have_isnan="yes"
19462 else
19463 ac_cv_have_isnan="no"
19465 rm -f core conftest.err conftest.$ac_objext \
19466 conftest$ac_exeext conftest.$ac_ext
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19469 $as_echo "$ac_cv_have_isnan" >&6; }
19470 if test "$ac_cv_have_isnan" = "yes"
19471 then
19473 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19477 for ac_func in \
19478 acosh \
19479 acoshf \
19480 asinh \
19481 asinhf \
19482 atanh \
19483 atanhf \
19484 cbrt \
19485 cbrtf \
19486 erf \
19487 erfc \
19488 erfcf \
19489 erff \
19490 exp2 \
19491 exp2f \
19492 expm1 \
19493 expm1f \
19494 fma \
19495 fmaf \
19496 ilogb \
19497 ilogbf \
19498 j0 \
19499 j1 \
19500 jn \
19501 lgamma \
19502 lgammaf \
19503 llrint \
19504 llrintf \
19505 llround \
19506 llroundf \
19507 log1p \
19508 log1pf \
19509 log2 \
19510 log2f \
19511 lrint \
19512 lrintf \
19513 lround \
19514 lroundf \
19515 nearbyint \
19516 nearbyintf \
19517 nexttoward \
19518 nexttowardf \
19519 remainder \
19520 remainderf \
19521 remquo \
19522 remquof \
19523 rint \
19524 rintf \
19525 round \
19526 roundf \
19527 tgamma \
19528 tgammaf \
19529 trunc \
19530 truncf \
19531 y0 \
19532 y1 \
19535 do :
19536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19538 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19539 cat >>confdefs.h <<_ACEOF
19540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19541 _ACEOF
19544 done
19546 LIBS="$ac_save_LIBS"
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19549 $as_echo_n "checking for __builtin_popcount... " >&6; }
19550 if ${ac_cv_have___builtin_popcount+:} false; then :
19551 $as_echo_n "(cached) " >&6
19552 else
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19557 main ()
19559 return __builtin_popcount(1)
19561 return 0;
19563 _ACEOF
19564 if ac_fn_c_try_link "$LINENO"; then :
19565 ac_cv_have___builtin_popcount="yes"
19566 else
19567 ac_cv_have___builtin_popcount="no"
19569 rm -f core conftest.err conftest.$ac_objext \
19570 conftest$ac_exeext conftest.$ac_ext
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19573 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19574 if test "$ac_cv_have___builtin_popcount" = "yes"
19575 then
19577 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19582 $as_echo_n "checking for __clear_cache... " >&6; }
19583 if ${ac_cv_have___clear_cache+:} false; then :
19584 $as_echo_n "(cached) " >&6
19585 else
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19590 main ()
19592 __clear_cache((void*)0, (void*)0); return 0;
19594 return 0;
19596 _ACEOF
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 ac_cv_have___clear_cache="yes"
19599 else
19600 ac_cv_have___clear_cache="no"
19602 rm -f core conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19606 $as_echo "$ac_cv_have___clear_cache" >&6; }
19607 if test "$ac_cv_have___clear_cache" = "yes"
19608 then
19610 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19615 case $host_cpu in
19616 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19617 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19618 if ${ac_cv_cpp_def___i386__+:} false; then :
19619 $as_echo_n "(cached) " >&6
19620 else
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623 #ifndef __i386__
19625 #endif
19626 _ACEOF
19627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19628 $EGREP "yes" >/dev/null 2>&1; then :
19629 ac_cv_cpp_def___i386__=yes
19630 else
19631 ac_cv_cpp_def___i386__=no
19633 rm -f conftest*
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19637 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19638 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19639 CFLAGS="$CFLAGS -D__i386__"
19640 LINTFLAGS="$LINTFLAGS -D__i386__"
19641 fi ;;
19642 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19643 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19644 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19645 $as_echo_n "(cached) " >&6
19646 else
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #ifndef __x86_64__
19651 #endif
19652 _ACEOF
19653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19654 $EGREP "yes" >/dev/null 2>&1; then :
19655 ac_cv_cpp_def___x86_64__=yes
19656 else
19657 ac_cv_cpp_def___x86_64__=no
19659 rm -f conftest*
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19663 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19664 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19665 CFLAGS="$CFLAGS -D__x86_64__"
19666 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19667 fi ;;
19668 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19669 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19670 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19675 #ifndef __sparc64__
19677 #endif
19678 _ACEOF
19679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19680 $EGREP "yes" >/dev/null 2>&1; then :
19681 ac_cv_cpp_def___sparc64__=yes
19682 else
19683 ac_cv_cpp_def___sparc64__=no
19685 rm -f conftest*
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19689 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19690 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19691 CFLAGS="$CFLAGS -D__sparc64__"
19692 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19693 fi ;;
19694 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19695 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19696 if ${ac_cv_cpp_def___sparc__+:} false; then :
19697 $as_echo_n "(cached) " >&6
19698 else
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701 #ifndef __sparc__
19703 #endif
19704 _ACEOF
19705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19706 $EGREP "yes" >/dev/null 2>&1; then :
19707 ac_cv_cpp_def___sparc__=yes
19708 else
19709 ac_cv_cpp_def___sparc__=no
19711 rm -f conftest*
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19715 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19716 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19717 CFLAGS="$CFLAGS -D__sparc__"
19718 LINTFLAGS="$LINTFLAGS -D__sparc__"
19719 fi ;;
19720 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19721 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19722 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19723 $as_echo_n "(cached) " >&6
19724 else
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19727 #ifndef __powerpc64__
19729 #endif
19730 _ACEOF
19731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19732 $EGREP "yes" >/dev/null 2>&1; then :
19733 ac_cv_cpp_def___powerpc64__=yes
19734 else
19735 ac_cv_cpp_def___powerpc64__=no
19737 rm -f conftest*
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19741 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19742 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19743 CFLAGS="$CFLAGS -D__powerpc64__"
19744 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19745 fi ;;
19746 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19747 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19748 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19749 $as_echo_n "(cached) " >&6
19750 else
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19753 #ifndef __powerpc__
19755 #endif
19756 _ACEOF
19757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19758 $EGREP "yes" >/dev/null 2>&1; then :
19759 ac_cv_cpp_def___powerpc__=yes
19760 else
19761 ac_cv_cpp_def___powerpc__=no
19763 rm -f conftest*
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19767 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19768 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19769 CFLAGS="$CFLAGS -D__powerpc__"
19770 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19771 fi ;;
19772 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19773 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19774 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19775 $as_echo_n "(cached) " >&6
19776 else
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #ifndef __aarch64__
19781 #endif
19782 _ACEOF
19783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19784 $EGREP "yes" >/dev/null 2>&1; then :
19785 ac_cv_cpp_def___aarch64__=yes
19786 else
19787 ac_cv_cpp_def___aarch64__=no
19789 rm -f conftest*
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19793 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19794 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19795 CFLAGS="$CFLAGS -D__aarch64__"
19796 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19797 fi ;;
19798 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19799 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19800 if ${ac_cv_cpp_def___arm__+:} false; then :
19801 $as_echo_n "(cached) " >&6
19802 else
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19805 #ifndef __arm__
19807 #endif
19808 _ACEOF
19809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19810 $EGREP "yes" >/dev/null 2>&1; then :
19811 ac_cv_cpp_def___arm__=yes
19812 else
19813 ac_cv_cpp_def___arm__=no
19815 rm -f conftest*
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19819 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19820 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19821 CFLAGS="$CFLAGS -D__arm__"
19822 LINTFLAGS="$LINTFLAGS -D__arm__"
19823 fi ;;
19824 esac
19826 case $host_vendor in
19827 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19828 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19829 if ${ac_cv_cpp_def___sun__+:} false; then :
19830 $as_echo_n "(cached) " >&6
19831 else
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19834 #ifndef __sun__
19836 #endif
19837 _ACEOF
19838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19839 $EGREP "yes" >/dev/null 2>&1; then :
19840 ac_cv_cpp_def___sun__=yes
19841 else
19842 ac_cv_cpp_def___sun__=no
19844 rm -f conftest*
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19848 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19849 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19850 CFLAGS="$CFLAGS -D__sun__"
19851 LINTFLAGS="$LINTFLAGS -D__sun__"
19852 fi ;;
19853 esac
19859 ac_config_commands="$ac_config_commands include/stamp-h"
19861 $as_echo_n "creating Makefile rules..." >&6
19863 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19864 OPENGL_LIBS = $OPENGL_LIBS
19865 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19866 IOKIT_LIBS = $IOKIT_LIBS
19867 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19868 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19869 CORESERVICES_LIBS = $CORESERVICES_LIBS
19870 APPKIT_LIBS = $APPKIT_LIBS
19871 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19872 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19873 SECURITY_LIBS = $SECURITY_LIBS
19874 COREAUDIO_LIBS = $COREAUDIO_LIBS
19875 OPENAL_LIBS = $OPENAL_LIBS
19876 OPENCL_LIBS = $OPENCL_LIBS
19877 QUICKTIME_LIBS = $QUICKTIME_LIBS
19878 CARBON_LIBS = $CARBON_LIBS
19879 METAL_LIBS = $METAL_LIBS
19880 PTHREAD_LIBS = $PTHREAD_LIBS
19881 X_CFLAGS = $X_CFLAGS
19882 X_PRE_LIBS = $X_PRE_LIBS
19883 X_LIBS = $X_LIBS
19884 X_EXTRA_LIBS = $X_EXTRA_LIBS
19885 PCAP_LIBS = $PCAP_LIBS
19886 XML2_CFLAGS = $XML2_CFLAGS
19887 XML2_LIBS = $XML2_LIBS
19888 XSLT_CFLAGS = $XSLT_CFLAGS
19889 XSLT_LIBS = $XSLT_LIBS
19890 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19891 INOTIFY_LIBS = $INOTIFY_LIBS
19892 DBUS_CFLAGS = $DBUS_CFLAGS
19893 DBUS_LIBS = $DBUS_LIBS
19894 HAL_CFLAGS = $HAL_CFLAGS
19895 HAL_LIBS = $HAL_LIBS
19896 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19897 GNUTLS_LIBS = $GNUTLS_LIBS
19898 SANE_CFLAGS = $SANE_CFLAGS
19899 SANE_LIBS = $SANE_LIBS
19900 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19901 GPHOTO2_LIBS = $GPHOTO2_LIBS
19902 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19903 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19904 RESOLV_LIBS = $RESOLV_LIBS
19905 LCMS2_CFLAGS = $LCMS2_CFLAGS
19906 LCMS2_LIBS = $LCMS2_LIBS
19907 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19908 FREETYPE_LIBS = $FREETYPE_LIBS
19909 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19910 PULSE_CFLAGS = $PULSE_CFLAGS
19911 PULSE_LIBS = $PULSE_LIBS
19912 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19913 GSTREAMER_LIBS = $GSTREAMER_LIBS
19914 ALSA_LIBS = $ALSA_LIBS
19915 OSS4_CFLAGS = $OSS4_CFLAGS
19916 OSS4_LIBS = $OSS4_LIBS
19917 UDEV_CFLAGS = $UDEV_CFLAGS
19918 UDEV_LIBS = $UDEV_LIBS
19919 UNWIND_CFLAGS = $UNWIND_CFLAGS
19920 UNWIND_LIBS = $UNWIND_LIBS
19921 SDL2_CFLAGS = $SDL2_CFLAGS
19922 SDL2_LIBS = $SDL2_LIBS
19923 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19924 FAUDIO_LIBS = $FAUDIO_LIBS
19925 CAPI20_CFLAGS = $CAPI20_CFLAGS
19926 CAPI20_LIBS = $CAPI20_LIBS
19927 CUPS_CFLAGS = $CUPS_CFLAGS
19928 CUPS_LIBS = $CUPS_LIBS
19929 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19930 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19931 KRB5_CFLAGS = $KRB5_CFLAGS
19932 KRB5_LIBS = $KRB5_LIBS
19933 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19934 GSSAPI_LIBS = $GSSAPI_LIBS
19935 JPEG_CFLAGS = $JPEG_CFLAGS
19936 JPEG_LIBS = $JPEG_LIBS
19937 PNG_CFLAGS = $PNG_CFLAGS
19938 PNG_LIBS = $PNG_LIBS
19939 TIFF_CFLAGS = $TIFF_CFLAGS
19940 TIFF_LIBS = $TIFF_LIBS
19941 MPG123_CFLAGS = $MPG123_CFLAGS
19942 MPG123_LIBS = $MPG123_LIBS
19943 KSTAT_LIBS = $KSTAT_LIBS
19944 PROCSTAT_LIBS = $PROCSTAT_LIBS
19945 NETAPI_CFLAGS = $NETAPI_CFLAGS
19946 NETAPI_LIBS = $NETAPI_LIBS
19947 VKD3D_CFLAGS = $VKD3D_CFLAGS
19948 VKD3D_LIBS = $VKD3D_LIBS
19949 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19950 POLL_LIBS = $POLL_LIBS
19951 RT_LIBS = $RT_LIBS
19952 LDAP_CFLAGS = $LDAP_CFLAGS
19953 LDAP_LIBS = $LDAP_LIBS
19958 wine_fn_append_rule "
19959 # Rules automatically generated by configure
19961 .INIT: Makefile
19962 .MAKEFILEDEPS:
19963 all: Makefile
19964 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19965 @./config.status Make.tmp Makefile
19966 depend: \$(MAKEDEP) dummy
19967 \$(MAKEDEP)"
19969 ac_config_links="$ac_config_links wine:tools/winewrapper"
19970 wine_fn_config_symlink wine
19971 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19972 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19973 wine_fn_config_symlink wine64
19976 wine_fn_config_makefile dlls/acledit enable_acledit
19977 wine_fn_config_makefile dlls/aclui enable_aclui
19978 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19979 wine_fn_config_makefile dlls/activeds enable_activeds
19980 wine_fn_config_makefile dlls/activeds/tests enable_tests
19981 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19982 wine_fn_config_makefile dlls/adsiid enable_adsiid
19983 wine_fn_config_makefile dlls/adsldp enable_adsldp
19984 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19985 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19986 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19987 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19988 wine_fn_config_makefile dlls/advpack enable_advpack
19989 wine_fn_config_makefile dlls/advpack/tests enable_tests
19990 wine_fn_config_makefile dlls/amsi enable_amsi
19991 wine_fn_config_makefile dlls/amstream enable_amstream
19992 wine_fn_config_makefile dlls/amstream/tests enable_tests
19993 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19995 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19996 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20003 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20011 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20013 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20015 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20019 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20021 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20028 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20037 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20048 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20059 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20060 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20073 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20180 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20192 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20198 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20203 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20209 wine_fn_config_makefile dlls/apphelp enable_apphelp
20210 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20211 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20212 wine_fn_config_makefile dlls/atl enable_atl
20213 wine_fn_config_makefile dlls/atl/tests enable_tests
20214 wine_fn_config_makefile dlls/atl100 enable_atl100
20215 wine_fn_config_makefile dlls/atl100/tests enable_tests
20216 wine_fn_config_makefile dlls/atl110 enable_atl110
20217 wine_fn_config_makefile dlls/atl80 enable_atl80
20218 wine_fn_config_makefile dlls/atl80/tests enable_tests
20219 wine_fn_config_makefile dlls/atl90 enable_atl90
20220 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20221 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20222 wine_fn_config_makefile dlls/atmlib enable_atmlib
20223 wine_fn_config_makefile dlls/authz enable_authz
20224 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20225 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20226 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20227 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20228 wine_fn_config_makefile dlls/avrt enable_avrt
20229 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20230 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20231 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20232 wine_fn_config_makefile dlls/browseui enable_browseui
20233 wine_fn_config_makefile dlls/browseui/tests enable_tests
20234 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20235 wine_fn_config_makefile dlls/cabinet enable_cabinet
20236 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20237 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20238 wine_fn_config_makefile dlls/cards enable_cards
20239 wine_fn_config_makefile dlls/cdosys enable_cdosys
20240 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20241 wine_fn_config_makefile dlls/clusapi enable_clusapi
20242 wine_fn_config_makefile dlls/combase enable_combase
20243 wine_fn_config_makefile dlls/combase/tests enable_tests
20244 wine_fn_config_makefile dlls/comcat enable_comcat
20245 wine_fn_config_makefile dlls/comcat/tests enable_tests
20246 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20247 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20248 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20249 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20250 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20251 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20252 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20253 wine_fn_config_makefile dlls/compstui enable_compstui
20254 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20255 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20256 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20257 wine_fn_config_makefile dlls/connect enable_connect
20258 wine_fn_config_makefile dlls/credui enable_credui
20259 wine_fn_config_makefile dlls/credui/tests enable_tests
20260 wine_fn_config_makefile dlls/crtdll enable_crtdll
20261 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20262 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20263 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20264 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20265 wine_fn_config_makefile dlls/cryptext enable_cryptext
20266 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20267 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20268 wine_fn_config_makefile dlls/cryptui enable_cryptui
20269 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20270 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20271 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20272 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20273 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20274 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20275 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20276 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20277 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20278 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20279 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20280 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20281 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20282 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20283 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20284 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20285 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20286 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20287 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20288 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20289 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20290 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20291 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20292 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20293 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20294 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20295 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20296 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20297 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20298 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20299 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20300 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20301 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20302 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20303 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20304 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20305 wine_fn_config_makefile dlls/d3dim enable_d3dim
20306 wine_fn_config_makefile dlls/d3drm enable_d3drm
20307 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20308 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20309 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20310 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20311 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20312 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20313 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20314 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20315 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20316 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20317 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20318 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20319 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20320 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20321 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20322 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20323 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20324 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20325 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20326 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20327 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20328 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20329 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20330 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20331 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20332 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20333 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20334 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20335 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20336 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20337 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20338 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20339 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20340 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20341 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20342 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20343 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20344 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20345 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20346 wine_fn_config_makefile dlls/davclnt enable_davclnt
20347 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20348 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20349 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20350 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20351 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20352 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20353 wine_fn_config_makefile dlls/ddraw enable_ddraw
20354 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20355 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20356 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20357 wine_fn_config_makefile dlls/devenum enable_devenum
20358 wine_fn_config_makefile dlls/devenum/tests enable_tests
20359 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20360 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20361 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20362 wine_fn_config_makefile dlls/difxapi enable_difxapi
20363 wine_fn_config_makefile dlls/dinput enable_dinput
20364 wine_fn_config_makefile dlls/dinput/tests enable_tests
20365 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20366 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20367 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20368 wine_fn_config_makefile dlls/dispex enable_dispex
20369 wine_fn_config_makefile dlls/dispex/tests enable_tests
20370 wine_fn_config_makefile dlls/display.drv16 enable_win16
20371 wine_fn_config_makefile dlls/dmband enable_dmband
20372 wine_fn_config_makefile dlls/dmband/tests enable_tests
20373 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20374 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20375 wine_fn_config_makefile dlls/dmime enable_dmime
20376 wine_fn_config_makefile dlls/dmime/tests enable_tests
20377 wine_fn_config_makefile dlls/dmloader enable_dmloader
20378 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20379 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20380 wine_fn_config_makefile dlls/dmscript enable_dmscript
20381 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20382 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20383 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20384 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20385 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20386 wine_fn_config_makefile dlls/dmusic enable_dmusic
20387 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20388 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20389 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20390 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20391 wine_fn_config_makefile dlls/dplay enable_dplay
20392 wine_fn_config_makefile dlls/dplayx enable_dplayx
20393 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20394 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20395 wine_fn_config_makefile dlls/dpnet enable_dpnet
20396 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20397 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20398 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20399 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20400 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20401 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20402 wine_fn_config_makefile dlls/drmclien enable_drmclien
20403 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20404 wine_fn_config_makefile dlls/dsound enable_dsound
20405 wine_fn_config_makefile dlls/dsound/tests enable_tests
20406 wine_fn_config_makefile dlls/dsquery enable_dsquery
20407 wine_fn_config_makefile dlls/dssenh enable_dssenh
20408 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20409 wine_fn_config_makefile dlls/dswave enable_dswave
20410 wine_fn_config_makefile dlls/dswave/tests enable_tests
20411 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20412 wine_fn_config_makefile dlls/dwrite enable_dwrite
20413 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20414 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20415 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20416 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20417 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20418 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20419 wine_fn_config_makefile dlls/dxgi enable_dxgi
20420 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20421 wine_fn_config_makefile dlls/dxguid enable_dxguid
20422 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20423 wine_fn_config_makefile dlls/esent enable_esent
20424 wine_fn_config_makefile dlls/evr enable_evr
20425 wine_fn_config_makefile dlls/evr/tests enable_tests
20426 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20427 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20428 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20432 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20439 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20460 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20462 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20468 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
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20478 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20479 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20480 wine_fn_config_makefile dlls/faultrep enable_faultrep
20481 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20482 wine_fn_config_makefile dlls/feclient enable_feclient
20483 wine_fn_config_makefile dlls/fltlib enable_fltlib
20484 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20485 wine_fn_config_makefile dlls/fntcache enable_fntcache
20486 wine_fn_config_makefile dlls/fontsub enable_fontsub
20487 wine_fn_config_makefile dlls/fusion enable_fusion
20488 wine_fn_config_makefile dlls/fusion/tests enable_tests
20489 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20490 wine_fn_config_makefile dlls/gameux enable_gameux
20491 wine_fn_config_makefile dlls/gameux/tests enable_tests
20492 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20493 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20494 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20495 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20496 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20497 wine_fn_config_makefile dlls/glu32 enable_glu32
20498 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20499 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20500 wine_fn_config_makefile dlls/hal enable_hal
20501 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20502 wine_fn_config_makefile dlls/hid enable_hid
20503 wine_fn_config_makefile dlls/hid/tests enable_tests
20504 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20505 wine_fn_config_makefile dlls/hlink enable_hlink
20506 wine_fn_config_makefile dlls/hlink/tests enable_tests
20507 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20508 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20509 wine_fn_config_makefile dlls/http.sys enable_http_sys
20510 wine_fn_config_makefile dlls/httpapi enable_httpapi
20511 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20512 wine_fn_config_makefile dlls/iccvid enable_iccvid
20513 wine_fn_config_makefile dlls/icmp enable_icmp
20514 wine_fn_config_makefile dlls/ieframe enable_ieframe
20515 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20516 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20517 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20518 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20519 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20520 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20521 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20522 wine_fn_config_makefile dlls/imm32 enable_imm32
20523 wine_fn_config_makefile dlls/imm32/tests enable_tests
20524 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20525 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20526 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20527 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20528 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20529 wine_fn_config_makefile dlls/infosoft enable_infosoft
20530 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20531 wine_fn_config_makefile dlls/initpki enable_initpki
20532 wine_fn_config_makefile dlls/inkobj enable_inkobj
20533 wine_fn_config_makefile dlls/inseng enable_inseng
20534 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20535 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20536 wine_fn_config_makefile dlls/iprop enable_iprop
20537 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20538 wine_fn_config_makefile dlls/itircl enable_itircl
20539 wine_fn_config_makefile dlls/itss enable_itss
20540 wine_fn_config_makefile dlls/itss/tests enable_tests
20541 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20542 wine_fn_config_makefile dlls/jscript enable_jscript
20543 wine_fn_config_makefile dlls/jscript/tests enable_tests
20544 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20545 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20546 wine_fn_config_makefile dlls/kerberos enable_kerberos
20547 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20548 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20549 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20550 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20551 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20552 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20553 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20554 wine_fn_config_makefile dlls/ksuser enable_ksuser
20555 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20556 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20557 wine_fn_config_makefile dlls/loadperf enable_loadperf
20558 wine_fn_config_makefile dlls/localspl enable_localspl
20559 wine_fn_config_makefile dlls/localspl/tests enable_tests
20560 wine_fn_config_makefile dlls/localui enable_localui
20561 wine_fn_config_makefile dlls/localui/tests enable_tests
20562 wine_fn_config_makefile dlls/lz32 enable_lz32
20563 wine_fn_config_makefile dlls/lz32/tests enable_tests
20564 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20565 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20566 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20567 wine_fn_config_makefile dlls/mapistub enable_mapistub
20568 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20569 wine_fn_config_makefile dlls/mcicda enable_mcicda
20570 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20571 wine_fn_config_makefile dlls/mciseq enable_mciseq
20572 wine_fn_config_makefile dlls/mciwave enable_mciwave
20573 wine_fn_config_makefile dlls/mf enable_mf
20574 wine_fn_config_makefile dlls/mf/tests enable_tests
20575 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20576 wine_fn_config_makefile dlls/mferror enable_mferror
20577 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20578 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20579 wine_fn_config_makefile dlls/mfplat enable_mfplat
20580 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20581 wine_fn_config_makefile dlls/mfplay enable_mfplay
20582 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20583 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20584 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20585 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20586 wine_fn_config_makefile dlls/midimap enable_midimap
20587 wine_fn_config_makefile dlls/mlang enable_mlang
20588 wine_fn_config_makefile dlls/mlang/tests enable_tests
20589 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20590 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20591 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20592 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20593 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20594 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20595 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20596 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20597 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20598 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20599 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20600 wine_fn_config_makefile dlls/mpr enable_mpr
20601 wine_fn_config_makefile dlls/mpr/tests enable_tests
20602 wine_fn_config_makefile dlls/mprapi enable_mprapi
20603 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20604 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20605 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20606 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20607 wine_fn_config_makefile dlls/msado15 enable_msado15
20608 wine_fn_config_makefile dlls/msado15/tests enable_tests
20609 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20610 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20611 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20612 wine_fn_config_makefile dlls/mscms enable_mscms
20613 wine_fn_config_makefile dlls/mscms/tests enable_tests
20614 wine_fn_config_makefile dlls/mscoree enable_mscoree
20615 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20616 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20617 wine_fn_config_makefile dlls/msctf enable_msctf
20618 wine_fn_config_makefile dlls/msctf/tests enable_tests
20619 wine_fn_config_makefile dlls/msctfp enable_msctfp
20620 wine_fn_config_makefile dlls/msdaps enable_msdaps
20621 wine_fn_config_makefile dlls/msdelta enable_msdelta
20622 wine_fn_config_makefile dlls/msdmo enable_msdmo
20623 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20624 wine_fn_config_makefile dlls/msdrm enable_msdrm
20625 wine_fn_config_makefile dlls/msftedit enable_msftedit
20626 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20627 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20628 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20629 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20630 wine_fn_config_makefile dlls/mshtml enable_mshtml
20631 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20632 wine_fn_config_makefile dlls/msi enable_msi
20633 wine_fn_config_makefile dlls/msi/tests enable_tests
20634 wine_fn_config_makefile dlls/msident enable_msident
20635 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20636 wine_fn_config_makefile dlls/msimsg enable_msimsg
20637 wine_fn_config_makefile dlls/msimtf enable_msimtf
20638 wine_fn_config_makefile dlls/msisip enable_msisip
20639 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20640 wine_fn_config_makefile dlls/msls31 enable_msls31
20641 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20642 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20643 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20644 wine_fn_config_makefile dlls/msports enable_msports
20645 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20646 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20647 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20648 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20649 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20650 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20651 wine_fn_config_makefile dlls/mstask enable_mstask
20652 wine_fn_config_makefile dlls/mstask/tests enable_tests
20653 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20654 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20656 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20657 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20658 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20659 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20660 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20661 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20662 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20663 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20664 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20665 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20667 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20668 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20669 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20670 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20671 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20672 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20673 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20674 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20675 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20676 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20677 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20678 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20679 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20680 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20681 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20682 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20683 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20684 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20685 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20686 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20687 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20688 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20689 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20690 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20691 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20692 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20693 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20694 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20695 wine_fn_config_makefile dlls/mswsock enable_mswsock
20696 wine_fn_config_makefile dlls/msxml enable_msxml
20697 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20698 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20699 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20700 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20701 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20702 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20703 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20704 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20705 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20706 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20707 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20708 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20709 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20710 wine_fn_config_makefile dlls/netprofm enable_netprofm
20711 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20712 wine_fn_config_makefile dlls/newdev enable_newdev
20713 wine_fn_config_makefile dlls/ninput enable_ninput
20714 wine_fn_config_makefile dlls/ninput/tests enable_tests
20715 wine_fn_config_makefile dlls/normaliz enable_normaliz
20716 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20717 wine_fn_config_makefile dlls/npptools enable_npptools
20718 wine_fn_config_makefile dlls/ntdll enable_ntdll
20719 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20720 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20721 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20722 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20723 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20724 wine_fn_config_makefile dlls/ntprint enable_ntprint
20725 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20726 wine_fn_config_makefile dlls/objsel enable_objsel
20727 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20728 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20729 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20730 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20731 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20732 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20733 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20734 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20735 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20737 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20738 wine_fn_config_makefile dlls/ole32 enable_ole32
20739 wine_fn_config_makefile dlls/ole32/tests enable_tests
20740 wine_fn_config_makefile dlls/oleacc enable_oleacc
20741 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20742 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20743 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20744 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20745 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20746 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20747 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20748 wine_fn_config_makefile dlls/oledlg enable_oledlg
20749 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20750 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20751 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20752 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20753 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20754 wine_fn_config_makefile dlls/opcservices enable_opcservices
20755 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20756 wine_fn_config_makefile dlls/openal32 enable_openal32
20757 wine_fn_config_makefile dlls/opencl enable_opencl
20758 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20759 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20760 wine_fn_config_makefile dlls/packager enable_packager
20761 wine_fn_config_makefile dlls/packager/tests enable_tests
20762 wine_fn_config_makefile dlls/pdh enable_pdh
20763 wine_fn_config_makefile dlls/pdh/tests enable_tests
20764 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20765 wine_fn_config_makefile dlls/pidgen enable_pidgen
20766 wine_fn_config_makefile dlls/powrprof enable_powrprof
20767 wine_fn_config_makefile dlls/printui enable_printui
20768 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20769 wine_fn_config_makefile dlls/propsys enable_propsys
20770 wine_fn_config_makefile dlls/propsys/tests enable_tests
20771 wine_fn_config_makefile dlls/psapi enable_psapi
20772 wine_fn_config_makefile dlls/psapi/tests enable_tests
20773 wine_fn_config_makefile dlls/pstorec enable_pstorec
20774 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20775 wine_fn_config_makefile dlls/qasf enable_qasf
20776 wine_fn_config_makefile dlls/qasf/tests enable_tests
20777 wine_fn_config_makefile dlls/qcap enable_qcap
20778 wine_fn_config_makefile dlls/qcap/tests enable_tests
20779 wine_fn_config_makefile dlls/qedit enable_qedit
20780 wine_fn_config_makefile dlls/qedit/tests enable_tests
20781 wine_fn_config_makefile dlls/qmgr enable_qmgr
20782 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20783 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20784 wine_fn_config_makefile dlls/quartz enable_quartz
20785 wine_fn_config_makefile dlls/quartz/tests enable_tests
20786 wine_fn_config_makefile dlls/query enable_query
20787 wine_fn_config_makefile dlls/qwave enable_qwave
20788 wine_fn_config_makefile dlls/qwave/tests enable_tests
20789 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20790 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20791 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20792 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20793 wine_fn_config_makefile dlls/regapi enable_regapi
20794 wine_fn_config_makefile dlls/resutils enable_resutils
20795 wine_fn_config_makefile dlls/riched20 enable_riched20
20796 wine_fn_config_makefile dlls/riched20/tests enable_tests
20797 wine_fn_config_makefile dlls/riched32 enable_riched32
20798 wine_fn_config_makefile dlls/riched32/tests enable_tests
20799 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20800 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20801 wine_fn_config_makefile dlls/rsabase enable_rsabase
20802 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20803 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20804 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20805 wine_fn_config_makefile dlls/rtutils enable_rtutils
20806 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20807 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20808 wine_fn_config_makefile dlls/samlib enable_samlib
20809 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20810 wine_fn_config_makefile dlls/sapi enable_sapi
20811 wine_fn_config_makefile dlls/sapi/tests enable_tests
20812 wine_fn_config_makefile dlls/sas enable_sas
20813 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20814 wine_fn_config_makefile dlls/sccbase enable_sccbase
20815 wine_fn_config_makefile dlls/schannel enable_schannel
20816 wine_fn_config_makefile dlls/schannel/tests enable_tests
20817 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20818 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20819 wine_fn_config_makefile dlls/scrobj enable_scrobj
20820 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20821 wine_fn_config_makefile dlls/scrrun enable_scrrun
20822 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20823 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20824 wine_fn_config_makefile dlls/secur32 enable_secur32
20825 wine_fn_config_makefile dlls/secur32/tests enable_tests
20826 wine_fn_config_makefile dlls/security enable_security
20827 wine_fn_config_makefile dlls/sensapi enable_sensapi
20828 wine_fn_config_makefile dlls/serialui enable_serialui
20829 wine_fn_config_makefile dlls/serialui/tests enable_tests
20830 wine_fn_config_makefile dlls/setupapi enable_setupapi
20831 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20832 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20833 wine_fn_config_makefile dlls/sfc enable_sfc
20834 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20835 wine_fn_config_makefile dlls/shcore enable_shcore
20836 wine_fn_config_makefile dlls/shcore/tests enable_tests
20837 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20838 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20839 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20840 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20841 wine_fn_config_makefile dlls/shell32 enable_shell32
20842 wine_fn_config_makefile dlls/shell32/tests enable_tests
20843 wine_fn_config_makefile dlls/shfolder enable_shfolder
20844 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20845 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20846 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20847 wine_fn_config_makefile dlls/slc enable_slc
20848 wine_fn_config_makefile dlls/slc/tests enable_tests
20849 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20850 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20851 wine_fn_config_makefile dlls/softpub enable_softpub
20852 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20853 wine_fn_config_makefile dlls/spoolss enable_spoolss
20854 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20855 wine_fn_config_makefile dlls/srclient enable_srclient
20856 wine_fn_config_makefile dlls/sspicli enable_sspicli
20857 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20858 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20859 wine_fn_config_makefile dlls/sti enable_sti
20860 wine_fn_config_makefile dlls/sti/tests enable_tests
20861 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20862 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20863 wine_fn_config_makefile dlls/strmbase enable_strmbase
20864 wine_fn_config_makefile dlls/strmdll enable_strmdll
20865 wine_fn_config_makefile dlls/strmiids enable_strmiids
20866 wine_fn_config_makefile dlls/svrapi enable_svrapi
20867 wine_fn_config_makefile dlls/sxs enable_sxs
20868 wine_fn_config_makefile dlls/sxs/tests enable_tests
20869 wine_fn_config_makefile dlls/system.drv16 enable_win16
20870 wine_fn_config_makefile dlls/t2embed enable_t2embed
20871 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20872 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20873 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20874 wine_fn_config_makefile dlls/taskschd enable_taskschd
20875 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20876 wine_fn_config_makefile dlls/tdh enable_tdh
20877 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20878 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20879 wine_fn_config_makefile dlls/traffic enable_traffic
20880 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20881 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20882 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20883 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20884 wine_fn_config_makefile dlls/tzres enable_tzres
20885 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20886 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20887 wine_fn_config_makefile dlls/uianimation enable_uianimation
20888 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20889 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20890 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20891 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20892 wine_fn_config_makefile dlls/unicows enable_unicows
20893 wine_fn_config_makefile dlls/updspapi enable_updspapi
20894 wine_fn_config_makefile dlls/url enable_url
20895 wine_fn_config_makefile dlls/urlmon enable_urlmon
20896 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20897 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20898 wine_fn_config_makefile dlls/user.exe16 enable_win16
20899 wine_fn_config_makefile dlls/user32 enable_user32
20900 wine_fn_config_makefile dlls/user32/tests enable_tests
20901 wine_fn_config_makefile dlls/userenv enable_userenv
20902 wine_fn_config_makefile dlls/userenv/tests enable_tests
20903 wine_fn_config_makefile dlls/usp10 enable_usp10
20904 wine_fn_config_makefile dlls/usp10/tests enable_tests
20905 wine_fn_config_makefile dlls/utildll enable_utildll
20906 wine_fn_config_makefile dlls/uuid enable_uuid
20907 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20908 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20909 wine_fn_config_makefile dlls/vbscript enable_vbscript
20910 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20911 wine_fn_config_makefile dlls/vcomp enable_vcomp
20912 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20913 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20914 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20915 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20916 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20917 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20918 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20919 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20920 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20921 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20922 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20923 wine_fn_config_makefile dlls/version enable_version
20924 wine_fn_config_makefile dlls/version/tests enable_tests
20925 wine_fn_config_makefile dlls/vga enable_vga
20926 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20927 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20928 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20929 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20930 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20931 wine_fn_config_makefile dlls/vssapi enable_vssapi
20932 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20933 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20934 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20935 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20936 wine_fn_config_makefile dlls/w32skrnl enable_win16
20937 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20938 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20939 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20940 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20941 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20942 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20943 wine_fn_config_makefile dlls/wdscore enable_wdscore
20944 wine_fn_config_makefile dlls/webservices enable_webservices
20945 wine_fn_config_makefile dlls/webservices/tests enable_tests
20946 wine_fn_config_makefile dlls/wer enable_wer
20947 wine_fn_config_makefile dlls/wer/tests enable_tests
20948 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20949 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20950 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20951 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20952 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20953 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20954 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20955 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20956 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20957 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20958 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20959 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20960 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20961 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20962 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20963 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20964 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20965 wine_fn_config_makefile dlls/wined3d enable_wined3d
20966 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20967 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20968 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20969 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20970 wine_fn_config_makefile dlls/winemapi enable_winemapi
20971 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20972 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20973 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20974 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20975 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20976 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20977 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20978 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20979 wine_fn_config_makefile dlls/wing32 enable_wing32
20980 wine_fn_config_makefile dlls/winhttp enable_winhttp
20981 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20982 wine_fn_config_makefile dlls/wininet enable_wininet
20983 wine_fn_config_makefile dlls/wininet/tests enable_tests
20984 wine_fn_config_makefile dlls/winmm enable_winmm
20985 wine_fn_config_makefile dlls/winmm/tests enable_tests
20986 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20987 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20988 wine_fn_config_makefile dlls/winscard enable_winscard
20989 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20990 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20991 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20992 wine_fn_config_makefile dlls/winsta enable_winsta
20993 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20994 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20995 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20996 wine_fn_config_makefile dlls/wintrust enable_wintrust
20997 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20998 wine_fn_config_makefile dlls/winusb enable_winusb
20999 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21000 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21001 wine_fn_config_makefile dlls/wlanui enable_wlanui
21002 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21003 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21004 wine_fn_config_makefile dlls/wmasf enable_wmasf
21005 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21006 wine_fn_config_makefile dlls/wmi enable_wmi
21007 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21008 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21009 wine_fn_config_makefile dlls/wmp enable_wmp
21010 wine_fn_config_makefile dlls/wmp/tests enable_tests
21011 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21012 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21013 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21014 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21015 wine_fn_config_makefile dlls/wow32 enable_win16
21016 wine_fn_config_makefile dlls/wpc enable_wpc
21017 wine_fn_config_makefile dlls/wpc/tests enable_tests
21018 wine_fn_config_makefile dlls/wpcap enable_wpcap
21019 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21020 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21021 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21022 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21023 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21024 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21025 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21026 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21027 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21028 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21029 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21030 wine_fn_config_makefile dlls/wuapi enable_wuapi
21031 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21032 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21033 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21034 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21035 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21036 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21037 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21038 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21039 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21040 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21041 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21042 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21043 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21044 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21045 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21046 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21047 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21048 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21049 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21050 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21051 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21052 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21053 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21054 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21055 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21056 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21057 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21058 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21059 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21060 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21061 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21062 wine_fn_config_makefile dlls/xmllite enable_xmllite
21063 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21064 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21065 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21066 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21067 wine_fn_config_makefile fonts enable_fonts
21068 wine_fn_config_makefile include enable_include
21069 wine_fn_config_makefile libs/port enable_port
21070 wine_fn_config_makefile libs/wine enable_wine
21071 wine_fn_config_makefile libs/wpp enable_wpp
21072 wine_fn_config_makefile loader enable_loader
21073 wine_fn_config_makefile nls enable_nls
21074 wine_fn_config_makefile po enable_po
21075 wine_fn_config_makefile programs/arp enable_arp
21076 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21077 wine_fn_config_makefile programs/attrib enable_attrib
21078 wine_fn_config_makefile programs/cabarc enable_cabarc
21079 wine_fn_config_makefile programs/cacls enable_cacls
21080 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21081 wine_fn_config_makefile programs/clock enable_clock
21082 wine_fn_config_makefile programs/cmd enable_cmd
21083 wine_fn_config_makefile programs/cmd/tests enable_tests
21084 wine_fn_config_makefile programs/conhost enable_conhost
21085 wine_fn_config_makefile programs/control enable_control
21086 wine_fn_config_makefile programs/cscript enable_cscript
21087 wine_fn_config_makefile programs/dism enable_dism
21088 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21089 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21090 wine_fn_config_makefile programs/eject enable_eject
21091 wine_fn_config_makefile programs/expand enable_expand
21092 wine_fn_config_makefile programs/explorer enable_explorer
21093 wine_fn_config_makefile programs/extrac32 enable_extrac32
21094 wine_fn_config_makefile programs/fc enable_fc
21095 wine_fn_config_makefile programs/find enable_find
21096 wine_fn_config_makefile programs/find/tests enable_tests
21097 wine_fn_config_makefile programs/findstr enable_findstr
21098 wine_fn_config_makefile programs/fsutil enable_fsutil
21099 wine_fn_config_makefile programs/hh enable_hh
21100 wine_fn_config_makefile programs/hostname enable_hostname
21101 wine_fn_config_makefile programs/icacls enable_icacls
21102 wine_fn_config_makefile programs/icinfo enable_icinfo
21103 wine_fn_config_makefile programs/iexplore enable_iexplore
21104 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21105 wine_fn_config_makefile programs/lodctr enable_lodctr
21106 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21107 wine_fn_config_makefile programs/mshta enable_mshta
21108 wine_fn_config_makefile programs/msidb enable_msidb
21109 wine_fn_config_makefile programs/msiexec enable_msiexec
21110 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21111 wine_fn_config_makefile programs/net enable_net
21112 wine_fn_config_makefile programs/netsh enable_netsh
21113 wine_fn_config_makefile programs/netstat enable_netstat
21114 wine_fn_config_makefile programs/ngen enable_ngen
21115 wine_fn_config_makefile programs/notepad enable_notepad
21116 wine_fn_config_makefile programs/oleview enable_oleview
21117 wine_fn_config_makefile programs/ping enable_ping
21118 wine_fn_config_makefile programs/plugplay enable_plugplay
21119 wine_fn_config_makefile programs/powershell enable_powershell
21120 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21121 wine_fn_config_makefile programs/progman enable_progman
21122 wine_fn_config_makefile programs/reg enable_reg
21123 wine_fn_config_makefile programs/reg/tests enable_tests
21124 wine_fn_config_makefile programs/regasm enable_regasm
21125 wine_fn_config_makefile programs/regedit enable_regedit
21126 wine_fn_config_makefile programs/regedit/tests enable_tests
21127 wine_fn_config_makefile programs/regini enable_regini
21128 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21129 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21130 wine_fn_config_makefile programs/rpcss enable_rpcss
21131 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21132 wine_fn_config_makefile programs/rundll32 enable_rundll32
21133 wine_fn_config_makefile programs/sc enable_sc
21134 wine_fn_config_makefile programs/schtasks enable_schtasks
21135 wine_fn_config_makefile programs/schtasks/tests enable_tests
21136 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21137 wine_fn_config_makefile programs/secedit enable_secedit
21138 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21139 wine_fn_config_makefile programs/services enable_services
21140 wine_fn_config_makefile programs/services/tests enable_tests
21141 wine_fn_config_makefile programs/shutdown enable_shutdown
21142 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21143 wine_fn_config_makefile programs/start enable_start
21144 wine_fn_config_makefile programs/subst enable_subst
21145 wine_fn_config_makefile programs/svchost enable_svchost
21146 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21147 wine_fn_config_makefile programs/taskkill enable_taskkill
21148 wine_fn_config_makefile programs/tasklist enable_tasklist
21149 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21150 wine_fn_config_makefile programs/termsv enable_termsv
21151 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21152 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21153 wine_fn_config_makefile programs/view enable_view
21154 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21155 wine_fn_config_makefile programs/whoami enable_whoami
21156 wine_fn_config_makefile programs/wineboot enable_wineboot
21157 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21158 wine_fn_config_makefile programs/winecfg enable_winecfg
21159 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21160 wine_fn_config_makefile programs/winedbg enable_winedbg
21161 wine_fn_config_makefile programs/winedevice enable_winedevice
21162 wine_fn_config_makefile programs/winefile enable_winefile
21163 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21164 wine_fn_config_makefile programs/winemine enable_winemine
21165 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21166 wine_fn_config_makefile programs/winepath enable_winepath
21167 wine_fn_config_makefile programs/winetest enable_winetest
21168 wine_fn_config_makefile programs/winevdm enable_win16
21169 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21170 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21171 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21172 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21173 wine_fn_config_makefile programs/winver enable_winver
21174 wine_fn_config_makefile programs/wmic enable_wmic
21175 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21176 wine_fn_config_makefile programs/wordpad enable_wordpad
21177 wine_fn_config_makefile programs/write enable_write
21178 wine_fn_config_makefile programs/wscript enable_wscript
21179 wine_fn_config_makefile programs/wscript/tests enable_tests
21180 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21181 wine_fn_config_makefile programs/wusa enable_wusa
21182 wine_fn_config_makefile programs/xcopy enable_xcopy
21183 wine_fn_config_makefile programs/xcopy/tests enable_tests
21184 wine_fn_config_makefile server enable_server
21185 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21186 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21187 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21188 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21190 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21191 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21192 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21196 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21197 wine_fn_append_file CONFIGURE_TARGETS "tags"
21198 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21199 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21200 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21201 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21202 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21203 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21205 if test "x$enable_tools" != xno
21206 then
21207 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21208 ac_config_commands="$ac_config_commands tools/makedep"
21212 ac_config_commands="$ac_config_commands Makefile"
21215 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21219 if test "x$enable_maintainer_mode" = xyes
21220 then
21221 wine_fn_append_rule "configure: configure.ac aclocal.m4
21222 autoconf --warnings=all
21223 include/config.h.in: include/stamp-h.in
21224 include/stamp-h.in: configure.ac aclocal.m4
21225 autoheader --warnings=all
21226 @echo timestamp > \$@"
21229 if test "x$enable_tools" != xno
21230 then
21231 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21232 @./config.status tools/makedep
21233 Makefile: tools/makedep$ac_exeext
21234 fonts: tools/sfnt2fon
21235 include: tools tools/widl"
21236 else
21237 wine_fn_append_rule "\$(MAKEDEP):
21238 @echo \"You need to run make in $TOOLSDIR first\" && false"
21241 if test -n "$with_wine64"
21242 then
21243 case "$with_wine64" in
21244 /*) reldir="" ;;
21245 *) reldir="../" ;;
21246 esac
21247 rm -f fonts server 2>/dev/null
21248 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21249 loader/wine64 loader/wine64-preloader:
21250 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21251 $with_wine64/loader/wine:
21252 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21253 $with_wine64/loader/wine-preloader:
21254 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21255 clean::
21256 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21257 else
21258 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21259 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21260 fonts \
21261 loader/wine.inf \
21262 loader/winebus.inf \
21263 loader/winehid.inf \
21264 nls \
21265 programs/msidb/msidb \
21266 programs/msiexec/msiexec \
21267 programs/notepad/notepad \
21268 programs/regedit/regedit \
21269 programs/regsvr32/regsvr32 \
21270 programs/wineboot/wineboot \
21271 programs/winecfg/winecfg \
21272 programs/wineconsole/wineconsole \
21273 programs/winedbg/winedbg \
21274 programs/winefile/winefile \
21275 programs/winemine/winemine \
21276 programs/winepath/winepath \
21277 server/wineserver"
21279 case $host_os in
21280 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21281 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21282 esac
21285 $as_echo " done" >&6
21286 cat >confcache <<\_ACEOF
21287 # This file is a shell script that caches the results of configure
21288 # tests run on this system so they can be shared between configure
21289 # scripts and configure runs, see configure's option --config-cache.
21290 # It is not useful on other systems. If it contains results you don't
21291 # want to keep, you may remove or edit it.
21293 # config.status only pays attention to the cache file if you give it
21294 # the --recheck option to rerun configure.
21296 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21298 # following values.
21300 _ACEOF
21302 # The following way of writing the cache mishandles newlines in values,
21303 # but we know of no workaround that is simple, portable, and efficient.
21304 # So, we kill variables containing newlines.
21305 # Ultrix sh set writes to stderr and can't be redirected directly,
21306 # and sets the high bit in the cache file unless we assign to the vars.
21308 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21309 eval ac_val=\$$ac_var
21310 case $ac_val in #(
21311 *${as_nl}*)
21312 case $ac_var in #(
21313 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21314 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21315 esac
21316 case $ac_var in #(
21317 _ | IFS | as_nl) ;; #(
21318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21319 *) { eval $ac_var=; unset $ac_var;} ;;
21320 esac ;;
21321 esac
21322 done
21324 (set) 2>&1 |
21325 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21326 *${as_nl}ac_space=\ *)
21327 # `set' does not quote correctly, so add quotes: double-quote
21328 # substitution turns \\\\ into \\, and sed turns \\ into \.
21329 sed -n \
21330 "s/'/'\\\\''/g;
21331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21332 ;; #(
21334 # `set' quotes correctly as required by POSIX, so do not add quotes.
21335 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21337 esac |
21338 sort
21340 sed '
21341 /^ac_cv_env_/b end
21342 t clear
21343 :clear
21344 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21345 t end
21346 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21347 :end' >>confcache
21348 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21349 if test -w "$cache_file"; then
21350 if test "x$cache_file" != "x/dev/null"; then
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21352 $as_echo "$as_me: updating cache $cache_file" >&6;}
21353 if test ! -f "$cache_file" || test -h "$cache_file"; then
21354 cat confcache >"$cache_file"
21355 else
21356 case $cache_file in #(
21357 */* | ?:*)
21358 mv -f confcache "$cache_file"$$ &&
21359 mv -f "$cache_file"$$ "$cache_file" ;; #(
21361 mv -f confcache "$cache_file" ;;
21362 esac
21365 else
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21367 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21370 rm -f confcache
21372 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21373 # Let make expand exec_prefix.
21374 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21376 DEFS=-DHAVE_CONFIG_H
21378 ac_libobjs=
21379 ac_ltlibobjs=
21381 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21382 # 1. Remove the extension, and $U if already installed.
21383 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21384 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21385 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21386 # will be set to the directory where LIBOBJS objects are built.
21387 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21388 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21389 done
21390 LIBOBJS=$ac_libobjs
21392 LTLIBOBJS=$ac_ltlibobjs
21396 : "${CONFIG_STATUS=./config.status}"
21397 ac_write_fail=0
21398 ac_clean_files_save=$ac_clean_files
21399 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21401 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21402 as_write_fail=0
21403 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21404 #! $SHELL
21405 # Generated by $as_me.
21406 # Run this file to recreate the current configuration.
21407 # Compiler output produced by configure, useful for debugging
21408 # configure, is in config.log if it exists.
21410 debug=false
21411 ac_cs_recheck=false
21412 ac_cs_silent=false
21414 SHELL=\${CONFIG_SHELL-$SHELL}
21415 export SHELL
21416 _ASEOF
21417 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21418 ## -------------------- ##
21419 ## M4sh Initialization. ##
21420 ## -------------------- ##
21422 # Be more Bourne compatible
21423 DUALCASE=1; export DUALCASE # for MKS sh
21424 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21425 emulate sh
21426 NULLCMD=:
21427 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21428 # is contrary to our usage. Disable this feature.
21429 alias -g '${1+"$@"}'='"$@"'
21430 setopt NO_GLOB_SUBST
21431 else
21432 case `(set -o) 2>/dev/null` in #(
21433 *posix*) :
21434 set -o posix ;; #(
21435 *) :
21437 esac
21441 as_nl='
21443 export as_nl
21444 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21445 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21448 # Prefer a ksh shell builtin over an external printf program on Solaris,
21449 # but without wasting forks for bash or zsh.
21450 if test -z "$BASH_VERSION$ZSH_VERSION" \
21451 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21452 as_echo='print -r --'
21453 as_echo_n='print -rn --'
21454 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21455 as_echo='printf %s\n'
21456 as_echo_n='printf %s'
21457 else
21458 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21459 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21460 as_echo_n='/usr/ucb/echo -n'
21461 else
21462 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21463 as_echo_n_body='eval
21464 arg=$1;
21465 case $arg in #(
21466 *"$as_nl"*)
21467 expr "X$arg" : "X\\(.*\\)$as_nl";
21468 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21469 esac;
21470 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21472 export as_echo_n_body
21473 as_echo_n='sh -c $as_echo_n_body as_echo'
21475 export as_echo_body
21476 as_echo='sh -c $as_echo_body as_echo'
21479 # The user is always right.
21480 if test "${PATH_SEPARATOR+set}" != set; then
21481 PATH_SEPARATOR=:
21482 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21483 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21484 PATH_SEPARATOR=';'
21489 # IFS
21490 # We need space, tab and new line, in precisely that order. Quoting is
21491 # there to prevent editors from complaining about space-tab.
21492 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21493 # splitting by setting IFS to empty value.)
21494 IFS=" "" $as_nl"
21496 # Find who we are. Look in the path if we contain no directory separator.
21497 as_myself=
21498 case $0 in #((
21499 *[\\/]* ) as_myself=$0 ;;
21500 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21501 for as_dir in $PATH
21503 IFS=$as_save_IFS
21504 test -z "$as_dir" && as_dir=.
21505 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21506 done
21507 IFS=$as_save_IFS
21510 esac
21511 # We did not find ourselves, most probably we were run as `sh COMMAND'
21512 # in which case we are not to be found in the path.
21513 if test "x$as_myself" = x; then
21514 as_myself=$0
21516 if test ! -f "$as_myself"; then
21517 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21518 exit 1
21521 # Unset variables that we do not need and which cause bugs (e.g. in
21522 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21523 # suppresses any "Segmentation fault" message there. '((' could
21524 # trigger a bug in pdksh 5.2.14.
21525 for as_var in BASH_ENV ENV MAIL MAILPATH
21526 do eval test x\${$as_var+set} = xset \
21527 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21528 done
21529 PS1='$ '
21530 PS2='> '
21531 PS4='+ '
21533 # NLS nuisances.
21534 LC_ALL=C
21535 export LC_ALL
21536 LANGUAGE=C
21537 export LANGUAGE
21539 # CDPATH.
21540 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21543 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21544 # ----------------------------------------
21545 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21546 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21547 # script with STATUS, using 1 if that was 0.
21548 as_fn_error ()
21550 as_status=$1; test $as_status -eq 0 && as_status=1
21551 if test "$4"; then
21552 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21553 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21555 $as_echo "$as_me: error: $2" >&2
21556 as_fn_exit $as_status
21557 } # as_fn_error
21560 # as_fn_set_status STATUS
21561 # -----------------------
21562 # Set $? to STATUS, without forking.
21563 as_fn_set_status ()
21565 return $1
21566 } # as_fn_set_status
21568 # as_fn_exit STATUS
21569 # -----------------
21570 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21571 as_fn_exit ()
21573 set +e
21574 as_fn_set_status $1
21575 exit $1
21576 } # as_fn_exit
21578 # as_fn_unset VAR
21579 # ---------------
21580 # Portably unset VAR.
21581 as_fn_unset ()
21583 { eval $1=; unset $1;}
21585 as_unset=as_fn_unset
21586 # as_fn_append VAR VALUE
21587 # ----------------------
21588 # Append the text in VALUE to the end of the definition contained in VAR. Take
21589 # advantage of any shell optimizations that allow amortized linear growth over
21590 # repeated appends, instead of the typical quadratic growth present in naive
21591 # implementations.
21592 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21593 eval 'as_fn_append ()
21595 eval $1+=\$2
21597 else
21598 as_fn_append ()
21600 eval $1=\$$1\$2
21602 fi # as_fn_append
21604 # as_fn_arith ARG...
21605 # ------------------
21606 # Perform arithmetic evaluation on the ARGs, and store the result in the
21607 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21608 # must be portable across $(()) and expr.
21609 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21610 eval 'as_fn_arith ()
21612 as_val=$(( $* ))
21614 else
21615 as_fn_arith ()
21617 as_val=`expr "$@" || test $? -eq 1`
21619 fi # as_fn_arith
21622 if expr a : '\(a\)' >/dev/null 2>&1 &&
21623 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21624 as_expr=expr
21625 else
21626 as_expr=false
21629 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21630 as_basename=basename
21631 else
21632 as_basename=false
21635 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21636 as_dirname=dirname
21637 else
21638 as_dirname=false
21641 as_me=`$as_basename -- "$0" ||
21642 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21643 X"$0" : 'X\(//\)$' \| \
21644 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21645 $as_echo X/"$0" |
21646 sed '/^.*\/\([^/][^/]*\)\/*$/{
21647 s//\1/
21650 /^X\/\(\/\/\)$/{
21651 s//\1/
21654 /^X\/\(\/\).*/{
21655 s//\1/
21658 s/.*/./; q'`
21660 # Avoid depending upon Character Ranges.
21661 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21662 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21663 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21664 as_cr_digits='0123456789'
21665 as_cr_alnum=$as_cr_Letters$as_cr_digits
21667 ECHO_C= ECHO_N= ECHO_T=
21668 case `echo -n x` in #(((((
21669 -n*)
21670 case `echo 'xy\c'` in
21671 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21672 xy) ECHO_C='\c';;
21673 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21674 ECHO_T=' ';;
21675 esac;;
21677 ECHO_N='-n';;
21678 esac
21680 rm -f conf$$ conf$$.exe conf$$.file
21681 if test -d conf$$.dir; then
21682 rm -f conf$$.dir/conf$$.file
21683 else
21684 rm -f conf$$.dir
21685 mkdir conf$$.dir 2>/dev/null
21687 if (echo >conf$$.file) 2>/dev/null; then
21688 if ln -s conf$$.file conf$$ 2>/dev/null; then
21689 as_ln_s='ln -s'
21690 # ... but there are two gotchas:
21691 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21692 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21693 # In both cases, we have to default to `cp -pR'.
21694 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21695 as_ln_s='cp -pR'
21696 elif ln conf$$.file conf$$ 2>/dev/null; then
21697 as_ln_s=ln
21698 else
21699 as_ln_s='cp -pR'
21701 else
21702 as_ln_s='cp -pR'
21704 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21705 rmdir conf$$.dir 2>/dev/null
21708 # as_fn_mkdir_p
21709 # -------------
21710 # Create "$as_dir" as a directory, including parents if necessary.
21711 as_fn_mkdir_p ()
21714 case $as_dir in #(
21715 -*) as_dir=./$as_dir;;
21716 esac
21717 test -d "$as_dir" || eval $as_mkdir_p || {
21718 as_dirs=
21719 while :; do
21720 case $as_dir in #(
21721 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21722 *) as_qdir=$as_dir;;
21723 esac
21724 as_dirs="'$as_qdir' $as_dirs"
21725 as_dir=`$as_dirname -- "$as_dir" ||
21726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21727 X"$as_dir" : 'X\(//\)[^/]' \| \
21728 X"$as_dir" : 'X\(//\)$' \| \
21729 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21730 $as_echo X"$as_dir" |
21731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21732 s//\1/
21735 /^X\(\/\/\)[^/].*/{
21736 s//\1/
21739 /^X\(\/\/\)$/{
21740 s//\1/
21743 /^X\(\/\).*/{
21744 s//\1/
21747 s/.*/./; q'`
21748 test -d "$as_dir" && break
21749 done
21750 test -z "$as_dirs" || eval "mkdir $as_dirs"
21751 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21754 } # as_fn_mkdir_p
21755 if mkdir -p . 2>/dev/null; then
21756 as_mkdir_p='mkdir -p "$as_dir"'
21757 else
21758 test -d ./-p && rmdir ./-p
21759 as_mkdir_p=false
21763 # as_fn_executable_p FILE
21764 # -----------------------
21765 # Test if FILE is an executable regular file.
21766 as_fn_executable_p ()
21768 test -f "$1" && test -x "$1"
21769 } # as_fn_executable_p
21770 as_test_x='test -x'
21771 as_executable_p=as_fn_executable_p
21773 # Sed expression to map a string onto a valid CPP name.
21774 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21776 # Sed expression to map a string onto a valid variable name.
21777 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21780 exec 6>&1
21781 ## ----------------------------------- ##
21782 ## Main body of $CONFIG_STATUS script. ##
21783 ## ----------------------------------- ##
21784 _ASEOF
21785 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21788 # Save the log message, to keep $0 and so on meaningful, and to
21789 # report actual input values of CONFIG_FILES etc. instead of their
21790 # values after options handling.
21791 ac_log="
21792 This file was extended by Wine $as_me 5.5, which was
21793 generated by GNU Autoconf 2.69. Invocation command line was
21795 CONFIG_FILES = $CONFIG_FILES
21796 CONFIG_HEADERS = $CONFIG_HEADERS
21797 CONFIG_LINKS = $CONFIG_LINKS
21798 CONFIG_COMMANDS = $CONFIG_COMMANDS
21799 $ $0 $@
21801 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21804 _ACEOF
21806 case $ac_config_files in *"
21807 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21808 esac
21810 case $ac_config_headers in *"
21811 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21812 esac
21815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21816 # Files that config.status was made for.
21817 config_files="$ac_config_files"
21818 config_headers="$ac_config_headers"
21819 config_links="$ac_config_links"
21820 config_commands="$ac_config_commands"
21822 _ACEOF
21824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21825 ac_cs_usage="\
21826 \`$as_me' instantiates files and other configuration actions
21827 from templates according to the current configuration. Unless the files
21828 and actions are specified as TAGs, all are instantiated by default.
21830 Usage: $0 [OPTION]... [TAG]...
21832 -h, --help print this help, then exit
21833 -V, --version print version number and configuration settings, then exit
21834 --config print configuration, then exit
21835 -q, --quiet, --silent
21836 do not print progress messages
21837 -d, --debug don't remove temporary files
21838 --recheck update $as_me by reconfiguring in the same conditions
21839 --file=FILE[:TEMPLATE]
21840 instantiate the configuration file FILE
21841 --header=FILE[:TEMPLATE]
21842 instantiate the configuration header FILE
21844 Configuration files:
21845 $config_files
21847 Configuration headers:
21848 $config_headers
21850 Configuration links:
21851 $config_links
21853 Configuration commands:
21854 $config_commands
21856 Report bugs to <wine-devel@winehq.org>.
21857 Wine home page: <https://www.winehq.org>."
21859 _ACEOF
21860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21861 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21862 ac_cs_version="\\
21863 Wine config.status 5.5
21864 configured by $0, generated by GNU Autoconf 2.69,
21865 with options \\"\$ac_cs_config\\"
21867 Copyright (C) 2012 Free Software Foundation, Inc.
21868 This config.status script is free software; the Free Software Foundation
21869 gives unlimited permission to copy, distribute and modify it."
21871 ac_pwd='$ac_pwd'
21872 srcdir='$srcdir'
21873 test -n "\$AWK" || AWK=awk
21874 _ACEOF
21876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21877 # The default lists apply if the user does not specify any file.
21878 ac_need_defaults=:
21879 while test $# != 0
21881 case $1 in
21882 --*=?*)
21883 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21884 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21885 ac_shift=:
21887 --*=)
21888 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21889 ac_optarg=
21890 ac_shift=:
21893 ac_option=$1
21894 ac_optarg=$2
21895 ac_shift=shift
21897 esac
21899 case $ac_option in
21900 # Handling of the options.
21901 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21902 ac_cs_recheck=: ;;
21903 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21904 $as_echo "$ac_cs_version"; exit ;;
21905 --config | --confi | --conf | --con | --co | --c )
21906 $as_echo "$ac_cs_config"; exit ;;
21907 --debug | --debu | --deb | --de | --d | -d )
21908 debug=: ;;
21909 --file | --fil | --fi | --f )
21910 $ac_shift
21911 case $ac_optarg in
21912 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21913 '') as_fn_error $? "missing file argument" ;;
21914 esac
21915 as_fn_append CONFIG_FILES " '$ac_optarg'"
21916 ac_need_defaults=false;;
21917 --header | --heade | --head | --hea )
21918 $ac_shift
21919 case $ac_optarg in
21920 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21921 esac
21922 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21923 ac_need_defaults=false;;
21924 --he | --h)
21925 # Conflict between --help and --header
21926 as_fn_error $? "ambiguous option: \`$1'
21927 Try \`$0 --help' for more information.";;
21928 --help | --hel | -h )
21929 $as_echo "$ac_cs_usage"; exit ;;
21930 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21931 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21932 ac_cs_silent=: ;;
21934 # This is an error.
21935 -*) as_fn_error $? "unrecognized option: \`$1'
21936 Try \`$0 --help' for more information." ;;
21938 *) as_fn_append ac_config_targets " $1"
21939 ac_need_defaults=false ;;
21941 esac
21942 shift
21943 done
21945 ac_configure_extra_args=
21947 if $ac_cs_silent; then
21948 exec 6>/dev/null
21949 ac_configure_extra_args="$ac_configure_extra_args --silent"
21952 _ACEOF
21953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21954 if \$ac_cs_recheck; then
21955 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21956 shift
21957 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21958 CONFIG_SHELL='$SHELL'
21959 export CONFIG_SHELL
21960 exec "\$@"
21963 _ACEOF
21964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21965 exec 5>>config.log
21967 echo
21968 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21969 ## Running $as_me. ##
21970 _ASBOX
21971 $as_echo "$ac_log"
21972 } >&5
21974 _ACEOF
21975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21977 # INIT-COMMANDS
21979 wine_fn_output_makedep ()
21981 as_dir=tools; as_fn_mkdir_p
21982 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21984 wine_fn_output_makefile ()
21986 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21987 `cat $wine_rules_file`
21988 _WINE_EOF
21989 as_fn_error $? "could not create Makefile" "$LINENO" 5
21992 _ACEOF
21994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21996 # Handling of arguments.
21997 for ac_config_target in $ac_config_targets
21999 case $ac_config_target in
22000 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22001 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22002 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22003 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22004 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22005 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22006 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22008 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22009 esac
22010 done
22013 # If the user did not use the arguments to specify the items to instantiate,
22014 # then the envvar interface is used. Set only those that are not.
22015 # We use the long form for the default assignment because of an extremely
22016 # bizarre bug on SunOS 4.1.3.
22017 if $ac_need_defaults; then
22018 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22019 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22020 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22024 # Have a temporary directory for convenience. Make it in the build tree
22025 # simply because there is no reason against having it here, and in addition,
22026 # creating and moving files from /tmp can sometimes cause problems.
22027 # Hook for its removal unless debugging.
22028 # Note that there is a small window in which the directory will not be cleaned:
22029 # after its creation but before its name has been assigned to `$tmp'.
22030 $debug ||
22032 tmp= ac_tmp=
22033 trap 'exit_status=$?
22034 : "${ac_tmp:=$tmp}"
22035 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22037 trap 'as_fn_exit 1' 1 2 13 15
22039 # Create a (secure) tmp directory for tmp files.
22042 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22043 test -d "$tmp"
22044 } ||
22046 tmp=./conf$$-$RANDOM
22047 (umask 077 && mkdir "$tmp")
22048 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22049 ac_tmp=$tmp
22051 # Set up the scripts for CONFIG_FILES section.
22052 # No need to generate them if there are no CONFIG_FILES.
22053 # This happens for instance with `./config.status config.h'.
22054 if test -n "$CONFIG_FILES"; then
22057 ac_cr=`echo X | tr X '\015'`
22058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22059 # But we know of no other shell where ac_cr would be empty at this
22060 # point, so we can use a bashism as a fallback.
22061 if test "x$ac_cr" = x; then
22062 eval ac_cr=\$\'\\r\'
22064 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22066 ac_cs_awk_cr='\\r'
22067 else
22068 ac_cs_awk_cr=$ac_cr
22071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22072 _ACEOF
22076 echo "cat >conf$$subs.awk <<_ACEOF" &&
22077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22078 echo "_ACEOF"
22079 } >conf$$subs.sh ||
22080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22082 ac_delim='%!_!# '
22083 for ac_last_try in false false false false false :; do
22084 . ./conf$$subs.sh ||
22085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22087 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22088 if test $ac_delim_n = $ac_delim_num; then
22089 break
22090 elif $ac_last_try; then
22091 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22092 else
22093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22095 done
22096 rm -f conf$$subs.sh
22098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22099 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22100 _ACEOF
22101 sed -n '
22103 s/^/S["/; s/!.*/"]=/
22106 s/^[^!]*!//
22107 :repl
22108 t repl
22109 s/'"$ac_delim"'$//
22110 t delim
22113 s/\(.\{148\}\)..*/\1/
22114 t more1
22115 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22118 b repl
22119 :more1
22120 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22123 s/.\{148\}//
22124 t nl
22125 :delim
22127 s/\(.\{148\}\)..*/\1/
22128 t more2
22129 s/["\\]/\\&/g; s/^/"/; s/$/"/
22132 :more2
22133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22136 s/.\{148\}//
22137 t delim
22138 ' <conf$$subs.awk | sed '
22139 /^[^""]/{
22141 s/\n//
22143 ' >>$CONFIG_STATUS || ac_write_fail=1
22144 rm -f conf$$subs.awk
22145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22146 _ACAWK
22147 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22148 for (key in S) S_is_set[key] = 1
22149 FS = "\a"
22153 line = $ 0
22154 nfields = split(line, field, "@")
22155 substed = 0
22156 len = length(field[1])
22157 for (i = 2; i < nfields; i++) {
22158 key = field[i]
22159 keylen = length(key)
22160 if (S_is_set[key]) {
22161 value = S[key]
22162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22163 len += length(value) + length(field[++i])
22164 substed = 1
22165 } else
22166 len += 1 + keylen
22169 print line
22172 _ACAWK
22173 _ACEOF
22174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22175 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22176 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22177 else
22179 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22180 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22181 _ACEOF
22183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22185 # trailing colons and then remove the whole line if VPATH becomes empty
22186 # (actually we leave an empty line to preserve line numbers).
22187 if test "x$srcdir" = x.; then
22188 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22190 s///
22191 s/^/:/
22192 s/[ ]*$/:/
22193 s/:\$(srcdir):/:/g
22194 s/:\${srcdir}:/:/g
22195 s/:@srcdir@:/:/g
22196 s/^:*//
22197 s/:*$//
22199 s/\(=[ ]*\).*/\1/
22201 s/\n//
22202 s/^[^=]*=[ ]*$//
22206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22207 fi # test -n "$CONFIG_FILES"
22209 # Set up the scripts for CONFIG_HEADERS section.
22210 # No need to generate them if there are no CONFIG_HEADERS.
22211 # This happens for instance with `./config.status Makefile'.
22212 if test -n "$CONFIG_HEADERS"; then
22213 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22214 BEGIN {
22215 _ACEOF
22217 # Transform confdefs.h into an awk script `defines.awk', embedded as
22218 # here-document in config.status, that substitutes the proper values into
22219 # config.h.in to produce config.h.
22221 # Create a delimiter string that does not exist in confdefs.h, to ease
22222 # handling of long lines.
22223 ac_delim='%!_!# '
22224 for ac_last_try in false false :; do
22225 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22226 if test -z "$ac_tt"; then
22227 break
22228 elif $ac_last_try; then
22229 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22230 else
22231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22233 done
22235 # For the awk script, D is an array of macro values keyed by name,
22236 # likewise P contains macro parameters if any. Preserve backslash
22237 # newline sequences.
22239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22240 sed -n '
22241 s/.\{148\}/&'"$ac_delim"'/g
22242 t rset
22243 :rset
22244 s/^[ ]*#[ ]*define[ ][ ]*/ /
22245 t def
22247 :def
22248 s/\\$//
22249 t bsnl
22250 s/["\\]/\\&/g
22251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22252 D["\1"]=" \3"/p
22253 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22255 :bsnl
22256 s/["\\]/\\&/g
22257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22258 D["\1"]=" \3\\\\\\n"\\/p
22259 t cont
22260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22261 t cont
22263 :cont
22265 s/.\{148\}/&'"$ac_delim"'/g
22266 t clear
22267 :clear
22268 s/\\$//
22269 t bsnlc
22270 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22272 :bsnlc
22273 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22274 b cont
22275 ' <confdefs.h | sed '
22276 s/'"$ac_delim"'/"\\\
22277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22280 for (key in D) D_is_set[key] = 1
22281 FS = "\a"
22283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22284 line = \$ 0
22285 split(line, arg, " ")
22286 if (arg[1] == "#") {
22287 defundef = arg[2]
22288 mac1 = arg[3]
22289 } else {
22290 defundef = substr(arg[1], 2)
22291 mac1 = arg[2]
22293 split(mac1, mac2, "(") #)
22294 macro = mac2[1]
22295 prefix = substr(line, 1, index(line, defundef) - 1)
22296 if (D_is_set[macro]) {
22297 # Preserve the white space surrounding the "#".
22298 print prefix "define", macro P[macro] D[macro]
22299 next
22300 } else {
22301 # Replace #undef with comments. This is necessary, for example,
22302 # in the case of _POSIX_SOURCE, which is predefined and required
22303 # on some systems where configure will not decide to define it.
22304 if (defundef == "undef") {
22305 print "/*", prefix defundef, macro, "*/"
22306 next
22310 { print }
22311 _ACAWK
22312 _ACEOF
22313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22314 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22315 fi # test -n "$CONFIG_HEADERS"
22318 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22319 shift
22320 for ac_tag
22322 case $ac_tag in
22323 :[FHLC]) ac_mode=$ac_tag; continue;;
22324 esac
22325 case $ac_mode$ac_tag in
22326 :[FHL]*:*);;
22327 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22328 :[FH]-) ac_tag=-:-;;
22329 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22330 esac
22331 ac_save_IFS=$IFS
22332 IFS=:
22333 set x $ac_tag
22334 IFS=$ac_save_IFS
22335 shift
22336 ac_file=$1
22337 shift
22339 case $ac_mode in
22340 :L) ac_source=$1;;
22341 :[FH])
22342 ac_file_inputs=
22343 for ac_f
22345 case $ac_f in
22346 -) ac_f="$ac_tmp/stdin";;
22347 *) # Look for the file first in the build tree, then in the source tree
22348 # (if the path is not absolute). The absolute path cannot be DOS-style,
22349 # because $ac_f cannot contain `:'.
22350 test -f "$ac_f" ||
22351 case $ac_f in
22352 [\\/$]*) false;;
22353 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22354 esac ||
22355 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22356 esac
22357 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22358 as_fn_append ac_file_inputs " '$ac_f'"
22359 done
22361 # Let's still pretend it is `configure' which instantiates (i.e., don't
22362 # use $as_me), people would be surprised to read:
22363 # /* config.h. Generated by config.status. */
22364 configure_input='Generated from '`
22365 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22366 `' by configure.'
22367 if test x"$ac_file" != x-; then
22368 configure_input="$ac_file. $configure_input"
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22370 $as_echo "$as_me: creating $ac_file" >&6;}
22372 # Neutralize special characters interpreted by sed in replacement strings.
22373 case $configure_input in #(
22374 *\&* | *\|* | *\\* )
22375 ac_sed_conf_input=`$as_echo "$configure_input" |
22376 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22377 *) ac_sed_conf_input=$configure_input;;
22378 esac
22380 case $ac_tag in
22381 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22383 esac
22385 esac
22387 ac_dir=`$as_dirname -- "$ac_file" ||
22388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22389 X"$ac_file" : 'X\(//\)[^/]' \| \
22390 X"$ac_file" : 'X\(//\)$' \| \
22391 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22392 $as_echo X"$ac_file" |
22393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22394 s//\1/
22397 /^X\(\/\/\)[^/].*/{
22398 s//\1/
22401 /^X\(\/\/\)$/{
22402 s//\1/
22405 /^X\(\/\).*/{
22406 s//\1/
22409 s/.*/./; q'`
22410 as_dir="$ac_dir"; as_fn_mkdir_p
22411 ac_builddir=.
22413 case "$ac_dir" in
22414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22417 # A ".." for each directory in $ac_dir_suffix.
22418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22419 case $ac_top_builddir_sub in
22420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22422 esac ;;
22423 esac
22424 ac_abs_top_builddir=$ac_pwd
22425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22426 # for backward compatibility:
22427 ac_top_builddir=$ac_top_build_prefix
22429 case $srcdir in
22430 .) # We are building in place.
22431 ac_srcdir=.
22432 ac_top_srcdir=$ac_top_builddir_sub
22433 ac_abs_top_srcdir=$ac_pwd ;;
22434 [\\/]* | ?:[\\/]* ) # Absolute name.
22435 ac_srcdir=$srcdir$ac_dir_suffix;
22436 ac_top_srcdir=$srcdir
22437 ac_abs_top_srcdir=$srcdir ;;
22438 *) # Relative name.
22439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22440 ac_top_srcdir=$ac_top_build_prefix$srcdir
22441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22442 esac
22443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22446 case $ac_mode in
22449 # CONFIG_FILE
22452 _ACEOF
22454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22455 # If the template does not know about datarootdir, expand it.
22456 # FIXME: This hack should be removed a few years after 2.60.
22457 ac_datarootdir_hack=; ac_datarootdir_seen=
22458 ac_sed_dataroot='
22459 /datarootdir/ {
22463 /@datadir@/p
22464 /@docdir@/p
22465 /@infodir@/p
22466 /@localedir@/p
22467 /@mandir@/p'
22468 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22469 *datarootdir*) ac_datarootdir_seen=yes;;
22470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22472 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22473 _ACEOF
22474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22475 ac_datarootdir_hack='
22476 s&@datadir@&$datadir&g
22477 s&@docdir@&$docdir&g
22478 s&@infodir@&$infodir&g
22479 s&@localedir@&$localedir&g
22480 s&@mandir@&$mandir&g
22481 s&\\\${datarootdir}&$datarootdir&g' ;;
22482 esac
22483 _ACEOF
22485 # Neutralize VPATH when `$srcdir' = `.'.
22486 # Shell code in configure.ac might set extrasub.
22487 # FIXME: do we really want to maintain this feature?
22488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22489 ac_sed_extra="$ac_vpsub
22490 $extrasub
22491 _ACEOF
22492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22495 s|@configure_input@|$ac_sed_conf_input|;t t
22496 s&@top_builddir@&$ac_top_builddir_sub&;t t
22497 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22498 s&@srcdir@&$ac_srcdir&;t t
22499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22500 s&@top_srcdir@&$ac_top_srcdir&;t t
22501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22502 s&@builddir@&$ac_builddir&;t t
22503 s&@abs_builddir@&$ac_abs_builddir&;t t
22504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22505 $ac_datarootdir_hack
22507 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22508 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22510 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22511 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22512 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22513 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22515 which seems to be undefined. Please make sure it is defined" >&5
22516 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22517 which seems to be undefined. Please make sure it is defined" >&2;}
22519 rm -f "$ac_tmp/stdin"
22520 case $ac_file in
22521 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22522 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22523 esac \
22524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22528 # CONFIG_HEADER
22530 if test x"$ac_file" != x-; then
22532 $as_echo "/* $configure_input */" \
22533 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22534 } >"$ac_tmp/config.h" \
22535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22536 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22538 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22539 else
22540 rm -f "$ac_file"
22541 mv "$ac_tmp/config.h" "$ac_file" \
22542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22544 else
22545 $as_echo "/* $configure_input */" \
22546 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22547 || as_fn_error $? "could not create -" "$LINENO" 5
22552 # CONFIG_LINK
22555 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22557 else
22558 # Prefer the file from the source tree if names are identical.
22559 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22560 ac_source=$srcdir/$ac_source
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22564 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22566 if test ! -r "$ac_source"; then
22567 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22569 rm -f "$ac_file"
22571 # Try a relative symlink, then a hard link, then a copy.
22572 case $ac_source in
22573 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22574 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22575 esac
22576 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22577 ln "$ac_source" "$ac_file" 2>/dev/null ||
22578 cp -p "$ac_source" "$ac_file" ||
22579 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22582 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22583 $as_echo "$as_me: executing $ac_file commands" >&6;}
22585 esac
22588 case $ac_file$ac_mode in
22589 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22590 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22591 "Makefile":C) wine_fn_output_makefile Makefile ;;
22593 esac
22594 done # for ac_tag
22597 as_fn_exit 0
22598 _ACEOF
22599 ac_clean_files=$ac_clean_files_save
22601 test $ac_write_fail = 0 ||
22602 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22605 # configure is writing to config.log, and then calls config.status.
22606 # config.status does its own redirection, appending to config.log.
22607 # Unfortunately, on DOS this fails, as config.log is still kept open
22608 # by configure, so config.status won't be able to write to it; its
22609 # output is simply discarded. So we exec the FD to /dev/null,
22610 # effectively closing config.log, so it can be properly (re)opened and
22611 # appended to by config.status. When coming back to configure, we
22612 # need to make the FD available again.
22613 if test "$no_create" != yes; then
22614 ac_cs_success=:
22615 ac_config_status_args=
22616 test "$silent" = yes &&
22617 ac_config_status_args="$ac_config_status_args --quiet"
22618 exec 5>/dev/null
22619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22620 exec 5>>config.log
22621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22622 # would make configure fail if this is the last instruction.
22623 $ac_cs_success || as_fn_exit 1
22625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22631 if test "$no_create" = "yes"
22632 then
22633 exit 0
22636 ac_save_IFS="$IFS"
22637 if test "x$wine_notices" != x; then
22638 echo >&6
22639 IFS="|"
22640 for msg in $wine_notices; do
22641 IFS="$ac_save_IFS"
22642 if ${msg:+false} :; then :
22644 else
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22646 $as_echo "$as_me: $msg" >&6;}
22648 done
22650 IFS="|"
22651 for msg in $wine_warnings; do
22652 IFS="$ac_save_IFS"
22653 if ${msg:+false} :; then :
22655 else
22656 echo >&2
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22658 $as_echo "$as_me: WARNING: $msg" >&2;}
22660 done
22661 IFS="$ac_save_IFS"
22663 $as_echo "
22664 $as_me: Finished. Do '${ac_make}' to compile Wine.
22665 " >&6