ntdll: Export Unix user name in WINEUSERNAME variable.
[wine/zf.git] / configure
blob87cd2906e6e64984478601852168fb687515b740
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.6.
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.6'
584 PACKAGE_STRING='Wine 5.6'
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_dsuiext
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qasf
1525 enable_qcap
1526 enable_qdvd
1527 enable_qedit
1528 enable_qmgr
1529 enable_qmgrprxy
1530 enable_quartz
1531 enable_query
1532 enable_qwave
1533 enable_rasapi32
1534 enable_rasdlg
1535 enable_regapi
1536 enable_resutils
1537 enable_riched20
1538 enable_riched32
1539 enable_rpcrt4
1540 enable_rsabase
1541 enable_rsaenh
1542 enable_rstrtmgr
1543 enable_rtutils
1544 enable_rtworkq
1545 enable_samlib
1546 enable_sane_ds
1547 enable_sapi
1548 enable_sas
1549 enable_scarddlg
1550 enable_sccbase
1551 enable_schannel
1552 enable_schedsvc
1553 enable_scrobj
1554 enable_scrrun
1555 enable_scsiport_sys
1556 enable_secur32
1557 enable_security
1558 enable_sensapi
1559 enable_serialui
1560 enable_setupapi
1561 enable_sfc
1562 enable_sfc_os
1563 enable_shcore
1564 enable_shdoclc
1565 enable_shdocvw
1566 enable_shell32
1567 enable_shfolder
1568 enable_shlwapi
1569 enable_slbcsp
1570 enable_slc
1571 enable_snmpapi
1572 enable_softpub
1573 enable_spoolss
1574 enable_srclient
1575 enable_sspicli
1576 enable_stdole2_tlb
1577 enable_stdole32_tlb
1578 enable_sti
1579 enable_strmbase
1580 enable_strmdll
1581 enable_strmiids
1582 enable_svrapi
1583 enable_sxs
1584 enable_t2embed
1585 enable_tapi32
1586 enable_taskschd
1587 enable_tdh
1588 enable_tdi_sys
1589 enable_traffic
1590 enable_twain_32
1591 enable_tzres
1592 enable_ucrtbase
1593 enable_uianimation
1594 enable_uiautomationcore
1595 enable_uiribbon
1596 enable_unicows
1597 enable_updspapi
1598 enable_url
1599 enable_urlmon
1600 enable_usbd_sys
1601 enable_user32
1602 enable_userenv
1603 enable_usp10
1604 enable_utildll
1605 enable_uuid
1606 enable_uxtheme
1607 enable_vbscript
1608 enable_vcomp
1609 enable_vcomp100
1610 enable_vcomp110
1611 enable_vcomp120
1612 enable_vcomp140
1613 enable_vcomp90
1614 enable_vcruntime140
1615 enable_vcruntime140_1
1616 enable_vdmdbg
1617 enable_version
1618 enable_vga
1619 enable_virtdisk
1620 enable_vssapi
1621 enable_vulkan_1
1622 enable_wbemdisp
1623 enable_wbemprox
1624 enable_wbemuuid
1625 enable_wdscore
1626 enable_webservices
1627 enable_wer
1628 enable_wevtapi
1629 enable_wiaservc
1630 enable_wimgapi
1631 enable_windowscodecs
1632 enable_windowscodecsext
1633 enable_winealsa_drv
1634 enable_wineandroid_drv
1635 enable_winebus_sys
1636 enable_winecoreaudio_drv
1637 enable_winecrt0
1638 enable_wined3d
1639 enable_winegstreamer
1640 enable_winehid_sys
1641 enable_winejoystick_drv
1642 enable_winemac_drv
1643 enable_winemapi
1644 enable_wineoss_drv
1645 enable_wineps_drv
1646 enable_winepulse_drv
1647 enable_wineqtdecoder
1648 enable_winevulkan
1649 enable_winex11_drv
1650 enable_wing32
1651 enable_winhttp
1652 enable_wininet
1653 enable_winmm
1654 enable_winnls32
1655 enable_winscard
1656 enable_winspool_drv
1657 enable_winsta
1658 enable_wintab32
1659 enable_wintrust
1660 enable_winusb
1661 enable_wlanapi
1662 enable_wlanui
1663 enable_wldap32
1664 enable_wmasf
1665 enable_wmcodecdspuuid
1666 enable_wmi
1667 enable_wmiutils
1668 enable_wmp
1669 enable_wmphoto
1670 enable_wmvcore
1671 enable_wnaspi32
1672 enable_wpc
1673 enable_wpcap
1674 enable_ws2_32
1675 enable_wsdapi
1676 enable_wshom_ocx
1677 enable_wsnmp32
1678 enable_wsock32
1679 enable_wtsapi32
1680 enable_wuapi
1681 enable_wuaueng
1682 enable_x3daudio1_0
1683 enable_x3daudio1_1
1684 enable_x3daudio1_2
1685 enable_x3daudio1_3
1686 enable_x3daudio1_4
1687 enable_x3daudio1_5
1688 enable_x3daudio1_6
1689 enable_x3daudio1_7
1690 enable_xapofx1_1
1691 enable_xapofx1_2
1692 enable_xapofx1_3
1693 enable_xapofx1_4
1694 enable_xapofx1_5
1695 enable_xaudio2_0
1696 enable_xaudio2_1
1697 enable_xaudio2_2
1698 enable_xaudio2_3
1699 enable_xaudio2_4
1700 enable_xaudio2_5
1701 enable_xaudio2_6
1702 enable_xaudio2_7
1703 enable_xaudio2_8
1704 enable_xaudio2_9
1705 enable_xinput1_1
1706 enable_xinput1_2
1707 enable_xinput1_3
1708 enable_xinput1_4
1709 enable_xinput9_1_0
1710 enable_xmllite
1711 enable_xolehlp
1712 enable_xpsprint
1713 enable_xpssvcs
1714 enable_fonts
1715 enable_include
1716 enable_port
1717 enable_wine
1718 enable_wpp
1719 enable_loader
1720 enable_nls
1721 enable_po
1722 enable_arp
1723 enable_aspnet_regiis
1724 enable_attrib
1725 enable_cabarc
1726 enable_cacls
1727 enable_chcp_com
1728 enable_clock
1729 enable_cmd
1730 enable_conhost
1731 enable_control
1732 enable_cscript
1733 enable_dism
1734 enable_dpnsvr
1735 enable_dxdiag
1736 enable_eject
1737 enable_expand
1738 enable_explorer
1739 enable_extrac32
1740 enable_fc
1741 enable_find
1742 enable_findstr
1743 enable_fsutil
1744 enable_hh
1745 enable_hostname
1746 enable_icacls
1747 enable_icinfo
1748 enable_iexplore
1749 enable_ipconfig
1750 enable_lodctr
1751 enable_mofcomp
1752 enable_mshta
1753 enable_msidb
1754 enable_msiexec
1755 enable_msinfo32
1756 enable_net
1757 enable_netsh
1758 enable_netstat
1759 enable_ngen
1760 enable_notepad
1761 enable_oleview
1762 enable_ping
1763 enable_plugplay
1764 enable_powershell
1765 enable_presentationfontcache
1766 enable_progman
1767 enable_reg
1768 enable_regasm
1769 enable_regedit
1770 enable_regini
1771 enable_regsvcs
1772 enable_regsvr32
1773 enable_rpcss
1774 enable_rundll32
1775 enable_sc
1776 enable_schtasks
1777 enable_sdbinst
1778 enable_secedit
1779 enable_servicemodelreg
1780 enable_services
1781 enable_shutdown
1782 enable_spoolsv
1783 enable_start
1784 enable_subst
1785 enable_svchost
1786 enable_systeminfo
1787 enable_taskkill
1788 enable_tasklist
1789 enable_taskmgr
1790 enable_termsv
1791 enable_uninstaller
1792 enable_unlodctr
1793 enable_view
1794 enable_wevtutil
1795 enable_whoami
1796 enable_wineboot
1797 enable_winebrowser
1798 enable_winecfg
1799 enable_wineconsole
1800 enable_winedbg
1801 enable_winedevice
1802 enable_winefile
1803 enable_winemenubuilder
1804 enable_winemine
1805 enable_winemsibuilder
1806 enable_winepath
1807 enable_winetest
1808 enable_winhlp32
1809 enable_winmgmt
1810 enable_winver
1811 enable_wmic
1812 enable_wmplayer
1813 enable_wordpad
1814 enable_write
1815 enable_wscript
1816 enable_wuauserv
1817 enable_wusa
1818 enable_xcopy
1819 enable_server
1820 enable_tools
1821 enable_sfnt2fon
1822 enable_widl
1823 enable_winebuild
1824 enable_winedump
1825 enable_winegcc
1826 enable_winemaker
1827 enable_wmc
1828 enable_wrc
1830 ac_precious_vars='build_alias
1831 host_alias
1832 target_alias
1834 CFLAGS
1835 LDFLAGS
1836 LIBS
1837 CPPFLAGS
1839 CXXFLAGS
1842 OBJC
1843 OBJCFLAGS
1844 OBJCPP
1845 XMKMF
1846 XML2_CFLAGS
1847 XML2_LIBS
1848 XSLT_CFLAGS
1849 XSLT_LIBS
1850 INOTIFY_CFLAGS
1851 INOTIFY_LIBS
1852 DBUS_CFLAGS
1853 DBUS_LIBS
1854 HAL_CFLAGS
1855 HAL_LIBS
1856 GNUTLS_CFLAGS
1857 GNUTLS_LIBS
1858 SANE_CFLAGS
1859 SANE_LIBS
1860 GPHOTO2_CFLAGS
1861 GPHOTO2_LIBS
1862 GPHOTO2_PORT_CFLAGS
1863 GPHOTO2_PORT_LIBS
1864 LCMS2_CFLAGS
1865 LCMS2_LIBS
1866 FREETYPE_CFLAGS
1867 FREETYPE_LIBS
1868 PULSE_CFLAGS
1869 PULSE_LIBS
1870 GSTREAMER_CFLAGS
1871 GSTREAMER_LIBS
1872 UDEV_CFLAGS
1873 UDEV_LIBS
1874 UNWIND_CFLAGS
1875 UNWIND_LIBS
1876 SDL2_CFLAGS
1877 SDL2_LIBS
1878 FAUDIO_CFLAGS
1879 FAUDIO_LIBS
1880 CAPI20_CFLAGS
1881 CAPI20_LIBS
1882 CUPS_CFLAGS
1883 CUPS_LIBS
1884 FONTCONFIG_CFLAGS
1885 FONTCONFIG_LIBS
1886 KRB5_CFLAGS
1887 KRB5_LIBS
1888 GSSAPI_CFLAGS
1889 GSSAPI_LIBS
1890 JPEG_CFLAGS
1891 JPEG_LIBS
1892 PNG_CFLAGS
1893 PNG_LIBS
1894 TIFF_CFLAGS
1895 TIFF_LIBS
1896 MPG123_CFLAGS
1897 MPG123_LIBS
1898 NETAPI_CFLAGS
1899 NETAPI_LIBS
1900 VKD3D_CFLAGS
1901 VKD3D_LIBS
1902 LDAP_CFLAGS
1903 LDAP_LIBS'
1906 # Initialize some variables set by options.
1907 ac_init_help=
1908 ac_init_version=false
1909 ac_unrecognized_opts=
1910 ac_unrecognized_sep=
1911 # The variables have the same names as the options, with
1912 # dashes changed to underlines.
1913 cache_file=/dev/null
1914 exec_prefix=NONE
1915 no_create=
1916 no_recursion=
1917 prefix=NONE
1918 program_prefix=NONE
1919 program_suffix=NONE
1920 program_transform_name=s,x,x,
1921 silent=
1922 site=
1923 srcdir=
1924 verbose=
1925 x_includes=NONE
1926 x_libraries=NONE
1928 # Installation directory options.
1929 # These are left unexpanded so users can "make install exec_prefix=/foo"
1930 # and all the variables that are supposed to be based on exec_prefix
1931 # by default will actually change.
1932 # Use braces instead of parens because sh, perl, etc. also accept them.
1933 # (The list follows the same order as the GNU Coding Standards.)
1934 bindir='${exec_prefix}/bin'
1935 sbindir='${exec_prefix}/sbin'
1936 libexecdir='${exec_prefix}/libexec'
1937 datarootdir='${prefix}/share'
1938 datadir='${datarootdir}'
1939 sysconfdir='${prefix}/etc'
1940 sharedstatedir='${prefix}/com'
1941 localstatedir='${prefix}/var'
1942 runstatedir='${localstatedir}/run'
1943 includedir='${prefix}/include'
1944 oldincludedir='/usr/include'
1945 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1946 infodir='${datarootdir}/info'
1947 htmldir='${docdir}'
1948 dvidir='${docdir}'
1949 pdfdir='${docdir}'
1950 psdir='${docdir}'
1951 libdir='${exec_prefix}/lib'
1952 localedir='${datarootdir}/locale'
1953 mandir='${datarootdir}/man'
1955 ac_prev=
1956 ac_dashdash=
1957 for ac_option
1959 # If the previous option needs an argument, assign it.
1960 if test -n "$ac_prev"; then
1961 eval $ac_prev=\$ac_option
1962 ac_prev=
1963 continue
1966 case $ac_option in
1967 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1968 *=) ac_optarg= ;;
1969 *) ac_optarg=yes ;;
1970 esac
1972 # Accept the important Cygnus configure options, so we can diagnose typos.
1974 case $ac_dashdash$ac_option in
1976 ac_dashdash=yes ;;
1978 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1979 ac_prev=bindir ;;
1980 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1981 bindir=$ac_optarg ;;
1983 -build | --build | --buil | --bui | --bu)
1984 ac_prev=build_alias ;;
1985 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1986 build_alias=$ac_optarg ;;
1988 -cache-file | --cache-file | --cache-fil | --cache-fi \
1989 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1990 ac_prev=cache_file ;;
1991 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1992 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1993 cache_file=$ac_optarg ;;
1995 --config-cache | -C)
1996 cache_file=config.cache ;;
1998 -datadir | --datadir | --datadi | --datad)
1999 ac_prev=datadir ;;
2000 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2001 datadir=$ac_optarg ;;
2003 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2004 | --dataroo | --dataro | --datar)
2005 ac_prev=datarootdir ;;
2006 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2007 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2008 datarootdir=$ac_optarg ;;
2010 -disable-* | --disable-*)
2011 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2012 # Reject names that are not valid shell variable names.
2013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2014 as_fn_error $? "invalid feature name: $ac_useropt"
2015 ac_useropt_orig=$ac_useropt
2016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2017 case $ac_user_opts in
2019 "enable_$ac_useropt"
2020 "*) ;;
2021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2022 ac_unrecognized_sep=', ';;
2023 esac
2024 eval enable_$ac_useropt=no ;;
2026 -docdir | --docdir | --docdi | --doc | --do)
2027 ac_prev=docdir ;;
2028 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2029 docdir=$ac_optarg ;;
2031 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2032 ac_prev=dvidir ;;
2033 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2034 dvidir=$ac_optarg ;;
2036 -enable-* | --enable-*)
2037 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2038 # Reject names that are not valid shell variable names.
2039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2040 as_fn_error $? "invalid feature name: $ac_useropt"
2041 ac_useropt_orig=$ac_useropt
2042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2043 case $ac_user_opts in
2045 "enable_$ac_useropt"
2046 "*) ;;
2047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2048 ac_unrecognized_sep=', ';;
2049 esac
2050 eval enable_$ac_useropt=\$ac_optarg ;;
2052 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2053 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2054 | --exec | --exe | --ex)
2055 ac_prev=exec_prefix ;;
2056 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2057 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2058 | --exec=* | --exe=* | --ex=*)
2059 exec_prefix=$ac_optarg ;;
2061 -gas | --gas | --ga | --g)
2062 # Obsolete; use --with-gas.
2063 with_gas=yes ;;
2065 -help | --help | --hel | --he | -h)
2066 ac_init_help=long ;;
2067 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2068 ac_init_help=recursive ;;
2069 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2070 ac_init_help=short ;;
2072 -host | --host | --hos | --ho)
2073 ac_prev=host_alias ;;
2074 -host=* | --host=* | --hos=* | --ho=*)
2075 host_alias=$ac_optarg ;;
2077 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2078 ac_prev=htmldir ;;
2079 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2080 | --ht=*)
2081 htmldir=$ac_optarg ;;
2083 -includedir | --includedir | --includedi | --included | --include \
2084 | --includ | --inclu | --incl | --inc)
2085 ac_prev=includedir ;;
2086 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2087 | --includ=* | --inclu=* | --incl=* | --inc=*)
2088 includedir=$ac_optarg ;;
2090 -infodir | --infodir | --infodi | --infod | --info | --inf)
2091 ac_prev=infodir ;;
2092 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2093 infodir=$ac_optarg ;;
2095 -libdir | --libdir | --libdi | --libd)
2096 ac_prev=libdir ;;
2097 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2098 libdir=$ac_optarg ;;
2100 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2101 | --libexe | --libex | --libe)
2102 ac_prev=libexecdir ;;
2103 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2104 | --libexe=* | --libex=* | --libe=*)
2105 libexecdir=$ac_optarg ;;
2107 -localedir | --localedir | --localedi | --localed | --locale)
2108 ac_prev=localedir ;;
2109 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2110 localedir=$ac_optarg ;;
2112 -localstatedir | --localstatedir | --localstatedi | --localstated \
2113 | --localstate | --localstat | --localsta | --localst | --locals)
2114 ac_prev=localstatedir ;;
2115 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2116 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2117 localstatedir=$ac_optarg ;;
2119 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2120 ac_prev=mandir ;;
2121 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2122 mandir=$ac_optarg ;;
2124 -nfp | --nfp | --nf)
2125 # Obsolete; use --without-fp.
2126 with_fp=no ;;
2128 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2129 | --no-cr | --no-c | -n)
2130 no_create=yes ;;
2132 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2133 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2134 no_recursion=yes ;;
2136 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2137 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2138 | --oldin | --oldi | --old | --ol | --o)
2139 ac_prev=oldincludedir ;;
2140 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2141 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2142 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2143 oldincludedir=$ac_optarg ;;
2145 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2146 ac_prev=prefix ;;
2147 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2148 prefix=$ac_optarg ;;
2150 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2151 | --program-pre | --program-pr | --program-p)
2152 ac_prev=program_prefix ;;
2153 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2154 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2155 program_prefix=$ac_optarg ;;
2157 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2158 | --program-suf | --program-su | --program-s)
2159 ac_prev=program_suffix ;;
2160 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2161 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2162 program_suffix=$ac_optarg ;;
2164 -program-transform-name | --program-transform-name \
2165 | --program-transform-nam | --program-transform-na \
2166 | --program-transform-n | --program-transform- \
2167 | --program-transform | --program-transfor \
2168 | --program-transfo | --program-transf \
2169 | --program-trans | --program-tran \
2170 | --progr-tra | --program-tr | --program-t)
2171 ac_prev=program_transform_name ;;
2172 -program-transform-name=* | --program-transform-name=* \
2173 | --program-transform-nam=* | --program-transform-na=* \
2174 | --program-transform-n=* | --program-transform-=* \
2175 | --program-transform=* | --program-transfor=* \
2176 | --program-transfo=* | --program-transf=* \
2177 | --program-trans=* | --program-tran=* \
2178 | --progr-tra=* | --program-tr=* | --program-t=*)
2179 program_transform_name=$ac_optarg ;;
2181 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2182 ac_prev=pdfdir ;;
2183 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2184 pdfdir=$ac_optarg ;;
2186 -psdir | --psdir | --psdi | --psd | --ps)
2187 ac_prev=psdir ;;
2188 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2189 psdir=$ac_optarg ;;
2191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2192 | -silent | --silent | --silen | --sile | --sil)
2193 silent=yes ;;
2195 -runstatedir | --runstatedir | --runstatedi | --runstated \
2196 | --runstate | --runstat | --runsta | --runst | --runs \
2197 | --run | --ru | --r)
2198 ac_prev=runstatedir ;;
2199 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2200 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2201 | --run=* | --ru=* | --r=*)
2202 runstatedir=$ac_optarg ;;
2204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2205 ac_prev=sbindir ;;
2206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2207 | --sbi=* | --sb=*)
2208 sbindir=$ac_optarg ;;
2210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2212 | --sharedst | --shareds | --shared | --share | --shar \
2213 | --sha | --sh)
2214 ac_prev=sharedstatedir ;;
2215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2218 | --sha=* | --sh=*)
2219 sharedstatedir=$ac_optarg ;;
2221 -site | --site | --sit)
2222 ac_prev=site ;;
2223 -site=* | --site=* | --sit=*)
2224 site=$ac_optarg ;;
2226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2227 ac_prev=srcdir ;;
2228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2229 srcdir=$ac_optarg ;;
2231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2232 | --syscon | --sysco | --sysc | --sys | --sy)
2233 ac_prev=sysconfdir ;;
2234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2236 sysconfdir=$ac_optarg ;;
2238 -target | --target | --targe | --targ | --tar | --ta | --t)
2239 ac_prev=target_alias ;;
2240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2241 target_alias=$ac_optarg ;;
2243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2244 verbose=yes ;;
2246 -version | --version | --versio | --versi | --vers | -V)
2247 ac_init_version=: ;;
2249 -with-* | --with-*)
2250 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2251 # Reject names that are not valid shell variable names.
2252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2253 as_fn_error $? "invalid package name: $ac_useropt"
2254 ac_useropt_orig=$ac_useropt
2255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2256 case $ac_user_opts in
2258 "with_$ac_useropt"
2259 "*) ;;
2260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2261 ac_unrecognized_sep=', ';;
2262 esac
2263 eval with_$ac_useropt=\$ac_optarg ;;
2265 -without-* | --without-*)
2266 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2267 # Reject names that are not valid shell variable names.
2268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2269 as_fn_error $? "invalid package name: $ac_useropt"
2270 ac_useropt_orig=$ac_useropt
2271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2272 case $ac_user_opts in
2274 "with_$ac_useropt"
2275 "*) ;;
2276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2277 ac_unrecognized_sep=', ';;
2278 esac
2279 eval with_$ac_useropt=no ;;
2281 --x)
2282 # Obsolete; use --with-x.
2283 with_x=yes ;;
2285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2286 | --x-incl | --x-inc | --x-in | --x-i)
2287 ac_prev=x_includes ;;
2288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2290 x_includes=$ac_optarg ;;
2292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2294 ac_prev=x_libraries ;;
2295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2297 x_libraries=$ac_optarg ;;
2299 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2300 Try \`$0 --help' for more information"
2303 *=*)
2304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2305 # Reject names that are not valid shell variable names.
2306 case $ac_envvar in #(
2307 '' | [0-9]* | *[!_$as_cr_alnum]* )
2308 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2309 esac
2310 eval $ac_envvar=\$ac_optarg
2311 export $ac_envvar ;;
2314 # FIXME: should be removed in autoconf 3.0.
2315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2318 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2321 esac
2322 done
2324 if test -n "$ac_prev"; then
2325 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2326 as_fn_error $? "missing argument to $ac_option"
2329 if test -n "$ac_unrecognized_opts"; then
2330 case $enable_option_checking in
2331 no) ;;
2332 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2334 esac
2337 # Check all directory arguments for consistency.
2338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2339 datadir sysconfdir sharedstatedir localstatedir includedir \
2340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2341 libdir localedir mandir runstatedir
2343 eval ac_val=\$$ac_var
2344 # Remove trailing slashes.
2345 case $ac_val in
2346 */ )
2347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2348 eval $ac_var=\$ac_val;;
2349 esac
2350 # Be sure to have absolute directory names.
2351 case $ac_val in
2352 [\\/$]* | ?:[\\/]* ) continue;;
2353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2354 esac
2355 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2356 done
2358 # There might be people who depend on the old broken behavior: `$host'
2359 # used to hold the argument of --host etc.
2360 # FIXME: To remove some day.
2361 build=$build_alias
2362 host=$host_alias
2363 target=$target_alias
2365 # FIXME: To remove some day.
2366 if test "x$host_alias" != x; then
2367 if test "x$build_alias" = x; then
2368 cross_compiling=maybe
2369 elif test "x$build_alias" != "x$host_alias"; then
2370 cross_compiling=yes
2374 ac_tool_prefix=
2375 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2377 test "$silent" = yes && exec 6>/dev/null
2380 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2381 ac_ls_di=`ls -di .` &&
2382 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2383 as_fn_error $? "working directory cannot be determined"
2384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2385 as_fn_error $? "pwd does not report name of working directory"
2388 # Find the source files, if location was not specified.
2389 if test -z "$srcdir"; then
2390 ac_srcdir_defaulted=yes
2391 # Try the directory containing this script, then the parent directory.
2392 ac_confdir=`$as_dirname -- "$as_myself" ||
2393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2394 X"$as_myself" : 'X\(//\)[^/]' \| \
2395 X"$as_myself" : 'X\(//\)$' \| \
2396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2397 $as_echo X"$as_myself" |
2398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2399 s//\1/
2402 /^X\(\/\/\)[^/].*/{
2403 s//\1/
2406 /^X\(\/\/\)$/{
2407 s//\1/
2410 /^X\(\/\).*/{
2411 s//\1/
2414 s/.*/./; q'`
2415 srcdir=$ac_confdir
2416 if test ! -r "$srcdir/$ac_unique_file"; then
2417 srcdir=..
2419 else
2420 ac_srcdir_defaulted=no
2422 if test ! -r "$srcdir/$ac_unique_file"; then
2423 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2424 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2427 ac_abs_confdir=`(
2428 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2429 pwd)`
2430 # When building in place, set srcdir=.
2431 if test "$ac_abs_confdir" = "$ac_pwd"; then
2432 srcdir=.
2434 # Remove unnecessary trailing slashes from srcdir.
2435 # Double slashes in file names in object file debugging info
2436 # mess up M-x gdb in Emacs.
2437 case $srcdir in
2438 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2439 esac
2440 for ac_var in $ac_precious_vars; do
2441 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2442 eval ac_env_${ac_var}_value=\$${ac_var}
2443 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2444 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2445 done
2448 # Report the --help message.
2450 if test "$ac_init_help" = "long"; then
2451 # Omit some internal or obsolete options to make the list less imposing.
2452 # This message is too long to be a string in the A/UX 3.1 sh.
2453 cat <<_ACEOF
2454 \`configure' configures Wine 5.6 to adapt to many kinds of systems.
2456 Usage: $0 [OPTION]... [VAR=VALUE]...
2458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2459 VAR=VALUE. See below for descriptions of some of the useful variables.
2461 Defaults for the options are specified in brackets.
2463 Configuration:
2464 -h, --help display this help and exit
2465 --help=short display options specific to this package
2466 --help=recursive display the short help of all the included packages
2467 -V, --version display version information and exit
2468 -q, --quiet, --silent do not print \`checking ...' messages
2469 --cache-file=FILE cache test results in FILE [disabled]
2470 -C, --config-cache alias for \`--cache-file=config.cache'
2471 -n, --no-create do not create output files
2472 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2474 Installation directories:
2475 --prefix=PREFIX install architecture-independent files in PREFIX
2476 [$ac_default_prefix]
2477 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2478 [PREFIX]
2480 By default, \`make install' will install all the files in
2481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2483 for instance \`--prefix=\$HOME'.
2485 For better control, use the options below.
2487 Fine tuning of the installation directories:
2488 --bindir=DIR user executables [EPREFIX/bin]
2489 --sbindir=DIR system admin executables [EPREFIX/sbin]
2490 --libexecdir=DIR program executables [EPREFIX/libexec]
2491 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2492 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2493 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2494 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2495 --libdir=DIR object code libraries [EPREFIX/lib]
2496 --includedir=DIR C header files [PREFIX/include]
2497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2500 --infodir=DIR info documentation [DATAROOTDIR/info]
2501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2502 --mandir=DIR man documentation [DATAROOTDIR/man]
2503 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2504 --htmldir=DIR html documentation [DOCDIR]
2505 --dvidir=DIR dvi documentation [DOCDIR]
2506 --pdfdir=DIR pdf documentation [DOCDIR]
2507 --psdir=DIR ps documentation [DOCDIR]
2508 _ACEOF
2510 cat <<\_ACEOF
2512 X features:
2513 --x-includes=DIR X include files are in DIR
2514 --x-libraries=DIR X library files are in DIR
2516 System types:
2517 --build=BUILD configure for building on BUILD [guessed]
2518 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2519 _ACEOF
2522 if test -n "$ac_init_help"; then
2523 case $ac_init_help in
2524 short | recursive ) echo "Configuration of Wine 5.6:";;
2525 esac
2526 cat <<\_ACEOF
2528 Optional Features:
2529 --disable-option-checking ignore unrecognized --enable/--with options
2530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2532 --disable-win16 do not include Win16 support
2533 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2534 binaries)
2535 --disable-tests do not build the regression tests
2536 --enable-maintainer-mode
2537 enable maintainer-specific build rules
2538 --enable-werror treat compilation warnings as errors
2539 --disable-largefile omit support for large files
2541 Optional Packages:
2542 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2543 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2544 --without-alsa do not use the Alsa sound support
2545 --without-capi do not use CAPI (ISDN support)
2546 --without-cms do not use CMS (color management support)
2547 --without-coreaudio do not use the CoreAudio sound support
2548 --without-cups do not use CUPS
2549 --without-curses do not use (n)curses
2550 --without-dbus do not use DBus (dynamic device support)
2551 --without-faudio do not use FAudio (XAudio2 support)
2552 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2553 --without-fontconfig do not use fontconfig
2554 --without-freetype do not use the FreeType library
2555 --without-gettext do not use gettext
2556 --with-gettextpo use the GetTextPO library to rebuild po files
2557 --without-gphoto do not use gphoto (Digital Camera support)
2558 --without-glu do not use the GLU library
2559 --without-gnutls do not use GnuTLS (schannel support)
2560 --without-gsm do not use libgsm (GSM 06.10 codec support)
2561 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2562 --without-gstreamer do not use GStreamer (codecs support)
2563 --without-hal do not use HAL (dynamic device support)
2564 --without-inotify do not use inotify (filesystem change notifications)
2565 --without-jpeg do not use JPEG
2566 --without-krb5 do not use krb5 (Kerberos)
2567 --without-ldap do not use LDAP
2568 --without-mingw do not use the MinGW cross-compiler
2569 --without-mpg123 do not use the mpg123 library
2570 --without-netapi do not use the Samba NetAPI library
2571 --without-openal do not use OpenAL
2572 --without-opencl do not use OpenCL
2573 --without-opengl do not use OpenGL
2574 --without-osmesa do not use the OSMesa library
2575 --without-oss do not use the OSS sound support
2576 --without-pcap do not use the Packet Capture library
2577 --without-png do not use PNG
2578 --without-pthread do not use the pthread library
2579 --without-pulse do not use PulseAudio sound support
2580 --without-sane do not use SANE (scanner support)
2581 --without-sdl do not use SDL
2582 --without-tiff do not use TIFF
2583 --without-udev do not use udev (plug and play support)
2584 --without-unwind do not use the libunwind library (exception
2585 handling)
2586 --without-v4l2 do not use v4l2 (video capture)
2587 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2588 --without-vulkan do not use Vulkan
2589 --without-xcomposite do not use the Xcomposite extension
2590 --without-xcursor do not use the Xcursor extension
2591 --without-xfixes do not use Xfixes for clipboard change notifications
2592 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2593 --without-xinput do not use the Xinput extension
2594 --without-xinput2 do not use the Xinput 2 extension
2595 --without-xml do not use XML
2596 --without-xrandr do not use Xrandr (multi-monitor support)
2597 --without-xrender do not use the Xrender extension
2598 --without-xshape do not use the Xshape extension
2599 --without-xshm do not use XShm (shared memory extension)
2600 --without-xslt do not use XSLT
2601 --without-xxf86vm do not use XFree video mode extension
2602 --with-wine-tools=DIR use Wine tools from directory DIR
2603 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2604 --with-x use the X Window System
2606 Some influential environment variables:
2607 CC C compiler command
2608 CFLAGS C compiler flags
2609 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2610 nonstandard directory <lib dir>
2611 LIBS libraries to pass to the linker, e.g. -l<library>
2612 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2613 you have headers in a nonstandard directory <include dir>
2614 CXX C++ compiler command
2615 CXXFLAGS C++ compiler flags
2616 CPP C preprocessor
2617 OBJC Objective C compiler command
2618 OBJCFLAGS Objective C compiler flags
2619 OBJCPP Objective C preprocessor
2620 XMKMF Path to xmkmf, Makefile generator for X Window System
2621 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2622 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2623 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2624 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2625 INOTIFY_CFLAGS
2626 C compiler flags for libinotify, overriding pkg-config
2627 INOTIFY_LIBS
2628 Linker flags for libinotify, overriding pkg-config
2629 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2630 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2631 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2632 HAL_LIBS Linker flags for hal, overriding pkg-config
2633 GNUTLS_CFLAGS
2634 C compiler flags for gnutls, overriding pkg-config
2635 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2636 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2637 SANE_LIBS Linker flags for libsane, overriding pkg-config
2638 GPHOTO2_CFLAGS
2639 C compiler flags for libgphoto2, overriding pkg-config
2640 GPHOTO2_LIBS
2641 Linker flags for libgphoto2, overriding pkg-config
2642 GPHOTO2_PORT_CFLAGS
2643 C compiler flags for libgphoto2_port, overriding pkg-config
2644 GPHOTO2_PORT_LIBS
2645 Linker flags for libgphoto2_port, overriding pkg-config
2646 LCMS2_CFLAGS
2647 C compiler flags for lcms2, overriding pkg-config
2648 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2649 FREETYPE_CFLAGS
2650 C compiler flags for freetype2, overriding pkg-config
2651 FREETYPE_LIBS
2652 Linker flags for freetype2, overriding pkg-config
2653 PULSE_CFLAGS
2654 C compiler flags for libpulse, overriding pkg-config
2655 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2656 GSTREAMER_CFLAGS
2657 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2658 gstreamer-audio-1.0, overriding pkg-config
2659 GSTREAMER_LIBS
2660 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2661 gstreamer-audio-1.0, overriding pkg-config
2662 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2663 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2664 UNWIND_CFLAGS
2665 C compiler flags for libunwind, overriding pkg-config
2666 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2667 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2668 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2669 FAUDIO_CFLAGS
2670 C compiler flags for faudio, overriding pkg-config
2671 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2672 CAPI20_CFLAGS
2673 C compiler flags for capi20, overriding pkg-config
2674 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2675 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2676 CUPS_LIBS Linker flags for cups, overriding pkg-config
2677 FONTCONFIG_CFLAGS
2678 C compiler flags for fontconfig, overriding pkg-config
2679 FONTCONFIG_LIBS
2680 Linker flags for fontconfig, overriding pkg-config
2681 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2682 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2683 GSSAPI_CFLAGS
2684 C compiler flags for krb5-gssapi, overriding pkg-config
2685 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2686 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2687 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2688 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2689 PNG_LIBS Linker flags for libpng, overriding pkg-config
2690 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2691 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2692 MPG123_CFLAGS
2693 C compiler flags for libmpg123, overriding pkg-config
2694 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2695 NETAPI_CFLAGS
2696 C compiler flags for netapi, overriding pkg-config
2697 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2698 VKD3D_CFLAGS
2699 C compiler flags for libvkd3d, overriding pkg-config
2700 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2701 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2702 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2704 Use these variables to override the choices made by `configure' or to help
2705 it to find libraries and programs with nonstandard names/locations.
2707 Report bugs to <wine-devel@winehq.org>.
2708 Wine home page: <https://www.winehq.org>.
2709 _ACEOF
2710 ac_status=$?
2713 if test "$ac_init_help" = "recursive"; then
2714 # If there are subdirs, report their specific --help.
2715 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2716 test -d "$ac_dir" ||
2717 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2718 continue
2719 ac_builddir=.
2721 case "$ac_dir" in
2722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2724 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2725 # A ".." for each directory in $ac_dir_suffix.
2726 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2727 case $ac_top_builddir_sub in
2728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2730 esac ;;
2731 esac
2732 ac_abs_top_builddir=$ac_pwd
2733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2734 # for backward compatibility:
2735 ac_top_builddir=$ac_top_build_prefix
2737 case $srcdir in
2738 .) # We are building in place.
2739 ac_srcdir=.
2740 ac_top_srcdir=$ac_top_builddir_sub
2741 ac_abs_top_srcdir=$ac_pwd ;;
2742 [\\/]* | ?:[\\/]* ) # Absolute name.
2743 ac_srcdir=$srcdir$ac_dir_suffix;
2744 ac_top_srcdir=$srcdir
2745 ac_abs_top_srcdir=$srcdir ;;
2746 *) # Relative name.
2747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2748 ac_top_srcdir=$ac_top_build_prefix$srcdir
2749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2750 esac
2751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2753 cd "$ac_dir" || { ac_status=$?; continue; }
2754 # Check for guested configure.
2755 if test -f "$ac_srcdir/configure.gnu"; then
2756 echo &&
2757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2758 elif test -f "$ac_srcdir/configure"; then
2759 echo &&
2760 $SHELL "$ac_srcdir/configure" --help=recursive
2761 else
2762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2763 fi || ac_status=$?
2764 cd "$ac_pwd" || { ac_status=$?; break; }
2765 done
2768 test -n "$ac_init_help" && exit $ac_status
2769 if $ac_init_version; then
2770 cat <<\_ACEOF
2771 Wine configure 5.6
2772 generated by GNU Autoconf 2.69
2774 Copyright (C) 2012 Free Software Foundation, Inc.
2775 This configure script is free software; the Free Software Foundation
2776 gives unlimited permission to copy, distribute and modify it.
2777 _ACEOF
2778 exit
2781 ## ------------------------ ##
2782 ## Autoconf initialization. ##
2783 ## ------------------------ ##
2785 # ac_fn_c_try_compile LINENO
2786 # --------------------------
2787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_c_try_compile ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext
2792 if { { ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_compile") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_c_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.$ac_objext; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_c_try_compile
2823 # ac_fn_cxx_try_compile LINENO
2824 # ----------------------------
2825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2826 ac_fn_cxx_try_compile ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 rm -f conftest.$ac_objext
2830 if { { ac_try="$ac_compile"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_compile") 2>conftest.err
2838 ac_status=$?
2839 if test -s conftest.err; then
2840 grep -v '^ *+' conftest.err >conftest.er1
2841 cat conftest.er1 >&5
2842 mv -f conftest.er1 conftest.err
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; } && {
2846 test -z "$ac_cxx_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest.$ac_objext; then :
2849 ac_retval=0
2850 else
2851 $as_echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2854 ac_retval=1
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2857 as_fn_set_status $ac_retval
2859 } # ac_fn_cxx_try_compile
2861 # ac_fn_c_try_link LINENO
2862 # -----------------------
2863 # Try to link conftest.$ac_ext, and return whether this succeeded.
2864 ac_fn_c_try_link ()
2866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2867 rm -f conftest.$ac_objext conftest$ac_exeext
2868 if { { ac_try="$ac_link"
2869 case "(($ac_try" in
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2872 esac
2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875 (eval "$ac_link") 2>conftest.err
2876 ac_status=$?
2877 if test -s conftest.err; then
2878 grep -v '^ *+' conftest.err >conftest.er1
2879 cat conftest.er1 >&5
2880 mv -f conftest.er1 conftest.err
2882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2883 test $ac_status = 0; } && {
2884 test -z "$ac_c_werror_flag" ||
2885 test ! -s conftest.err
2886 } && test -s conftest$ac_exeext && {
2887 test "$cross_compiling" = yes ||
2888 test -x conftest$ac_exeext
2889 }; then :
2890 ac_retval=0
2891 else
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_retval=1
2897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2899 # interfere with the next link command; also delete a directory that is
2900 # left behind by Apple's compiler. We do this before executing the actions.
2901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 as_fn_set_status $ac_retval
2905 } # ac_fn_c_try_link
2907 # ac_fn_c_try_cpp LINENO
2908 # ----------------------
2909 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2910 ac_fn_c_try_cpp ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 if { { ac_try="$ac_cpp conftest.$ac_ext"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } > conftest.i && {
2929 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2930 test ! -s conftest.err
2931 }; then :
2932 ac_retval=0
2933 else
2934 $as_echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2937 ac_retval=1
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 as_fn_set_status $ac_retval
2942 } # ac_fn_c_try_cpp
2944 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2945 # -------------------------------------------------------
2946 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2947 # the include files in INCLUDES and setting the cache variable VAR
2948 # accordingly.
2949 ac_fn_c_check_header_mongrel ()
2951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2952 if eval \${$3+:} false; then :
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2954 $as_echo_n "checking for $2... " >&6; }
2955 if eval \${$3+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 eval ac_res=\$$3
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 $as_echo "$ac_res" >&6; }
2961 else
2962 # Is the header compilable?
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2964 $as_echo_n "checking $2 usability... " >&6; }
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2968 #include <$2>
2969 _ACEOF
2970 if ac_fn_c_try_compile "$LINENO"; then :
2971 ac_header_compiler=yes
2972 else
2973 ac_header_compiler=no
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2977 $as_echo "$ac_header_compiler" >&6; }
2979 # Is the header present?
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2981 $as_echo_n "checking $2 presence... " >&6; }
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 #include <$2>
2985 _ACEOF
2986 if ac_fn_c_try_cpp "$LINENO"; then :
2987 ac_header_preproc=yes
2988 else
2989 ac_header_preproc=no
2991 rm -f conftest.err conftest.i conftest.$ac_ext
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2993 $as_echo "$ac_header_preproc" >&6; }
2995 # So? What about this header?
2996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2997 yes:no: )
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2999 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3001 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3003 no:yes:* )
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3005 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3007 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3009 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3011 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3014 ( $as_echo "## ------------------------------------ ##
3015 ## Report this to wine-devel@winehq.org ##
3016 ## ------------------------------------ ##"
3017 ) | sed "s/^/$as_me: WARNING: /" >&2
3019 esac
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3021 $as_echo_n "checking for $2... " >&6; }
3022 if eval \${$3+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 eval "$3=\$ac_header_compiler"
3027 eval ac_res=\$$3
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 $as_echo "$ac_res" >&6; }
3031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3033 } # ac_fn_c_check_header_mongrel
3035 # ac_fn_c_try_run LINENO
3036 # ----------------------
3037 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3038 # that executables *can* be run.
3039 ac_fn_c_try_run ()
3041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3042 if { { ac_try="$ac_link"
3043 case "(($ac_try" in
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3046 esac
3047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_link") 2>&5
3050 ac_status=$?
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3053 { { case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3056 esac
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_try") 2>&5
3060 ac_status=$?
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; }; then :
3063 ac_retval=0
3064 else
3065 $as_echo "$as_me: program exited with status $ac_status" >&5
3066 $as_echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 ac_retval=$ac_status
3071 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 as_fn_set_status $ac_retval
3075 } # ac_fn_c_try_run
3077 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3078 # -------------------------------------------------------
3079 # Tests whether HEADER exists and can be compiled using the include files in
3080 # INCLUDES, setting the cache variable VAR accordingly.
3081 ac_fn_c_check_header_compile ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 $as_echo_n "checking for $2... " >&6; }
3086 if eval \${$3+:} false; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3092 #include <$2>
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 eval "$3=yes"
3096 else
3097 eval "$3=no"
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101 eval ac_res=\$$3
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3103 $as_echo "$ac_res" >&6; }
3104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3106 } # ac_fn_c_check_header_compile
3108 # ac_fn_objc_try_compile LINENO
3109 # -----------------------------
3110 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3111 ac_fn_objc_try_compile ()
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 rm -f conftest.$ac_objext
3115 if { { ac_try="$ac_compile"
3116 case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_compile") 2>conftest.err
3123 ac_status=$?
3124 if test -s conftest.err; then
3125 grep -v '^ *+' conftest.err >conftest.er1
3126 cat conftest.er1 >&5
3127 mv -f conftest.er1 conftest.err
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; } && {
3131 test -z "$ac_objc_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then :
3134 ac_retval=0
3135 else
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 ac_retval=1
3141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 as_fn_set_status $ac_retval
3144 } # ac_fn_objc_try_compile
3146 # ac_fn_objc_try_cpp LINENO
3147 # -------------------------
3148 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3149 ac_fn_objc_try_cpp ()
3151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3152 if { { ac_try="$ac_cpp conftest.$ac_ext"
3153 case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3156 esac
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3160 ac_status=$?
3161 if test -s conftest.err; then
3162 grep -v '^ *+' conftest.err >conftest.er1
3163 cat conftest.er1 >&5
3164 mv -f conftest.er1 conftest.err
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; } > conftest.i && {
3168 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3169 test ! -s conftest.err
3170 }; then :
3171 ac_retval=0
3172 else
3173 $as_echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 ac_retval=1
3178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3179 as_fn_set_status $ac_retval
3181 } # ac_fn_objc_try_cpp
3183 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3184 # ----------------------------------------------------------
3185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3186 # the include files in INCLUDES and setting the cache variable VAR
3187 # accordingly.
3188 ac_fn_objc_check_header_mongrel ()
3190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3191 if eval \${$3+:} false; then :
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3193 $as_echo_n "checking for $2... " >&6; }
3194 if eval \${$3+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 eval ac_res=\$$3
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3199 $as_echo "$ac_res" >&6; }
3200 else
3201 # Is the header compilable?
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3203 $as_echo_n "checking $2 usability... " >&6; }
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3207 #include <$2>
3208 _ACEOF
3209 if ac_fn_objc_try_compile "$LINENO"; then :
3210 ac_header_compiler=yes
3211 else
3212 ac_header_compiler=no
3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3216 $as_echo "$ac_header_compiler" >&6; }
3218 # Is the header present?
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3220 $as_echo_n "checking $2 presence... " >&6; }
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3223 #include <$2>
3224 _ACEOF
3225 if ac_fn_objc_try_cpp "$LINENO"; then :
3226 ac_header_preproc=yes
3227 else
3228 ac_header_preproc=no
3230 rm -f conftest.err conftest.i conftest.$ac_ext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3232 $as_echo "$ac_header_preproc" >&6; }
3234 # So? What about this header?
3235 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3236 yes:no: )
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3242 no:yes:* )
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3253 ( $as_echo "## ------------------------------------ ##
3254 ## Report this to wine-devel@winehq.org ##
3255 ## ------------------------------------ ##"
3256 ) | sed "s/^/$as_me: WARNING: /" >&2
3258 esac
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3260 $as_echo_n "checking for $2... " >&6; }
3261 if eval \${$3+:} false; then :
3262 $as_echo_n "(cached) " >&6
3263 else
3264 eval "$3=\$ac_header_compiler"
3266 eval ac_res=\$$3
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3268 $as_echo "$ac_res" >&6; }
3270 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3272 } # ac_fn_objc_check_header_mongrel
3274 # ac_fn_c_check_func LINENO FUNC VAR
3275 # ----------------------------------
3276 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3277 ac_fn_c_check_func ()
3279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3281 $as_echo_n "checking for $2... " >&6; }
3282 if eval \${$3+:} false; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3287 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3289 #define $2 innocuous_$2
3291 /* System header to define __stub macros and hopefully few prototypes,
3292 which can conflict with char $2 (); below.
3293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3294 <limits.h> exists even on freestanding compilers. */
3296 #ifdef __STDC__
3297 # include <limits.h>
3298 #else
3299 # include <assert.h>
3300 #endif
3302 #undef $2
3304 /* Override any GCC internal prototype to avoid an error.
3305 Use char because int might match the return type of a GCC
3306 builtin and then its argument prototype would still apply. */
3307 #ifdef __cplusplus
3308 extern "C"
3309 #endif
3310 char $2 ();
3311 /* The GNU C library defines this for functions which it implements
3312 to always fail with ENOSYS. Some functions are actually named
3313 something starting with __ and the normal name is an alias. */
3314 #if defined __stub_$2 || defined __stub___$2
3315 choke me
3316 #endif
3319 main ()
3321 return $2 ();
3323 return 0;
3325 _ACEOF
3326 if ac_fn_c_try_link "$LINENO"; then :
3327 eval "$3=yes"
3328 else
3329 eval "$3=no"
3331 rm -f core conftest.err conftest.$ac_objext \
3332 conftest$ac_exeext conftest.$ac_ext
3334 eval ac_res=\$$3
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3336 $as_echo "$ac_res" >&6; }
3337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3339 } # ac_fn_c_check_func
3341 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3342 # ----------------------------------------------------
3343 # Tries to find if the field MEMBER exists in type AGGR, after including
3344 # INCLUDES, setting cache variable VAR accordingly.
3345 ac_fn_c_check_member ()
3347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3349 $as_echo_n "checking for $2.$3... " >&6; }
3350 if eval \${$4+:} false; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main ()
3359 static $2 ac_aggr;
3360 if (ac_aggr.$3)
3361 return 0;
3363 return 0;
3365 _ACEOF
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 eval "$4=yes"
3368 else
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3373 main ()
3375 static $2 ac_aggr;
3376 if (sizeof ac_aggr.$3)
3377 return 0;
3379 return 0;
3381 _ACEOF
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 eval "$4=yes"
3384 else
3385 eval "$4=no"
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 eval ac_res=\$$4
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3393 $as_echo "$ac_res" >&6; }
3394 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3396 } # ac_fn_c_check_member
3398 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3399 # -------------------------------------------
3400 # Tests whether TYPE exists after having included INCLUDES, setting cache
3401 # variable VAR accordingly.
3402 ac_fn_c_check_type ()
3404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3406 $as_echo_n "checking for $2... " >&6; }
3407 if eval \${$3+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 eval "$3=no"
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3415 main ()
3417 if (sizeof ($2))
3418 return 0;
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3428 main ()
3430 if (sizeof (($2)))
3431 return 0;
3433 return 0;
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3438 else
3439 eval "$3=yes"
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 eval ac_res=\$$3
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3447 $as_echo "$ac_res" >&6; }
3448 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3450 } # ac_fn_c_check_type
3451 cat >config.log <<_ACEOF
3452 This file contains any messages produced by compilers while
3453 running configure, to aid debugging if configure makes a mistake.
3455 It was created by Wine $as_me 5.6, which was
3456 generated by GNU Autoconf 2.69. Invocation command line was
3458 $ $0 $@
3460 _ACEOF
3461 exec 5>>config.log
3463 cat <<_ASUNAME
3464 ## --------- ##
3465 ## Platform. ##
3466 ## --------- ##
3468 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3469 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3470 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3471 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3472 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3474 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3475 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3477 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3478 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3479 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3480 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3481 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3482 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3483 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3485 _ASUNAME
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 $as_echo "PATH: $as_dir"
3493 done
3494 IFS=$as_save_IFS
3496 } >&5
3498 cat >&5 <<_ACEOF
3501 ## ----------- ##
3502 ## Core tests. ##
3503 ## ----------- ##
3505 _ACEOF
3508 # Keep a trace of the command line.
3509 # Strip out --no-create and --no-recursion so they do not pile up.
3510 # Strip out --silent because we don't want to record it for future runs.
3511 # Also quote any args containing shell meta-characters.
3512 # Make two passes to allow for proper duplicate-argument suppression.
3513 ac_configure_args=
3514 ac_configure_args0=
3515 ac_configure_args1=
3516 ac_must_keep_next=false
3517 for ac_pass in 1 2
3519 for ac_arg
3521 case $ac_arg in
3522 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3524 | -silent | --silent | --silen | --sile | --sil)
3525 continue ;;
3526 *\'*)
3527 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3528 esac
3529 case $ac_pass in
3530 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3532 as_fn_append ac_configure_args1 " '$ac_arg'"
3533 if test $ac_must_keep_next = true; then
3534 ac_must_keep_next=false # Got value, back to normal.
3535 else
3536 case $ac_arg in
3537 *=* | --config-cache | -C | -disable-* | --disable-* \
3538 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3539 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3540 | -with-* | --with-* | -without-* | --without-* | --x)
3541 case "$ac_configure_args0 " in
3542 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3543 esac
3545 -* ) ac_must_keep_next=true ;;
3546 esac
3548 as_fn_append ac_configure_args " '$ac_arg'"
3550 esac
3551 done
3552 done
3553 { ac_configure_args0=; unset ac_configure_args0;}
3554 { ac_configure_args1=; unset ac_configure_args1;}
3556 # When interrupted or exit'd, cleanup temporary files, and complete
3557 # config.log. We remove comments because anyway the quotes in there
3558 # would cause problems or look ugly.
3559 # WARNING: Use '\'' to represent an apostrophe within the trap.
3560 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3561 trap 'exit_status=$?
3562 # Save into config.log some information that might help in debugging.
3564 echo
3566 $as_echo "## ---------------- ##
3567 ## Cache variables. ##
3568 ## ---------------- ##"
3569 echo
3570 # The following way of writing the cache mishandles newlines in values,
3572 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3573 eval ac_val=\$$ac_var
3574 case $ac_val in #(
3575 *${as_nl}*)
3576 case $ac_var in #(
3577 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3578 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3579 esac
3580 case $ac_var in #(
3581 _ | IFS | as_nl) ;; #(
3582 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3583 *) { eval $ac_var=; unset $ac_var;} ;;
3584 esac ;;
3585 esac
3586 done
3587 (set) 2>&1 |
3588 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3589 *${as_nl}ac_space=\ *)
3590 sed -n \
3591 "s/'\''/'\''\\\\'\'''\''/g;
3592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3593 ;; #(
3595 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3597 esac |
3598 sort
3600 echo
3602 $as_echo "## ----------------- ##
3603 ## Output variables. ##
3604 ## ----------------- ##"
3605 echo
3606 for ac_var in $ac_subst_vars
3608 eval ac_val=\$$ac_var
3609 case $ac_val in
3610 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3611 esac
3612 $as_echo "$ac_var='\''$ac_val'\''"
3613 done | sort
3614 echo
3616 if test -n "$ac_subst_files"; then
3617 $as_echo "## ------------------- ##
3618 ## File substitutions. ##
3619 ## ------------------- ##"
3620 echo
3621 for ac_var in $ac_subst_files
3623 eval ac_val=\$$ac_var
3624 case $ac_val in
3625 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3626 esac
3627 $as_echo "$ac_var='\''$ac_val'\''"
3628 done | sort
3629 echo
3632 if test -s confdefs.h; then
3633 $as_echo "## ----------- ##
3634 ## confdefs.h. ##
3635 ## ----------- ##"
3636 echo
3637 cat confdefs.h
3638 echo
3640 test "$ac_signal" != 0 &&
3641 $as_echo "$as_me: caught signal $ac_signal"
3642 $as_echo "$as_me: exit $exit_status"
3643 } >&5
3644 rm -f core *.core core.conftest.* &&
3645 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3646 exit $exit_status
3648 for ac_signal in 1 2 13 15; do
3649 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3650 done
3651 ac_signal=0
3653 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3654 rm -f -r conftest* confdefs.h
3656 $as_echo "/* confdefs.h */" > confdefs.h
3658 # Predefined preprocessor variables.
3660 cat >>confdefs.h <<_ACEOF
3661 #define PACKAGE_NAME "$PACKAGE_NAME"
3662 _ACEOF
3664 cat >>confdefs.h <<_ACEOF
3665 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3666 _ACEOF
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3670 _ACEOF
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_STRING "$PACKAGE_STRING"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_URL "$PACKAGE_URL"
3682 _ACEOF
3685 # Let the site file select an alternate cache file if it wants to.
3686 # Prefer an explicitly selected file to automatically selected ones.
3687 ac_site_file1=NONE
3688 ac_site_file2=NONE
3689 if test -n "$CONFIG_SITE"; then
3690 # We do not want a PATH search for config.site.
3691 case $CONFIG_SITE in #((
3692 -*) ac_site_file1=./$CONFIG_SITE;;
3693 */*) ac_site_file1=$CONFIG_SITE;;
3694 *) ac_site_file1=./$CONFIG_SITE;;
3695 esac
3696 elif test "x$prefix" != xNONE; then
3697 ac_site_file1=$prefix/share/config.site
3698 ac_site_file2=$prefix/etc/config.site
3699 else
3700 ac_site_file1=$ac_default_prefix/share/config.site
3701 ac_site_file2=$ac_default_prefix/etc/config.site
3703 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3705 test "x$ac_site_file" = xNONE && continue
3706 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3708 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3709 sed 's/^/| /' "$ac_site_file" >&5
3710 . "$ac_site_file" \
3711 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error $? "failed to load site script $ac_site_file
3714 See \`config.log' for more details" "$LINENO" 5; }
3716 done
3718 if test -r "$cache_file"; then
3719 # Some versions of bash will fail to source /dev/null (special files
3720 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3721 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3723 $as_echo "$as_me: loading cache $cache_file" >&6;}
3724 case $cache_file in
3725 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3726 *) . "./$cache_file";;
3727 esac
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3731 $as_echo "$as_me: creating cache $cache_file" >&6;}
3732 >$cache_file
3735 # Check that the precious variables saved in the cache have kept the same
3736 # value.
3737 ac_cache_corrupted=false
3738 for ac_var in $ac_precious_vars; do
3739 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3740 eval ac_new_set=\$ac_env_${ac_var}_set
3741 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3742 eval ac_new_val=\$ac_env_${ac_var}_value
3743 case $ac_old_set,$ac_new_set in
3744 set,)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3746 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3747 ac_cache_corrupted=: ;;
3748 ,set)
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3750 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3751 ac_cache_corrupted=: ;;
3752 ,);;
3754 if test "x$ac_old_val" != "x$ac_new_val"; then
3755 # differences in whitespace do not lead to failure.
3756 ac_old_val_w=`echo x $ac_old_val`
3757 ac_new_val_w=`echo x $ac_new_val`
3758 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3760 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3761 ac_cache_corrupted=:
3762 else
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3764 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3765 eval $ac_var=\$ac_old_val
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3768 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3770 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3771 fi;;
3772 esac
3773 # Pass precious variables to config.status.
3774 if test "$ac_new_set" = set; then
3775 case $ac_new_val in
3776 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3777 *) ac_arg=$ac_var=$ac_new_val ;;
3778 esac
3779 case " $ac_configure_args " in
3780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3781 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3782 esac
3784 done
3785 if $ac_cache_corrupted; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3789 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3790 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3792 ## -------------------- ##
3793 ## Main body of script. ##
3794 ## -------------------- ##
3796 ac_ext=c
3797 ac_cpp='$CPP $CPPFLAGS'
3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 ac_config_headers="$ac_config_headers include/config.h"
3806 ac_aux_dir=
3807 for ac_dir in tools "$srcdir"/tools; do
3808 if test -f "$ac_dir/install-sh"; then
3809 ac_aux_dir=$ac_dir
3810 ac_install_sh="$ac_aux_dir/install-sh -c"
3811 break
3812 elif test -f "$ac_dir/install.sh"; then
3813 ac_aux_dir=$ac_dir
3814 ac_install_sh="$ac_aux_dir/install.sh -c"
3815 break
3816 elif test -f "$ac_dir/shtool"; then
3817 ac_aux_dir=$ac_dir
3818 ac_install_sh="$ac_aux_dir/shtool install -c"
3819 break
3821 done
3822 if test -z "$ac_aux_dir"; then
3823 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3826 # These three variables are undocumented and unsupported,
3827 # and are intended to be withdrawn in a future Autoconf release.
3828 # They can cause serious problems if a builder's source tree is in a directory
3829 # whose full name contains unusual characters.
3830 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3831 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3832 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3836 libwine_version="1.0"
3840 # Check whether --enable-win16 was given.
3841 if test "${enable_win16+set}" = set; then :
3842 enableval=$enable_win16;
3845 # Check whether --enable-win64 was given.
3846 if test "${enable_win64+set}" = set; then :
3847 enableval=$enable_win64;
3850 # Check whether --enable-tests was given.
3851 if test "${enable_tests+set}" = set; then :
3852 enableval=$enable_tests;
3855 # Check whether --enable-maintainer-mode was given.
3856 if test "${enable_maintainer_mode+set}" = set; then :
3857 enableval=$enable_maintainer_mode;
3860 # Check whether --enable-werror was given.
3861 if test "${enable_werror+set}" = set; then :
3862 enableval=$enable_werror;
3867 # Check whether --with-alsa was given.
3868 if test "${with_alsa+set}" = set; then :
3869 withval=$with_alsa;
3873 # Check whether --with-capi was given.
3874 if test "${with_capi+set}" = set; then :
3875 withval=$with_capi;
3879 # Check whether --with-cms was given.
3880 if test "${with_cms+set}" = set; then :
3881 withval=$with_cms;
3885 # Check whether --with-coreaudio was given.
3886 if test "${with_coreaudio+set}" = set; then :
3887 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3891 # Check whether --with-cups was given.
3892 if test "${with_cups+set}" = set; then :
3893 withval=$with_cups;
3897 # Check whether --with-curses was given.
3898 if test "${with_curses+set}" = set; then :
3899 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3903 # Check whether --with-dbus was given.
3904 if test "${with_dbus+set}" = set; then :
3905 withval=$with_dbus;
3909 # Check whether --with-faudio was given.
3910 if test "${with_faudio+set}" = set; then :
3911 withval=$with_faudio;
3915 # Check whether --with-float-abi was given.
3916 if test "${with_float_abi+set}" = set; then :
3917 withval=$with_float_abi;
3921 # Check whether --with-fontconfig was given.
3922 if test "${with_fontconfig+set}" = set; then :
3923 withval=$with_fontconfig;
3927 # Check whether --with-freetype was given.
3928 if test "${with_freetype+set}" = set; then :
3929 withval=$with_freetype;
3933 # Check whether --with-gettext was given.
3934 if test "${with_gettext+set}" = set; then :
3935 withval=$with_gettext;
3939 # Check whether --with-gettextpo was given.
3940 if test "${with_gettextpo+set}" = set; then :
3941 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3945 # Check whether --with-gphoto was given.
3946 if test "${with_gphoto+set}" = set; then :
3947 withval=$with_gphoto;
3951 # Check whether --with-glu was given.
3952 if test "${with_glu+set}" = set; then :
3953 withval=$with_glu;
3957 # Check whether --with-gnutls was given.
3958 if test "${with_gnutls+set}" = set; then :
3959 withval=$with_gnutls;
3963 # Check whether --with-gsm was given.
3964 if test "${with_gsm+set}" = set; then :
3965 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3969 # Check whether --with-gssapi was given.
3970 if test "${with_gssapi+set}" = set; then :
3971 withval=$with_gssapi;
3975 # Check whether --with-gstreamer was given.
3976 if test "${with_gstreamer+set}" = set; then :
3977 withval=$with_gstreamer;
3981 # Check whether --with-hal was given.
3982 if test "${with_hal+set}" = set; then :
3983 withval=$with_hal;
3987 # Check whether --with-inotify was given.
3988 if test "${with_inotify+set}" = set; then :
3989 withval=$with_inotify;
3993 # Check whether --with-jpeg was given.
3994 if test "${with_jpeg+set}" = set; then :
3995 withval=$with_jpeg;
3999 # Check whether --with-krb5 was given.
4000 if test "${with_krb5+set}" = set; then :
4001 withval=$with_krb5;
4005 # Check whether --with-ldap was given.
4006 if test "${with_ldap+set}" = set; then :
4007 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4011 # Check whether --with-mingw was given.
4012 if test "${with_mingw+set}" = set; then :
4013 withval=$with_mingw;
4017 # Check whether --with-mpg123 was given.
4018 if test "${with_mpg123+set}" = set; then :
4019 withval=$with_mpg123;
4023 # Check whether --with-netapi was given.
4024 if test "${with_netapi+set}" = set; then :
4025 withval=$with_netapi;
4029 # Check whether --with-openal was given.
4030 if test "${with_openal+set}" = set; then :
4031 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4035 # Check whether --with-opencl was given.
4036 if test "${with_opencl+set}" = set; then :
4037 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4041 # Check whether --with-opengl was given.
4042 if test "${with_opengl+set}" = set; then :
4043 withval=$with_opengl;
4047 # Check whether --with-osmesa was given.
4048 if test "${with_osmesa+set}" = set; then :
4049 withval=$with_osmesa;
4053 # Check whether --with-oss was given.
4054 if test "${with_oss+set}" = set; then :
4055 withval=$with_oss;
4059 # Check whether --with-pcap was given.
4060 if test "${with_pcap+set}" = set; then :
4061 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4065 # Check whether --with-png was given.
4066 if test "${with_png+set}" = set; then :
4067 withval=$with_png;
4071 # Check whether --with-pthread was given.
4072 if test "${with_pthread+set}" = set; then :
4073 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4077 # Check whether --with-pulse was given.
4078 if test "${with_pulse+set}" = set; then :
4079 withval=$with_pulse;
4083 # Check whether --with-sane was given.
4084 if test "${with_sane+set}" = set; then :
4085 withval=$with_sane;
4089 # Check whether --with-sdl was given.
4090 if test "${with_sdl+set}" = set; then :
4091 withval=$with_sdl;
4095 # Check whether --with-tiff was given.
4096 if test "${with_tiff+set}" = set; then :
4097 withval=$with_tiff;
4101 # Check whether --with-udev was given.
4102 if test "${with_udev+set}" = set; then :
4103 withval=$with_udev;
4107 # Check whether --with-unwind was given.
4108 if test "${with_unwind+set}" = set; then :
4109 withval=$with_unwind;
4113 # Check whether --with-v4l2 was given.
4114 if test "${with_v4l2+set}" = set; then :
4115 withval=$with_v4l2;
4119 # Check whether --with-vkd3d was given.
4120 if test "${with_vkd3d+set}" = set; then :
4121 withval=$with_vkd3d;
4125 # Check whether --with-vulkan was given.
4126 if test "${with_vulkan+set}" = set; then :
4127 withval=$with_vulkan;
4131 # Check whether --with-xcomposite was given.
4132 if test "${with_xcomposite+set}" = set; then :
4133 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4137 # Check whether --with-xcursor was given.
4138 if test "${with_xcursor+set}" = set; then :
4139 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4143 # Check whether --with-xfixes was given.
4144 if test "${with_xfixes+set}" = set; then :
4145 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4149 # Check whether --with-xinerama was given.
4150 if test "${with_xinerama+set}" = set; then :
4151 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4155 # Check whether --with-xinput was given.
4156 if test "${with_xinput+set}" = set; then :
4157 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4161 # Check whether --with-xinput2 was given.
4162 if test "${with_xinput2+set}" = set; then :
4163 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4167 # Check whether --with-xml was given.
4168 if test "${with_xml+set}" = set; then :
4169 withval=$with_xml;
4173 # Check whether --with-xrandr was given.
4174 if test "${with_xrandr+set}" = set; then :
4175 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4179 # Check whether --with-xrender was given.
4180 if test "${with_xrender+set}" = set; then :
4181 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4185 # Check whether --with-xshape was given.
4186 if test "${with_xshape+set}" = set; then :
4187 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4191 # Check whether --with-xshm was given.
4192 if test "${with_xshm+set}" = set; then :
4193 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4197 # Check whether --with-xslt was given.
4198 if test "${with_xslt+set}" = set; then :
4199 withval=$with_xslt;
4203 # Check whether --with-xxf86vm was given.
4204 if test "${with_xxf86vm+set}" = set; then :
4205 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
4210 # Check whether --with-wine-tools was given.
4211 if test "${with_wine_tools+set}" = set; then :
4212 withval=$with_wine_tools;
4216 # Check whether --with-wine64 was given.
4217 if test "${with_wine64+set}" = set; then :
4218 withval=$with_wine64;
4222 # Make sure we can run config.sub.
4223 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4224 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4227 $as_echo_n "checking build system type... " >&6; }
4228 if ${ac_cv_build+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 ac_build_alias=$build_alias
4232 test "x$ac_build_alias" = x &&
4233 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4234 test "x$ac_build_alias" = x &&
4235 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4236 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4237 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4241 $as_echo "$ac_cv_build" >&6; }
4242 case $ac_cv_build in
4243 *-*-*) ;;
4244 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4245 esac
4246 build=$ac_cv_build
4247 ac_save_IFS=$IFS; IFS='-'
4248 set x $ac_cv_build
4249 shift
4250 build_cpu=$1
4251 build_vendor=$2
4252 shift; shift
4253 # Remember, the first character of IFS is used to create $*,
4254 # except with old shells:
4255 build_os=$*
4256 IFS=$ac_save_IFS
4257 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4261 $as_echo_n "checking host system type... " >&6; }
4262 if ${ac_cv_host+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 if test "x$host_alias" = x; then
4266 ac_cv_host=$ac_cv_build
4267 else
4268 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4269 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4274 $as_echo "$ac_cv_host" >&6; }
4275 case $ac_cv_host in
4276 *-*-*) ;;
4277 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4278 esac
4279 host=$ac_cv_host
4280 ac_save_IFS=$IFS; IFS='-'
4281 set x $ac_cv_host
4282 shift
4283 host_cpu=$1
4284 host_vendor=$2
4285 shift; shift
4286 # Remember, the first character of IFS is used to create $*,
4287 # except with old shells:
4288 host_os=$*
4289 IFS=$ac_save_IFS
4290 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4297 set x ${MAKE-make}
4298 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4299 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4300 $as_echo_n "(cached) " >&6
4301 else
4302 cat >conftest.make <<\_ACEOF
4303 SHELL = /bin/sh
4304 all:
4305 @echo '@@@%%%=$(MAKE)=@@@%%%'
4306 _ACEOF
4307 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4309 *@@@%%%=?*=@@@%%%*)
4310 eval ac_cv_prog_make_${ac_make}_set=yes;;
4312 eval ac_cv_prog_make_${ac_make}_set=no;;
4313 esac
4314 rm -f conftest.make
4316 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4318 $as_echo "yes" >&6; }
4319 SET_MAKE=
4320 else
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4323 SET_MAKE="MAKE=${MAKE-make}"
4326 ac_ext=c
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 if test -n "$ac_tool_prefix"; then
4332 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4333 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CC+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4353 done
4354 done
4355 IFS=$as_save_IFS
4359 CC=$ac_cv_prog_CC
4360 if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362 $as_echo "$CC" >&6; }
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4370 if test -z "$ac_cv_prog_CC"; then
4371 ac_ct_CC=$CC
4372 # Extract the first word of "gcc", so it can be a program name with args.
4373 set dummy gcc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$ac_ct_CC"; then
4380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4381 else
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_ac_ct_CC="gcc"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4400 if test -n "$ac_ct_CC"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4402 $as_echo "$ac_ct_CC" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4408 if test "x$ac_ct_CC" = x; then
4409 CC=""
4410 else
4411 case $cross_compiling:$ac_tool_warned in
4412 yes:)
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4415 ac_tool_warned=yes ;;
4416 esac
4417 CC=$ac_ct_CC
4419 else
4420 CC="$ac_cv_prog_CC"
4423 if test -z "$CC"; then
4424 if test -n "$ac_tool_prefix"; then
4425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4426 set dummy ${ac_tool_prefix}cc; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$CC"; then
4433 ac_cv_prog_CC="$CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CC="${ac_tool_prefix}cc"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 CC=$ac_cv_prog_CC
4453 if test -n "$CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4455 $as_echo "$CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4464 if test -z "$CC"; then
4465 # Extract the first word of "cc", so it can be a program name with args.
4466 set dummy cc; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_CC+:} false; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 if test -n "$CC"; then
4473 ac_cv_prog_CC="$CC" # Let the user override the test.
4474 else
4475 ac_prog_rejected=no
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in $PATH
4479 IFS=$as_save_IFS
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4484 ac_prog_rejected=yes
4485 continue
4487 ac_cv_prog_CC="cc"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4495 if test $ac_prog_rejected = yes; then
4496 # We found a bogon in the path, so make sure we never use it.
4497 set dummy $ac_cv_prog_CC
4498 shift
4499 if test $# != 0; then
4500 # We chose a different compiler from the bogus one.
4501 # However, it has the same basename, so the bogon will be chosen
4502 # first if we set CC to just the basename; use the full file name.
4503 shift
4504 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4509 CC=$ac_cv_prog_CC
4510 if test -n "$CC"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4512 $as_echo "$CC" >&6; }
4513 else
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4520 if test -z "$CC"; then
4521 if test -n "$ac_tool_prefix"; then
4522 for ac_prog in cl.exe
4524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4527 $as_echo_n "checking for $ac_word... " >&6; }
4528 if ${ac_cv_prog_CC+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 if test -n "$CC"; then
4532 ac_cv_prog_CC="$CC" # Let the user override the test.
4533 else
4534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 for as_dir in $PATH
4537 IFS=$as_save_IFS
4538 test -z "$as_dir" && as_dir=.
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4541 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 break 2
4545 done
4546 done
4547 IFS=$as_save_IFS
4551 CC=$ac_cv_prog_CC
4552 if test -n "$CC"; then
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4554 $as_echo "$CC" >&6; }
4555 else
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 $as_echo "no" >&6; }
4561 test -n "$CC" && break
4562 done
4564 if test -z "$CC"; then
4565 ac_ct_CC=$CC
4566 for ac_prog in cl.exe
4568 # Extract the first word of "$ac_prog", so it can be a program name with args.
4569 set dummy $ac_prog; ac_word=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 if test -n "$ac_ct_CC"; then
4576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4577 else
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4581 IFS=$as_save_IFS
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_ac_ct_CC="$ac_prog"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 break 2
4589 done
4590 done
4591 IFS=$as_save_IFS
4595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4596 if test -n "$ac_ct_CC"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4598 $as_echo "$ac_ct_CC" >&6; }
4599 else
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4605 test -n "$ac_ct_CC" && break
4606 done
4608 if test "x$ac_ct_CC" = x; then
4609 CC=""
4610 else
4611 case $cross_compiling:$ac_tool_warned in
4612 yes:)
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4615 ac_tool_warned=yes ;;
4616 esac
4617 CC=$ac_ct_CC
4624 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4626 as_fn_error $? "no acceptable C compiler found in \$PATH
4627 See \`config.log' for more details" "$LINENO" 5; }
4629 # Provide some information about the compiler.
4630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4631 set X $ac_compile
4632 ac_compiler=$2
4633 for ac_option in --version -v -V -qversion; do
4634 { { ac_try="$ac_compiler $ac_option >&5"
4635 case "(($ac_try" in
4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4638 esac
4639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 $as_echo "$ac_try_echo"; } >&5
4641 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4642 ac_status=$?
4643 if test -s conftest.err; then
4644 sed '10a\
4645 ... rest of stderr output deleted ...
4646 10q' conftest.err >conftest.er1
4647 cat conftest.er1 >&5
4649 rm -f conftest.er1 conftest.err
4650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4651 test $ac_status = 0; }
4652 done
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4658 main ()
4662 return 0;
4664 _ACEOF
4665 ac_clean_files_save=$ac_clean_files
4666 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4667 # Try to create an executable without -o first, disregard a.out.
4668 # It will help us diagnose broken compilers, and finding out an intuition
4669 # of exeext.
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4671 $as_echo_n "checking whether the C compiler works... " >&6; }
4672 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4674 # The possible output files:
4675 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4677 ac_rmfiles=
4678 for ac_file in $ac_files
4680 case $ac_file in
4681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4682 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4683 esac
4684 done
4685 rm -f $ac_rmfiles
4687 if { { ac_try="$ac_link_default"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4693 $as_echo "$ac_try_echo"; } >&5
4694 (eval "$ac_link_default") 2>&5
4695 ac_status=$?
4696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4697 test $ac_status = 0; }; then :
4698 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4700 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4701 # so that the user can short-circuit this test for compilers unknown to
4702 # Autoconf.
4703 for ac_file in $ac_files ''
4705 test -f "$ac_file" || continue
4706 case $ac_file in
4707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4709 [ab].out )
4710 # We found the default executable, but exeext='' is most
4711 # certainly right.
4712 break;;
4713 *.* )
4714 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4715 then :; else
4716 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4718 # We set ac_cv_exeext here because the later test for it is not
4719 # safe: cross compilers may not add the suffix if given an `-o'
4720 # argument, so we may need to know it at that point already.
4721 # Even if this section looks crufty: it has the advantage of
4722 # actually working.
4723 break;;
4725 break;;
4726 esac
4727 done
4728 test "$ac_cv_exeext" = no && ac_cv_exeext=
4730 else
4731 ac_file=''
4733 if test -z "$ac_file"; then :
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4736 $as_echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error 77 "C compiler cannot create executables
4742 See \`config.log' for more details" "$LINENO" 5; }
4743 else
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4745 $as_echo "yes" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4748 $as_echo_n "checking for C compiler default output file name... " >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4750 $as_echo "$ac_file" >&6; }
4751 ac_exeext=$ac_cv_exeext
4753 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4754 ac_clean_files=$ac_clean_files_save
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4756 $as_echo_n "checking for suffix of executables... " >&6; }
4757 if { { ac_try="$ac_link"
4758 case "(($ac_try" in
4759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4761 esac
4762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4763 $as_echo "$ac_try_echo"; } >&5
4764 (eval "$ac_link") 2>&5
4765 ac_status=$?
4766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4767 test $ac_status = 0; }; then :
4768 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4769 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4770 # work properly (i.e., refer to `conftest.exe'), while it won't with
4771 # `rm'.
4772 for ac_file in conftest.exe conftest conftest.*; do
4773 test -f "$ac_file" || continue
4774 case $ac_file in
4775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4776 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4777 break;;
4778 * ) break;;
4779 esac
4780 done
4781 else
4782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4784 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4785 See \`config.log' for more details" "$LINENO" 5; }
4787 rm -f conftest conftest$ac_cv_exeext
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4789 $as_echo "$ac_cv_exeext" >&6; }
4791 rm -f conftest.$ac_ext
4792 EXEEXT=$ac_cv_exeext
4793 ac_exeext=$EXEEXT
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #include <stdio.h>
4798 main ()
4800 FILE *f = fopen ("conftest.out", "w");
4801 return ferror (f) || fclose (f) != 0;
4804 return 0;
4806 _ACEOF
4807 ac_clean_files="$ac_clean_files conftest.out"
4808 # Check that the compiler produces executables we can run. If not, either
4809 # the compiler is broken, or we cross compile.
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4811 $as_echo_n "checking whether we are cross compiling... " >&6; }
4812 if test "$cross_compiling" != yes; then
4813 { { ac_try="$ac_link"
4814 case "(($ac_try" in
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4817 esac
4818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4819 $as_echo "$ac_try_echo"; } >&5
4820 (eval "$ac_link") 2>&5
4821 ac_status=$?
4822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4823 test $ac_status = 0; }
4824 if { ac_try='./conftest$ac_cv_exeext'
4825 { { case "(($ac_try" in
4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4828 esac
4829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4830 $as_echo "$ac_try_echo"; } >&5
4831 (eval "$ac_try") 2>&5
4832 ac_status=$?
4833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4834 test $ac_status = 0; }; }; then
4835 cross_compiling=no
4836 else
4837 if test "$cross_compiling" = maybe; then
4838 cross_compiling=yes
4839 else
4840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4842 as_fn_error $? "cannot run C compiled programs.
4843 If you meant to cross compile, use \`--host'.
4844 See \`config.log' for more details" "$LINENO" 5; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4849 $as_echo "$cross_compiling" >&6; }
4851 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4852 ac_clean_files=$ac_clean_files_save
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4854 $as_echo_n "checking for suffix of object files... " >&6; }
4855 if ${ac_cv_objext+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4866 return 0;
4868 _ACEOF
4869 rm -f conftest.o conftest.obj
4870 if { { ac_try="$ac_compile"
4871 case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4876 $as_echo "$ac_try_echo"; } >&5
4877 (eval "$ac_compile") 2>&5
4878 ac_status=$?
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }; then :
4881 for ac_file in conftest.o conftest.obj conftest.*; do
4882 test -f "$ac_file" || continue;
4883 case $ac_file in
4884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4885 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4886 break;;
4887 esac
4888 done
4889 else
4890 $as_echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $? "cannot compute suffix of object files: cannot compile
4896 See \`config.log' for more details" "$LINENO" 5; }
4898 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4901 $as_echo "$ac_cv_objext" >&6; }
4902 OBJEXT=$ac_cv_objext
4903 ac_objext=$OBJEXT
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4905 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4906 if ${ac_cv_c_compiler_gnu+:} false; then :
4907 $as_echo_n "(cached) " >&6
4908 else
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4913 main ()
4915 #ifndef __GNUC__
4916 choke me
4917 #endif
4920 return 0;
4922 _ACEOF
4923 if ac_fn_c_try_compile "$LINENO"; then :
4924 ac_compiler_gnu=yes
4925 else
4926 ac_compiler_gnu=no
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4933 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4934 if test $ac_compiler_gnu = yes; then
4935 GCC=yes
4936 else
4937 GCC=
4939 ac_test_CFLAGS=${CFLAGS+set}
4940 ac_save_CFLAGS=$CFLAGS
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4942 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4943 if ${ac_cv_prog_cc_g+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 ac_save_c_werror_flag=$ac_c_werror_flag
4947 ac_c_werror_flag=yes
4948 ac_cv_prog_cc_g=no
4949 CFLAGS="-g"
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4954 main ()
4958 return 0;
4960 _ACEOF
4961 if ac_fn_c_try_compile "$LINENO"; then :
4962 ac_cv_prog_cc_g=yes
4963 else
4964 CFLAGS=""
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4969 main ()
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4978 else
4979 ac_c_werror_flag=$ac_save_c_werror_flag
4980 CFLAGS="-g"
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4985 main ()
4989 return 0;
4991 _ACEOF
4992 if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_cv_prog_cc_g=yes
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 ac_c_werror_flag=$ac_save_c_werror_flag
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5003 $as_echo "$ac_cv_prog_cc_g" >&6; }
5004 if test "$ac_test_CFLAGS" = set; then
5005 CFLAGS=$ac_save_CFLAGS
5006 elif test $ac_cv_prog_cc_g = yes; then
5007 if test "$GCC" = yes; then
5008 CFLAGS="-g -O2"
5009 else
5010 CFLAGS="-g"
5012 else
5013 if test "$GCC" = yes; then
5014 CFLAGS="-O2"
5015 else
5016 CFLAGS=
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5020 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5021 if ${ac_cv_prog_cc_c89+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 ac_cv_prog_cc_c89=no
5025 ac_save_CC=$CC
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5028 #include <stdarg.h>
5029 #include <stdio.h>
5030 struct stat;
5031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5032 struct buf { int x; };
5033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5034 static char *e (p, i)
5035 char **p;
5036 int i;
5038 return p[i];
5040 static char *f (char * (*g) (char **, int), char **p, ...)
5042 char *s;
5043 va_list v;
5044 va_start (v,p);
5045 s = g (p, va_arg (v,int));
5046 va_end (v);
5047 return s;
5050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5051 function prototypes and stuff, but not '\xHH' hex character constants.
5052 These don't provoke an error unfortunately, instead are silently treated
5053 as 'x'. The following induces an error, until -std is added to get
5054 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5055 array size at least. It's necessary to write '\x00'==0 to get something
5056 that's true only with -std. */
5057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5060 inside strings and character constants. */
5061 #define FOO(x) 'x'
5062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5064 int test (int i, double x);
5065 struct s1 {int (*f) (int a);};
5066 struct s2 {int (*f) (double a);};
5067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5068 int argc;
5069 char **argv;
5071 main ()
5073 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5075 return 0;
5077 _ACEOF
5078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5079 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5081 CC="$ac_save_CC $ac_arg"
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 ac_cv_prog_cc_c89=$ac_arg
5085 rm -f core conftest.err conftest.$ac_objext
5086 test "x$ac_cv_prog_cc_c89" != "xno" && break
5087 done
5088 rm -f conftest.$ac_ext
5089 CC=$ac_save_CC
5092 # AC_CACHE_VAL
5093 case "x$ac_cv_prog_cc_c89" in
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5096 $as_echo "none needed" >&6; } ;;
5097 xno)
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5099 $as_echo "unsupported" >&6; } ;;
5101 CC="$CC $ac_cv_prog_cc_c89"
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5104 esac
5105 if test "x$ac_cv_prog_cc_c89" != xno; then :
5109 ac_ext=c
5110 ac_cpp='$CPP $CPPFLAGS'
5111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5115 ac_ext=cpp
5116 ac_cpp='$CXXCPP $CPPFLAGS'
5117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5120 if test -z "$CXX"; then
5121 if test -n "$CCC"; then
5122 CXX=$CCC
5123 else
5124 if test -n "$ac_tool_prefix"; then
5125 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5127 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5128 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_CXX+:} false; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$CXX"; then
5135 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 CXX=$ac_cv_prog_CXX
5155 if test -n "$CXX"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5157 $as_echo "$CXX" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5164 test -n "$CXX" && break
5165 done
5167 if test -z "$CXX"; then
5168 ac_ct_CXX=$CXX
5169 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5171 # Extract the first word of "$ac_prog", so it can be a program name with args.
5172 set dummy $ac_prog; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$ac_ct_CXX"; then
5179 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_CXX="$ac_prog"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5199 if test -n "$ac_ct_CXX"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5201 $as_echo "$ac_ct_CXX" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 test -n "$ac_ct_CXX" && break
5209 done
5211 if test "x$ac_ct_CXX" = x; then
5212 CXX="g++"
5213 else
5214 case $cross_compiling:$ac_tool_warned in
5215 yes:)
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5218 ac_tool_warned=yes ;;
5219 esac
5220 CXX=$ac_ct_CXX
5226 # Provide some information about the compiler.
5227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5228 set X $ac_compile
5229 ac_compiler=$2
5230 for ac_option in --version -v -V -qversion; do
5231 { { ac_try="$ac_compiler $ac_option >&5"
5232 case "(($ac_try" in
5233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5235 esac
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 $as_echo "$ac_try_echo"; } >&5
5238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5239 ac_status=$?
5240 if test -s conftest.err; then
5241 sed '10a\
5242 ... rest of stderr output deleted ...
5243 10q' conftest.err >conftest.er1
5244 cat conftest.er1 >&5
5246 rm -f conftest.er1 conftest.err
5247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5248 test $ac_status = 0; }
5249 done
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5252 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5253 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5260 main ()
5262 #ifndef __GNUC__
5263 choke me
5264 #endif
5267 return 0;
5269 _ACEOF
5270 if ac_fn_cxx_try_compile "$LINENO"; then :
5271 ac_compiler_gnu=yes
5272 else
5273 ac_compiler_gnu=no
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5280 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5281 if test $ac_compiler_gnu = yes; then
5282 GXX=yes
5283 else
5284 GXX=
5286 ac_test_CXXFLAGS=${CXXFLAGS+set}
5287 ac_save_CXXFLAGS=$CXXFLAGS
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5289 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5290 if ${ac_cv_prog_cxx_g+:} false; then :
5291 $as_echo_n "(cached) " >&6
5292 else
5293 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5294 ac_cxx_werror_flag=yes
5295 ac_cv_prog_cxx_g=no
5296 CXXFLAGS="-g"
5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5298 /* end confdefs.h. */
5301 main ()
5305 return 0;
5307 _ACEOF
5308 if ac_fn_cxx_try_compile "$LINENO"; then :
5309 ac_cv_prog_cxx_g=yes
5310 else
5311 CXXFLAGS=""
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5316 main ()
5320 return 0;
5322 _ACEOF
5323 if ac_fn_cxx_try_compile "$LINENO"; then :
5325 else
5326 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5327 CXXFLAGS="-g"
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5332 main ()
5336 return 0;
5338 _ACEOF
5339 if ac_fn_cxx_try_compile "$LINENO"; then :
5340 ac_cv_prog_cxx_g=yes
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5350 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5351 if test "$ac_test_CXXFLAGS" = set; then
5352 CXXFLAGS=$ac_save_CXXFLAGS
5353 elif test $ac_cv_prog_cxx_g = yes; then
5354 if test "$GXX" = yes; then
5355 CXXFLAGS="-g -O2"
5356 else
5357 CXXFLAGS="-g"
5359 else
5360 if test "$GXX" = yes; then
5361 CXXFLAGS="-O2"
5362 else
5363 CXXFLAGS=
5366 ac_ext=c
5367 ac_cpp='$CPP $CPPFLAGS'
5368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5372 if test -n "$ac_tool_prefix"; then
5373 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5374 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_CPPBIN+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 if test -n "$CPPBIN"; then
5381 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5382 else
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 break 2
5394 done
5395 done
5396 IFS=$as_save_IFS
5400 CPPBIN=$ac_cv_prog_CPPBIN
5401 if test -n "$CPPBIN"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5403 $as_echo "$CPPBIN" >&6; }
5404 else
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5411 if test -z "$ac_cv_prog_CPPBIN"; then
5412 ac_ct_CPPBIN=$CPPBIN
5413 # Extract the first word of "cpp", so it can be a program name with args.
5414 set dummy cpp; ac_word=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5418 $as_echo_n "(cached) " >&6
5419 else
5420 if test -n "$ac_ct_CPPBIN"; then
5421 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5430 ac_cv_prog_ac_ct_CPPBIN="cpp"
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5441 if test -n "$ac_ct_CPPBIN"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5443 $as_echo "$ac_ct_CPPBIN" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5449 if test "x$ac_ct_CPPBIN" = x; then
5450 CPPBIN="cpp"
5451 else
5452 case $cross_compiling:$ac_tool_warned in
5453 yes:)
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5456 ac_tool_warned=yes ;;
5457 esac
5458 CPPBIN=$ac_ct_CPPBIN
5460 else
5461 CPPBIN="$ac_cv_prog_CPPBIN"
5465 cat >>confdefs.h <<_ACEOF
5466 #define EXEEXT "$ac_exeext"
5467 _ACEOF
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}ld; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_LD+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$LD"; then
5478 ac_cv_prog_LD="$LD" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_LD="${ac_tool_prefix}ld"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 LD=$ac_cv_prog_LD
5498 if test -n "$LD"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5500 $as_echo "$LD" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_LD"; then
5509 ac_ct_LD=$LD
5510 # Extract the first word of "ld", so it can be a program name with args.
5511 set dummy ld; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_LD"; then
5518 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_LD="ld"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5538 if test -n "$ac_ct_LD"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5540 $as_echo "$ac_ct_LD" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_LD" = x; then
5547 LD=""
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 LD=$ac_ct_LD
5557 else
5558 LD="$ac_cv_prog_LD"
5562 case $host in
5563 *-darwin*)
5564 with_fontconfig=${with_fontconfig:-no}
5566 *-mingw32*|*-cygwin*)
5567 enable_win16=${enable_win16:-no}
5568 with_mingw=${with_mingw:-no}
5569 CFLAGS="$CFLAGS -D_WIN32"
5571 esac
5573 case $host in
5574 x86_64*|amd64*)
5575 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5576 then
5577 CC="$CC -m32"
5578 CXX="$CXX -m32"
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5581 $as_echo_n "checking whether $CC works... " >&6; }
5582 if ${wine_cv_cc_m32+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5589 main ()
5593 return 0;
5595 _ACEOF
5596 if ac_fn_c_try_link "$LINENO"; then :
5597 wine_cv_cc_m32=yes
5598 else
5599 wine_cv_cc_m32=no
5601 rm -f core conftest.err conftest.$ac_objext \
5602 conftest$ac_exeext conftest.$ac_ext
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5605 $as_echo "$wine_cv_cc_m32" >&6; }
5606 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
5607 host_cpu="i386"
5608 notice_platform="32-bit "
5609 TARGETFLAGS="-m32"
5611 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5612 export PKG_CONFIG_PATH
5613 enable_win16=${enable_win16:-yes}
5614 with_unwind=${with_unwind:-no}
5615 else
5616 if test "x${GCC}" = "xyes"
5617 then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5619 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5620 if ${wine_cv_builtin_ms_va_list+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 #include <stdarg.h>
5627 main ()
5629 void func(__builtin_ms_va_list *args);
5631 return 0;
5633 _ACEOF
5634 if ac_fn_c_try_compile "$LINENO"; then :
5635 wine_cv_builtin_ms_va_list=yes
5636 else
5637 wine_cv_builtin_ms_va_list=no
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5642 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5643 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
5645 CC="$CC -m64"
5646 CXX="$CXX -m64"
5647 host_cpu="x86_64"
5648 notice_platform="64-bit "
5649 TARGETFLAGS="-m64"
5653 arm*)
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5655 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5656 if ${wine_cv_thumb+:} false; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5661 int ac_test(int i) { return i; }
5663 main ()
5665 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5667 return 0;
5669 _ACEOF
5670 if ac_fn_c_try_link "$LINENO"; then :
5671 wine_cv_thumb=yes
5672 else
5673 wine_cv_thumb=no
5675 rm -f core conftest.err conftest.$ac_objext \
5676 conftest$ac_exeext conftest.$ac_ext
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5679 $as_echo "$wine_cv_thumb" >&6; }
5680 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5681 case $with_float_abi in
5682 soft|softfp|hard)
5683 float_abi=$with_float_abi ;;
5685 case $host_os in
5686 *eabihf)
5687 float_abi=hard ;;
5689 float_abi=softfp
5690 saved_CFLAGS=$CFLAGS
5691 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5693 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5694 if ${wine_cv_float_abi+:} false; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5701 main ()
5703 asm("vmrs r2,fpscr");
5705 return 0;
5707 _ACEOF
5708 if ac_fn_c_try_link "$LINENO"; then :
5709 wine_cv_float_abi=yes
5710 else
5711 wine_cv_float_abi=no
5713 rm -f core conftest.err conftest.$ac_objext \
5714 conftest$ac_exeext conftest.$ac_ext
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5717 $as_echo "$wine_cv_float_abi" >&6; }
5718 if test $wine_cv_float_abi = no
5719 then
5720 float_abi=soft
5721 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5723 CFLAGS=$saved_CFLAGS
5724 esac
5726 esac
5727 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5728 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5731 aarch64*)
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5733 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5734 if ${wine_cv_builtin_ms_va_list+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5739 #include <stdarg.h>
5741 main ()
5743 void func(__builtin_ms_va_list *args);
5745 return 0;
5747 _ACEOF
5748 if ac_fn_c_try_compile "$LINENO"; then :
5749 wine_cv_builtin_ms_va_list=yes
5750 else
5751 wine_cv_builtin_ms_va_list=no
5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5756 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5757 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5759 i[3456789]86*)
5760 enable_win16=${enable_win16:-yes}
5761 with_unwind=${with_unwind:-no}
5763 esac
5765 enable_win16=${enable_win16:-no}
5766 enable_win64=${enable_win64:-no}
5768 enable_winetest=${enable_winetest:-$enable_tests}
5770 if test "x$enable_win64" = "xyes"
5771 then
5772 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5773 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5774 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5778 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5779 if ${wine_cv_toolsdir+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 wine_cv_toolsdir="$with_wine_tools"
5783 if test -z "$with_wine_tools"; then
5784 if test "$cross_compiling" = "yes"; then
5785 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5786 elif test -n "$with_wine64"; then
5787 wine_cv_toolsdir="$with_wine64"
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5792 $as_echo "$wine_cv_toolsdir" >&6; }
5793 if test -z "$wine_cv_toolsdir"; then
5794 wine_makedep=tools/makedep
5795 TOOLSDIR="\$(top_builddir)"
5797 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5798 wine_makedep=$wine_cv_toolsdir/tools/makedep
5799 case "$wine_cv_toolsdir" in
5800 /*) TOOLSDIR=$wine_cv_toolsdir
5802 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5804 esac
5805 enable_tools=${enable_tools:-no}
5806 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5807 else
5808 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5810 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5811 then
5812 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5816 for ac_prog in flex
5818 # Extract the first word of "$ac_prog", so it can be a program name with args.
5819 set dummy $ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_FLEX+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$FLEX"; then
5826 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_FLEX="$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 FLEX=$ac_cv_prog_FLEX
5846 if test -n "$FLEX"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5848 $as_echo "$FLEX" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$FLEX" && break
5856 done
5857 test -n "$FLEX" || FLEX="none"
5859 if test "$FLEX" = "none"
5860 then
5861 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5864 $as_echo_n "checking whether flex is recent enough... " >&6; }
5865 if ${wine_cv_recent_flex+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 cat >conftest.l <<EOF
5869 %top{
5870 #include "prediluvian.h"
5874 if $FLEX -t conftest.l >/dev/null 2>&5
5875 then
5876 wine_cv_recent_flex=yes
5877 else
5878 wine_cv_recent_flex=no
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5882 $as_echo "$wine_cv_recent_flex" >&6; }
5883 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
5885 for ac_prog in bison
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_BISON+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$BISON"; then
5895 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_BISON="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 BISON=$ac_cv_prog_BISON
5915 if test -n "$BISON"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5917 $as_echo "$BISON" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$BISON" && break
5925 done
5926 test -n "$BISON" || BISON="none"
5928 if test "$BISON" = "none"
5929 then
5930 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5933 $as_echo_n "checking whether bison is recent enough... " >&6; }
5934 if ${wine_cv_recent_bison+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 cat >conftest.y <<EOF
5938 %define parse.error verbose
5940 empty: ;
5942 if $BISON conftest.y >/dev/null 2>&5
5943 then
5944 wine_cv_recent_bison=yes
5945 else
5946 wine_cv_recent_bison=no
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5950 $as_echo "$wine_cv_recent_bison" >&6; }
5951 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
5953 if test -n "$ac_tool_prefix"; then
5954 for ac_prog in ar gar
5956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_AR+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$AR"; then
5964 ac_cv_prog_AR="$AR" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 AR=$ac_cv_prog_AR
5984 if test -n "$AR"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5986 $as_echo "$AR" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 test -n "$AR" && break
5994 done
5996 if test -z "$AR"; then
5997 ac_ct_AR=$AR
5998 for ac_prog in ar gar
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$ac_ct_AR"; then
6008 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_ac_ct_AR="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6028 if test -n "$ac_ct_AR"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6030 $as_echo "$ac_ct_AR" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$ac_ct_AR" && break
6038 done
6040 if test "x$ac_ct_AR" = x; then
6041 AR="ar"
6042 else
6043 case $cross_compiling:$ac_tool_warned in
6044 yes:)
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6047 ac_tool_warned=yes ;;
6048 esac
6049 AR=$ac_ct_AR
6053 if test -n "$ac_tool_prefix"; then
6054 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6055 set dummy ${ac_tool_prefix}strip; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_STRIP+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$STRIP"; then
6062 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 STRIP=$ac_cv_prog_STRIP
6082 if test -n "$STRIP"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6084 $as_echo "$STRIP" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6092 if test -z "$ac_cv_prog_STRIP"; then
6093 ac_ct_STRIP=$STRIP
6094 # Extract the first word of "strip", so it can be a program name with args.
6095 set dummy strip; ac_word=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6099 $as_echo_n "(cached) " >&6
6100 else
6101 if test -n "$ac_ct_STRIP"; then
6102 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6103 else
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 for as_dir in $PATH
6107 IFS=$as_save_IFS
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_ac_ct_STRIP="strip"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 break 2
6115 done
6116 done
6117 IFS=$as_save_IFS
6121 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6122 if test -n "$ac_ct_STRIP"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6124 $as_echo "$ac_ct_STRIP" >&6; }
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6130 if test "x$ac_ct_STRIP" = x; then
6131 STRIP="strip"
6132 else
6133 case $cross_compiling:$ac_tool_warned in
6134 yes:)
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6137 ac_tool_warned=yes ;;
6138 esac
6139 STRIP=$ac_ct_STRIP
6141 else
6142 STRIP="$ac_cv_prog_STRIP"
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_RANLIB+:} false; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 if test -n "$RANLIB"; then
6154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 break 2
6167 done
6168 done
6169 IFS=$as_save_IFS
6173 RANLIB=$ac_cv_prog_RANLIB
6174 if test -n "$RANLIB"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6176 $as_echo "$RANLIB" >&6; }
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6184 if test -z "$ac_cv_prog_RANLIB"; then
6185 ac_ct_RANLIB=$RANLIB
6186 # Extract the first word of "ranlib", so it can be a program name with args.
6187 set dummy ranlib; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6191 $as_echo_n "(cached) " >&6
6192 else
6193 if test -n "$ac_ct_RANLIB"; then
6194 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6199 IFS=$as_save_IFS
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6203 ac_cv_prog_ac_ct_RANLIB="ranlib"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 break 2
6207 done
6208 done
6209 IFS=$as_save_IFS
6213 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6214 if test -n "$ac_ct_RANLIB"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6216 $as_echo "$ac_ct_RANLIB" >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6222 if test "x$ac_ct_RANLIB" = x; then
6223 RANLIB=":"
6224 else
6225 case $cross_compiling:$ac_tool_warned in
6226 yes:)
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6229 ac_tool_warned=yes ;;
6230 esac
6231 RANLIB=$ac_ct_RANLIB
6233 else
6234 RANLIB="$ac_cv_prog_RANLIB"
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6238 $as_echo_n "checking whether ln -s works... " >&6; }
6239 LN_S=$as_ln_s
6240 if test "$LN_S" = "ln -s"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6242 $as_echo "yes" >&6; }
6243 else
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6245 $as_echo "no, using $LN_S" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6249 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6250 if ${ac_cv_path_GREP+:} false; then :
6251 $as_echo_n "(cached) " >&6
6252 else
6253 if test -z "$GREP"; then
6254 ac_path_GREP_found=false
6255 # Loop through the user's path and test for each of PROGNAME-LIST
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6259 IFS=$as_save_IFS
6260 test -z "$as_dir" && as_dir=.
6261 for ac_prog in grep ggrep; do
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6264 as_fn_executable_p "$ac_path_GREP" || continue
6265 # Check for GNU ac_path_GREP and select it if it is found.
6266 # Check for GNU $ac_path_GREP
6267 case `"$ac_path_GREP" --version 2>&1` in
6268 *GNU*)
6269 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6271 ac_count=0
6272 $as_echo_n 0123456789 >"conftest.in"
6273 while :
6275 cat "conftest.in" "conftest.in" >"conftest.tmp"
6276 mv "conftest.tmp" "conftest.in"
6277 cp "conftest.in" "conftest.nl"
6278 $as_echo 'GREP' >> "conftest.nl"
6279 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6280 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6281 as_fn_arith $ac_count + 1 && ac_count=$as_val
6282 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6283 # Best one so far, save it but keep looking for a better one
6284 ac_cv_path_GREP="$ac_path_GREP"
6285 ac_path_GREP_max=$ac_count
6287 # 10*(2^10) chars as input seems more than enough
6288 test $ac_count -gt 10 && break
6289 done
6290 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6291 esac
6293 $ac_path_GREP_found && break 3
6294 done
6295 done
6296 done
6297 IFS=$as_save_IFS
6298 if test -z "$ac_cv_path_GREP"; then
6299 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6301 else
6302 ac_cv_path_GREP=$GREP
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6307 $as_echo "$ac_cv_path_GREP" >&6; }
6308 GREP="$ac_cv_path_GREP"
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6312 $as_echo_n "checking for egrep... " >&6; }
6313 if ${ac_cv_path_EGREP+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6317 then ac_cv_path_EGREP="$GREP -E"
6318 else
6319 if test -z "$EGREP"; then
6320 ac_path_EGREP_found=false
6321 # Loop through the user's path and test for each of PROGNAME-LIST
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6325 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=.
6327 for ac_prog in egrep; do
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6330 as_fn_executable_p "$ac_path_EGREP" || continue
6331 # Check for GNU ac_path_EGREP and select it if it is found.
6332 # Check for GNU $ac_path_EGREP
6333 case `"$ac_path_EGREP" --version 2>&1` in
6334 *GNU*)
6335 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6337 ac_count=0
6338 $as_echo_n 0123456789 >"conftest.in"
6339 while :
6341 cat "conftest.in" "conftest.in" >"conftest.tmp"
6342 mv "conftest.tmp" "conftest.in"
6343 cp "conftest.in" "conftest.nl"
6344 $as_echo 'EGREP' >> "conftest.nl"
6345 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6347 as_fn_arith $ac_count + 1 && ac_count=$as_val
6348 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6349 # Best one so far, save it but keep looking for a better one
6350 ac_cv_path_EGREP="$ac_path_EGREP"
6351 ac_path_EGREP_max=$ac_count
6353 # 10*(2^10) chars as input seems more than enough
6354 test $ac_count -gt 10 && break
6355 done
6356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6357 esac
6359 $ac_path_EGREP_found && break 3
6360 done
6361 done
6362 done
6363 IFS=$as_save_IFS
6364 if test -z "$ac_cv_path_EGREP"; then
6365 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6367 else
6368 ac_cv_path_EGREP=$EGREP
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6374 $as_echo "$ac_cv_path_EGREP" >&6; }
6375 EGREP="$ac_cv_path_EGREP"
6378 # Extract the first word of "ldconfig", so it can be a program name with args.
6379 set dummy ldconfig; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if ${ac_cv_path_LDCONFIG+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 case $LDCONFIG in
6386 [\\/]* | ?:[\\/]*)
6387 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in /sbin /usr/sbin $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6405 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6407 esac
6409 LDCONFIG=$ac_cv_path_LDCONFIG
6410 if test -n "$LDCONFIG"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6412 $as_echo "$LDCONFIG" >&6; }
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6419 for ac_prog in msgfmt
6421 # Extract the first word of "$ac_prog", so it can be a program name with args.
6422 set dummy $ac_prog; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_MSGFMT+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if test -n "$MSGFMT"; then
6429 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_MSGFMT="$ac_prog"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6442 done
6443 done
6444 IFS=$as_save_IFS
6448 MSGFMT=$ac_cv_prog_MSGFMT
6449 if test -n "$MSGFMT"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6451 $as_echo "$MSGFMT" >&6; }
6452 else
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6458 test -n "$MSGFMT" && break
6459 done
6460 test -n "$MSGFMT" || MSGFMT="false"
6462 if ${ac_tool_prefix+:} false; then :
6463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 if test -n "$PKG_CONFIG"; then
6471 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6476 IFS=$as_save_IFS
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 break 2
6484 done
6485 done
6486 IFS=$as_save_IFS
6490 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6491 if test -n "$PKG_CONFIG"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6493 $as_echo "$PKG_CONFIG" >&6; }
6494 else
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6501 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6502 if test "x$cross_compiling" = xyes; then :
6504 else
6505 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6506 # Extract the first word of "pkg-config", so it can be a program name with args.
6507 set dummy pkg-config; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 if test -n "$PKG_CONFIG"; then
6514 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6519 IFS=$as_save_IFS
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_PKG_CONFIG="pkg-config"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6534 if test -n "$PKG_CONFIG"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6536 $as_echo "$PKG_CONFIG" >&6; }
6537 else
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6544 else
6545 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6548 if test "x$enable_maintainer_mode" != "xyes"
6549 then
6550 FONTFORGE=""
6551 RSVG=""
6552 CONVERT=""
6553 ICOTOOL=""
6554 else
6555 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6556 for ac_prog in fontforge
6558 # Extract the first word of "$ac_prog", so it can be a program name with args.
6559 set dummy $ac_prog; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_FONTFORGE+:} false; then :
6563 $as_echo_n "(cached) " >&6
6564 else
6565 if test -n "$FONTFORGE"; then
6566 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6567 else
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 for as_dir in $PATH
6571 IFS=$as_save_IFS
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_FONTFORGE="$ac_prog"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 break 2
6579 done
6580 done
6581 IFS=$as_save_IFS
6585 FONTFORGE=$ac_cv_prog_FONTFORGE
6586 if test -n "$FONTFORGE"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6588 $as_echo "$FONTFORGE" >&6; }
6589 else
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6595 test -n "$FONTFORGE" && break
6596 done
6597 test -n "$FONTFORGE" || FONTFORGE="false"
6599 for ac_prog in rsvg-convert rsvg
6601 # Extract the first word of "$ac_prog", so it can be a program name with args.
6602 set dummy $ac_prog; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if ${ac_cv_prog_RSVG+:} false; then :
6606 $as_echo_n "(cached) " >&6
6607 else
6608 if test -n "$RSVG"; then
6609 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6610 else
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 for as_dir in $PATH
6614 IFS=$as_save_IFS
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_RSVG="$ac_prog"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 break 2
6622 done
6623 done
6624 IFS=$as_save_IFS
6628 RSVG=$ac_cv_prog_RSVG
6629 if test -n "$RSVG"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6631 $as_echo "$RSVG" >&6; }
6632 else
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6638 test -n "$RSVG" && break
6639 done
6640 test -n "$RSVG" || RSVG="false"
6642 for ac_prog in convert
6644 # Extract the first word of "$ac_prog", so it can be a program name with args.
6645 set dummy $ac_prog; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_CONVERT+:} false; then :
6649 $as_echo_n "(cached) " >&6
6650 else
6651 if test -n "$CONVERT"; then
6652 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6657 IFS=$as_save_IFS
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_CONVERT="$ac_prog"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 CONVERT=$ac_cv_prog_CONVERT
6672 if test -n "$CONVERT"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6674 $as_echo "$CONVERT" >&6; }
6675 else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6681 test -n "$CONVERT" && break
6682 done
6683 test -n "$CONVERT" || CONVERT="false"
6685 for ac_prog in icotool
6687 # Extract the first word of "$ac_prog", so it can be a program name with args.
6688 set dummy $ac_prog; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_ICOTOOL+:} false; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 if test -n "$ICOTOOL"; then
6695 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_ICOTOOL="$ac_prog"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 ICOTOOL=$ac_cv_prog_ICOTOOL
6715 if test -n "$ICOTOOL"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6717 $as_echo "$ICOTOOL" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6724 test -n "$ICOTOOL" && break
6725 done
6726 test -n "$ICOTOOL" || ICOTOOL="false"
6728 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6729 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6731 if test "$CONVERT" = false
6732 then
6733 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6734 else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6736 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6737 convert_version=`convert --version | head -n1`
6738 if test "x$convert_version" != "x"
6739 then
6740 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6741 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6742 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6743 then
6744 CONVERT=false
6747 if test "$CONVERT" = false
6748 then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6750 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6751 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6754 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6758 if test "$ICOTOOL" = false
6759 then
6760 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6761 else
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6763 $as_echo_n "checking for recent enough icotool... " >&6; }
6764 icotool_version=`icotool --version | head -n1`
6765 if test "x$icotool_version" != "x"
6766 then
6767 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6768 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6769 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6770 then
6771 ICOTOOL=false
6772 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6775 if test "$ICOTOOL" = false
6776 then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6778 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6779 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6782 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6786 with_gettext=yes
6787 with_gettextpo=yes
6789 enable_werror=yes
6792 test "x$with_gettext" != xno || MSGFMT=false
6793 if test "$MSGFMT" != "false"
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6796 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6797 if ${wine_cv_msgfmt_contexts+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 cat >conftest.po <<EOF
6801 # comment
6802 msgctxt "ctxt"
6803 msgid "id"
6804 msgstr "str"
6806 if $MSGFMT -o /dev/null conftest.po 2>&5
6807 then
6808 wine_cv_msgfmt_contexts=yes
6809 else
6810 wine_cv_msgfmt_contexts=no
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6814 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6815 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6817 if test "$MSGFMT" = false; then :
6818 case "x$with_gettext" in
6819 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6820 xno) ;;
6821 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6822 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6823 esac
6824 enable_po=${enable_po:-no}
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6829 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6830 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6831 $as_echo_n "(cached) " >&6
6832 else
6833 ac_check_lib_save_LIBS=$LIBS
6834 LIBS="-li386 $LIBS"
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6838 /* Override any GCC internal prototype to avoid an error.
6839 Use char because int might match the return type of a GCC
6840 builtin and then its argument prototype would still apply. */
6841 #ifdef __cplusplus
6842 extern "C"
6843 #endif
6844 char i386_set_ldt ();
6846 main ()
6848 return i386_set_ldt ();
6850 return 0;
6852 _ACEOF
6853 if ac_fn_c_try_link "$LINENO"; then :
6854 ac_cv_lib_i386_i386_set_ldt=yes
6855 else
6856 ac_cv_lib_i386_i386_set_ldt=no
6858 rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
6860 LIBS=$ac_check_lib_save_LIBS
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6863 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6864 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6865 I386_LIBS="-li386"
6870 OPENGL_LIBS=""
6874 # Check whether --enable-largefile was given.
6875 if test "${enable_largefile+set}" = set; then :
6876 enableval=$enable_largefile;
6879 if test "$enable_largefile" != no; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6882 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6883 if ${ac_cv_sys_largefile_CC+:} false; then :
6884 $as_echo_n "(cached) " >&6
6885 else
6886 ac_cv_sys_largefile_CC=no
6887 if test "$GCC" != yes; then
6888 ac_save_CC=$CC
6889 while :; do
6890 # IRIX 6.2 and later do not support large files by default,
6891 # so use the C compiler's -n32 option if that helps.
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 #include <sys/types.h>
6895 /* Check that off_t can represent 2**63 - 1 correctly.
6896 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6897 since some C++ compilers masquerading as C compilers
6898 incorrectly reject 9223372036854775807. */
6899 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6900 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6901 && LARGE_OFF_T % 2147483647 == 1)
6902 ? 1 : -1];
6904 main ()
6908 return 0;
6910 _ACEOF
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912 break
6914 rm -f core conftest.err conftest.$ac_objext
6915 CC="$CC -n32"
6916 if ac_fn_c_try_compile "$LINENO"; then :
6917 ac_cv_sys_largefile_CC=' -n32'; break
6919 rm -f core conftest.err conftest.$ac_objext
6920 break
6921 done
6922 CC=$ac_save_CC
6923 rm -f conftest.$ac_ext
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6927 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6928 if test "$ac_cv_sys_largefile_CC" != no; then
6929 CC=$CC$ac_cv_sys_largefile_CC
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6933 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6934 if ${ac_cv_sys_file_offset_bits+:} false; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 while :; do
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #include <sys/types.h>
6941 /* Check that off_t can represent 2**63 - 1 correctly.
6942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6943 since some C++ compilers masquerading as C compilers
6944 incorrectly reject 9223372036854775807. */
6945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6947 && LARGE_OFF_T % 2147483647 == 1)
6948 ? 1 : -1];
6950 main ()
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_file_offset_bits=no; break
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #define _FILE_OFFSET_BITS 64
6964 #include <sys/types.h>
6965 /* Check that off_t can represent 2**63 - 1 correctly.
6966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6967 since some C++ compilers masquerading as C compilers
6968 incorrectly reject 9223372036854775807. */
6969 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6971 && LARGE_OFF_T % 2147483647 == 1)
6972 ? 1 : -1];
6974 main ()
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 ac_cv_sys_file_offset_bits=64; break
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6985 ac_cv_sys_file_offset_bits=unknown
6986 break
6987 done
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6990 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6991 case $ac_cv_sys_file_offset_bits in #(
6992 no | unknown) ;;
6994 cat >>confdefs.h <<_ACEOF
6995 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6996 _ACEOF
6998 esac
6999 rm -rf conftest*
7000 if test $ac_cv_sys_file_offset_bits = unknown; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7002 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7003 if ${ac_cv_sys_large_files+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 while :; do
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_sys_large_files=no; break
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #define _LARGE_FILES 1
7033 #include <sys/types.h>
7034 /* Check that off_t can represent 2**63 - 1 correctly.
7035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7036 since some C++ compilers masquerading as C compilers
7037 incorrectly reject 9223372036854775807. */
7038 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7040 && LARGE_OFF_T % 2147483647 == 1)
7041 ? 1 : -1];
7043 main ()
7047 return 0;
7049 _ACEOF
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 ac_cv_sys_large_files=1; break
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 ac_cv_sys_large_files=unknown
7055 break
7056 done
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7059 $as_echo "$ac_cv_sys_large_files" >&6; }
7060 case $ac_cv_sys_large_files in #(
7061 no | unknown) ;;
7063 cat >>confdefs.h <<_ACEOF
7064 #define _LARGE_FILES $ac_cv_sys_large_files
7065 _ACEOF
7067 esac
7068 rm -rf conftest*
7075 ac_ext=c
7076 ac_cpp='$CPP $CPPFLAGS'
7077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7081 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7082 # On Suns, sometimes $CPP names a directory.
7083 if test -n "$CPP" && test -d "$CPP"; then
7084 CPP=
7086 if test -z "$CPP"; then
7087 if ${ac_cv_prog_CPP+:} false; then :
7088 $as_echo_n "(cached) " >&6
7089 else
7090 # Double quotes because CPP needs to be expanded
7091 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7093 ac_preproc_ok=false
7094 for ac_c_preproc_warn_flag in '' yes
7096 # Use a header file that comes with gcc, so configuring glibc
7097 # with a fresh cross-compiler works.
7098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7099 # <limits.h> exists even on freestanding compilers.
7100 # On the NeXT, cc -E runs the code through the compiler's parser,
7101 # not just through cpp. "Syntax error" is here to catch this case.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #ifdef __STDC__
7105 # include <limits.h>
7106 #else
7107 # include <assert.h>
7108 #endif
7109 Syntax error
7110 _ACEOF
7111 if ac_fn_c_try_cpp "$LINENO"; then :
7113 else
7114 # Broken: fails on valid input.
7115 continue
7117 rm -f conftest.err conftest.i conftest.$ac_ext
7119 # OK, works on sane cases. Now check whether nonexistent headers
7120 # can be detected and how.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <ac_nonexistent.h>
7124 _ACEOF
7125 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: success on invalid input.
7127 continue
7128 else
7129 # Passes both tests.
7130 ac_preproc_ok=:
7131 break
7133 rm -f conftest.err conftest.i conftest.$ac_ext
7135 done
7136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7137 rm -f conftest.i conftest.err conftest.$ac_ext
7138 if $ac_preproc_ok; then :
7139 break
7142 done
7143 ac_cv_prog_CPP=$CPP
7146 CPP=$ac_cv_prog_CPP
7147 else
7148 ac_cv_prog_CPP=$CPP
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7151 $as_echo "$CPP" >&6; }
7152 ac_preproc_ok=false
7153 for ac_c_preproc_warn_flag in '' yes
7155 # Use a header file that comes with gcc, so configuring glibc
7156 # with a fresh cross-compiler works.
7157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7158 # <limits.h> exists even on freestanding compilers.
7159 # On the NeXT, cc -E runs the code through the compiler's parser,
7160 # not just through cpp. "Syntax error" is here to catch this case.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #ifdef __STDC__
7164 # include <limits.h>
7165 #else
7166 # include <assert.h>
7167 #endif
7168 Syntax error
7169 _ACEOF
7170 if ac_fn_c_try_cpp "$LINENO"; then :
7172 else
7173 # Broken: fails on valid input.
7174 continue
7176 rm -f conftest.err conftest.i conftest.$ac_ext
7178 # OK, works on sane cases. Now check whether nonexistent headers
7179 # can be detected and how.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <ac_nonexistent.h>
7183 _ACEOF
7184 if ac_fn_c_try_cpp "$LINENO"; then :
7185 # Broken: success on invalid input.
7186 continue
7187 else
7188 # Passes both tests.
7189 ac_preproc_ok=:
7190 break
7192 rm -f conftest.err conftest.i conftest.$ac_ext
7194 done
7195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7196 rm -f conftest.i conftest.err conftest.$ac_ext
7197 if $ac_preproc_ok; then :
7199 else
7200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7202 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7203 See \`config.log' for more details" "$LINENO" 5; }
7206 ac_ext=c
7207 ac_cpp='$CPP $CPPFLAGS'
7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7214 $as_echo_n "checking for ANSI C header files... " >&6; }
7215 if ${ac_cv_header_stdc+:} false; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220 #include <stdlib.h>
7221 #include <stdarg.h>
7222 #include <string.h>
7223 #include <float.h>
7226 main ()
7230 return 0;
7232 _ACEOF
7233 if ac_fn_c_try_compile "$LINENO"; then :
7234 ac_cv_header_stdc=yes
7235 else
7236 ac_cv_header_stdc=no
7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7240 if test $ac_cv_header_stdc = yes; then
7241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7244 #include <string.h>
7246 _ACEOF
7247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7248 $EGREP "memchr" >/dev/null 2>&1; then :
7250 else
7251 ac_cv_header_stdc=no
7253 rm -f conftest*
7257 if test $ac_cv_header_stdc = yes; then
7258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <stdlib.h>
7263 _ACEOF
7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7265 $EGREP "free" >/dev/null 2>&1; then :
7267 else
7268 ac_cv_header_stdc=no
7270 rm -f conftest*
7274 if test $ac_cv_header_stdc = yes; then
7275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7276 if test "$cross_compiling" = yes; then :
7278 else
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 #include <ctype.h>
7282 #include <stdlib.h>
7283 #if ((' ' & 0x0FF) == 0x020)
7284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7286 #else
7287 # define ISLOWER(c) \
7288 (('a' <= (c) && (c) <= 'i') \
7289 || ('j' <= (c) && (c) <= 'r') \
7290 || ('s' <= (c) && (c) <= 'z'))
7291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7292 #endif
7294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7296 main ()
7298 int i;
7299 for (i = 0; i < 256; i++)
7300 if (XOR (islower (i), ISLOWER (i))
7301 || toupper (i) != TOUPPER (i))
7302 return 2;
7303 return 0;
7305 _ACEOF
7306 if ac_fn_c_try_run "$LINENO"; then :
7308 else
7309 ac_cv_header_stdc=no
7311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7312 conftest.$ac_objext conftest.beam conftest.$ac_ext
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7318 $as_echo "$ac_cv_header_stdc" >&6; }
7319 if test $ac_cv_header_stdc = yes; then
7321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7326 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7327 inttypes.h stdint.h unistd.h
7328 do :
7329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7335 _ACEOF
7339 done
7342 for ac_header in \
7343 AL/al.h \
7344 ApplicationServices/ApplicationServices.h \
7345 AudioToolbox/AudioConverter.h \
7346 AudioUnit/AudioUnit.h \
7347 AudioUnit/AudioComponent.h \
7348 CL/cl.h \
7349 Carbon/Carbon.h \
7350 CommonCrypto/CommonCryptor.h \
7351 CoreAudio/CoreAudio.h \
7352 CoreServices/CoreServices.h \
7353 DiskArbitration/DiskArbitration.h \
7354 EGL/egl.h \
7355 IOKit/IOKitLib.h \
7356 IOKit/hid/IOHIDLib.h \
7357 OpenAL/al.h \
7358 OpenCL/opencl.h \
7359 QuickTime/ImageCompression.h \
7360 Security/Security.h \
7361 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7362 SystemConfiguration/SCNetworkConfiguration.h \
7363 alias.h \
7364 arpa/inet.h \
7365 arpa/nameser.h \
7366 asm/types.h \
7367 asm/user.h \
7368 curses.h \
7369 dirent.h \
7370 dlfcn.h \
7371 elf.h \
7372 float.h \
7373 fnmatch.h \
7374 getopt.h \
7375 gettext-po.h \
7376 grp.h \
7377 gsm.h \
7378 gsm/gsm.h \
7379 ieeefp.h \
7380 inet/mib2.h \
7381 kstat.h \
7382 libproc.h \
7383 link.h \
7384 linux/cdrom.h \
7385 linux/compiler.h \
7386 linux/filter.h \
7387 linux/hdreg.h \
7388 linux/hidraw.h \
7389 linux/input.h \
7390 linux/ioctl.h \
7391 linux/joystick.h \
7392 linux/major.h \
7393 linux/param.h \
7394 linux/serial.h \
7395 linux/types.h \
7396 linux/ucdrom.h \
7397 lwp.h \
7398 mach-o/nlist.h \
7399 mach-o/loader.h \
7400 mach/mach.h \
7401 mach/machine.h \
7402 machine/cpu.h \
7403 machine/limits.h \
7404 machine/sysarch.h \
7405 mntent.h \
7406 ncurses.h \
7407 netdb.h \
7408 netinet/in.h \
7409 netinet/in_systm.h \
7410 netinet/tcp.h \
7411 netinet/tcp_fsm.h \
7412 pcap/pcap.h \
7413 poll.h \
7414 port.h \
7415 pthread.h \
7416 pwd.h \
7417 sasl/sasl.h \
7418 sched.h \
7419 scsi/scsi.h \
7420 scsi/scsi_ioctl.h \
7421 scsi/sg.h \
7422 stdbool.h \
7423 stdint.h \
7424 stropts.h \
7425 sys/attr.h \
7426 sys/auxv.h \
7427 sys/cdio.h \
7428 sys/epoll.h \
7429 sys/event.h \
7430 sys/filio.h \
7431 sys/ioctl.h \
7432 sys/ipc.h \
7433 sys/limits.h \
7434 sys/link.h \
7435 sys/mman.h \
7436 sys/modem.h \
7437 sys/msg.h \
7438 sys/mtio.h \
7439 sys/param.h \
7440 sys/poll.h \
7441 sys/prctl.h \
7442 sys/protosw.h \
7443 sys/ptrace.h \
7444 sys/queue.h \
7445 sys/resource.h \
7446 sys/scsiio.h \
7447 sys/shm.h \
7448 sys/signal.h \
7449 sys/socket.h \
7450 sys/socketvar.h \
7451 sys/sockio.h \
7452 sys/statvfs.h \
7453 sys/strtio.h \
7454 sys/syscall.h \
7455 sys/sysinfo.h \
7456 sys/tihdr.h \
7457 sys/time.h \
7458 sys/timeout.h \
7459 sys/times.h \
7460 sys/uio.h \
7461 sys/user.h \
7462 sys/utsname.h \
7463 sys/vnode.h \
7464 sys/wait.h \
7465 syscall.h \
7466 termios.h \
7467 unistd.h \
7468 utime.h \
7469 valgrind/memcheck.h \
7470 valgrind/valgrind.h
7472 do :
7473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7476 cat >>confdefs.h <<_ACEOF
7477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7482 done
7484 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7485 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7487 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7492 if test $ac_cv_header_sys_mkdev_h = no; then
7493 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7494 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7496 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7503 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7504 if ${ac_cv_header_stat_broken+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7509 #include <sys/types.h>
7510 #include <sys/stat.h>
7512 #if defined S_ISBLK && defined S_IFDIR
7513 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7514 #endif
7516 #if defined S_ISBLK && defined S_IFCHR
7517 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7518 #endif
7520 #if defined S_ISLNK && defined S_IFREG
7521 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7522 #endif
7524 #if defined S_ISSOCK && defined S_IFREG
7525 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7526 #endif
7528 _ACEOF
7529 if ac_fn_c_try_compile "$LINENO"; then :
7530 ac_cv_header_stat_broken=no
7531 else
7532 ac_cv_header_stat_broken=yes
7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7537 $as_echo "$ac_cv_header_stat_broken" >&6; }
7538 if test $ac_cv_header_stat_broken = yes; then
7540 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7546 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7547 do :
7548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7549 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7550 #ifdef HAVE_SYS_PARAM_H
7551 # include <sys/param.h>
7552 #endif
7554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7555 cat >>confdefs.h <<_ACEOF
7556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7557 _ACEOF
7561 done
7564 for ac_header in \
7565 netinet/ip.h \
7566 net/if.h \
7567 net/if_arp.h \
7568 net/if_dl.h \
7569 net/if_types.h \
7570 net/route.h \
7571 netinet/if_ether.h \
7572 netinet/if_inarp.h \
7573 netinet/in_pcb.h \
7574 netinet/ip_icmp.h \
7575 netinet/ip_var.h \
7576 netinet/udp.h \
7577 netipx/ipx.h \
7578 sys/un.h \
7580 do :
7581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7583 #ifdef HAVE_SYS_SOCKET_H
7584 # include <sys/socket.h>
7585 #endif
7586 #ifdef HAVE_SYS_SOCKETVAR_H
7587 # include <sys/socketvar.h>
7588 #endif
7589 #ifdef HAVE_NET_ROUTE_H
7590 # include <net/route.h>
7591 #endif
7592 #ifdef HAVE_NETINET_IN_H
7593 # include <netinet/in.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_SYSTM_H
7596 # include <netinet/in_systm.h>
7597 #endif
7598 #ifdef HAVE_NET_IF_H
7599 # include <net/if.h>
7600 #endif
7601 #ifdef HAVE_NETINET_IP_H
7602 # include <netinet/ip.h>
7603 #endif
7605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7606 cat >>confdefs.h <<_ACEOF
7607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7608 _ACEOF
7612 done
7615 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7616 do :
7617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7619 #ifdef HAVE_ALIAS_H
7620 # include <alias.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKET_H
7623 # include <sys/socket.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKETVAR_H
7626 # include <sys/socketvar.h>
7627 #endif
7628 #ifdef HAVE_SYS_TIMEOUT_H
7629 # include <sys/timeout.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_H
7632 # include <netinet/in.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_SYSTM_H
7635 # include <netinet/in_systm.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_H
7638 # include <netinet/ip.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_VAR_H
7641 # include <netinet/ip_var.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_ICMP_H
7644 # include <netinet/ip_icmp.h>
7645 #endif
7646 #ifdef HAVE_NETINET_UDP_H
7647 # include <netinet/udp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_TCP_H
7650 # include <netinet/tcp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_TIMER_H
7653 #include <netinet/tcp_timer.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7667 do :
7668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7670 #ifdef HAVE_ASM_TYPES_H
7671 # include <asm/types.h>
7672 #endif
7673 #ifdef HAVE_SYS_SOCKET_H
7674 # include <sys/socket.h>
7675 #endif
7676 #ifdef HAVE_LINUX_TYPES_H
7677 # include <linux/types.h>
7678 #endif
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7687 done
7690 for ac_header in resolv.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7693 #ifdef HAVE_SYS_SOCKET_H
7694 # include <sys/socket.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IN_H
7697 # include <netinet/in.h>
7698 #endif
7699 #ifdef HAVE_ARPA_NAMESER_H
7700 # include <arpa/nameser.h>
7701 #endif
7703 if test "x$ac_cv_header_resolv_h" = xyes; then :
7704 cat >>confdefs.h <<_ACEOF
7705 #define HAVE_RESOLV_H 1
7706 _ACEOF
7710 done
7713 for ac_header in ifaddrs.h
7714 do :
7715 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7717 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_IFADDRS_H 1
7720 _ACEOF
7724 done
7727 for ac_header in sys/ucontext.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7731 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_SYS_UCONTEXT_H 1
7734 _ACEOF
7738 done
7741 for ac_header in sys/thr.h
7742 do :
7743 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7744 #ifdef HAVE_SYS_UCONTEXT_H
7745 #include <sys/ucontext.h>
7746 #endif
7748 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define HAVE_SYS_THR_H 1
7751 _ACEOF
7755 done
7758 for ac_header in pthread_np.h
7759 do :
7760 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7761 #include <pthread.h>
7762 #endif
7764 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_PTHREAD_NP_H 1
7767 _ACEOF
7771 done
7774 for ac_header in linux/videodev2.h
7775 do :
7776 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7777 #include <sys/time.h>
7778 #endif
7779 #include <sys/types.h>
7780 #ifdef HAVE_ASM_TYPES_H
7781 #include <asm/types.h>
7782 #endif
7784 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_LINUX_VIDEODEV2_H 1
7787 _ACEOF
7791 done
7794 for ac_header in libprocstat.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7797 #include <sys/param.h>
7798 #endif
7799 #ifdef HAVE_SYS_QUEUE_H
7800 #include <sys/queue.h>
7801 #endif
7802 #ifdef HAVE_SYS_SOCKET_H
7803 #include <sys/socket.h>
7804 #endif
7806 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_LIBPROCSTAT_H 1
7809 _ACEOF
7813 done
7817 DLLFLAGS="-D_REENTRANT"
7819 LDRPATH_INSTALL=""
7821 LDRPATH_LOCAL=""
7823 LDDLLFLAGS=""
7825 LDEXECFLAGS=""
7827 TOP_INSTALL_LIB=""
7829 TOP_INSTALL_DEV=""
7831 WINELOADER_LDFLAGS=""
7833 WINEPRELOADER_LDFLAGS=""
7835 LIBEXT="so"
7836 DLLEXT=".so"
7837 # Extract the first word of "ldd", so it can be a program name with args.
7838 set dummy ldd; ac_word=$2
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840 $as_echo_n "checking for $ac_word... " >&6; }
7841 if ${ac_cv_path_LDD+:} false; then :
7842 $as_echo_n "(cached) " >&6
7843 else
7844 case $LDD in
7845 [\\/]* | ?:[\\/]*)
7846 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 as_dummy="/sbin:/usr/sbin:$PATH"
7851 for as_dir in $as_dummy
7853 IFS=$as_save_IFS
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 break 2
7861 done
7862 done
7863 IFS=$as_save_IFS
7865 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7867 esac
7869 LDD=$ac_cv_path_LDD
7870 if test -n "$LDD"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7872 $as_echo "$LDD" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7879 if test -n "$ac_tool_prefix"; then
7880 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7881 set dummy ${ac_tool_prefix}otool; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_OTOOL+:} false; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 if test -n "$OTOOL"; then
7888 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7889 else
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891 for as_dir in $PATH
7893 IFS=$as_save_IFS
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7899 break 2
7901 done
7902 done
7903 IFS=$as_save_IFS
7907 OTOOL=$ac_cv_prog_OTOOL
7908 if test -n "$OTOOL"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7910 $as_echo "$OTOOL" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7918 if test -z "$ac_cv_prog_OTOOL"; then
7919 ac_ct_OTOOL=$OTOOL
7920 # Extract the first word of "otool", so it can be a program name with args.
7921 set dummy otool; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7925 $as_echo_n "(cached) " >&6
7926 else
7927 if test -n "$ac_ct_OTOOL"; then
7928 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7929 else
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 for as_dir in $PATH
7933 IFS=$as_save_IFS
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_ac_ct_OTOOL="otool"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 break 2
7941 done
7942 done
7943 IFS=$as_save_IFS
7947 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7948 if test -n "$ac_ct_OTOOL"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7950 $as_echo "$ac_ct_OTOOL" >&6; }
7951 else
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7956 if test "x$ac_ct_OTOOL" = x; then
7957 OTOOL="otool"
7958 else
7959 case $cross_compiling:$ac_tool_warned in
7960 yes:)
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7963 ac_tool_warned=yes ;;
7964 esac
7965 OTOOL=$ac_ct_OTOOL
7967 else
7968 OTOOL="$ac_cv_prog_OTOOL"
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_READELF+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$READELF"; then
7980 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 READELF=$ac_cv_prog_READELF
8000 if test -n "$READELF"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8002 $as_echo "$READELF" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_READELF"; then
8011 ac_ct_READELF=$READELF
8012 # Extract the first word of "readelf", so it can be a program name with args.
8013 set dummy readelf; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$ac_ct_READELF"; then
8020 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_READELF="readelf"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8040 if test -n "$ac_ct_READELF"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8042 $as_echo "$ac_ct_READELF" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_READELF" = x; then
8049 READELF="true"
8050 else
8051 case $cross_compiling:$ac_tool_warned in
8052 yes:)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8056 esac
8057 READELF=$ac_ct_READELF
8059 else
8060 READELF="$ac_cv_prog_READELF"
8063 wine_rules_file=conf$$rules.make
8064 rm -f $wine_rules_file
8065 SUBDIRS=""
8067 DISABLED_SUBDIRS=""
8069 CONFIGURE_TARGETS=""
8072 wine_fn_append_file ()
8074 as_fn_append $1 " \\$as_nl $2"
8077 wine_fn_append_rule ()
8079 $as_echo "$1" >>$wine_rules_file
8082 wine_fn_config_makefile ()
8084 wine_fn_append_file SUBDIRS $1
8085 if eval test \"x\$"$2"\" = x"no"; then :
8086 wine_fn_append_file DISABLED_SUBDIRS $1
8090 wine_fn_config_symlink ()
8092 ac_links=$@
8093 wine_fn_append_rule \
8094 "$ac_links:
8095 @./config.status \$@"
8096 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8099 wine_binary="wine"
8100 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8101 WINELOADER_PROGRAMS="$wine_binary"
8103 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8105 case $host_os in
8106 cygwin*|mingw32*)
8107 if test -n "$ac_tool_prefix"; then
8108 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8109 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8111 $as_echo_n "checking for $ac_word... " >&6; }
8112 if ${ac_cv_prog_DLLTOOL+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 if test -n "$DLLTOOL"; then
8116 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8117 else
8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 for as_dir in $PATH
8121 IFS=$as_save_IFS
8122 test -z "$as_dir" && as_dir=.
8123 for ac_exec_ext in '' $ac_executable_extensions; do
8124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8125 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 break 2
8129 done
8130 done
8131 IFS=$as_save_IFS
8135 DLLTOOL=$ac_cv_prog_DLLTOOL
8136 if test -n "$DLLTOOL"; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8138 $as_echo "$DLLTOOL" >&6; }
8139 else
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8141 $as_echo "no" >&6; }
8146 if test -z "$ac_cv_prog_DLLTOOL"; then
8147 ac_ct_DLLTOOL=$DLLTOOL
8148 # Extract the first word of "dlltool", so it can be a program name with args.
8149 set dummy dlltool; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8153 $as_echo_n "(cached) " >&6
8154 else
8155 if test -n "$ac_ct_DLLTOOL"; then
8156 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8157 else
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 for as_dir in $PATH
8161 IFS=$as_save_IFS
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8165 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8167 break 2
8169 done
8170 done
8171 IFS=$as_save_IFS
8175 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8176 if test -n "$ac_ct_DLLTOOL"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8178 $as_echo "$ac_ct_DLLTOOL" >&6; }
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8184 if test "x$ac_ct_DLLTOOL" = x; then
8185 DLLTOOL="false"
8186 else
8187 case $cross_compiling:$ac_tool_warned in
8188 yes:)
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8191 ac_tool_warned=yes ;;
8192 esac
8193 DLLTOOL=$ac_ct_DLLTOOL
8195 else
8196 DLLTOOL="$ac_cv_prog_DLLTOOL"
8199 LIBEXT="dll"
8200 DLLEXT=""
8201 case $host_cpu in
8202 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8203 esac
8204 enable_iphlpapi=${enable_iphlpapi:-no}
8205 enable_kernel32=${enable_kernel32:-no}
8206 enable_ntdll=${enable_ntdll:-no}
8207 enable_ws2_32=${enable_ws2_32:-no}
8208 enable_loader=${enable_loader:-no}
8209 enable_server=${enable_server:-no}
8210 with_x=${with_x:-no}
8211 with_pthread=${with_pthread:-no}
8214 darwin*|macosx*)
8215 ac_ext=m
8216 ac_cpp='$OBJCPP $CPPFLAGS'
8217 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8218 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8219 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8221 ac_ext=m
8222 ac_cpp='$OBJCPP $CPPFLAGS'
8223 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8224 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8225 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8226 if test -n "$ac_tool_prefix"; then
8227 for ac_prog in gcc objcc objc cc CC
8229 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8230 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8232 $as_echo_n "checking for $ac_word... " >&6; }
8233 if ${ac_cv_prog_OBJC+:} false; then :
8234 $as_echo_n "(cached) " >&6
8235 else
8236 if test -n "$OBJC"; then
8237 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8238 else
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 for as_dir in $PATH
8242 IFS=$as_save_IFS
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8246 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 break 2
8250 done
8251 done
8252 IFS=$as_save_IFS
8256 OBJC=$ac_cv_prog_OBJC
8257 if test -n "$OBJC"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8259 $as_echo "$OBJC" >&6; }
8260 else
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8266 test -n "$OBJC" && break
8267 done
8269 if test -z "$OBJC"; then
8270 ac_ct_OBJC=$OBJC
8271 for ac_prog in gcc objcc objc cc CC
8273 # Extract the first word of "$ac_prog", so it can be a program name with args.
8274 set dummy $ac_prog; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 if test -n "$ac_ct_OBJC"; then
8281 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8282 else
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 for as_dir in $PATH
8286 IFS=$as_save_IFS
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8292 break 2
8294 done
8295 done
8296 IFS=$as_save_IFS
8300 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8301 if test -n "$ac_ct_OBJC"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8303 $as_echo "$ac_ct_OBJC" >&6; }
8304 else
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8310 test -n "$ac_ct_OBJC" && break
8311 done
8313 if test "x$ac_ct_OBJC" = x; then
8314 OBJC="gcc"
8315 else
8316 case $cross_compiling:$ac_tool_warned in
8317 yes:)
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8320 ac_tool_warned=yes ;;
8321 esac
8322 OBJC=$ac_ct_OBJC
8326 # Provide some information about the compiler.
8327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8328 set X $ac_compile
8329 ac_compiler=$2
8330 for ac_option in --version -v -V -qversion; do
8331 { { ac_try="$ac_compiler $ac_option >&5"
8332 case "(($ac_try" in
8333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8334 *) ac_try_echo=$ac_try;;
8335 esac
8336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8337 $as_echo "$ac_try_echo"; } >&5
8338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8339 ac_status=$?
8340 if test -s conftest.err; then
8341 sed '10a\
8342 ... rest of stderr output deleted ...
8343 10q' conftest.err >conftest.er1
8344 cat conftest.er1 >&5
8346 rm -f conftest.er1 conftest.err
8347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8348 test $ac_status = 0; }
8349 done
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8352 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8353 if ${ac_cv_objc_compiler_gnu+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8360 main ()
8362 #ifndef __GNUC__
8363 choke me
8364 #endif
8367 return 0;
8369 _ACEOF
8370 if ac_fn_objc_try_compile "$LINENO"; then :
8371 ac_compiler_gnu=yes
8372 else
8373 ac_compiler_gnu=no
8375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8376 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8380 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8381 if test $ac_compiler_gnu = yes; then
8382 GOBJC=yes
8383 else
8384 GOBJC=
8386 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8387 ac_save_OBJCFLAGS=$OBJCFLAGS
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8389 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8390 if ${ac_cv_prog_objc_g+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_save_objc_werror_flag=$ac_objc_werror_flag
8394 ac_objc_werror_flag=yes
8395 ac_cv_prog_objc_g=no
8396 OBJCFLAGS="-g"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 main ()
8405 return 0;
8407 _ACEOF
8408 if ac_fn_objc_try_compile "$LINENO"; then :
8409 ac_cv_prog_objc_g=yes
8410 else
8411 OBJCFLAGS=""
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 main ()
8420 return 0;
8422 _ACEOF
8423 if ac_fn_objc_try_compile "$LINENO"; then :
8425 else
8426 ac_objc_werror_flag=$ac_save_objc_werror_flag
8427 OBJCFLAGS="-g"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 main ()
8436 return 0;
8438 _ACEOF
8439 if ac_fn_objc_try_compile "$LINENO"; then :
8440 ac_cv_prog_objc_g=yes
8442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 ac_objc_werror_flag=$ac_save_objc_werror_flag
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8450 $as_echo "$ac_cv_prog_objc_g" >&6; }
8451 if test "$ac_test_OBJCFLAGS" = set; then
8452 OBJCFLAGS=$ac_save_OBJCFLAGS
8453 elif test $ac_cv_prog_objc_g = yes; then
8454 if test "$GOBJC" = yes; then
8455 OBJCFLAGS="-g -O2"
8456 else
8457 OBJCFLAGS="-g"
8459 else
8460 if test "$GOBJC" = yes; then
8461 OBJCFLAGS="-O2"
8462 else
8463 OBJCFLAGS=
8466 ac_ext=m
8467 ac_cpp='$OBJCPP $CPPFLAGS'
8468 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8469 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8470 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8473 ac_ext=m
8474 ac_cpp='$OBJCPP $CPPFLAGS'
8475 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8476 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8477 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8479 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8480 if test -z "$OBJCPP"; then
8481 if ${ac_cv_prog_OBJCPP+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 # Double quotes because OBJCPP needs to be expanded
8485 for OBJCPP in "$OBJC -E" "/lib/cpp"
8487 ac_preproc_ok=false
8488 for ac_objc_preproc_warn_flag in '' yes
8490 # Use a header file that comes with gcc, so configuring glibc
8491 # with a fresh cross-compiler works.
8492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8493 # <limits.h> exists even on freestanding compilers.
8494 # On the NeXT, cc -E runs the code through the compiler's parser,
8495 # not just through cpp. "Syntax error" is here to catch this case.
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 #ifdef __STDC__
8499 # include <limits.h>
8500 #else
8501 # include <assert.h>
8502 #endif
8503 Syntax error
8504 _ACEOF
8505 if ac_fn_objc_try_cpp "$LINENO"; then :
8507 else
8508 # Broken: fails on valid input.
8509 continue
8511 rm -f conftest.err conftest.i conftest.$ac_ext
8513 # OK, works on sane cases. Now check whether nonexistent headers
8514 # can be detected and how.
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 #include <ac_nonexistent.h>
8518 _ACEOF
8519 if ac_fn_objc_try_cpp "$LINENO"; then :
8520 # Broken: success on invalid input.
8521 continue
8522 else
8523 # Passes both tests.
8524 ac_preproc_ok=:
8525 break
8527 rm -f conftest.err conftest.i conftest.$ac_ext
8529 done
8530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8531 rm -f conftest.i conftest.err conftest.$ac_ext
8532 if $ac_preproc_ok; then :
8533 break
8536 done
8537 ac_cv_prog_OBJCPP=$OBJCPP
8540 OBJCPP=$ac_cv_prog_OBJCPP
8541 else
8542 ac_cv_prog_OBJCPP=$OBJCPP
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8545 $as_echo "$OBJCPP" >&6; }
8546 ac_preproc_ok=false
8547 for ac_objc_preproc_warn_flag in '' yes
8549 # Use a header file that comes with gcc, so configuring glibc
8550 # with a fresh cross-compiler works.
8551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8552 # <limits.h> exists even on freestanding compilers.
8553 # On the NeXT, cc -E runs the code through the compiler's parser,
8554 # not just through cpp. "Syntax error" is here to catch this case.
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 #ifdef __STDC__
8558 # include <limits.h>
8559 #else
8560 # include <assert.h>
8561 #endif
8562 Syntax error
8563 _ACEOF
8564 if ac_fn_objc_try_cpp "$LINENO"; then :
8566 else
8567 # Broken: fails on valid input.
8568 continue
8570 rm -f conftest.err conftest.i conftest.$ac_ext
8572 # OK, works on sane cases. Now check whether nonexistent headers
8573 # can be detected and how.
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 #include <ac_nonexistent.h>
8577 _ACEOF
8578 if ac_fn_objc_try_cpp "$LINENO"; then :
8579 # Broken: success on invalid input.
8580 continue
8581 else
8582 # Passes both tests.
8583 ac_preproc_ok=:
8584 break
8586 rm -f conftest.err conftest.i conftest.$ac_ext
8588 done
8589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8590 rm -f conftest.i conftest.err conftest.$ac_ext
8591 if $ac_preproc_ok; then :
8593 else
8594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8596 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8597 See \`config.log' for more details" "$LINENO" 5; }
8600 ac_ext=m
8601 ac_cpp='$OBJCPP $CPPFLAGS'
8602 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8603 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8604 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8607 for ac_header in Metal/Metal.h
8608 do :
8609 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8610 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8611 cat >>confdefs.h <<_ACEOF
8612 #define HAVE_METAL_METAL_H 1
8613 _ACEOF
8617 done
8619 ac_ext=c
8620 ac_cpp='$CPP $CPPFLAGS'
8621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8625 LIBEXT="dylib"
8626 DLLFLAGS="$DLLFLAGS -fPIC"
8627 LDDLLFLAGS="-fPIC"
8628 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8629 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8630 COREFOUNDATION_LIBS="-framework CoreFoundation"
8632 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8634 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8636 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8638 CORESERVICES_LIBS="-framework CoreServices"
8640 APPKIT_LIBS="-framework AppKit"
8642 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8645 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8647 wine_can_build_preloader=yes
8648 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8650 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8651 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 ac_cv_cflags__Wl__no_new_main__e__main=yes
8662 else
8663 ac_cv_cflags__Wl__no_new_main__e__main=no
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8670 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8671 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8672 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8674 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8675 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 int main(int argc, char **argv) { return 0; }
8683 _ACEOF
8684 if ac_fn_c_try_link "$LINENO"; then :
8685 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8686 else
8687 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8689 rm -f core conftest.err conftest.$ac_objext \
8690 conftest$ac_exeext conftest.$ac_ext
8691 CFLAGS=$ac_wine_try_cflags_saved
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8694 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8695 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8696 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8697 else
8698 { $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
8699 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8700 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8711 else
8712 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $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
8719 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8720 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8721 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8722 else
8723 wine_can_build_preloader=no
8726 else
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8728 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8729 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8730 $as_echo_n "(cached) " >&6
8731 else
8732 ac_wine_try_cflags_saved=$CFLAGS
8733 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8736 int main(int argc, char **argv) { return 0; }
8737 _ACEOF
8738 if ac_fn_c_try_link "$LINENO"; then :
8739 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8740 else
8741 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 CFLAGS=$ac_wine_try_cflags_saved
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8748 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8749 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8750 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8751 else
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8753 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8754 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 int main(int argc, char **argv) { return 0; }
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8765 else
8766 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8773 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8774 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8775 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8776 else
8777 wine_can_build_preloader=no
8781 if test "$wine_can_build_preloader" = "yes"
8782 then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8784 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8785 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -Wl,-no_pie"
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 int main(int argc, char **argv) { return 0; }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_cflags__Wl__no_pie=yes
8796 else
8797 ac_cv_cflags__Wl__no_pie=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8804 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8805 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8806 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8808 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8809 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8810 else
8811 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8814 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8815 then
8816 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8819 if test "$ac_cv_header_Security_Security_h" = "yes"
8820 then
8821 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8823 ac_save_LIBS="$LIBS"
8824 LIBS="$LIBS $SECURITY_LIBS"
8825 for ac_func in SSLCopyPeerCertificates
8826 do :
8827 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8828 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8829 cat >>confdefs.h <<_ACEOF
8830 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8831 _ACEOF
8834 done
8836 LIBS="$ac_save_LIBS"
8838 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8839 then
8840 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8841 then
8842 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8844 else
8845 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8848 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8849 ac_save_LIBS="$LIBS"
8850 LIBS="$LIBS $COREAUDIO_LIBS"
8851 for ac_func in AUGraphAddNode
8852 do :
8853 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8854 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8855 cat >>confdefs.h <<_ACEOF
8856 #define HAVE_AUGRAPHADDNODE 1
8857 _ACEOF
8860 done
8862 LIBS="$ac_save_LIBS"
8864 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8865 then
8866 OPENAL_LIBS="-framework OpenAL"
8869 cat >>confdefs.h <<_ACEOF
8870 #define HAVE_OPENAL 1
8871 _ACEOF
8873 ac_cv_lib_openal=yes
8875 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8876 then
8877 OPENCL_LIBS="-framework OpenCL"
8879 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8881 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8882 then
8883 ac_save_LIBS="$LIBS"
8884 LIBS="$LIBS $IOKIT_LIBS"
8885 for ac_func in IOHIDManagerCreate
8886 do :
8887 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8888 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8889 cat >>confdefs.h <<_ACEOF
8890 #define HAVE_IOHIDMANAGERCREATE 1
8891 _ACEOF
8894 done
8896 LIBS="$ac_save_LIBS"
8898 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8899 then
8900 ac_save_LIBS="$LIBS"
8901 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8903 $as_echo_n "checking for the QuickTime framework... " >&6; }
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 #include <QuickTime/ImageCompression.h>
8908 main ()
8910 CodecManagerVersion(NULL);
8912 return 0;
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8917 $as_echo "yes" >&6; }
8918 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8920 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8921 else
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8924 ac_cv_header_QuickTime_ImageCompression_h=no
8926 rm -f core conftest.err conftest.$ac_objext \
8927 conftest$ac_exeext conftest.$ac_ext
8928 LIBS="$ac_save_LIBS"
8930 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8931 then
8932 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8934 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8935 then
8936 CARBON_LIBS="-framework Carbon"
8939 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8940 then
8941 METAL_LIBS="-framework Metal -framework QuartzCore"
8945 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8946 then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8948 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8949 ac_ext=m
8950 ac_cpp='$OBJCPP $CPPFLAGS'
8951 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8957 #include <Metal/Metal.h>
8959 main ()
8961 id<MTLDevice> device; device.registryID;
8963 return 0;
8965 _ACEOF
8966 if ac_fn_objc_try_compile "$LINENO"; then :
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8968 $as_echo "yes" >&6; }
8970 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8972 else
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8977 ac_ext=c
8978 ac_cpp='$CPP $CPPFLAGS'
8979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8985 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8986 then
8987 ac_save_LIBS="$LIBS"
8988 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8989 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8990 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8991 enable_winemac_drv=${enable_winemac_drv:-yes}
8994 LIBS="$ac_save_LIBS"
8997 if test "x$enable_win16" = "xyes"
8998 then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9000 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9001 if test "$cross_compiling" = yes; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9003 $as_echo "cross-compiling, assuming yes" >&6; }
9004 else
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9007 asm(".text\n"
9008 "bad:\tnop;nop\n"
9009 "good:\tnop;nop\n\t"
9010 ".globl _testfunc\n"
9011 "_testfunc:\tcallw good");
9012 extern void testfunc();
9014 main ()
9016 unsigned short *p = (unsigned short *)testfunc;
9017 return p[0] != 0xe866 || p[1] != 0xfffa
9019 return 0;
9021 _ACEOF
9022 if ac_fn_c_try_run "$LINENO"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9024 $as_echo "yes" >&6; }
9025 else
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9028 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
9030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9031 conftest.$ac_objext conftest.beam conftest.$ac_ext
9036 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9038 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9040 WINELOADER_DEPENDS="wine_info.plist"
9042 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9043 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9046 linux-android*)
9047 DLLFLAGS="$DLLFLAGS -fPIC"
9048 LDDLLFLAGS="-fPIC"
9049 LDEXECFLAGS="-Wl,-pie"
9050 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9052 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9053 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 int main(int argc, char **argv) { return 0; }
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9063 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9064 else
9065 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 CFLAGS=$ac_wine_try_cflags_saved
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9072 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9073 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9074 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9076 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9077 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9079 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9080 if eval \${$as_ac_var+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_wine_try_cflags_saved=$CFLAGS
9084 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 int main(int argc, char **argv) { return 0; }
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 eval "$as_ac_var=yes"
9091 else
9092 eval "$as_ac_var=no"
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 CFLAGS=$ac_wine_try_cflags_saved
9098 eval ac_res=\$$as_ac_var
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9100 $as_echo "$ac_res" >&6; }
9101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9102 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9103 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9104 else
9105 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9107 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9108 if eval \${$as_ac_var+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9115 int main(int argc, char **argv) { return 0; }
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 eval "$as_ac_var=yes"
9119 else
9120 eval "$as_ac_var=no"
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 eval ac_res=\$$as_ac_var
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9128 $as_echo "$ac_res" >&6; }
9129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9130 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9131 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9135 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9136 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_wine_try_cflags_saved=$CFLAGS
9140 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9143 int main(int argc, char **argv) { return 0; }
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 ac_cv_cflags__Wl___enable_new_dtags=yes
9147 else
9148 ac_cv_cflags__Wl___enable_new_dtags=no
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 CFLAGS=$ac_wine_try_cflags_saved
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9155 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9156 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9157 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9160 LIBWINE_SHAREDLIB="libwine.so"
9162 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9164 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9167 $as_echo_n "checking for -lEGL... " >&6; }
9168 if ${ac_cv_lib_soname_EGL+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_soname_save_LIBS=$LIBS
9172 LIBS="-lEGL $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char eglGetProcAddress ();
9184 main ()
9186 return eglGetProcAddress ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 case "$LIBEXT" in
9193 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9194 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'` ;;
9195 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9196 if ${ac_cv_lib_soname_EGL:+false} :; then :
9197 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9198 fi ;;
9199 esac
9200 else
9201 ac_cv_lib_soname_EGL=
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_soname_save_LIBS
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9209 $as_echo "not found" >&6; }
9211 else
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9213 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9215 cat >>confdefs.h <<_ACEOF
9216 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9217 _ACEOF
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9222 $as_echo_n "checking for -lGLESv2... " >&6; }
9223 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_check_soname_save_LIBS=$LIBS
9227 LIBS="-lGLESv2 $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char glFlush ();
9239 main ()
9241 return glFlush ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 case "$LIBEXT" in
9248 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9249 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'` ;;
9250 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9251 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9252 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9253 fi ;;
9254 esac
9255 else
9256 ac_cv_lib_soname_GLESv2=
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 LIBS=$ac_check_soname_save_LIBS
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9264 $as_echo "not found" >&6; }
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9268 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9270 cat >>confdefs.h <<_ACEOF
9271 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9272 _ACEOF
9277 if test "x$exec_prefix" = xNONE
9278 then
9279 case $host_cpu in
9280 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9281 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9282 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9283 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9284 esac
9289 case $host_cpu in
9290 *i[3456789]86*)
9291 DLLFLAGS="$DLLFLAGS -fno-PIC"
9292 LDDLLFLAGS="-fno-PIC" ;;
9294 DLLFLAGS="$DLLFLAGS -fPIC"
9295 LDDLLFLAGS="-fPIC" ;;
9296 esac
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9298 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9299 if ${ac_cv_c_dll_gnuelf+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_wine_try_cflags_saved=$CFLAGS
9303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 void myfunc() {}
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9310 else
9311 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 CFLAGS=$ac_wine_try_cflags_saved
9316 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9317 ac_cv_c_dll_gnuelf="yes"
9318 else
9319 ac_cv_c_dll_gnuelf="no"
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9323 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9324 if test "$ac_cv_c_dll_gnuelf" = "yes"
9325 then
9326 LIBWINE_LDFLAGS="-shared"
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9328 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9329 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9330 $as_echo_n "(cached) " >&6
9331 else
9332 ac_wine_try_cflags_saved=$CFLAGS
9333 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9336 int main(int argc, char **argv) { return 0; }
9337 _ACEOF
9338 if ac_fn_c_try_link "$LINENO"; then :
9339 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9340 else
9341 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 CFLAGS=$ac_wine_try_cflags_saved
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9348 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9349 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9350 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9351 else
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9353 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9354 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9355 $as_echo_n "(cached) " >&6
9356 else
9357 ac_wine_try_cflags_saved=$CFLAGS
9358 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360 /* end confdefs.h. */
9361 int main(int argc, char **argv) { return 0; }
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9365 else
9366 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 CFLAGS=$ac_wine_try_cflags_saved
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9373 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9374 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9375 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9379 echo '{ global: *; };' >conftest.map
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9381 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9382 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_wine_try_cflags_saved=$CFLAGS
9386 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int main(int argc, char **argv) { return 0; }
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9393 else
9394 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 CFLAGS=$ac_wine_try_cflags_saved
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9401 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9402 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9403 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9405 rm -f conftest.map
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9408 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9409 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 int main(int argc, char **argv) { return 0; }
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_cflags__Wl___export_dynamic=yes
9420 else
9421 ac_cv_cflags__Wl___export_dynamic=no
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9428 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9429 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9430 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9432 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9434 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9436 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9437 if eval \${$as_ac_var+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 eval "$as_ac_var=yes"
9448 else
9449 eval "$as_ac_var=no"
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 eval ac_res=\$$as_ac_var
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9457 $as_echo "$ac_res" >&6; }
9458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9459 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9460 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9461 else
9462 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9464 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9465 if eval \${$as_ac_var+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 eval "$as_ac_var=yes"
9476 else
9477 eval "$as_ac_var=no"
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 eval ac_res=\$$as_ac_var
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9485 $as_echo "$ac_res" >&6; }
9486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9487 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9488 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9493 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9494 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_wine_try_cflags_saved=$CFLAGS
9498 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9501 int main(int argc, char **argv) { return 0; }
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_cflags__Wl___enable_new_dtags=yes
9505 else
9506 ac_cv_cflags__Wl___enable_new_dtags=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 CFLAGS=$ac_wine_try_cflags_saved
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9513 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9514 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9515 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9518 case $host_cpu in
9519 *i[3456789]86* | x86_64 | *aarch64*)
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9521 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9522 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_wine_try_cflags_saved=$CFLAGS
9526 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9529 int main(int argc, char **argv) { return 0; }
9530 _ACEOF
9531 if ac_fn_c_try_link "$LINENO"; then :
9532 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9533 else
9534 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9536 rm -f core conftest.err conftest.$ac_objext \
9537 conftest$ac_exeext conftest.$ac_ext
9538 CFLAGS=$ac_wine_try_cflags_saved
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9541 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9542 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9543 case $host_os in
9544 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9545 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9546 esac
9547 else
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9549 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9550 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9551 $as_echo_n "(cached) " >&6
9552 else
9553 ac_wine_try_cflags_saved=$CFLAGS
9554 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9557 int main(int argc, char **argv) { return 0; }
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9561 else
9562 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 CFLAGS=$ac_wine_try_cflags_saved
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9569 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9570 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9571 case $host_os in
9572 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9573 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9574 esac
9576 # Extract the first word of "prelink", so it can be a program name with args.
9577 set dummy prelink; ac_word=$2
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9579 $as_echo_n "checking for $ac_word... " >&6; }
9580 if ${ac_cv_path_PRELINK+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 case $PRELINK in
9584 [\\/]* | ?:[\\/]*)
9585 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9589 for as_dir in /sbin /usr/sbin $PATH
9591 IFS=$as_save_IFS
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9595 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9597 break 2
9599 done
9600 done
9601 IFS=$as_save_IFS
9603 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9605 esac
9607 PRELINK=$ac_cv_path_PRELINK
9608 if test -n "$PRELINK"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9610 $as_echo "$PRELINK" >&6; }
9611 else
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 $as_echo "no" >&6; }
9617 if test "x$PRELINK" = xfalse
9618 then
9619 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9623 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9624 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9625 $as_echo_n "(cached) " >&6
9626 else
9627 ac_wine_try_cflags_saved=$CFLAGS
9628 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9631 int main(int argc, char **argv) { return 0; }
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9635 else
9636 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 CFLAGS=$ac_wine_try_cflags_saved
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9643 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9644 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9645 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9648 esac
9650 else
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9652 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9653 if ${ac_cv_c_dll_unixware+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 ac_wine_try_cflags_saved=$CFLAGS
9657 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9660 void myfunc() {}
9661 _ACEOF
9662 if ac_fn_c_try_link "$LINENO"; then :
9663 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9664 else
9665 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 CFLAGS=$ac_wine_try_cflags_saved
9670 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9671 ac_cv_c_dll_unixware="yes"
9672 else
9673 ac_cv_c_dll_unixware="no"
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9677 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9678 if test "$ac_cv_c_dll_unixware" = "yes"
9679 then
9680 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9683 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9685 LIBWINE_DEPENDS="wine.map"
9687 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9688 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9690 esac
9692 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9693 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9694 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9695 enable_winemac_drv=${enable_winemac_drv:-no}
9696 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9698 CROSSTARGET=""
9700 if test "x$with_mingw" != xno
9701 then
9702 case "x$with_mingw" in
9703 x|xyes) case "$host_cpu" in
9704 aarch64*)
9705 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9706 arm*)
9707 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9708 i[3456789]86*)
9709 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
9710 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9711 mingw32-gcc" ;;
9712 x86_64)
9713 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
9714 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9716 ac_prefix_list="" ;;
9717 esac
9718 for ac_prog in $ac_prefix_list
9720 # Extract the first word of "$ac_prog", so it can be a program name with args.
9721 set dummy $ac_prog; ac_word=$2
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9723 $as_echo_n "checking for $ac_word... " >&6; }
9724 if ${ac_cv_prog_CROSSCC+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 if test -n "$CROSSCC"; then
9728 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9729 else
9730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9731 for as_dir in $PATH
9733 IFS=$as_save_IFS
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9737 ac_cv_prog_CROSSCC="$ac_prog"
9738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9739 break 2
9741 done
9742 done
9743 IFS=$as_save_IFS
9747 CROSSCC=$ac_cv_prog_CROSSCC
9748 if test -n "$CROSSCC"; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9750 $as_echo "$CROSSCC" >&6; }
9751 else
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9753 $as_echo "no" >&6; }
9757 test -n "$CROSSCC" && break
9758 done
9759 test -n "$CROSSCC" || CROSSCC="false"
9761 *) CROSSCC=$with_mingw ;;
9762 esac
9763 if test "$CROSSCC" != "false"
9764 then
9765 ac_save_CC="$CC"
9766 saved_CFLAGS=$CFLAGS
9767 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9769 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9773 CC="$CROSSCC"
9774 CFLAGS=$CROSSCFLAGS
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9776 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9777 if ${wine_cv_crosscc+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9784 main ()
9788 return 0;
9790 _ACEOF
9791 if ac_fn_c_try_compile "$LINENO"; then :
9792 wine_cv_crosscc=yes
9793 else
9794 wine_cv_crosscc=no
9796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9799 $as_echo "$wine_cv_crosscc" >&6; }
9800 if test $wine_cv_crosscc = yes
9801 then
9802 set x $CROSSCC
9803 shift
9804 while test $# -ge 1
9806 case "$1" in
9807 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9808 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9809 esac
9810 shift
9811 done
9813 llvm_target=$CROSSTARGET
9814 if test -z "$llvm_target"
9815 then
9816 case $host_cpu in
9817 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9818 *) llvm_target=$host_cpu-windows-gnu ;;
9819 esac
9821 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9823 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9824 if eval \${$as_ac_var+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_wine_try_cflags_saved=$CFLAGS
9828 ac_wine_try_cflags_saved_cc=$CC
9829 ac_wine_try_cflags_saved_exeext=$ac_exeext
9830 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9831 CC="$CROSSCC"
9832 ac_exeext=".exe"
9833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9834 /* end confdefs.h. */
9835 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9836 _ACEOF
9837 if ac_fn_c_try_link "$LINENO"; then :
9838 eval "$as_ac_var=yes"
9839 else
9840 eval "$as_ac_var=no"
9842 rm -f core conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 CFLAGS=$ac_wine_try_cflags_saved
9845 CC=$ac_wine_try_cflags_saved_cc
9846 ac_exeext=$ac_wine_try_cflags_saved_exeext
9848 eval ac_res=\$$as_ac_var
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9850 $as_echo "$ac_res" >&6; }
9851 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9852 CROSSTARGET=$llvm_target
9853 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9854 CFLAGS="$CFLAGS -fuse-ld=lld"
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9858 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9859 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_wine_try_cflags_saved=$CFLAGS
9863 ac_wine_try_cflags_saved_cc=$CC
9864 ac_wine_try_cflags_saved_exeext=$ac_exeext
9865 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9866 CC="$CROSSCC"
9867 ac_exeext=".exe"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9870 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 ac_cv_crosscflags__fno_strict_aliasing=yes
9874 else
9875 ac_cv_crosscflags__fno_strict_aliasing=no
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 CFLAGS=$ac_wine_try_cflags_saved
9880 CC=$ac_wine_try_cflags_saved_cc
9881 ac_exeext=$ac_wine_try_cflags_saved_exeext
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9884 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9885 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9886 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9889 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9890 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_wine_try_cflags_saved=$CFLAGS
9894 ac_wine_try_cflags_saved_cc=$CC
9895 ac_wine_try_cflags_saved_exeext=$ac_exeext
9896 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9897 CC="$CROSSCC"
9898 ac_exeext=".exe"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"; then :
9904 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9905 else
9906 ac_cv_crosscflags__Werror_unknown_warning_option=no
9908 rm -f core conftest.err conftest.$ac_objext \
9909 conftest$ac_exeext conftest.$ac_ext
9910 CFLAGS=$ac_wine_try_cflags_saved
9911 CC=$ac_wine_try_cflags_saved_cc
9912 ac_exeext=$ac_wine_try_cflags_saved_exeext
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9915 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9916 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9917 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9920 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9921 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_wine_try_cflags_saved=$CFLAGS
9925 ac_wine_try_cflags_saved_cc=$CC
9926 ac_wine_try_cflags_saved_exeext=$ac_exeext
9927 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9928 CC="$CROSSCC"
9929 ac_exeext=".exe"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9932 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9936 else
9937 ac_cv_crosscflags__Wdeclaration_after_statement=no
9939 rm -f core conftest.err conftest.$ac_objext \
9940 conftest$ac_exeext conftest.$ac_ext
9941 CFLAGS=$ac_wine_try_cflags_saved
9942 CC=$ac_wine_try_cflags_saved_cc
9943 ac_exeext=$ac_wine_try_cflags_saved_exeext
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9946 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9947 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9948 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9951 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9952 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_wine_try_cflags_saved=$CFLAGS
9956 ac_wine_try_cflags_saved_cc=$CC
9957 ac_wine_try_cflags_saved_exeext=$ac_exeext
9958 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9959 CC="$CROSSCC"
9960 ac_exeext=".exe"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 ac_cv_crosscflags__Wempty_body=yes
9967 else
9968 ac_cv_crosscflags__Wempty_body=no
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 CFLAGS=$ac_wine_try_cflags_saved
9973 CC=$ac_wine_try_cflags_saved_cc
9974 ac_exeext=$ac_wine_try_cflags_saved_exeext
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9977 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9978 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9979 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9982 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9983 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9984 $as_echo_n "(cached) " >&6
9985 else
9986 ac_wine_try_cflags_saved=$CFLAGS
9987 ac_wine_try_cflags_saved_cc=$CC
9988 ac_wine_try_cflags_saved_exeext=$ac_exeext
9989 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9990 CC="$CROSSCC"
9991 ac_exeext=".exe"
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9994 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9995 _ACEOF
9996 if ac_fn_c_try_link "$LINENO"; then :
9997 ac_cv_crosscflags__Wignored_qualifiers=yes
9998 else
9999 ac_cv_crosscflags__Wignored_qualifiers=no
10001 rm -f core conftest.err conftest.$ac_objext \
10002 conftest$ac_exeext conftest.$ac_ext
10003 CFLAGS=$ac_wine_try_cflags_saved
10004 CC=$ac_wine_try_cflags_saved_cc
10005 ac_exeext=$ac_wine_try_cflags_saved_exeext
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10008 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10009 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10010 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10013 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10014 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10015 $as_echo_n "(cached) " >&6
10016 else
10017 ac_wine_try_cflags_saved=$CFLAGS
10018 ac_wine_try_cflags_saved_cc=$CC
10019 ac_wine_try_cflags_saved_exeext=$ac_exeext
10020 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10021 CC="$CROSSCC"
10022 ac_exeext=".exe"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10025 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"; then :
10028 ac_cv_crosscflags__Wpacked_not_aligned=yes
10029 else
10030 ac_cv_crosscflags__Wpacked_not_aligned=no
10032 rm -f core conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 CFLAGS=$ac_wine_try_cflags_saved
10035 CC=$ac_wine_try_cflags_saved_cc
10036 ac_exeext=$ac_wine_try_cflags_saved_exeext
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10039 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10040 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10041 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10044 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10045 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10046 $as_echo_n "(cached) " >&6
10047 else
10048 ac_wine_try_cflags_saved=$CFLAGS
10049 ac_wine_try_cflags_saved_cc=$CC
10050 ac_wine_try_cflags_saved_exeext=$ac_exeext
10051 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10052 CC="$CROSSCC"
10053 ac_exeext=".exe"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10056 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 ac_cv_crosscflags__Wpragma_pack=yes
10060 else
10061 ac_cv_crosscflags__Wpragma_pack=no
10063 rm -f core conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 CFLAGS=$ac_wine_try_cflags_saved
10066 CC=$ac_wine_try_cflags_saved_cc
10067 ac_exeext=$ac_wine_try_cflags_saved_exeext
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10070 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10071 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10072 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10075 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10076 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_wine_try_cflags_saved=$CFLAGS
10080 ac_wine_try_cflags_saved_cc=$CC
10081 ac_wine_try_cflags_saved_exeext=$ac_exeext
10082 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10083 CC="$CROSSCC"
10084 ac_exeext=".exe"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10087 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_crosscflags__Wshift_overflow_2=yes
10091 else
10092 ac_cv_crosscflags__Wshift_overflow_2=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 CFLAGS=$ac_wine_try_cflags_saved
10097 CC=$ac_wine_try_cflags_saved_cc
10098 ac_exeext=$ac_wine_try_cflags_saved_exeext
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10101 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10102 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10103 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10106 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10107 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_wine_try_cflags_saved=$CFLAGS
10111 ac_wine_try_cflags_saved_cc=$CC
10112 ac_wine_try_cflags_saved_exeext=$ac_exeext
10113 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10114 CC="$CROSSCC"
10115 ac_exeext=".exe"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10118 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10119 _ACEOF
10120 if ac_fn_c_try_link "$LINENO"; then :
10121 ac_cv_crosscflags__Wstrict_prototypes=yes
10122 else
10123 ac_cv_crosscflags__Wstrict_prototypes=no
10125 rm -f core conftest.err conftest.$ac_objext \
10126 conftest$ac_exeext conftest.$ac_ext
10127 CFLAGS=$ac_wine_try_cflags_saved
10128 CC=$ac_wine_try_cflags_saved_cc
10129 ac_exeext=$ac_wine_try_cflags_saved_exeext
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10132 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10133 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10134 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10137 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10138 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 ac_wine_try_cflags_saved=$CFLAGS
10142 ac_wine_try_cflags_saved_cc=$CC
10143 ac_wine_try_cflags_saved_exeext=$ac_exeext
10144 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10145 CC="$CROSSCC"
10146 ac_exeext=".exe"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10149 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"; then :
10152 ac_cv_crosscflags__Wtype_limits=yes
10153 else
10154 ac_cv_crosscflags__Wtype_limits=no
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 CFLAGS=$ac_wine_try_cflags_saved
10159 CC=$ac_wine_try_cflags_saved_cc
10160 ac_exeext=$ac_wine_try_cflags_saved_exeext
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10163 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10164 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10165 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10168 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10169 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10170 $as_echo_n "(cached) " >&6
10171 else
10172 ac_wine_try_cflags_saved=$CFLAGS
10173 ac_wine_try_cflags_saved_cc=$CC
10174 ac_wine_try_cflags_saved_exeext=$ac_exeext
10175 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10176 CC="$CROSSCC"
10177 ac_exeext=".exe"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10184 else
10185 ac_cv_crosscflags__Wunused_but_set_parameter=no
10187 rm -f core conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10189 CFLAGS=$ac_wine_try_cflags_saved
10190 CC=$ac_wine_try_cflags_saved_cc
10191 ac_exeext=$ac_wine_try_cflags_saved_exeext
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10194 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10195 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10196 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10199 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10200 if ${ac_cv_crosscflags__Wvla+:} false; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 ac_wine_try_cflags_saved=$CFLAGS
10204 ac_wine_try_cflags_saved_cc=$CC
10205 ac_wine_try_cflags_saved_exeext=$ac_exeext
10206 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10207 CC="$CROSSCC"
10208 ac_exeext=".exe"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 ac_cv_crosscflags__Wvla=yes
10215 else
10216 ac_cv_crosscflags__Wvla=no
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 CFLAGS=$ac_wine_try_cflags_saved
10221 CC=$ac_wine_try_cflags_saved_cc
10222 ac_exeext=$ac_wine_try_cflags_saved_exeext
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10225 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10226 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10227 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10230 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10231 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10232 $as_echo_n "(cached) " >&6
10233 else
10234 ac_wine_try_cflags_saved=$CFLAGS
10235 ac_wine_try_cflags_saved_cc=$CC
10236 ac_wine_try_cflags_saved_exeext=$ac_exeext
10237 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10238 CC="$CROSSCC"
10239 ac_exeext=".exe"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"; then :
10245 ac_cv_crosscflags__Wwrite_strings=yes
10246 else
10247 ac_cv_crosscflags__Wwrite_strings=no
10249 rm -f core conftest.err conftest.$ac_objext \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10252 CC=$ac_wine_try_cflags_saved_cc
10253 ac_exeext=$ac_wine_try_cflags_saved_exeext
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10256 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10257 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10258 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10261 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10262 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10263 $as_echo_n "(cached) " >&6
10264 else
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 ac_wine_try_cflags_saved_cc=$CC
10267 ac_wine_try_cflags_saved_exeext=$ac_exeext
10268 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10269 CC="$CROSSCC"
10270 ac_exeext=".exe"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 ac_cv_crosscflags__Wpointer_arith=yes
10277 else
10278 ac_cv_crosscflags__Wpointer_arith=no
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 CFLAGS=$ac_wine_try_cflags_saved
10283 CC=$ac_wine_try_cflags_saved_cc
10284 ac_exeext=$ac_wine_try_cflags_saved_exeext
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10287 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10288 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10289 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10292 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10293 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 ac_wine_try_cflags_saved_cc=$CC
10298 ac_wine_try_cflags_saved_exeext=$ac_exeext
10299 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10300 CC="$CROSSCC"
10301 ac_exeext=".exe"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_crosscflags__Wlogical_op=yes
10308 else
10309 ac_cv_crosscflags__Wlogical_op=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10314 CC=$ac_wine_try_cflags_saved_cc
10315 ac_exeext=$ac_wine_try_cflags_saved_exeext
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10318 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10319 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10320 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10323 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10324 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 ac_wine_try_cflags_saved_cc=$CC
10329 ac_wine_try_cflags_saved_exeext=$ac_exeext
10330 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10331 CC="$CROSSCC"
10332 ac_exeext=".exe"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10335 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10339 else
10340 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 CFLAGS=$ac_wine_try_cflags_saved
10345 CC=$ac_wine_try_cflags_saved_cc
10346 ac_exeext=$ac_wine_try_cflags_saved_exeext
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10349 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10350 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10351 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10354 case $host_cpu in
10355 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10356 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10357 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10358 $as_echo_n "(cached) " >&6
10359 else
10360 ac_wine_try_cflags_saved=$CFLAGS
10361 ac_wine_try_cflags_saved_cc=$CC
10362 ac_wine_try_cflags_saved_exeext=$ac_exeext
10363 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10364 CC="$CROSSCC"
10365 ac_exeext=".exe"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10368 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10369 _ACEOF
10370 if ac_fn_c_try_link "$LINENO"; then :
10371 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10372 else
10373 ac_cv_crosscflags__fno_omit_frame_pointer=no
10375 rm -f core conftest.err conftest.$ac_objext \
10376 conftest$ac_exeext conftest.$ac_ext
10377 CFLAGS=$ac_wine_try_cflags_saved
10378 CC=$ac_wine_try_cflags_saved_cc
10379 ac_exeext=$ac_wine_try_cflags_saved_exeext
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10382 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10383 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10384 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10385 fi ;;
10386 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10387 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10388 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10389 $as_echo_n "(cached) " >&6
10390 else
10391 ac_wine_try_cflags_saved=$CFLAGS
10392 ac_wine_try_cflags_saved_cc=$CC
10393 ac_wine_try_cflags_saved_exeext=$ac_exeext
10394 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10395 CC="$CROSSCC"
10396 ac_exeext=".exe"
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10399 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10400 _ACEOF
10401 if ac_fn_c_try_link "$LINENO"; then :
10402 ac_cv_crosscflags__Wno_format=yes
10403 else
10404 ac_cv_crosscflags__Wno_format=no
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 CFLAGS=$ac_wine_try_cflags_saved
10409 CC=$ac_wine_try_cflags_saved_cc
10410 ac_exeext=$ac_wine_try_cflags_saved_exeext
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10413 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10414 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10415 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10418 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10419 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10420 $as_echo_n "(cached) " >&6
10421 else
10422 ac_wine_try_cflags_saved=$CFLAGS
10423 ac_wine_try_cflags_saved_cc=$CC
10424 ac_wine_try_cflags_saved_exeext=$ac_exeext
10425 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10426 CC="$CROSSCC"
10427 ac_exeext=".exe"
10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10430 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10431 _ACEOF
10432 if ac_fn_c_try_link "$LINENO"; then :
10433 ac_cv_crosscflags__Wformat_overflow=yes
10434 else
10435 ac_cv_crosscflags__Wformat_overflow=no
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 CFLAGS=$ac_wine_try_cflags_saved
10440 CC=$ac_wine_try_cflags_saved_cc
10441 ac_exeext=$ac_wine_try_cflags_saved_exeext
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10444 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10445 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10446 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10449 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10450 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10451 $as_echo_n "(cached) " >&6
10452 else
10453 ac_wine_try_cflags_saved=$CFLAGS
10454 ac_wine_try_cflags_saved_cc=$CC
10455 ac_wine_try_cflags_saved_exeext=$ac_exeext
10456 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10457 CC="$CROSSCC"
10458 ac_exeext=".exe"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10461 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 ac_cv_crosscflags__Wnonnull=yes
10465 else
10466 ac_cv_crosscflags__Wnonnull=no
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 CFLAGS=$ac_wine_try_cflags_saved
10471 CC=$ac_wine_try_cflags_saved_cc
10472 ac_exeext=$ac_wine_try_cflags_saved_exeext
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10475 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10476 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10477 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10478 fi ;;
10479 esac
10481 for ac_flag in $CROSSCFLAGS; do
10482 case $ac_flag in
10483 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10484 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10485 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_wine_try_cflags_saved=$CFLAGS
10489 ac_wine_try_cflags_saved_cc=$CC
10490 ac_wine_try_cflags_saved_exeext=$ac_exeext
10491 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10492 CC="$CROSSCC"
10493 ac_exeext=".exe"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_crosscflags__gdwarf_2=yes
10500 else
10501 ac_cv_crosscflags__gdwarf_2=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 CFLAGS=$ac_wine_try_cflags_saved
10506 CC=$ac_wine_try_cflags_saved_cc
10507 ac_exeext=$ac_wine_try_cflags_saved_exeext
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10510 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10511 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10512 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10515 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10516 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_wine_try_cflags_saved=$CFLAGS
10520 ac_wine_try_cflags_saved_cc=$CC
10521 ac_wine_try_cflags_saved_exeext=$ac_exeext
10522 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10523 CC="$CROSSCC"
10524 ac_exeext=".exe"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10527 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10528 _ACEOF
10529 if ac_fn_c_try_link "$LINENO"; then :
10530 ac_cv_crosscflags__gstrict_dwarf=yes
10531 else
10532 ac_cv_crosscflags__gstrict_dwarf=no
10534 rm -f core conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10536 CFLAGS=$ac_wine_try_cflags_saved
10537 CC=$ac_wine_try_cflags_saved_cc
10538 ac_exeext=$ac_wine_try_cflags_saved_exeext
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10541 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10542 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10543 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10544 fi ;;
10545 esac
10546 done
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10549 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10550 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 ac_wine_try_cflags_saved=$CFLAGS
10554 ac_wine_try_cflags_saved_cc=$CC
10555 ac_wine_try_cflags_saved_exeext=$ac_exeext
10556 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10557 CC="$CROSSCC"
10558 ac_exeext=".exe"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10561 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10565 else
10566 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 CFLAGS=$ac_wine_try_cflags_saved
10571 CC=$ac_wine_try_cflags_saved_cc
10572 ac_exeext=$ac_wine_try_cflags_saved_exeext
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10575 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10576 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10577 DELAYLOADFLAG="-Wl,-delayload,"
10581 if test "x$enable_werror" = "xyes"
10582 then
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10584 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10585 if ${ac_cv_crosscflags__Werror+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 ac_wine_try_cflags_saved=$CFLAGS
10589 ac_wine_try_cflags_saved_cc=$CC
10590 ac_wine_try_cflags_saved_exeext=$ac_exeext
10591 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10592 CC="$CROSSCC"
10593 ac_exeext=".exe"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 ac_cv_crosscflags__Werror=yes
10600 else
10601 ac_cv_crosscflags__Werror=no
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 CFLAGS=$ac_wine_try_cflags_saved
10606 CC=$ac_wine_try_cflags_saved_cc
10607 ac_exeext=$ac_wine_try_cflags_saved_exeext
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10610 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10611 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10612 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10616 CFLAGS=$saved_CFLAGS
10617 CC="$ac_save_CC"
10620 if test "x$CROSSTARGET" = "x"; then :
10621 case "x$with_mingw" in
10622 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10623 xno) ;;
10624 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10625 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10626 esac
10631 if test "$ac_cv_header_pthread_h" = "yes"
10632 then
10633 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10634 if test "x$ac_cv_func_pthread_create" = xyes; then :
10636 else
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10638 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10639 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10640 $as_echo_n "(cached) " >&6
10641 else
10642 ac_check_lib_save_LIBS=$LIBS
10643 LIBS="-lpthread $LIBS"
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10647 /* Override any GCC internal prototype to avoid an error.
10648 Use char because int might match the return type of a GCC
10649 builtin and then its argument prototype would still apply. */
10650 #ifdef __cplusplus
10651 extern "C"
10652 #endif
10653 char pthread_create ();
10655 main ()
10657 return pthread_create ();
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 ac_cv_lib_pthread_pthread_create=yes
10664 else
10665 ac_cv_lib_pthread_pthread_create=no
10667 rm -f core conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_lib_save_LIBS
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10672 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10673 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10674 PTHREAD_LIBS="-lpthread"
10681 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10682 case "x$with_pthread" in
10683 xno) ;;
10684 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10685 Wine cannot support threads without libpthread.
10686 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10687 esac
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10693 $as_echo_n "checking for X... " >&6; }
10696 # Check whether --with-x was given.
10697 if test "${with_x+set}" = set; then :
10698 withval=$with_x;
10701 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10702 if test "x$with_x" = xno; then
10703 # The user explicitly disabled X.
10704 have_x=disabled
10705 else
10706 case $x_includes,$x_libraries in #(
10707 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10708 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10709 $as_echo_n "(cached) " >&6
10710 else
10711 # One or both of the vars are not set, and there is no cached value.
10712 ac_x_includes=no ac_x_libraries=no
10713 rm -f -r conftest.dir
10714 if mkdir conftest.dir; then
10715 cd conftest.dir
10716 cat >Imakefile <<'_ACEOF'
10717 incroot:
10718 @echo incroot='${INCROOT}'
10719 usrlibdir:
10720 @echo usrlibdir='${USRLIBDIR}'
10721 libdir:
10722 @echo libdir='${LIBDIR}'
10723 _ACEOF
10724 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10725 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10726 for ac_var in incroot usrlibdir libdir; do
10727 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10728 done
10729 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10730 for ac_extension in a so sl dylib la dll; do
10731 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10732 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10733 ac_im_usrlibdir=$ac_im_libdir; break
10735 done
10736 # Screen out bogus values from the imake configuration. They are
10737 # bogus both because they are the default anyway, and because
10738 # using them would break gcc on systems where it needs fixed includes.
10739 case $ac_im_incroot in
10740 /usr/include) ac_x_includes= ;;
10741 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10742 esac
10743 case $ac_im_usrlibdir in
10744 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10745 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10746 esac
10748 cd ..
10749 rm -f -r conftest.dir
10752 # Standard set of common directories for X headers.
10753 # Check X11 before X11Rn because it is often a symlink to the current release.
10754 ac_x_header_dirs='
10755 /usr/X11/include
10756 /usr/X11R7/include
10757 /usr/X11R6/include
10758 /usr/X11R5/include
10759 /usr/X11R4/include
10761 /usr/include/X11
10762 /usr/include/X11R7
10763 /usr/include/X11R6
10764 /usr/include/X11R5
10765 /usr/include/X11R4
10767 /usr/local/X11/include
10768 /usr/local/X11R7/include
10769 /usr/local/X11R6/include
10770 /usr/local/X11R5/include
10771 /usr/local/X11R4/include
10773 /usr/local/include/X11
10774 /usr/local/include/X11R7
10775 /usr/local/include/X11R6
10776 /usr/local/include/X11R5
10777 /usr/local/include/X11R4
10779 /usr/X386/include
10780 /usr/x386/include
10781 /usr/XFree86/include/X11
10783 /usr/include
10784 /usr/local/include
10785 /usr/unsupported/include
10786 /usr/athena/include
10787 /usr/local/x11r5/include
10788 /usr/lpp/Xamples/include
10790 /usr/openwin/include
10791 /usr/openwin/share/include'
10793 if test "$ac_x_includes" = no; then
10794 # Guess where to find include files, by looking for Xlib.h.
10795 # First, try using that file with no special directory specified.
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10798 #include <X11/Xlib.h>
10799 _ACEOF
10800 if ac_fn_c_try_cpp "$LINENO"; then :
10801 # We can compile using X headers with no special include directory.
10802 ac_x_includes=
10803 else
10804 for ac_dir in $ac_x_header_dirs; do
10805 if test -r "$ac_dir/X11/Xlib.h"; then
10806 ac_x_includes=$ac_dir
10807 break
10809 done
10811 rm -f conftest.err conftest.i conftest.$ac_ext
10812 fi # $ac_x_includes = no
10814 if test "$ac_x_libraries" = no; then
10815 # Check for the libraries.
10816 # See if we find them without any special options.
10817 # Don't add to $LIBS permanently.
10818 ac_save_LIBS=$LIBS
10819 LIBS="-lX11 $LIBS"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10822 #include <X11/Xlib.h>
10824 main ()
10826 XrmInitialize ()
10828 return 0;
10830 _ACEOF
10831 if ac_fn_c_try_link "$LINENO"; then :
10832 LIBS=$ac_save_LIBS
10833 # We can link X programs with no special library path.
10834 ac_x_libraries=
10835 else
10836 LIBS=$ac_save_LIBS
10837 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10839 # Don't even attempt the hair of trying to link an X program!
10840 for ac_extension in a so sl dylib la dll; do
10841 if test -r "$ac_dir/libX11.$ac_extension"; then
10842 ac_x_libraries=$ac_dir
10843 break 2
10845 done
10846 done
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 fi # $ac_x_libraries = no
10852 case $ac_x_includes,$ac_x_libraries in #(
10853 no,* | *,no | *\'*)
10854 # Didn't find X, or a directory has "'" in its name.
10855 ac_cv_have_x="have_x=no";; #(
10857 # Record where we found X for the cache.
10858 ac_cv_have_x="have_x=yes\
10859 ac_x_includes='$ac_x_includes'\
10860 ac_x_libraries='$ac_x_libraries'"
10861 esac
10863 ;; #(
10864 *) have_x=yes;;
10865 esac
10866 eval "$ac_cv_have_x"
10867 fi # $with_x != no
10869 if test "$have_x" != yes; then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10871 $as_echo "$have_x" >&6; }
10872 no_x=yes
10873 else
10874 # If each of the values was on the command line, it overrides each guess.
10875 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10876 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10877 # Update the cache value to reflect the command line values.
10878 ac_cv_have_x="have_x=yes\
10879 ac_x_includes='$x_includes'\
10880 ac_x_libraries='$x_libraries'"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10882 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10885 if test "$no_x" = yes; then
10886 # Not all programs may use this symbol, but it does not hurt to define it.
10888 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10890 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10891 else
10892 if test -n "$x_includes"; then
10893 X_CFLAGS="$X_CFLAGS -I$x_includes"
10896 # It would also be nice to do this for all -L options, not just this one.
10897 if test -n "$x_libraries"; then
10898 X_LIBS="$X_LIBS -L$x_libraries"
10899 # For Solaris; some versions of Sun CC require a space after -R and
10900 # others require no space. Words are not sufficient . . . .
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10902 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10903 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10904 ac_xsave_c_werror_flag=$ac_c_werror_flag
10905 ac_c_werror_flag=yes
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10910 main ()
10914 return 0;
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"; then :
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10919 $as_echo "no" >&6; }
10920 X_LIBS="$X_LIBS -R$x_libraries"
10921 else
10922 LIBS="$ac_xsave_LIBS -R $x_libraries"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10927 main ()
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10936 $as_echo "yes" >&6; }
10937 X_LIBS="$X_LIBS -R $x_libraries"
10938 else
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10940 $as_echo "neither works" >&6; }
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10947 ac_c_werror_flag=$ac_xsave_c_werror_flag
10948 LIBS=$ac_xsave_LIBS
10951 # Check for system-dependent libraries X programs must link with.
10952 # Do this before checking for the system-independent R6 libraries
10953 # (-lICE), since we may need -lsocket or whatever for X linking.
10955 if test "$ISC" = yes; then
10956 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10957 else
10958 # Martyn Johnson says this is needed for Ultrix, if the X
10959 # libraries were built with DECnet support. And Karl Berry says
10960 # the Alpha needs dnet_stub (dnet does not exist).
10961 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10968 #ifdef __cplusplus
10969 extern "C"
10970 #endif
10971 char XOpenDisplay ();
10973 main ()
10975 return XOpenDisplay ();
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"; then :
10982 else
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10984 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10985 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldnet $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char dnet_ntoa ();
11001 main ()
11003 return dnet_ntoa ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 ac_cv_lib_dnet_dnet_ntoa=yes
11010 else
11011 ac_cv_lib_dnet_dnet_ntoa=no
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11018 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11019 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11020 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11023 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11025 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11026 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11027 $as_echo_n "(cached) " >&6
11028 else
11029 ac_check_lib_save_LIBS=$LIBS
11030 LIBS="-ldnet_stub $LIBS"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char dnet_ntoa ();
11042 main ()
11044 return dnet_ntoa ();
11046 return 0;
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11050 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11051 else
11052 ac_cv_lib_dnet_stub_dnet_ntoa=no
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 LIBS=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11059 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11060 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11061 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11066 rm -f core conftest.err conftest.$ac_objext \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS="$ac_xsave_LIBS"
11070 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11071 # to get the SysV transport functions.
11072 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11073 # needs -lnsl.
11074 # The nsl library prevents programs from opening the X display
11075 # on Irix 5.2, according to T.E. Dickey.
11076 # The functions gethostbyname, getservbyname, and inet_addr are
11077 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11078 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11079 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11083 if test $ac_cv_func_gethostbyname = no; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11085 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11086 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11087 $as_echo_n "(cached) " >&6
11088 else
11089 ac_check_lib_save_LIBS=$LIBS
11090 LIBS="-lnsl $LIBS"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11097 #ifdef __cplusplus
11098 extern "C"
11099 #endif
11100 char gethostbyname ();
11102 main ()
11104 return gethostbyname ();
11106 return 0;
11108 _ACEOF
11109 if ac_fn_c_try_link "$LINENO"; then :
11110 ac_cv_lib_nsl_gethostbyname=yes
11111 else
11112 ac_cv_lib_nsl_gethostbyname=no
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11116 LIBS=$ac_check_lib_save_LIBS
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11119 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11120 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11124 if test $ac_cv_lib_nsl_gethostbyname = no; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11126 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11127 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-lbsd $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char gethostbyname ();
11143 main ()
11145 return gethostbyname ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_bsd_gethostbyname=yes
11152 else
11153 ac_cv_lib_bsd_gethostbyname=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11160 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11161 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11168 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11169 # socket/setsockopt and other routines are undefined under SCO ODT
11170 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11171 # on later versions), says Simon Leinen: it contains gethostby*
11172 # variants that don't use the name server (or something). -lsocket
11173 # must be given before -lnsl if both are needed. We assume that
11174 # if connect needs -lnsl, so does gethostbyname.
11175 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11176 if test "x$ac_cv_func_connect" = xyes; then :
11180 if test $ac_cv_func_connect = no; then
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11182 $as_echo_n "checking for connect in -lsocket... " >&6; }
11183 if ${ac_cv_lib_socket_connect+:} false; then :
11184 $as_echo_n "(cached) " >&6
11185 else
11186 ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char connect ();
11199 main ()
11201 return connect ();
11203 return 0;
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_socket_connect=yes
11208 else
11209 ac_cv_lib_socket_connect=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11216 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11217 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11218 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11223 # Guillermo Gomez says -lposix is necessary on A/UX.
11224 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11225 if test "x$ac_cv_func_remove" = xyes; then :
11229 if test $ac_cv_func_remove = no; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11231 $as_echo_n "checking for remove in -lposix... " >&6; }
11232 if ${ac_cv_lib_posix_remove+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lposix $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char remove ();
11248 main ()
11250 return remove ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_posix_remove=yes
11257 else
11258 ac_cv_lib_posix_remove=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11265 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11266 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11272 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11273 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11274 if test "x$ac_cv_func_shmat" = xyes; then :
11278 if test $ac_cv_func_shmat = no; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11280 $as_echo_n "checking for shmat in -lipc... " >&6; }
11281 if ${ac_cv_lib_ipc_shmat+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_lib_save_LIBS=$LIBS
11285 LIBS="-lipc $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char shmat ();
11297 main ()
11299 return shmat ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_ipc_shmat=yes
11306 else
11307 ac_cv_lib_ipc_shmat=no
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11314 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11315 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11322 # Check for libraries that X11R6 Xt/Xaw programs need.
11323 ac_save_LDFLAGS=$LDFLAGS
11324 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11325 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11326 # check for ICE first), but we must link in the order -lSM -lICE or
11327 # we get undefined symbols. So assume we have SM if we have ICE.
11328 # These have to be linked with before -lX11, unlike the other
11329 # libraries we check for below, so use a different variable.
11330 # John Interrante, Karl Berry
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11332 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11333 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11334 $as_echo_n "(cached) " >&6
11335 else
11336 ac_check_lib_save_LIBS=$LIBS
11337 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11341 /* Override any GCC internal prototype to avoid an error.
11342 Use char because int might match the return type of a GCC
11343 builtin and then its argument prototype would still apply. */
11344 #ifdef __cplusplus
11345 extern "C"
11346 #endif
11347 char IceConnectionNumber ();
11349 main ()
11351 return IceConnectionNumber ();
11353 return 0;
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"; then :
11357 ac_cv_lib_ICE_IceConnectionNumber=yes
11358 else
11359 ac_cv_lib_ICE_IceConnectionNumber=no
11361 rm -f core conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_lib_save_LIBS
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11366 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11367 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11368 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11371 LDFLAGS=$ac_save_LDFLAGS
11376 if test "$have_x" = "yes"
11377 then
11378 ac_save_CPPFLAGS="$CPPFLAGS"
11379 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11382 $as_echo_n "checking for -lX11... " >&6; }
11383 if ${ac_cv_lib_soname_X11+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char XCreateWindow ();
11399 main ()
11401 return XCreateWindow ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 case "$LIBEXT" in
11408 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if ${ac_cv_lib_soname_X11:+false} :; then :
11412 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 fi ;;
11414 esac
11415 else
11416 ac_cv_lib_soname_X11=
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_soname_save_LIBS
11422 if ${ac_cv_lib_soname_X11:+false} :; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11428 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11430 cat >>confdefs.h <<_ACEOF
11431 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11432 _ACEOF
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11437 $as_echo_n "checking for -lXext... " >&6; }
11438 if ${ac_cv_lib_soname_Xext+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_soname_save_LIBS=$LIBS
11442 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char XextCreateExtension ();
11454 main ()
11456 return XextCreateExtension ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 case "$LIBEXT" in
11463 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11464 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'` ;;
11465 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11466 if ${ac_cv_lib_soname_Xext:+false} :; then :
11467 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11468 fi ;;
11469 esac
11470 else
11471 ac_cv_lib_soname_Xext=
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_Xext:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11481 else
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11483 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11485 cat >>confdefs.h <<_ACEOF
11486 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11487 _ACEOF
11489 X_LIBS="$X_LIBS -lXext"
11491 X_LIBS="$X_LIBS -lX11"
11493 for ac_header in X11/Xlib.h \
11494 X11/XKBlib.h \
11495 X11/Xutil.h \
11496 X11/Xcursor/Xcursor.h \
11497 X11/extensions/shape.h \
11498 X11/extensions/XInput.h \
11499 X11/extensions/XInput2.h \
11500 X11/extensions/XShm.h \
11501 X11/extensions/Xcomposite.h \
11502 X11/extensions/Xfixes.h \
11503 X11/extensions/Xinerama.h \
11504 X11/extensions/Xrandr.h \
11505 X11/extensions/Xrender.h \
11506 X11/extensions/xf86vmode.h \
11507 X11/extensions/xf86vmproto.h
11508 do :
11509 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11510 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11511 # include <X11/Xlib.h>
11512 #endif
11513 #ifdef HAVE_X11_XUTIL_H
11514 # include <X11/Xutil.h>
11515 #endif
11517 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11518 cat >>confdefs.h <<_ACEOF
11519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11520 _ACEOF
11524 done
11527 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11528 then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11530 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11531 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char XkbQueryExtension ();
11547 main ()
11549 return XkbQueryExtension ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 ac_cv_lib_X11_XkbQueryExtension=yes
11556 else
11557 ac_cv_lib_X11_XkbQueryExtension=no
11559 rm -f core conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 LIBS=$ac_check_lib_save_LIBS
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11564 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11565 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11567 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11573 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11574 then
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11576 $as_echo_n "checking for -lXcursor... " >&6; }
11577 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11578 $as_echo_n "(cached) " >&6
11579 else
11580 ac_check_soname_save_LIBS=$LIBS
11581 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11588 #ifdef __cplusplus
11589 extern "C"
11590 #endif
11591 char XcursorImageLoadCursor ();
11593 main ()
11595 return XcursorImageLoadCursor ();
11597 return 0;
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"; then :
11601 case "$LIBEXT" in
11602 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11603 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'` ;;
11604 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11605 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11606 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11607 fi ;;
11608 esac
11609 else
11610 ac_cv_lib_soname_Xcursor=
11612 rm -f core conftest.err conftest.$ac_objext \
11613 conftest$ac_exeext conftest.$ac_ext
11614 LIBS=$ac_check_soname_save_LIBS
11616 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11618 $as_echo "not found" >&6; }
11620 else
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11622 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11624 cat >>confdefs.h <<_ACEOF
11625 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11626 _ACEOF
11631 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11632 case "x$with_xcursor" in
11633 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11634 xno) ;;
11635 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11636 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11637 esac
11641 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11642 then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11644 $as_echo_n "checking for -lXi... " >&6; }
11645 if ${ac_cv_lib_soname_Xi+:} false; then :
11646 $as_echo_n "(cached) " >&6
11647 else
11648 ac_check_soname_save_LIBS=$LIBS
11649 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11656 #ifdef __cplusplus
11657 extern "C"
11658 #endif
11659 char XOpenDevice ();
11661 main ()
11663 return XOpenDevice ();
11665 return 0;
11667 _ACEOF
11668 if ac_fn_c_try_link "$LINENO"; then :
11669 case "$LIBEXT" in
11670 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11671 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'` ;;
11672 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11673 if ${ac_cv_lib_soname_Xi:+false} :; then :
11674 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11675 fi ;;
11676 esac
11677 else
11678 ac_cv_lib_soname_Xi=
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_soname_save_LIBS
11684 if ${ac_cv_lib_soname_Xi:+false} :; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11686 $as_echo "not found" >&6; }
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11690 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11692 cat >>confdefs.h <<_ACEOF
11693 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11694 _ACEOF
11699 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11700 case "x$with_xinput" in
11701 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11702 xno) ;;
11703 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11704 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11705 esac
11709 if test "x$ac_cv_lib_soname_Xi" != x
11710 then
11711 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11712 case "x$with_xinput2" in
11713 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11714 xno) ;;
11715 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11716 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11717 esac
11722 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11723 then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11725 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11726 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11727 $as_echo_n "(cached) " >&6
11728 else
11729 ac_check_lib_save_LIBS=$LIBS
11730 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char XShmQueryExtension ();
11742 main ()
11744 return XShmQueryExtension ();
11746 return 0;
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"; then :
11750 ac_cv_lib_Xext_XShmQueryExtension=yes
11751 else
11752 ac_cv_lib_Xext_XShmQueryExtension=no
11754 rm -f core conftest.err conftest.$ac_objext \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_lib_save_LIBS
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11759 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11760 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11762 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11767 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11768 case "x$with_xshm" in
11769 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11770 xno) ;;
11771 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11772 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11773 esac
11777 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11778 then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11780 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11781 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11782 $as_echo_n "(cached) " >&6
11783 else
11784 ac_check_lib_save_LIBS=$LIBS
11785 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11792 #ifdef __cplusplus
11793 extern "C"
11794 #endif
11795 char XShapeQueryExtension ();
11797 main ()
11799 return XShapeQueryExtension ();
11801 return 0;
11803 _ACEOF
11804 if ac_fn_c_try_link "$LINENO"; then :
11805 ac_cv_lib_Xext_XShapeQueryExtension=yes
11806 else
11807 ac_cv_lib_Xext_XShapeQueryExtension=no
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_lib_save_LIBS
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11814 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11815 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11817 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11822 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11823 case "x$with_xshape" in
11824 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11825 xno) ;;
11826 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11827 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11828 esac
11832 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11833 then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11835 $as_echo_n "checking for -lXxf86vm... " >&6; }
11836 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11837 $as_echo_n "(cached) " >&6
11838 else
11839 ac_check_soname_save_LIBS=$LIBS
11840 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11847 #ifdef __cplusplus
11848 extern "C"
11849 #endif
11850 char XF86VidModeQueryExtension ();
11852 main ()
11854 return XF86VidModeQueryExtension ();
11856 return 0;
11858 _ACEOF
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 case "$LIBEXT" in
11861 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11862 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'` ;;
11863 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11864 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11865 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11866 fi ;;
11867 esac
11868 else
11869 ac_cv_lib_soname_Xxf86vm=
11871 rm -f core conftest.err conftest.$ac_objext \
11872 conftest$ac_exeext conftest.$ac_ext
11873 LIBS=$ac_check_soname_save_LIBS
11875 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11877 $as_echo "not found" >&6; }
11879 else
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11881 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11883 cat >>confdefs.h <<_ACEOF
11884 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11885 _ACEOF
11890 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11891 case "x$with_xxf86vm" in
11892 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11893 xno) ;;
11894 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11895 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11896 esac
11900 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11901 then
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11903 $as_echo_n "checking for -lXrender... " >&6; }
11904 if ${ac_cv_lib_soname_Xrender+:} false; then :
11905 $as_echo_n "(cached) " >&6
11906 else
11907 ac_check_soname_save_LIBS=$LIBS
11908 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11915 #ifdef __cplusplus
11916 extern "C"
11917 #endif
11918 char XRenderQueryExtension ();
11920 main ()
11922 return XRenderQueryExtension ();
11924 return 0;
11926 _ACEOF
11927 if ac_fn_c_try_link "$LINENO"; then :
11928 case "$LIBEXT" in
11929 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11930 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'` ;;
11931 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11932 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11933 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11934 fi ;;
11935 esac
11936 else
11937 ac_cv_lib_soname_Xrender=
11939 rm -f core conftest.err conftest.$ac_objext \
11940 conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_soname_save_LIBS
11943 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11945 $as_echo "not found" >&6; }
11947 else
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11949 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11951 cat >>confdefs.h <<_ACEOF
11952 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11953 _ACEOF
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11956 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11957 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char XRenderSetPictureTransform ();
11973 main ()
11975 return XRenderSetPictureTransform ();
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11982 else
11983 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11990 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11991 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11993 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11998 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11999 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12000 $as_echo_n "(cached) " >&6
12001 else
12002 ac_check_lib_save_LIBS=$LIBS
12003 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 char XRenderCreateLinearGradient ();
12015 main ()
12017 return XRenderCreateLinearGradient ();
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"; then :
12023 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12024 else
12025 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12027 rm -f core conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 LIBS=$ac_check_lib_save_LIBS
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12032 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12033 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12035 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12042 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12043 case "x$with_xrender" in
12044 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12045 xno) ;;
12046 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12047 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12048 esac
12052 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12053 then
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12056 #include <X11/Xlib.h>
12057 #include <X11/extensions/Xrandr.h>
12059 main ()
12061 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_compile "$LINENO"; then :
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12068 $as_echo_n "checking for -lXrandr... " >&6; }
12069 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_check_soname_save_LIBS=$LIBS
12073 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char XRRQueryExtension ();
12085 main ()
12087 return XRRQueryExtension ();
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 case "$LIBEXT" in
12094 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12095 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'` ;;
12096 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12097 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12098 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12099 fi ;;
12100 esac
12101 else
12102 ac_cv_lib_soname_Xrandr=
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_soname_save_LIBS
12108 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12110 $as_echo "not found" >&6; }
12112 else
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12114 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12116 cat >>confdefs.h <<_ACEOF
12117 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12118 _ACEOF
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12122 #include <X11/Xlib.h>
12123 #include <X11/extensions/Xrandr.h>
12125 main ()
12127 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_compile "$LINENO"; then :
12134 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <X11/Xlib.h>
12141 #include <X11/extensions/Xrandr.h>
12143 main ()
12145 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_compile "$LINENO"; then :
12152 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12154 else
12155 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12162 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12163 case "x$with_xrandr" in
12164 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12165 xno) ;;
12166 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12167 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12168 esac
12172 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12173 then
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12176 #include <X11/Xlib.h>
12177 #include <X11/extensions/Xfixes.h>
12179 main ()
12181 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_compile "$LINENO"; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12188 $as_echo_n "checking for -lXfixes... " >&6; }
12189 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12190 $as_echo_n "(cached) " >&6
12191 else
12192 ac_check_soname_save_LIBS=$LIBS
12193 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 #ifdef __cplusplus
12201 extern "C"
12202 #endif
12203 char XFixesQueryVersion ();
12205 main ()
12207 return XFixesQueryVersion ();
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_link "$LINENO"; then :
12213 case "$LIBEXT" in
12214 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12215 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'` ;;
12216 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12217 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12218 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12219 fi ;;
12220 esac
12221 else
12222 ac_cv_lib_soname_Xfixes=
12224 rm -f core conftest.err conftest.$ac_objext \
12225 conftest$ac_exeext conftest.$ac_ext
12226 LIBS=$ac_check_soname_save_LIBS
12228 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12230 $as_echo "not found" >&6; }
12232 else
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12234 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12236 cat >>confdefs.h <<_ACEOF
12237 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12238 _ACEOF
12243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12245 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12246 case "x$with_xfixes" in
12247 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12248 xno) ;;
12249 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12250 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12251 esac
12255 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12256 then
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12259 #include <X11/Xlib.h>
12260 #include <X11/extensions/Xinerama.h>
12262 main ()
12264 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_compile "$LINENO"; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12271 $as_echo_n "checking for -lXinerama... " >&6; }
12272 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_check_soname_save_LIBS=$LIBS
12276 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 #ifdef __cplusplus
12284 extern "C"
12285 #endif
12286 char XineramaQueryScreens ();
12288 main ()
12290 return XineramaQueryScreens ();
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 case "$LIBEXT" in
12297 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12298 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'` ;;
12299 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12300 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12301 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12302 fi ;;
12303 esac
12304 else
12305 ac_cv_lib_soname_Xinerama=
12307 rm -f core conftest.err conftest.$ac_objext \
12308 conftest$ac_exeext conftest.$ac_ext
12309 LIBS=$ac_check_soname_save_LIBS
12311 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12313 $as_echo "not found" >&6; }
12315 else
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12317 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12319 cat >>confdefs.h <<_ACEOF
12320 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12321 _ACEOF
12326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12328 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12329 case "x$with_xinerama" in
12330 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12331 xno) ;;
12332 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12333 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12334 esac
12338 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12339 then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12341 $as_echo_n "checking for -lXcomposite... " >&6; }
12342 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_check_soname_save_LIBS=$LIBS
12346 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12353 #ifdef __cplusplus
12354 extern "C"
12355 #endif
12356 char XCompositeRedirectWindow ();
12358 main ()
12360 return XCompositeRedirectWindow ();
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_link "$LINENO"; then :
12366 case "$LIBEXT" in
12367 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12368 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'` ;;
12369 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12370 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12371 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12372 fi ;;
12373 esac
12374 else
12375 ac_cv_lib_soname_Xcomposite=
12377 rm -f core conftest.err conftest.$ac_objext \
12378 conftest$ac_exeext conftest.$ac_ext
12379 LIBS=$ac_check_soname_save_LIBS
12381 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12383 $as_echo "not found" >&6; }
12385 else
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12387 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12389 cat >>confdefs.h <<_ACEOF
12390 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12391 _ACEOF
12396 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12397 case "x$with_xcomposite" in
12398 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12399 xno) ;;
12400 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12401 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12402 esac
12406 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12407 #include <X11/Xlib.h>
12408 #endif
12410 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12412 cat >>confdefs.h <<_ACEOF
12413 #define HAVE_XICCALLBACK_CALLBACK 1
12414 _ACEOF
12418 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12419 #include <X11/Xlib.h>
12420 #endif
12422 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_XEVENT_XCOOKIE 1
12426 _ACEOF
12433 opengl_msg=""
12434 if test "x$with_opengl" != "xno"
12435 then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12437 $as_echo_n "checking for -lGL... " >&6; }
12438 if ${ac_cv_lib_soname_GL+:} false; then :
12439 $as_echo_n "(cached) " >&6
12440 else
12441 ac_check_soname_save_LIBS=$LIBS
12442 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 /* Override any GCC internal prototype to avoid an error.
12447 Use char because int might match the return type of a GCC
12448 builtin and then its argument prototype would still apply. */
12449 #ifdef __cplusplus
12450 extern "C"
12451 #endif
12452 char glXCreateContext ();
12454 main ()
12456 return glXCreateContext ();
12458 return 0;
12460 _ACEOF
12461 if ac_fn_c_try_link "$LINENO"; then :
12462 case "$LIBEXT" in
12463 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12464 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'` ;;
12465 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12466 if ${ac_cv_lib_soname_GL:+false} :; then :
12467 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12468 fi ;;
12469 esac
12470 else
12471 ac_cv_lib_soname_GL=
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_soname_save_LIBS
12477 if ${ac_cv_lib_soname_GL:+false} :; then :
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12479 $as_echo "not found" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12481 $as_echo_n "checking for -lGL... " >&6; }
12482 if ${ac_cv_lib_soname_GL+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_check_soname_save_LIBS=$LIBS
12486 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"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12493 #ifdef __cplusplus
12494 extern "C"
12495 #endif
12496 char glXCreateContext ();
12498 main ()
12500 return glXCreateContext ();
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_link "$LINENO"; then :
12506 case "$LIBEXT" in
12507 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12508 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'` ;;
12509 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12510 if ${ac_cv_lib_soname_GL:+false} :; then :
12511 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12512 fi ;;
12513 esac
12514 else
12515 ac_cv_lib_soname_GL=
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_soname_save_LIBS
12521 if ${ac_cv_lib_soname_GL:+false} :; then :
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12523 $as_echo "not found" >&6; }
12524 if test -f /usr/X11R6/lib/libGL.a
12525 then
12526 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12527 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12528 else
12529 opengl_msg="No OpenGL library found on this system."
12531 else
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12533 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12535 cat >>confdefs.h <<_ACEOF
12536 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12537 _ACEOF
12539 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"
12541 else
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12543 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12547 _ACEOF
12549 OPENGL_LIBS="-lGL"
12551 if test "x$with_glu" != "xno"
12552 then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12554 $as_echo_n "checking for -lGLU... " >&6; }
12555 if ${ac_cv_lib_soname_GLU+:} false; then :
12556 $as_echo_n "(cached) " >&6
12557 else
12558 ac_check_soname_save_LIBS=$LIBS
12559 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 #ifdef __cplusplus
12567 extern "C"
12568 #endif
12569 char gluLookAt ();
12571 main ()
12573 return gluLookAt ();
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_link "$LINENO"; then :
12579 case "$LIBEXT" in
12580 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12581 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'` ;;
12582 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12583 if ${ac_cv_lib_soname_GLU:+false} :; then :
12584 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12585 fi ;;
12586 esac
12587 else
12588 ac_cv_lib_soname_GLU=
12590 rm -f core conftest.err conftest.$ac_objext \
12591 conftest$ac_exeext conftest.$ac_ext
12592 LIBS=$ac_check_soname_save_LIBS
12594 if ${ac_cv_lib_soname_GLU:+false} :; then :
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12596 $as_echo "not found" >&6; }
12598 else
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12600 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12602 cat >>confdefs.h <<_ACEOF
12603 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12604 _ACEOF
12608 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12609 case "x$with_glu" in
12610 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12611 xno) ;;
12612 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12613 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12614 esac
12619 if test "x$with_osmesa" != "xno"
12620 then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12622 $as_echo_n "checking for -lOSMesa... " >&6; }
12623 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_soname_save_LIBS=$LIBS
12627 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char OSMesaGetProcAddress ();
12639 main ()
12641 return OSMesaGetProcAddress ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 case "$LIBEXT" in
12648 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12649 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'` ;;
12650 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12651 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12652 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12653 fi ;;
12654 esac
12655 else
12656 ac_cv_lib_soname_OSMesa=
12658 rm -f core conftest.err conftest.$ac_objext \
12659 conftest$ac_exeext conftest.$ac_ext
12660 LIBS=$ac_check_soname_save_LIBS
12662 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12664 $as_echo "not found" >&6; }
12666 else
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12668 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12670 cat >>confdefs.h <<_ACEOF
12671 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12672 _ACEOF
12676 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12677 case "x$with_osmesa" in
12678 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12679 xno) ;;
12680 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12681 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12682 esac
12687 if test -n "$opengl_msg"; then :
12688 case "x$with_opengl" in
12689 x) as_fn_append wine_warnings "|$opengl_msg
12690 OpenGL and Direct3D won't be supported." ;;
12691 xno) ;;
12692 *) as_fn_error $? "$opengl_msg
12693 OpenGL and Direct3D won't be supported.
12694 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12695 esac
12699 CPPFLAGS="$ac_save_CPPFLAGS"
12700 else
12701 X_CFLAGS=""
12702 X_LIBS=""
12705 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12706 then
12707 if test "x$X_LIBS" = "x"; then :
12708 case "x$with_x" in
12709 xno) ;;
12710 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12711 without X support, which probably isn't what you want. You will need
12712 to install ${notice_platform}development packages of Xlib at the very least.
12713 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12714 esac
12715 enable_winex11_drv=${enable_winex11_drv:-no}
12717 else
12718 if test "x$X_LIBS" = "x"; then :
12719 case "x$with_x" in
12720 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12721 xno) ;;
12722 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12723 This is an error since --with-x was requested." "$LINENO" 5 ;;
12724 esac
12725 enable_winex11_drv=${enable_winex11_drv:-no}
12729 if test "$ac_cv_header_CL_cl_h" = "yes"
12730 then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12732 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12733 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12734 $as_echo_n "(cached) " >&6
12735 else
12736 ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-lOpenCL $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char clGetPlatformInfo ();
12749 main ()
12751 return clGetPlatformInfo ();
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12758 else
12759 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12761 rm -f core conftest.err conftest.$ac_objext \
12762 conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12766 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12767 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12768 OPENCL_LIBS="-lOpenCL"
12773 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12774 case "x$with_opencl" in
12775 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12776 xno) ;;
12777 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12778 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12779 esac
12780 enable_opencl=${enable_opencl:-no}
12783 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12784 then
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12786 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12787 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12788 $as_echo_n "(cached) " >&6
12789 else
12790 ac_check_lib_save_LIBS=$LIBS
12791 LIBS="-lpcap $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12798 #ifdef __cplusplus
12799 extern "C"
12800 #endif
12801 char pcap_create ();
12803 main ()
12805 return pcap_create ();
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_link "$LINENO"; then :
12811 ac_cv_lib_pcap_pcap_create=yes
12812 else
12813 ac_cv_lib_pcap_pcap_create=no
12815 rm -f core conftest.err conftest.$ac_objext \
12816 conftest$ac_exeext conftest.$ac_ext
12817 LIBS=$ac_check_lib_save_LIBS
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12820 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12821 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12822 PCAP_LIBS="-lpcap"
12827 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12828 case "x$with_pcap" in
12829 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12830 xno) ;;
12831 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12832 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12833 esac
12834 enable_wpcap=${enable_wpcap:-no}
12838 if test "x$with_xml" != "xno"
12839 then
12840 if ${XML2_CFLAGS:+false} :; then :
12841 if ${PKG_CONFIG+:} false; then :
12842 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12845 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12846 if ${XML2_LIBS:+false} :; then :
12847 if ${PKG_CONFIG+:} false; then :
12848 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12851 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12852 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12853 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12854 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12855 ac_save_CPPFLAGS=$CPPFLAGS
12856 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12857 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12858 do :
12859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12860 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12861 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12862 cat >>confdefs.h <<_ACEOF
12863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12864 _ACEOF
12868 done
12870 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"
12871 then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12873 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12874 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12875 $as_echo_n "(cached) " >&6
12876 else
12877 ac_check_lib_save_LIBS=$LIBS
12878 LIBS="-lxml2 $XML2_LIBS $LIBS"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12885 #ifdef __cplusplus
12886 extern "C"
12887 #endif
12888 char xmlParseMemory ();
12890 main ()
12892 return xmlParseMemory ();
12894 return 0;
12896 _ACEOF
12897 if ac_fn_c_try_link "$LINENO"; then :
12898 ac_cv_lib_xml2_xmlParseMemory=yes
12899 else
12900 ac_cv_lib_xml2_xmlParseMemory=no
12902 rm -f core conftest.err conftest.$ac_objext \
12903 conftest$ac_exeext conftest.$ac_ext
12904 LIBS=$ac_check_lib_save_LIBS
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12907 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12908 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12910 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12912 else
12913 XML2_LIBS=""
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12917 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12918 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12919 $as_echo_n "(cached) " >&6
12920 else
12921 ac_check_lib_save_LIBS=$LIBS
12922 LIBS="-lxml2 $XML2_LIBS $LIBS"
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12926 /* Override any GCC internal prototype to avoid an error.
12927 Use char because int might match the return type of a GCC
12928 builtin and then its argument prototype would still apply. */
12929 #ifdef __cplusplus
12930 extern "C"
12931 #endif
12932 char xmlReadMemory ();
12934 main ()
12936 return xmlReadMemory ();
12938 return 0;
12940 _ACEOF
12941 if ac_fn_c_try_link "$LINENO"; then :
12942 ac_cv_lib_xml2_xmlReadMemory=yes
12943 else
12944 ac_cv_lib_xml2_xmlReadMemory=no
12946 rm -f core conftest.err conftest.$ac_objext \
12947 conftest$ac_exeext conftest.$ac_ext
12948 LIBS=$ac_check_lib_save_LIBS
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12951 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12952 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12954 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12959 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12960 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12961 $as_echo_n "(cached) " >&6
12962 else
12963 ac_check_lib_save_LIBS=$LIBS
12964 LIBS="-lxml2 $XML2_LIBS $LIBS"
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12968 /* Override any GCC internal prototype to avoid an error.
12969 Use char because int might match the return type of a GCC
12970 builtin and then its argument prototype would still apply. */
12971 #ifdef __cplusplus
12972 extern "C"
12973 #endif
12974 char xmlNewDocPI ();
12976 main ()
12978 return xmlNewDocPI ();
12980 return 0;
12982 _ACEOF
12983 if ac_fn_c_try_link "$LINENO"; then :
12984 ac_cv_lib_xml2_xmlNewDocPI=yes
12985 else
12986 ac_cv_lib_xml2_xmlNewDocPI=no
12988 rm -f core conftest.err conftest.$ac_objext \
12989 conftest$ac_exeext conftest.$ac_ext
12990 LIBS=$ac_check_lib_save_LIBS
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12993 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12994 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12996 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13001 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13002 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13003 $as_echo_n "(cached) " >&6
13004 else
13005 ac_check_lib_save_LIBS=$LIBS
13006 LIBS="-lxml2 $XML2_LIBS $LIBS"
13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 #ifdef __cplusplus
13014 extern "C"
13015 #endif
13016 char xmlSchemaSetParserStructuredErrors ();
13018 main ()
13020 return xmlSchemaSetParserStructuredErrors ();
13022 return 0;
13024 _ACEOF
13025 if ac_fn_c_try_link "$LINENO"; then :
13026 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13027 else
13028 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13030 rm -f core conftest.err conftest.$ac_objext \
13031 conftest$ac_exeext conftest.$ac_ext
13032 LIBS=$ac_check_lib_save_LIBS
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13035 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13036 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13038 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13043 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13044 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13045 $as_echo_n "(cached) " >&6
13046 else
13047 ac_check_lib_save_LIBS=$LIBS
13048 LIBS="-lxml2 $XML2_LIBS $LIBS"
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13055 #ifdef __cplusplus
13056 extern "C"
13057 #endif
13058 char xmlSchemaSetValidStructuredErrors ();
13060 main ()
13062 return xmlSchemaSetValidStructuredErrors ();
13064 return 0;
13066 _ACEOF
13067 if ac_fn_c_try_link "$LINENO"; then :
13068 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13069 else
13070 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13072 rm -f core conftest.err conftest.$ac_objext \
13073 conftest$ac_exeext conftest.$ac_ext
13074 LIBS=$ac_check_lib_save_LIBS
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13077 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13078 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13080 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13085 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13086 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13087 $as_echo_n "(cached) " >&6
13088 else
13089 ac_check_lib_save_LIBS=$LIBS
13090 LIBS="-lxml2 $XML2_LIBS $LIBS"
13091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13094 /* Override any GCC internal prototype to avoid an error.
13095 Use char because int might match the return type of a GCC
13096 builtin and then its argument prototype would still apply. */
13097 #ifdef __cplusplus
13098 extern "C"
13099 #endif
13100 char xmlFirstElementChild ();
13102 main ()
13104 return xmlFirstElementChild ();
13106 return 0;
13108 _ACEOF
13109 if ac_fn_c_try_link "$LINENO"; then :
13110 ac_cv_lib_xml2_xmlFirstElementChild=yes
13111 else
13112 ac_cv_lib_xml2_xmlFirstElementChild=no
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_lib_save_LIBS
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13119 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13120 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13122 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13126 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13128 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13130 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13134 else
13135 XML2_CFLAGS=""
13136 XML2_LIBS=""
13138 CPPFLAGS=$ac_save_CPPFLAGS
13139 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13140 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13143 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13144 case "x$with_xml" in
13145 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13146 xno) ;;
13147 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13148 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13149 esac
13153 if test "x$with_xslt" != "xno"
13154 then
13155 if ${XSLT_CFLAGS:+false} :; then :
13156 if ${PKG_CONFIG+:} false; then :
13157 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13160 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13161 if ${XSLT_LIBS:+false} :; then :
13162 if ${PKG_CONFIG+:} false; then :
13163 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13166 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13167 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13168 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13169 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13170 ac_save_CPPFLAGS=$CPPFLAGS
13171 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13172 for ac_header in libxslt/pattern.h libxslt/transform.h
13173 do :
13174 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13175 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13176 # include <libxslt/pattern.h>
13177 #endif
13179 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13180 cat >>confdefs.h <<_ACEOF
13181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13182 _ACEOF
13186 done
13188 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13189 then
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13191 $as_echo_n "checking for -lxslt... " >&6; }
13192 if ${ac_cv_lib_soname_xslt+:} false; then :
13193 $as_echo_n "(cached) " >&6
13194 else
13195 ac_check_soname_save_LIBS=$LIBS
13196 LIBS="-lxslt $XSLT_LIBS $LIBS"
13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13203 #ifdef __cplusplus
13204 extern "C"
13205 #endif
13206 char xsltCompilePattern ();
13208 main ()
13210 return xsltCompilePattern ();
13212 return 0;
13214 _ACEOF
13215 if ac_fn_c_try_link "$LINENO"; then :
13216 case "$LIBEXT" in
13217 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13218 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'` ;;
13219 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13220 if ${ac_cv_lib_soname_xslt:+false} :; then :
13221 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13222 fi ;;
13223 esac
13224 else
13225 ac_cv_lib_soname_xslt=
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_soname_save_LIBS
13231 if ${ac_cv_lib_soname_xslt:+false} :; then :
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13233 $as_echo "not found" >&6; }
13235 else
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13237 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13239 cat >>confdefs.h <<_ACEOF
13240 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13241 _ACEOF
13245 else
13246 XSLT_CFLAGS=""
13248 CPPFLAGS=$ac_save_CPPFLAGS
13249 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13250 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13253 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13254 case "x$with_xslt" in
13255 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13256 xno) ;;
13257 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13258 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13259 esac
13263 if test "x$with_inotify" != "xno"
13264 then
13265 if ${INOTIFY_CFLAGS:+false} :; then :
13266 if ${PKG_CONFIG+:} false; then :
13267 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13271 if ${INOTIFY_LIBS:+false} :; then :
13272 if ${PKG_CONFIG+:} false; then :
13273 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13278 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13279 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13280 ac_save_CPPFLAGS=$CPPFLAGS
13281 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13282 for ac_header in sys/inotify.h
13283 do :
13284 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13285 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13286 cat >>confdefs.h <<_ACEOF
13287 #define HAVE_SYS_INOTIFY_H 1
13288 _ACEOF
13292 done
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13295 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13296 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13297 $as_echo_n "(cached) " >&6
13298 else
13299 ac_check_lib_save_LIBS=$LIBS
13300 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13307 #ifdef __cplusplus
13308 extern "C"
13309 #endif
13310 char inotify_add_watch ();
13312 main ()
13314 return inotify_add_watch ();
13316 return 0;
13318 _ACEOF
13319 if ac_fn_c_try_link "$LINENO"; then :
13320 ac_cv_lib_inotify_inotify_add_watch=yes
13321 else
13322 ac_cv_lib_inotify_inotify_add_watch=no
13324 rm -f core conftest.err conftest.$ac_objext \
13325 conftest$ac_exeext conftest.$ac_ext
13326 LIBS=$ac_check_lib_save_LIBS
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13329 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13330 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13332 else
13333 INOTIFY_LIBS=""
13336 CPPFLAGS=$ac_save_CPPFLAGS
13337 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13338 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13341 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13342 case "x$with_inotify" in
13343 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13344 xno) ;;
13345 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13346 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13347 esac
13351 if test "x$with_dbus" != "xno"
13352 then
13353 if ${DBUS_CFLAGS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13359 if ${DBUS_LIBS:+false} :; then :
13360 if ${PKG_CONFIG+:} false; then :
13361 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13366 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13367 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13368 ac_save_CPPFLAGS=$CPPFLAGS
13369 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13370 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13371 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13373 $as_echo_n "checking for -ldbus-1... " >&6; }
13374 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13375 $as_echo_n "(cached) " >&6
13376 else
13377 ac_check_soname_save_LIBS=$LIBS
13378 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13382 /* Override any GCC internal prototype to avoid an error.
13383 Use char because int might match the return type of a GCC
13384 builtin and then its argument prototype would still apply. */
13385 #ifdef __cplusplus
13386 extern "C"
13387 #endif
13388 char dbus_connection_close ();
13390 main ()
13392 return dbus_connection_close ();
13394 return 0;
13396 _ACEOF
13397 if ac_fn_c_try_link "$LINENO"; then :
13398 case "$LIBEXT" in
13399 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13400 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'` ;;
13401 *) 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'`
13402 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13403 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13404 fi ;;
13405 esac
13406 else
13407 ac_cv_lib_soname_dbus_1=
13409 rm -f core conftest.err conftest.$ac_objext \
13410 conftest$ac_exeext conftest.$ac_ext
13411 LIBS=$ac_check_soname_save_LIBS
13413 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13415 $as_echo "not found" >&6; }
13416 DBUS_CFLAGS=""
13417 else
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13419 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13421 cat >>confdefs.h <<_ACEOF
13422 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13423 _ACEOF
13427 else
13428 DBUS_CFLAGS=""
13432 CPPFLAGS=$ac_save_CPPFLAGS
13433 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13434 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13437 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13438 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13439 case "x$with_dbus" in
13440 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13441 xno) ;;
13442 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13443 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13444 esac
13448 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13449 then
13450 if ${HAL_CFLAGS:+false} :; then :
13451 if ${PKG_CONFIG+:} false; then :
13452 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13456 if ${HAL_LIBS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13462 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13463 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13464 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13465 ac_save_CPPFLAGS=$CPPFLAGS
13466 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13467 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13468 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13470 $as_echo_n "checking for -lhal... " >&6; }
13471 if ${ac_cv_lib_soname_hal+:} false; then :
13472 $as_echo_n "(cached) " >&6
13473 else
13474 ac_check_soname_save_LIBS=$LIBS
13475 LIBS="-lhal $HAL_LIBS $LIBS"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13482 #ifdef __cplusplus
13483 extern "C"
13484 #endif
13485 char libhal_ctx_new ();
13487 main ()
13489 return libhal_ctx_new ();
13491 return 0;
13493 _ACEOF
13494 if ac_fn_c_try_link "$LINENO"; then :
13495 case "$LIBEXT" in
13496 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13497 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'` ;;
13498 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13499 if ${ac_cv_lib_soname_hal:+false} :; then :
13500 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13501 fi ;;
13502 esac
13503 else
13504 ac_cv_lib_soname_hal=
13506 rm -f core conftest.err conftest.$ac_objext \
13507 conftest$ac_exeext conftest.$ac_ext
13508 LIBS=$ac_check_soname_save_LIBS
13510 if ${ac_cv_lib_soname_hal:+false} :; then :
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13512 $as_echo "not found" >&6; }
13513 HAL_CFLAGS=""
13514 else
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13516 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13518 cat >>confdefs.h <<_ACEOF
13519 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13520 _ACEOF
13524 else
13525 HAL_CFLAGS=""
13529 CPPFLAGS=$ac_save_CPPFLAGS
13530 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13531 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13533 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13534 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13535 case "x$with_hal" in
13536 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13537 xno) ;;
13538 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13539 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13540 esac
13545 if test "x$with_gnutls" != "xno"
13546 then
13547 if ${GNUTLS_CFLAGS:+false} :; then :
13548 if ${PKG_CONFIG+:} false; then :
13549 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13553 if ${GNUTLS_LIBS:+false} :; then :
13554 if ${PKG_CONFIG+:} false; then :
13555 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13561 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13562 ac_save_CPPFLAGS=$CPPFLAGS
13563 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13564 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13565 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13568 #include <gnutls/gnutls.h>
13569 #include <gnutls/crypto.h>
13571 main ()
13573 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13575 return 0;
13577 _ACEOF
13578 if ac_fn_c_try_compile "$LINENO"; then :
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13580 $as_echo_n "checking for -lgnutls... " >&6; }
13581 if ${ac_cv_lib_soname_gnutls+:} false; then :
13582 $as_echo_n "(cached) " >&6
13583 else
13584 ac_check_soname_save_LIBS=$LIBS
13585 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13589 /* Override any GCC internal prototype to avoid an error.
13590 Use char because int might match the return type of a GCC
13591 builtin and then its argument prototype would still apply. */
13592 #ifdef __cplusplus
13593 extern "C"
13594 #endif
13595 char gnutls_global_init ();
13597 main ()
13599 return gnutls_global_init ();
13601 return 0;
13603 _ACEOF
13604 if ac_fn_c_try_link "$LINENO"; then :
13605 case "$LIBEXT" in
13606 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13607 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'` ;;
13608 *) 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'`
13609 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13610 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'`
13611 fi ;;
13612 esac
13613 else
13614 ac_cv_lib_soname_gnutls=
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_soname_save_LIBS
13620 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13622 $as_echo "not found" >&6; }
13623 GNUTLS_CFLAGS=""
13624 else
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13626 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13628 cat >>confdefs.h <<_ACEOF
13629 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13630 _ACEOF
13634 ac_wine_check_funcs_save_LIBS="$LIBS"
13635 LIBS="$LIBS $GNUTLS_LIBS"
13636 for ac_func in gnutls_cipher_init
13637 do :
13638 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13639 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13640 cat >>confdefs.h <<_ACEOF
13641 #define HAVE_GNUTLS_CIPHER_INIT 1
13642 _ACEOF
13644 else
13645 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13647 done
13649 LIBS="$ac_wine_check_funcs_save_LIBS"
13651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13652 else
13653 GNUTLS_CFLAGS=""
13657 CPPFLAGS=$ac_save_CPPFLAGS
13658 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13659 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13662 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13663 case "x$with_gnutls" in
13664 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13665 xno) ;;
13666 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13667 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13668 esac
13672 CURSES_LIBS=""
13673 if test "$ac_cv_header_ncurses_h" = "yes"
13674 then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13676 $as_echo_n "checking for -lncurses... " >&6; }
13677 if ${ac_cv_lib_soname_ncurses+:} false; then :
13678 $as_echo_n "(cached) " >&6
13679 else
13680 ac_check_soname_save_LIBS=$LIBS
13681 LIBS="-lncurses $LIBS"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13685 /* Override any GCC internal prototype to avoid an error.
13686 Use char because int might match the return type of a GCC
13687 builtin and then its argument prototype would still apply. */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char waddch ();
13693 main ()
13695 return waddch ();
13697 return 0;
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 case "$LIBEXT" in
13702 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13703 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'` ;;
13704 *) 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'`
13705 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13706 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13707 fi ;;
13708 esac
13709 else
13710 ac_cv_lib_soname_ncurses=
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_soname_save_LIBS
13716 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13718 $as_echo "not found" >&6; }
13720 else
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13722 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13724 cat >>confdefs.h <<_ACEOF
13725 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13726 _ACEOF
13728 CURSES_LIBS="-lncurses"
13730 elif test "$ac_cv_header_curses_h" = "yes"
13731 then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13733 $as_echo_n "checking for -lcurses... " >&6; }
13734 if ${ac_cv_lib_soname_curses+:} false; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 ac_check_soname_save_LIBS=$LIBS
13738 LIBS="-lcurses $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13745 #ifdef __cplusplus
13746 extern "C"
13747 #endif
13748 char waddch ();
13750 main ()
13752 return waddch ();
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 case "$LIBEXT" in
13759 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13760 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'` ;;
13761 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13762 if ${ac_cv_lib_soname_curses:+false} :; then :
13763 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13764 fi ;;
13765 esac
13766 else
13767 ac_cv_lib_soname_curses=
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13771 LIBS=$ac_check_soname_save_LIBS
13773 if ${ac_cv_lib_soname_curses:+false} :; then :
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13775 $as_echo "not found" >&6; }
13777 else
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13779 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13781 cat >>confdefs.h <<_ACEOF
13782 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13783 _ACEOF
13785 CURSES_LIBS="-lcurses"
13788 ac_save_LIBS="$LIBS"
13789 LIBS="$LIBS $CURSES_LIBS"
13790 for ac_func in mousemask
13791 do :
13792 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13793 if test "x$ac_cv_func_mousemask" = xyes; then :
13794 cat >>confdefs.h <<_ACEOF
13795 #define HAVE_MOUSEMASK 1
13796 _ACEOF
13799 done
13801 LIBS="$ac_save_LIBS"
13802 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13803 case "x$with_curses" in
13804 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13805 xno) ;;
13806 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13807 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13808 esac
13812 if test "x$with_sane" != "xno"
13813 then
13814 if ${SANE_CFLAGS:+false} :; then :
13815 if ${PKG_CONFIG+:} false; then :
13816 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13819 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13820 if ${SANE_LIBS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13825 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13829 ac_save_CPPFLAGS=$CPPFLAGS
13830 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13831 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13834 $as_echo_n "checking for -lsane... " >&6; }
13835 if ${ac_cv_lib_soname_sane+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_soname_save_LIBS=$LIBS
13839 LIBS="-lsane $SANE_LIBS $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char sane_init ();
13851 main ()
13853 return sane_init ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 case "$LIBEXT" in
13860 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13861 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'` ;;
13862 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13863 if ${ac_cv_lib_soname_sane:+false} :; then :
13864 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13865 fi ;;
13866 esac
13867 else
13868 ac_cv_lib_soname_sane=
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_sane:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13877 SANE_CFLAGS=""
13878 else
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13880 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13882 cat >>confdefs.h <<_ACEOF
13883 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13884 _ACEOF
13888 else
13889 SANE_CFLAGS=""
13893 CPPFLAGS=$ac_save_CPPFLAGS
13894 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13895 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13898 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13899 case "x$with_sane" in
13900 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13901 xno) ;;
13902 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13903 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13904 esac
13908 if test "x$with_v4l2" != "xno"
13909 then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13911 $as_echo_n "checking for -lv4l2... " >&6; }
13912 if ${ac_cv_lib_soname_v4l2+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_check_soname_save_LIBS=$LIBS
13916 LIBS="-lv4l2 $LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13923 #ifdef __cplusplus
13924 extern "C"
13925 #endif
13926 char v4l2_open ();
13928 main ()
13930 return v4l2_open ();
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 case "$LIBEXT" in
13937 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13938 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'` ;;
13939 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13940 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13941 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13942 fi ;;
13943 esac
13944 else
13945 ac_cv_lib_soname_v4l2=
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS=$ac_check_soname_save_LIBS
13951 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13953 $as_echo "not found" >&6; }
13955 else
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13957 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13959 cat >>confdefs.h <<_ACEOF
13960 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13961 _ACEOF
13966 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13967 case "x$with_v4l2" in
13968 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13969 xno) ;;
13970 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13971 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13972 esac
13976 if test "x$with_gphoto" != "xno"
13977 then
13978 if ${GPHOTO2_CFLAGS:+false} :; then :
13979 if ${PKG_CONFIG+:} false; then :
13980 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13983 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13984 if ${GPHOTO2_LIBS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13989 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13990 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13993 ac_save_CPPFLAGS=$CPPFLAGS
13994 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13995 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13996 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13998 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13999 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char gp_camera_new ();
14015 main ()
14017 return gp_camera_new ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_lib_gphoto2_gp_camera_new=yes
14024 else
14025 ac_cv_lib_gphoto2_gp_camera_new=no
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14032 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14033 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14035 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14037 else
14038 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14041 else
14042 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14046 CPPFLAGS=$ac_save_CPPFLAGS
14047 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14048 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14050 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14051 if ${PKG_CONFIG+:} false; then :
14052 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14055 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14056 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14057 if ${PKG_CONFIG+:} false; then :
14058 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14061 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14062 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14064 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14065 ac_save_CPPFLAGS=$CPPFLAGS
14066 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14067 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14068 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14070 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14071 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 ac_check_lib_save_LIBS=$LIBS
14075 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14079 /* Override any GCC internal prototype to avoid an error.
14080 Use char because int might match the return type of a GCC
14081 builtin and then its argument prototype would still apply. */
14082 #ifdef __cplusplus
14083 extern "C"
14084 #endif
14085 char gp_port_info_list_new ();
14087 main ()
14089 return gp_port_info_list_new ();
14091 return 0;
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"; then :
14095 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14096 else
14097 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14099 rm -f core conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14104 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14105 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14107 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14109 else
14110 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14113 else
14114 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14118 CPPFLAGS=$ac_save_CPPFLAGS
14119 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14120 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14123 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14124 case "x$with_gphoto" in
14125 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14126 xno) ;;
14127 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14128 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14129 esac
14132 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14133 case "x$with_gphoto" in
14134 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14135 xno) ;;
14136 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14137 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14138 esac
14143 if test "$ac_cv_header_resolv_h" = "yes"
14144 then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14146 $as_echo_n "checking for resolver library... " >&6; }
14147 if ${ac_cv_have_resolv+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_save_LIBS="$LIBS"
14151 for lib in '' -lresolv
14153 LIBS="$lib $ac_save_LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 #ifdef HAVE_NETINET_IN_H
14157 #include <netinet/in.h>
14158 #endif
14159 #include <resolv.h>
14161 main ()
14163 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"; then :
14169 ac_cv_have_resolv=${lib:-"none required"}
14170 else
14171 ac_cv_have_resolv="not found"
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 test "x$ac_cv_have_resolv" = "xnot found" || break
14176 done
14177 LIBS="$ac_save_LIBS"
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14180 $as_echo "$ac_cv_have_resolv" >&6; }
14182 case "$ac_cv_have_resolv" in
14183 "not found") ;;
14184 "none required")
14186 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14189 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14191 RESOLV_LIBS=$ac_cv_have_resolv
14193 esac
14195 if test "x$ac_cv_have_resolv" != "xnot found"
14196 then
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14198 $as_echo_n "checking for res_getservers... " >&6; }
14199 if ${ac_cv_have_res_getservers+:} false; then :
14200 $as_echo_n "(cached) " >&6
14201 else
14202 ac_save_LIBS="$LIBS"
14203 LIBS="$RESOLV_LIBS $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 #include <resolv.h>
14208 main ()
14210 res_getservers(NULL, NULL, 0);
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_have_res_getservers=yes
14217 else
14218 ac_cv_have_res_getservers=no
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 LIBS="$ac_save_LIBS"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14225 $as_echo "$ac_cv_have_res_getservers" >&6; }
14226 if test "$ac_cv_have_res_getservers" = "yes"
14227 then
14229 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14235 if test "x$with_cms" != "xno"
14236 then
14237 if ${LCMS2_CFLAGS:+false} :; then :
14238 if ${PKG_CONFIG+:} false; then :
14239 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14243 if ${LCMS2_LIBS:+false} :; then :
14244 if ${PKG_CONFIG+:} false; then :
14245 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14249 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14250 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14251 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14252 ac_save_CPPFLAGS=$CPPFLAGS
14253 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14254 for ac_header in lcms2.h
14255 do :
14256 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14257 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14258 cat >>confdefs.h <<_ACEOF
14259 #define HAVE_LCMS2_H 1
14260 _ACEOF
14264 done
14266 if test "$ac_cv_header_lcms2_h" = "yes"
14267 then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14269 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14270 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_check_lib_save_LIBS=$LIBS
14274 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char cmsOpenProfileFromFile ();
14286 main ()
14288 return cmsOpenProfileFromFile ();
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14295 else
14296 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_check_lib_save_LIBS
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14303 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14304 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14306 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14308 else
14309 LCMS2_LIBS=""
14312 else
14313 LCMS2_CFLAGS=""
14314 LCMS2_LIBS=""
14316 CPPFLAGS=$ac_save_CPPFLAGS
14317 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14318 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14321 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14322 case "x$with_cms" in
14323 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14324 xno) ;;
14325 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14326 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14327 esac
14331 if test "x$with_freetype" != "xno"
14332 then
14333 if ${FREETYPE_CFLAGS:+false} :; then :
14334 if ${PKG_CONFIG+:} false; then :
14335 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14338 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14339 if ${FREETYPE_LIBS:+false} :; then :
14340 if ${PKG_CONFIG+:} false; then :
14341 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14344 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14345 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14346 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14347 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14348 ac_save_CPPFLAGS=$CPPFLAGS
14349 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14350 for ac_header in ft2build.h
14351 do :
14352 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14353 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14354 cat >>confdefs.h <<_ACEOF
14355 #define HAVE_FT2BUILD_H 1
14356 _ACEOF
14360 done
14362 if test "$ac_cv_header_ft2build_h" = "yes"
14363 then
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14365 $as_echo_n "checking for -lfreetype... " >&6; }
14366 if ${ac_cv_lib_soname_freetype+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_check_soname_save_LIBS=$LIBS
14370 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14374 /* Override any GCC internal prototype to avoid an error.
14375 Use char because int might match the return type of a GCC
14376 builtin and then its argument prototype would still apply. */
14377 #ifdef __cplusplus
14378 extern "C"
14379 #endif
14380 char FT_Init_FreeType ();
14382 main ()
14384 return FT_Init_FreeType ();
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 case "$LIBEXT" in
14391 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14392 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'` ;;
14393 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14394 if ${ac_cv_lib_soname_freetype:+false} :; then :
14395 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14396 fi ;;
14397 esac
14398 else
14399 ac_cv_lib_soname_freetype=
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 LIBS=$ac_check_soname_save_LIBS
14405 if ${ac_cv_lib_soname_freetype:+false} :; then :
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14407 $as_echo "not found" >&6; }
14408 FREETYPE_LIBS=""
14409 else
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14411 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14413 cat >>confdefs.h <<_ACEOF
14414 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14415 _ACEOF
14418 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14420 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14421 #include FT_MODULE_H
14423 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14425 cat >>confdefs.h <<_ACEOF
14426 #define HAVE_FT_TRUETYPEENGINETYPE 1
14427 _ACEOF
14433 else
14434 FREETYPE_CFLAGS=""
14435 FREETYPE_LIBS=""
14437 CPPFLAGS=$ac_save_CPPFLAGS
14438 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14439 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14442 if test "x$ac_cv_lib_soname_freetype" = x; then :
14443 case "x$with_freetype" in
14444 xno) ;;
14445 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14446 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14447 esac
14448 enable_fonts=${enable_fonts:-no}
14451 ac_wine_check_funcs_save_LIBS="$LIBS"
14452 LIBS="$LIBS $PTHREAD_LIBS"
14453 for ac_func in \
14454 pthread_getthreadid_np
14455 do :
14456 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14459 cat >>confdefs.h <<_ACEOF
14460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14461 _ACEOF
14464 done
14466 LIBS="$ac_wine_check_funcs_save_LIBS"
14468 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14469 then
14470 if test "$ac_cv_header_gettext_po_h" = "yes"
14471 then
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14473 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14474 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 ac_check_lib_save_LIBS=$LIBS
14478 LIBS="-lgettextpo $LIBS"
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14485 #ifdef __cplusplus
14486 extern "C"
14487 #endif
14488 char po_message_msgctxt ();
14490 main ()
14492 return po_message_msgctxt ();
14494 return 0;
14496 _ACEOF
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14499 else
14500 ac_cv_lib_gettextpo_po_message_msgctxt=no
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_lib_save_LIBS
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14507 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14508 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14510 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14512 GETTEXTPO_LIBS="-lgettextpo"
14517 if test "x$GETTEXTPO_LIBS" = "x"; then :
14518 case "x$with_gettextpo" in
14519 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14520 xno) ;;
14521 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14522 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14523 esac
14526 if test "$srcdir" != .; then :
14527 case "x$with_gettextpo" in
14528 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14529 xno) ;;
14530 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14531 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14532 esac
14537 if test "x$with_pulse" != "xno";
14538 then
14539 if ${PULSE_CFLAGS:+false} :; then :
14540 if ${PKG_CONFIG+:} false; then :
14541 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14545 if ${PULSE_LIBS:+false} :; then :
14546 if ${PKG_CONFIG+:} false; then :
14547 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14552 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14553 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14554 ac_save_CPPFLAGS=$CPPFLAGS
14555 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14556 for ac_header in pulse/pulseaudio.h
14557 do :
14558 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14559 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14560 cat >>confdefs.h <<_ACEOF
14561 #define HAVE_PULSE_PULSEAUDIO_H 1
14562 _ACEOF
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14564 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14565 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_check_lib_save_LIBS=$LIBS
14569 LIBS="-lpulse $PULSE_LIBS $LIBS"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 #ifdef __cplusplus
14577 extern "C"
14578 #endif
14579 char pa_stream_is_corked ();
14581 main ()
14583 return pa_stream_is_corked ();
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_link "$LINENO"; then :
14589 ac_cv_lib_pulse_pa_stream_is_corked=yes
14590 else
14591 ac_cv_lib_pulse_pa_stream_is_corked=no
14593 rm -f core conftest.err conftest.$ac_objext \
14594 conftest$ac_exeext conftest.$ac_ext
14595 LIBS=$ac_check_lib_save_LIBS
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14598 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14599 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14601 else
14602 PULSE_LIBS=""
14605 else
14606 PULSE_LIBS=""
14609 done
14611 CPPFLAGS=$ac_save_CPPFLAGS
14612 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14613 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14616 if test -z "$PULSE_LIBS"; then :
14617 case "x$with_pulse" in
14618 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14619 xno) ;;
14620 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14621 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14622 esac
14623 enable_winepulse_drv=${enable_winepulse_drv:-no}
14626 if test "x$with_gstreamer" != "xno"
14627 then
14628 if ${GSTREAMER_CFLAGS:+false} :; then :
14629 if ${PKG_CONFIG+:} false; then :
14630 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14634 if ${GSTREAMER_LIBS:+false} :; then :
14635 if ${PKG_CONFIG+:} false; then :
14636 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14641 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14642 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14643 ac_save_CPPFLAGS=$CPPFLAGS
14644 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14645 ac_gst_incl=""
14646 for i in $GSTREAMER_CFLAGS
14648 case "$i" in
14649 -I*) ac_gst_incl="$ac_gst_incl $i";;
14650 esac
14651 done
14652 GSTREAMER_CFLAGS=$ac_gst_incl
14653 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14654 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14655 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14657 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14660 #include <gst/gst.h>
14662 main ()
14664 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_compile "$LINENO"; then :
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14671 $as_echo "yes" >&6; }
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14673 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14674 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_check_lib_save_LIBS=$LIBS
14678 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char gst_pad_new ();
14690 main ()
14692 return gst_pad_new ();
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14699 else
14700 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14707 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14708 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14712 else
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14714 $as_echo "no" >&6; }
14715 ac_glib2_broken=yes
14716 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14722 CPPFLAGS=$ac_save_CPPFLAGS
14723 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14724 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14727 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 :
14728 case "x$with_gstreamer" in
14729 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14730 xno) ;;
14731 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14732 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14733 esac
14736 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14738 ALSA_LIBS=""
14740 if test "x$with_alsa" != "xno"
14741 then
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14743 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14744 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 ac_check_lib_save_LIBS=$LIBS
14748 LIBS="-lasound $LIBS"
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 char snd_pcm_hw_params_get_access_mask ();
14760 main ()
14762 return snd_pcm_hw_params_get_access_mask ();
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14769 else
14770 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14774 LIBS=$ac_check_lib_save_LIBS
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14777 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14778 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 /* end confdefs.h. */
14781 #include <alsa/asoundlib.h>
14783 main ()
14785 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14787 return 0;
14789 _ACEOF
14790 if ac_fn_c_try_compile "$LINENO"; then :
14791 ALSA_LIBS="-lasound"
14793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14797 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14799 if test "x$with_oss" != xno
14800 then
14801 ac_save_CPPFLAGS="$CPPFLAGS"
14802 if test -f /etc/oss.conf
14803 then
14804 . /etc/oss.conf
14806 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14807 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14808 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14809 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14810 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14812 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14814 cat >>confdefs.h <<_ACEOF
14815 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14816 _ACEOF
14818 OSS4_CFLAGS="$ac_oss_incl"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14821 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14822 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_check_lib_save_LIBS=$LIBS
14826 LIBS="-lossaudio $LIBS"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14833 #ifdef __cplusplus
14834 extern "C"
14835 #endif
14836 char _oss_ioctl ();
14838 main ()
14840 return _oss_ioctl ();
14842 return 0;
14844 _ACEOF
14845 if ac_fn_c_try_link "$LINENO"; then :
14846 ac_cv_lib_ossaudio__oss_ioctl=yes
14847 else
14848 ac_cv_lib_ossaudio__oss_ioctl=no
14850 rm -f core conftest.err conftest.$ac_objext \
14851 conftest$ac_exeext conftest.$ac_ext
14852 LIBS=$ac_check_lib_save_LIBS
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14855 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14856 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14857 OSS4_LIBS="-lossaudio"
14866 CPPFLAGS="$ac_save_CPPFLAGS"
14868 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14869 case "x$with_oss" in
14870 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14871 xno) ;;
14872 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14873 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14874 esac
14875 enable_wineoss_drv=${enable_wineoss_drv:-no}
14878 if test "x$with_udev" != "xno"
14879 then
14880 if ${UDEV_CFLAGS:+false} :; then :
14881 if ${PKG_CONFIG+:} false; then :
14882 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14886 if ${UDEV_LIBS:+false} :; then :
14887 if ${PKG_CONFIG+:} false; then :
14888 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14892 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14893 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14894 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14895 ac_save_CPPFLAGS=$CPPFLAGS
14896 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14897 for ac_header in libudev.h
14898 do :
14899 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14900 if test "x$ac_cv_header_libudev_h" = xyes; then :
14901 cat >>confdefs.h <<_ACEOF
14902 #define HAVE_LIBUDEV_H 1
14903 _ACEOF
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14905 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14906 if ${ac_cv_lib_udev_udev_new+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 ac_check_lib_save_LIBS=$LIBS
14910 LIBS="-ludev $UDEV_LIBS $LIBS"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14917 #ifdef __cplusplus
14918 extern "C"
14919 #endif
14920 char udev_new ();
14922 main ()
14924 return udev_new ();
14926 return 0;
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 ac_cv_lib_udev_udev_new=yes
14931 else
14932 ac_cv_lib_udev_udev_new=no
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14936 LIBS=$ac_check_lib_save_LIBS
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14939 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14940 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14942 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14944 else
14945 UDEV_LIBS=""
14948 else
14949 UDEV_LIBS=""
14952 done
14954 CPPFLAGS=$ac_save_CPPFLAGS
14955 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14956 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14959 if test "x$UDEV_LIBS" = "x"; then :
14960 case "x$with_udev" in
14961 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14962 xno) ;;
14963 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14964 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14965 esac
14969 if test "x$with_unwind" != xno
14970 then
14971 if ${UNWIND_CFLAGS:+false} :; then :
14972 if ${PKG_CONFIG+:} false; then :
14973 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14977 if ${UNWIND_LIBS:+false} :; then :
14978 if ${PKG_CONFIG+:} false; then :
14979 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14983 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14984 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14985 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14986 ac_save_CPPFLAGS=$CPPFLAGS
14987 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14989 $as_echo_n "checking for unw_step... " >&6; }
14990 if ${wine_cv_have_unw_step+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14995 #define UNW_LOCAL_ONLY
14996 #include <libunwind.h>
14998 main ()
15000 unw_cursor_t cursor; unw_step( &cursor );
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 wine_cv_have_unw_step="yes"
15007 else
15008 wine_cv_have_unw_step="no"
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15014 $as_echo "$wine_cv_have_unw_step" >&6; }
15015 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15016 then
15017 save_libs=$LIBS
15018 LIBS="$UNWIND_LIBS $LIBS"
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15020 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15021 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #define UNW_LOCAL_ONLY
15027 #include <libunwind.h>
15029 main ()
15031 unw_cursor_t cursor; unw_step( &cursor );
15033 return 0;
15035 _ACEOF
15036 if ac_fn_c_try_link "$LINENO"; then :
15037 wine_cv_have_libunwind_unw_step="yes"
15038 else
15039 wine_cv_have_libunwind_unw_step="no"
15041 rm -f core conftest.err conftest.$ac_objext \
15042 conftest$ac_exeext conftest.$ac_ext
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15045 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15046 LIBS=$save_libs
15048 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15049 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15050 then
15052 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15055 CPPFLAGS=$ac_save_CPPFLAGS
15056 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15057 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15060 case $host in
15061 aarch64*|*-darwin*)
15062 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15063 case "x$with_unwind" in
15064 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15065 xno) ;;
15066 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15067 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15068 esac
15070 fi ;;
15071 esac
15073 if test "x$with_sdl" != "xno"
15074 then
15075 if ${SDL2_CFLAGS:+false} :; then :
15076 if ${PKG_CONFIG+:} false; then :
15077 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15081 if ${SDL2_LIBS:+false} :; then :
15082 if ${PKG_CONFIG+:} false; then :
15083 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15087 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15088 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15089 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15090 ac_save_CPPFLAGS=$CPPFLAGS
15091 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15092 for ac_header in SDL2/SDL.h
15093 do :
15094 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15095 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15096 cat >>confdefs.h <<_ACEOF
15097 #define HAVE_SDL2_SDL_H 1
15098 _ACEOF
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15100 $as_echo_n "checking for -lSDL2... " >&6; }
15101 if ${ac_cv_lib_soname_SDL2+:} false; then :
15102 $as_echo_n "(cached) " >&6
15103 else
15104 ac_check_soname_save_LIBS=$LIBS
15105 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15109 /* Override any GCC internal prototype to avoid an error.
15110 Use char because int might match the return type of a GCC
15111 builtin and then its argument prototype would still apply. */
15112 #ifdef __cplusplus
15113 extern "C"
15114 #endif
15115 char SDL_Init ();
15117 main ()
15119 return SDL_Init ();
15121 return 0;
15123 _ACEOF
15124 if ac_fn_c_try_link "$LINENO"; then :
15125 case "$LIBEXT" in
15126 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15127 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'` ;;
15128 *) 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'`
15129 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15130 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15131 fi ;;
15132 esac
15133 else
15134 ac_cv_lib_soname_SDL2=
15136 rm -f core conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext conftest.$ac_ext
15138 LIBS=$ac_check_soname_save_LIBS
15140 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15142 $as_echo "not found" >&6; }
15144 else
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15146 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15148 cat >>confdefs.h <<_ACEOF
15149 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15150 _ACEOF
15156 done
15158 CPPFLAGS=$ac_save_CPPFLAGS
15159 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15160 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15163 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15164 case "x$with_sdl" in
15165 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15166 xno) ;;
15167 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15168 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15169 esac
15173 if test "x$with_faudio" != "xno"
15174 then
15175 if ${FAUDIO_CFLAGS:+false} :; then :
15176 if ${PKG_CONFIG+:} false; then :
15177 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15181 if ${FAUDIO_LIBS:+false} :; then :
15182 if ${PKG_CONFIG+:} false; then :
15183 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15187 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15188 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15189 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15190 ac_save_CPPFLAGS=$CPPFLAGS
15191 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15192 for ac_header in FAudio.h
15193 do :
15194 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15195 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15196 cat >>confdefs.h <<_ACEOF
15197 #define HAVE_FAUDIO_H 1
15198 _ACEOF
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15200 $as_echo_n "checking for -lFAudio... " >&6; }
15201 if ${ac_cv_lib_soname_FAudio+:} false; then :
15202 $as_echo_n "(cached) " >&6
15203 else
15204 ac_check_soname_save_LIBS=$LIBS
15205 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15212 #ifdef __cplusplus
15213 extern "C"
15214 #endif
15215 char FAudioCreate ();
15217 main ()
15219 return FAudioCreate ();
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 case "$LIBEXT" in
15226 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15227 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'` ;;
15228 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15229 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15230 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15231 fi ;;
15232 esac
15233 else
15234 ac_cv_lib_soname_FAudio=
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_soname_save_LIBS
15240 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15242 $as_echo "not found" >&6; }
15244 else
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15246 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15248 cat >>confdefs.h <<_ACEOF
15249 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15250 _ACEOF
15256 done
15258 ac_wine_check_funcs_save_LIBS="$LIBS"
15259 LIBS="$LIBS $FAUDIO_LIBS"
15260 for ac_func in FAudio_CommitOperationSet \
15261 F3DAudioInitialize8 \
15262 FAudioLinkedVersion
15263 do :
15264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15267 cat >>confdefs.h <<_ACEOF
15268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15269 _ACEOF
15272 done
15274 LIBS="$ac_wine_check_funcs_save_LIBS"
15276 CPPFLAGS=$ac_save_CPPFLAGS
15277 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15278 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15281 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15282 case "x$with_faudio" in
15283 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15284 xno) ;;
15285 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15286 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15287 esac
15291 if test "x$with_capi" != "xno"
15292 then
15293 if ${CAPI20_CFLAGS:+false} :; then :
15294 if ${PKG_CONFIG+:} false; then :
15295 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15299 if ${CAPI20_LIBS:+false} :; then :
15300 if ${PKG_CONFIG+:} false; then :
15301 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15306 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15307 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15308 ac_save_CPPFLAGS=$CPPFLAGS
15309 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15310 for ac_header in capi20.h linux/capi.h
15311 do :
15312 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15313 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15316 cat >>confdefs.h <<_ACEOF
15317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15318 _ACEOF
15322 done
15324 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15325 then
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15327 $as_echo_n "checking for -lcapi20... " >&6; }
15328 if ${ac_cv_lib_soname_capi20+:} false; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331 ac_check_soname_save_LIBS=$LIBS
15332 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 #ifdef __cplusplus
15340 extern "C"
15341 #endif
15342 char capi20_register ();
15344 main ()
15346 return capi20_register ();
15348 return 0;
15350 _ACEOF
15351 if ac_fn_c_try_link "$LINENO"; then :
15352 case "$LIBEXT" in
15353 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15354 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'` ;;
15355 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15356 if ${ac_cv_lib_soname_capi20:+false} :; then :
15357 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15358 fi ;;
15359 esac
15360 else
15361 ac_cv_lib_soname_capi20=
15363 rm -f core conftest.err conftest.$ac_objext \
15364 conftest$ac_exeext conftest.$ac_ext
15365 LIBS=$ac_check_soname_save_LIBS
15367 if ${ac_cv_lib_soname_capi20:+false} :; then :
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15369 $as_echo "not found" >&6; }
15371 else
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15373 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15375 cat >>confdefs.h <<_ACEOF
15376 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15377 _ACEOF
15382 CPPFLAGS=$ac_save_CPPFLAGS
15383 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15384 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15387 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15388 case "x$with_capi" in
15389 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15390 xno) ;;
15391 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15392 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15393 esac
15397 if test "x$with_cups" != "xno"
15398 then
15399 if ${CUPS_CFLAGS:+false} :; then :
15400 if ${PKG_CONFIG+:} false; then :
15401 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15404 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15405 if ${CUPS_LIBS:+false} :; then :
15406 if ${PKG_CONFIG+:} false; then :
15407 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15410 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15411 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15412 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15413 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15414 ac_save_CPPFLAGS=$CPPFLAGS
15415 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15416 for ac_header in cups/cups.h cups/ppd.h
15417 do :
15418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15419 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15421 cat >>confdefs.h <<_ACEOF
15422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15423 _ACEOF
15427 done
15429 if test "$ac_cv_header_cups_cups_h" = "yes"
15430 then
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15432 $as_echo_n "checking for -lcups... " >&6; }
15433 if ${ac_cv_lib_soname_cups+:} false; then :
15434 $as_echo_n "(cached) " >&6
15435 else
15436 ac_check_soname_save_LIBS=$LIBS
15437 LIBS="-lcups $CUPS_LIBS $LIBS"
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15441 /* Override any GCC internal prototype to avoid an error.
15442 Use char because int might match the return type of a GCC
15443 builtin and then its argument prototype would still apply. */
15444 #ifdef __cplusplus
15445 extern "C"
15446 #endif
15447 char cupsGetDefault ();
15449 main ()
15451 return cupsGetDefault ();
15453 return 0;
15455 _ACEOF
15456 if ac_fn_c_try_link "$LINENO"; then :
15457 case "$LIBEXT" in
15458 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15459 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'` ;;
15460 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15461 if ${ac_cv_lib_soname_cups:+false} :; then :
15462 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15463 fi ;;
15464 esac
15465 else
15466 ac_cv_lib_soname_cups=
15468 rm -f core conftest.err conftest.$ac_objext \
15469 conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_soname_save_LIBS
15472 if ${ac_cv_lib_soname_cups:+false} :; then :
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15474 $as_echo "not found" >&6; }
15475 CUPS_LIBS=""
15476 else
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15478 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15480 cat >>confdefs.h <<_ACEOF
15481 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15482 _ACEOF
15486 else
15487 CUPS_CFLAGS=""
15488 CUPS_LIBS=""
15490 CPPFLAGS=$ac_save_CPPFLAGS
15491 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15492 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15495 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15496 case "x$with_cups" in
15497 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15498 xno) ;;
15499 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15500 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15501 esac
15505 if test "x$with_fontconfig" != "xno"
15506 then
15507 if ${FONTCONFIG_CFLAGS:+false} :; then :
15508 if ${PKG_CONFIG+:} false; then :
15509 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15512 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15513 if ${FONTCONFIG_LIBS:+false} :; then :
15514 if ${PKG_CONFIG+:} false; then :
15515 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15518 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15520 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15521 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15522 ac_save_CPPFLAGS=$CPPFLAGS
15523 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15524 for ac_header in fontconfig/fontconfig.h
15525 do :
15526 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15527 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15528 cat >>confdefs.h <<_ACEOF
15529 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15530 _ACEOF
15534 done
15536 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15537 then
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15539 $as_echo_n "checking for -lfontconfig... " >&6; }
15540 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15541 $as_echo_n "(cached) " >&6
15542 else
15543 ac_check_soname_save_LIBS=$LIBS
15544 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15548 /* Override any GCC internal prototype to avoid an error.
15549 Use char because int might match the return type of a GCC
15550 builtin and then its argument prototype would still apply. */
15551 #ifdef __cplusplus
15552 extern "C"
15553 #endif
15554 char FcInit ();
15556 main ()
15558 return FcInit ();
15560 return 0;
15562 _ACEOF
15563 if ac_fn_c_try_link "$LINENO"; then :
15564 case "$LIBEXT" in
15565 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15566 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'` ;;
15567 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15568 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15569 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15570 fi ;;
15571 esac
15572 else
15573 ac_cv_lib_soname_fontconfig=
15575 rm -f core conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_soname_save_LIBS
15579 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15581 $as_echo "not found" >&6; }
15582 FONTCONFIG_CFLAGS=""
15583 else
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15585 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15587 cat >>confdefs.h <<_ACEOF
15588 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15589 _ACEOF
15593 else
15594 FONTCONFIG_CFLAGS=""
15596 CPPFLAGS=$ac_save_CPPFLAGS
15597 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15598 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15601 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15602 case "x$with_fontconfig" in
15603 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15604 xno) ;;
15605 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15606 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15607 esac
15611 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15612 then
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15614 $as_echo_n "checking for -lgsm... " >&6; }
15615 if ${ac_cv_lib_soname_gsm+:} false; then :
15616 $as_echo_n "(cached) " >&6
15617 else
15618 ac_check_soname_save_LIBS=$LIBS
15619 LIBS="-lgsm $LIBS"
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15623 /* Override any GCC internal prototype to avoid an error.
15624 Use char because int might match the return type of a GCC
15625 builtin and then its argument prototype would still apply. */
15626 #ifdef __cplusplus
15627 extern "C"
15628 #endif
15629 char gsm_create ();
15631 main ()
15633 return gsm_create ();
15635 return 0;
15637 _ACEOF
15638 if ac_fn_c_try_link "$LINENO"; then :
15639 case "$LIBEXT" in
15640 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15641 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'` ;;
15642 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15643 if ${ac_cv_lib_soname_gsm:+false} :; then :
15644 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15645 fi ;;
15646 esac
15647 else
15648 ac_cv_lib_soname_gsm=
15650 rm -f core conftest.err conftest.$ac_objext \
15651 conftest$ac_exeext conftest.$ac_ext
15652 LIBS=$ac_check_soname_save_LIBS
15654 if ${ac_cv_lib_soname_gsm:+false} :; then :
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15656 $as_echo "not found" >&6; }
15658 else
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15660 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15662 cat >>confdefs.h <<_ACEOF
15663 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15664 _ACEOF
15669 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15670 case "x$with_gsm" in
15671 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15672 xno) ;;
15673 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15674 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15675 esac
15679 if test "x$with_krb5" != "xno"
15680 then
15681 if ${KRB5_CFLAGS:+false} :; then :
15682 if ${PKG_CONFIG+:} false; then :
15683 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15686 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15687 if ${KRB5_LIBS:+false} :; then :
15688 if ${PKG_CONFIG+:} false; then :
15689 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15692 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15694 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15695 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15696 ac_save_CPPFLAGS=$CPPFLAGS
15697 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15698 for ac_header in krb5/krb5.h
15699 do :
15700 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15701 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15702 cat >>confdefs.h <<_ACEOF
15703 #define HAVE_KRB5_KRB5_H 1
15704 _ACEOF
15708 done
15710 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15711 then
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15713 $as_echo_n "checking for -lkrb5... " >&6; }
15714 if ${ac_cv_lib_soname_krb5+:} false; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 ac_check_soname_save_LIBS=$LIBS
15718 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15722 /* Override any GCC internal prototype to avoid an error.
15723 Use char because int might match the return type of a GCC
15724 builtin and then its argument prototype would still apply. */
15725 #ifdef __cplusplus
15726 extern "C"
15727 #endif
15728 char krb5_is_config_principal ();
15730 main ()
15732 return krb5_is_config_principal ();
15734 return 0;
15736 _ACEOF
15737 if ac_fn_c_try_link "$LINENO"; then :
15738 case "$LIBEXT" in
15739 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15740 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'` ;;
15741 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15742 if ${ac_cv_lib_soname_krb5:+false} :; then :
15743 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15744 fi ;;
15745 esac
15746 else
15747 ac_cv_lib_soname_krb5=
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15751 LIBS=$ac_check_soname_save_LIBS
15753 if ${ac_cv_lib_soname_krb5:+false} :; then :
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15755 $as_echo "not found" >&6; }
15756 KRB5_CFLAGS=""
15757 else
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15759 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15761 cat >>confdefs.h <<_ACEOF
15762 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15763 _ACEOF
15767 else
15768 KRB5_CFLAGS=""
15770 CPPFLAGS=$ac_save_CPPFLAGS
15771 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15772 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15775 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15776 case "x$with_krb5" in
15777 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15778 xno) ;;
15779 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15780 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15781 esac
15784 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15786 if test "x$with_gssapi" != "xno"
15787 then
15788 if ${GSSAPI_CFLAGS:+false} :; then :
15789 if ${PKG_CONFIG+:} false; then :
15790 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15793 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15794 if ${GSSAPI_LIBS:+false} :; then :
15795 if ${PKG_CONFIG+:} false; then :
15796 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15799 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15801 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15802 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15803 ac_save_CPPFLAGS=$CPPFLAGS
15804 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15805 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15806 do :
15807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15808 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15812 _ACEOF
15816 done
15818 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15819 then
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15821 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15822 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15823 $as_echo_n "(cached) " >&6
15824 else
15825 ac_check_soname_save_LIBS=$LIBS
15826 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15830 /* Override any GCC internal prototype to avoid an error.
15831 Use char because int might match the return type of a GCC
15832 builtin and then its argument prototype would still apply. */
15833 #ifdef __cplusplus
15834 extern "C"
15835 #endif
15836 char gss_init_sec_context ();
15838 main ()
15840 return gss_init_sec_context ();
15842 return 0;
15844 _ACEOF
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 case "$LIBEXT" in
15847 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15848 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'` ;;
15849 *) 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'`
15850 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15851 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15852 fi ;;
15853 esac
15854 else
15855 ac_cv_lib_soname_gssapi_krb5=
15857 rm -f core conftest.err conftest.$ac_objext \
15858 conftest$ac_exeext conftest.$ac_ext
15859 LIBS=$ac_check_soname_save_LIBS
15861 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15863 $as_echo "not found" >&6; }
15864 GSSAPI_CFLAGS=""
15865 else
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15867 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15869 cat >>confdefs.h <<_ACEOF
15870 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15871 _ACEOF
15875 else
15876 GSSAPI_CFLAGS=""
15878 CPPFLAGS=$ac_save_CPPFLAGS
15879 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15880 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15883 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15884 case "x$with_gssapi" in
15885 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15886 xno) ;;
15887 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15888 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15889 esac
15893 if test "x$with_jpeg" != "xno"
15894 then
15895 if ${JPEG_CFLAGS:+false} :; then :
15896 if ${PKG_CONFIG+:} false; then :
15897 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15901 if ${JPEG_LIBS:+false} :; then :
15902 if ${PKG_CONFIG+:} false; then :
15903 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15908 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15909 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15910 ac_save_CPPFLAGS=$CPPFLAGS
15911 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15912 for ac_header in jpeglib.h
15913 do :
15914 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15915 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_JPEGLIB_H 1
15918 _ACEOF
15922 done
15924 if test "$ac_cv_header_jpeglib_h" = "yes"
15925 then
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15927 $as_echo_n "checking for -ljpeg... " >&6; }
15928 if ${ac_cv_lib_soname_jpeg+:} false; then :
15929 $as_echo_n "(cached) " >&6
15930 else
15931 ac_check_soname_save_LIBS=$LIBS
15932 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939 #ifdef __cplusplus
15940 extern "C"
15941 #endif
15942 char jpeg_start_decompress ();
15944 main ()
15946 return jpeg_start_decompress ();
15948 return 0;
15950 _ACEOF
15951 if ac_fn_c_try_link "$LINENO"; then :
15952 case "$LIBEXT" in
15953 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15954 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'` ;;
15955 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15956 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15957 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15958 fi ;;
15959 esac
15960 else
15961 ac_cv_lib_soname_jpeg=
15963 rm -f core conftest.err conftest.$ac_objext \
15964 conftest$ac_exeext conftest.$ac_ext
15965 LIBS=$ac_check_soname_save_LIBS
15967 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15969 $as_echo "not found" >&6; }
15970 JPEG_CFLAGS=""
15971 else
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15973 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15975 cat >>confdefs.h <<_ACEOF
15976 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15977 _ACEOF
15981 else
15982 JPEG_CFLAGS=""
15984 CPPFLAGS=$ac_save_CPPFLAGS
15985 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15986 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15989 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15990 case "x$with_jpeg" in
15991 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15992 xno) ;;
15993 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15994 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15995 esac
15999 if test "x$with_png" != "xno"
16000 then
16001 if ${PNG_CFLAGS:+false} :; then :
16002 if ${PKG_CONFIG+:} false; then :
16003 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16006 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16007 if ${PNG_LIBS:+false} :; then :
16008 if ${PKG_CONFIG+:} false; then :
16009 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16012 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16014 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16015 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16016 ac_save_CPPFLAGS=$CPPFLAGS
16017 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16018 for ac_header in png.h
16019 do :
16020 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16021 if test "x$ac_cv_header_png_h" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_PNG_H 1
16024 _ACEOF
16028 done
16030 if test "$ac_cv_header_png_h" = "yes"
16031 then
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16033 $as_echo_n "checking for -lpng... " >&6; }
16034 if ${ac_cv_lib_soname_png+:} false; then :
16035 $as_echo_n "(cached) " >&6
16036 else
16037 ac_check_soname_save_LIBS=$LIBS
16038 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16045 #ifdef __cplusplus
16046 extern "C"
16047 #endif
16048 char png_create_read_struct ();
16050 main ()
16052 return png_create_read_struct ();
16054 return 0;
16056 _ACEOF
16057 if ac_fn_c_try_link "$LINENO"; then :
16058 case "$LIBEXT" in
16059 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16060 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'` ;;
16061 *) 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'`
16062 if ${ac_cv_lib_soname_png:+false} :; then :
16063 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16064 fi ;;
16065 esac
16066 else
16067 ac_cv_lib_soname_png=
16069 rm -f core conftest.err conftest.$ac_objext \
16070 conftest$ac_exeext conftest.$ac_ext
16071 LIBS=$ac_check_soname_save_LIBS
16073 if ${ac_cv_lib_soname_png:+false} :; then :
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16075 $as_echo "not found" >&6; }
16076 PNG_CFLAGS=""
16077 else
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16079 $as_echo "$ac_cv_lib_soname_png" >&6; }
16081 cat >>confdefs.h <<_ACEOF
16082 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16083 _ACEOF
16087 else
16088 PNG_CFLAGS=""
16090 CPPFLAGS=$ac_save_CPPFLAGS
16091 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16092 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16095 if test "x$ac_cv_lib_soname_png" = "x"; then :
16096 case "x$with_png" in
16097 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16098 xno) ;;
16099 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16100 This is an error since --with-png was requested." "$LINENO" 5 ;;
16101 esac
16105 if test "x$with_tiff" != "xno"
16106 then
16107 if ${TIFF_CFLAGS:+false} :; then :
16108 if ${PKG_CONFIG+:} false; then :
16109 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16113 if ${TIFF_LIBS:+false} :; then :
16114 if ${PKG_CONFIG+:} false; then :
16115 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16120 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16121 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16122 ac_save_CPPFLAGS=$CPPFLAGS
16123 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16124 for ac_header in tiffio.h
16125 do :
16126 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16127 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_TIFFIO_H 1
16130 _ACEOF
16134 done
16136 if test "$ac_cv_header_tiffio_h" = "yes"
16137 then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16139 $as_echo_n "checking for -ltiff... " >&6; }
16140 if ${ac_cv_lib_soname_tiff+:} false; then :
16141 $as_echo_n "(cached) " >&6
16142 else
16143 ac_check_soname_save_LIBS=$LIBS
16144 LIBS="-ltiff $TIFF_LIBS $LIBS"
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16148 /* Override any GCC internal prototype to avoid an error.
16149 Use char because int might match the return type of a GCC
16150 builtin and then its argument prototype would still apply. */
16151 #ifdef __cplusplus
16152 extern "C"
16153 #endif
16154 char TIFFClientOpen ();
16156 main ()
16158 return TIFFClientOpen ();
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_link "$LINENO"; then :
16164 case "$LIBEXT" in
16165 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16166 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'` ;;
16167 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16168 if ${ac_cv_lib_soname_tiff:+false} :; then :
16169 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16170 fi ;;
16171 esac
16172 else
16173 ac_cv_lib_soname_tiff=
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext conftest.$ac_ext
16177 LIBS=$ac_check_soname_save_LIBS
16179 if ${ac_cv_lib_soname_tiff:+false} :; then :
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16181 $as_echo "not found" >&6; }
16183 else
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16185 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16187 cat >>confdefs.h <<_ACEOF
16188 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16189 _ACEOF
16194 CPPFLAGS=$ac_save_CPPFLAGS
16195 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16196 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16199 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16200 case "x$with_tiff" in
16201 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16202 xno) ;;
16203 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16204 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16205 esac
16209 if test "x$with_mpg123" != "xno"
16210 then
16211 if ${MPG123_CFLAGS:+false} :; then :
16212 if ${PKG_CONFIG+:} false; then :
16213 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16217 if ${MPG123_LIBS:+false} :; then :
16218 if ${PKG_CONFIG+:} false; then :
16219 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16223 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16224 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16225 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16226 ac_save_CPPFLAGS=$CPPFLAGS
16227 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16228 for ac_header in mpg123.h
16229 do :
16230 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16231 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_MPG123_H 1
16234 _ACEOF
16238 done
16240 if test "$ac_cv_header_mpg123_h" = "yes"
16241 then
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16243 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16244 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16245 $as_echo_n "(cached) " >&6
16246 else
16247 ac_check_lib_save_LIBS=$LIBS
16248 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16252 /* Override any GCC internal prototype to avoid an error.
16253 Use char because int might match the return type of a GCC
16254 builtin and then its argument prototype would still apply. */
16255 #ifdef __cplusplus
16256 extern "C"
16257 #endif
16258 char mpg123_feed ();
16260 main ()
16262 return mpg123_feed ();
16264 return 0;
16266 _ACEOF
16267 if ac_fn_c_try_link "$LINENO"; then :
16268 ac_cv_lib_mpg123_mpg123_feed=yes
16269 else
16270 ac_cv_lib_mpg123_mpg123_feed=no
16272 rm -f core conftest.err conftest.$ac_objext \
16273 conftest$ac_exeext conftest.$ac_ext
16274 LIBS=$ac_check_lib_save_LIBS
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16277 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16278 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16280 else
16281 MPG123_LIBS=""
16284 else
16285 MPG123_CFLAGS=""
16286 MPG123_LIBS=""
16288 CPPFLAGS=$ac_save_CPPFLAGS
16289 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16290 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16293 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16294 case "x$with_mpg123" in
16295 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16296 xno) ;;
16297 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16298 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16299 esac
16300 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16302 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16304 if test "$ac_cv_header_AL_al_h" = "yes"
16305 then
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16307 $as_echo_n "checking for -lopenal... " >&6; }
16308 if ${ac_cv_lib_soname_openal+:} false; then :
16309 $as_echo_n "(cached) " >&6
16310 else
16311 ac_check_soname_save_LIBS=$LIBS
16312 LIBS="-lopenal $LIBS"
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16316 /* Override any GCC internal prototype to avoid an error.
16317 Use char because int might match the return type of a GCC
16318 builtin and then its argument prototype would still apply. */
16319 #ifdef __cplusplus
16320 extern "C"
16321 #endif
16322 char alGetSource3i ();
16324 main ()
16326 return alGetSource3i ();
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_link "$LINENO"; then :
16332 case "$LIBEXT" in
16333 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16334 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'` ;;
16335 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16336 if ${ac_cv_lib_soname_openal:+false} :; then :
16337 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16338 fi ;;
16339 esac
16340 else
16341 ac_cv_lib_soname_openal=
16343 rm -f core conftest.err conftest.$ac_objext \
16344 conftest$ac_exeext conftest.$ac_ext
16345 LIBS=$ac_check_soname_save_LIBS
16347 if ${ac_cv_lib_soname_openal:+false} :; then :
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16349 $as_echo "not found" >&6; }
16351 else
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16353 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16355 cat >>confdefs.h <<_ACEOF
16356 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16357 _ACEOF
16359 OPENAL_LIBS="-lopenal"
16361 ac_cv_lib_openal=yes
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_OPENAL 1
16365 _ACEOF
16369 if test "x$ac_cv_lib_openal" != xyes; then :
16370 case "x$with_openal" in
16371 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16372 xno) ;;
16373 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16374 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16375 esac
16376 enable_openal32=${enable_openal32:-no}
16379 if test "x$ac_cv_lib_soname_FAudio" = "x"
16380 then
16381 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16382 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16383 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16384 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16385 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16386 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16387 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16388 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16389 enable_xapofx1_1=${enable_xapofx1_1:-no}
16390 enable_xapofx1_2=${enable_xapofx1_2:-no}
16391 enable_xapofx1_3=${enable_xapofx1_3:-no}
16392 enable_xapofx1_4=${enable_xapofx1_4:-no}
16393 enable_xapofx1_5=${enable_xapofx1_5:-no}
16394 enable_xaudio2_0=${enable_xaudio2_0:-no}
16395 enable_xaudio2_1=${enable_xaudio2_1:-no}
16396 enable_xaudio2_2=${enable_xaudio2_2:-no}
16397 enable_xaudio2_3=${enable_xaudio2_3:-no}
16398 enable_xaudio2_4=${enable_xaudio2_4:-no}
16399 enable_xaudio2_5=${enable_xaudio2_5:-no}
16400 enable_xaudio2_6=${enable_xaudio2_6:-no}
16401 enable_xaudio2_7=${enable_xaudio2_7:-no}
16402 enable_xaudio2_8=${enable_xaudio2_8:-no}
16403 enable_xaudio2_9=${enable_xaudio2_9:-no}
16406 if test "$ac_cv_header_kstat_h" = "yes"
16407 then
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16409 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16410 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16411 $as_echo_n "(cached) " >&6
16412 else
16413 ac_check_lib_save_LIBS=$LIBS
16414 LIBS="-lkstat $LIBS"
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 #ifdef __cplusplus
16422 extern "C"
16423 #endif
16424 char kstat_open ();
16426 main ()
16428 return kstat_open ();
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"; then :
16434 ac_cv_lib_kstat_kstat_open=yes
16435 else
16436 ac_cv_lib_kstat_kstat_open=no
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16440 LIBS=$ac_check_lib_save_LIBS
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16443 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16444 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16446 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16448 KSTAT_LIBS="-lkstat"
16454 if test "$ac_cv_header_libprocstat_h" = "yes"
16455 then
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16457 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16458 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16459 $as_echo_n "(cached) " >&6
16460 else
16461 ac_check_lib_save_LIBS=$LIBS
16462 LIBS="-lprocstat $LIBS"
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16466 /* Override any GCC internal prototype to avoid an error.
16467 Use char because int might match the return type of a GCC
16468 builtin and then its argument prototype would still apply. */
16469 #ifdef __cplusplus
16470 extern "C"
16471 #endif
16472 char procstat_open_sysctl ();
16474 main ()
16476 return procstat_open_sysctl ();
16478 return 0;
16480 _ACEOF
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_lib_procstat_procstat_open_sysctl=yes
16483 else
16484 ac_cv_lib_procstat_procstat_open_sysctl=no
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16491 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16492 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16494 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16496 PROCSTAT_LIBS="-lprocstat"
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16503 $as_echo_n "checking for -lodbc... " >&6; }
16504 if ${ac_cv_lib_soname_odbc+:} false; then :
16505 $as_echo_n "(cached) " >&6
16506 else
16507 ac_check_soname_save_LIBS=$LIBS
16508 LIBS="-lodbc $LIBS"
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16512 /* Override any GCC internal prototype to avoid an error.
16513 Use char because int might match the return type of a GCC
16514 builtin and then its argument prototype would still apply. */
16515 #ifdef __cplusplus
16516 extern "C"
16517 #endif
16518 char SQLConnect ();
16520 main ()
16522 return SQLConnect ();
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"; then :
16528 case "$LIBEXT" in
16529 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16530 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'` ;;
16531 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16532 if ${ac_cv_lib_soname_odbc:+false} :; then :
16533 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16534 fi ;;
16535 esac
16536 else
16537 ac_cv_lib_soname_odbc=
16539 rm -f core conftest.err conftest.$ac_objext \
16540 conftest$ac_exeext conftest.$ac_ext
16541 LIBS=$ac_check_soname_save_LIBS
16543 if ${ac_cv_lib_soname_odbc:+false} :; then :
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16545 $as_echo "not found" >&6; }
16546 cat >>confdefs.h <<_ACEOF
16547 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16548 _ACEOF
16550 else
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16552 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16554 cat >>confdefs.h <<_ACEOF
16555 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16556 _ACEOF
16561 if test "x$with_netapi" != "xno"
16562 then
16563 if ${NETAPI_CFLAGS:+false} :; then :
16564 if ${PKG_CONFIG+:} false; then :
16565 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16569 if ${NETAPI_LIBS:+false} :; then :
16570 if ${PKG_CONFIG+:} false; then :
16571 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16576 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16577 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16578 ac_save_CPPFLAGS=$CPPFLAGS
16579 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16581 $as_echo_n "checking for -lnetapi... " >&6; }
16582 if ${ac_cv_lib_soname_netapi+:} false; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 ac_check_soname_save_LIBS=$LIBS
16586 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16590 /* Override any GCC internal prototype to avoid an error.
16591 Use char because int might match the return type of a GCC
16592 builtin and then its argument prototype would still apply. */
16593 #ifdef __cplusplus
16594 extern "C"
16595 #endif
16596 char libnetapi_init ();
16598 main ()
16600 return libnetapi_init ();
16602 return 0;
16604 _ACEOF
16605 if ac_fn_c_try_link "$LINENO"; then :
16606 case "$LIBEXT" in
16607 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16608 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'` ;;
16609 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16610 if ${ac_cv_lib_soname_netapi:+false} :; then :
16611 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16612 fi ;;
16613 esac
16614 else
16615 ac_cv_lib_soname_netapi=
16617 rm -f core conftest.err conftest.$ac_objext \
16618 conftest$ac_exeext conftest.$ac_ext
16619 LIBS=$ac_check_soname_save_LIBS
16621 if ${ac_cv_lib_soname_netapi:+false} :; then :
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16623 $as_echo "not found" >&6; }
16624 cat >>confdefs.h <<_ACEOF
16625 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16626 _ACEOF
16628 else
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16630 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16632 cat >>confdefs.h <<_ACEOF
16633 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16634 _ACEOF
16638 CPPFLAGS=$ac_save_CPPFLAGS
16639 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16640 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16644 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16645 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16646 then
16647 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16650 if test "x$with_vulkan" != "xno"
16651 then
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16653 $as_echo_n "checking for -lvulkan... " >&6; }
16654 if ${ac_cv_lib_soname_vulkan+:} false; then :
16655 $as_echo_n "(cached) " >&6
16656 else
16657 ac_check_soname_save_LIBS=$LIBS
16658 LIBS="-lvulkan $LIBS"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16662 /* Override any GCC internal prototype to avoid an error.
16663 Use char because int might match the return type of a GCC
16664 builtin and then its argument prototype would still apply. */
16665 #ifdef __cplusplus
16666 extern "C"
16667 #endif
16668 char vkGetInstanceProcAddr ();
16670 main ()
16672 return vkGetInstanceProcAddr ();
16674 return 0;
16676 _ACEOF
16677 if ac_fn_c_try_link "$LINENO"; then :
16678 case "$LIBEXT" in
16679 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16680 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'` ;;
16681 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16682 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16683 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16684 fi ;;
16685 esac
16686 else
16687 ac_cv_lib_soname_vulkan=
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16691 LIBS=$ac_check_soname_save_LIBS
16693 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16695 $as_echo "not found" >&6; }
16697 else
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16699 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16701 cat >>confdefs.h <<_ACEOF
16702 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16703 _ACEOF
16707 if test "x$ac_cv_lib_soname_vulkan" = "x"
16708 then
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16710 $as_echo_n "checking for -lMoltenVK... " >&6; }
16711 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 ac_check_soname_save_LIBS=$LIBS
16715 LIBS="-lMoltenVK $LIBS"
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16722 #ifdef __cplusplus
16723 extern "C"
16724 #endif
16725 char vkGetInstanceProcAddr ();
16727 main ()
16729 return vkGetInstanceProcAddr ();
16731 return 0;
16733 _ACEOF
16734 if ac_fn_c_try_link "$LINENO"; then :
16735 case "$LIBEXT" in
16736 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16737 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'` ;;
16738 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16739 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16740 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16741 fi ;;
16742 esac
16743 else
16744 ac_cv_lib_soname_MoltenVK=
16746 rm -f core conftest.err conftest.$ac_objext \
16747 conftest$ac_exeext conftest.$ac_ext
16748 LIBS=$ac_check_soname_save_LIBS
16750 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16752 $as_echo "not found" >&6; }
16754 else
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16756 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16758 cat >>confdefs.h <<_ACEOF
16759 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16760 _ACEOF
16766 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16767 case "x$with_vulkan" in
16768 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16769 xno) ;;
16770 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16771 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16772 esac
16776 if test "x$with_vkd3d" != "xno"
16777 then
16778 if ${VKD3D_CFLAGS:+false} :; then :
16779 if ${PKG_CONFIG+:} false; then :
16780 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16784 if ${VKD3D_LIBS:+false} :; then :
16785 if ${PKG_CONFIG+:} false; then :
16786 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16791 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16792 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16793 ac_save_CPPFLAGS=$CPPFLAGS
16794 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16796 $as_echo_n "checking for -lvkd3d... " >&6; }
16797 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16798 $as_echo_n "(cached) " >&6
16799 else
16800 ac_check_soname_save_LIBS=$LIBS
16801 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16805 /* Override any GCC internal prototype to avoid an error.
16806 Use char because int might match the return type of a GCC
16807 builtin and then its argument prototype would still apply. */
16808 #ifdef __cplusplus
16809 extern "C"
16810 #endif
16811 char vkd3d_get_dxgi_format ();
16813 main ()
16815 return vkd3d_get_dxgi_format ();
16817 return 0;
16819 _ACEOF
16820 if ac_fn_c_try_link "$LINENO"; then :
16821 case "$LIBEXT" in
16822 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16823 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'` ;;
16824 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16825 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16826 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16827 fi ;;
16828 esac
16829 else
16830 ac_cv_lib_soname_vkd3d=
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16834 LIBS=$ac_check_soname_save_LIBS
16836 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16838 $as_echo "not found" >&6; }
16840 else
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16842 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16844 cat >>confdefs.h <<_ACEOF
16845 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16846 _ACEOF
16850 CPPFLAGS=$ac_save_CPPFLAGS
16851 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16852 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16855 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16856 case "x$with_vkd3d" in
16857 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16858 xno) ;;
16859 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16860 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16861 esac
16864 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16867 EXTRACFLAGS=""
16869 if test "x${GCC}" = "xyes"
16870 then
16871 EXTRACFLAGS="-Wall -pipe"
16873 saved_CFLAGS=$CFLAGS
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16875 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16876 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 ac_wine_try_cflags_saved=$CFLAGS
16880 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16883 int main(int argc, char **argv) { return 0; }
16884 _ACEOF
16885 if ac_fn_c_try_link "$LINENO"; then :
16886 ac_cv_cflags__Werror_unknown_warning_option=yes
16887 else
16888 ac_cv_cflags__Werror_unknown_warning_option=no
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16892 CFLAGS=$ac_wine_try_cflags_saved
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16895 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16896 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16897 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16900 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16901 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 ac_wine_try_cflags_saved=$CFLAGS
16905 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 int main(int argc, char **argv) { return 0; }
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"; then :
16911 ac_cv_cflags__Werror_unused_command_line_argument=yes
16912 else
16913 ac_cv_cflags__Werror_unused_command_line_argument=no
16915 rm -f core conftest.err conftest.$ac_objext \
16916 conftest$ac_exeext conftest.$ac_ext
16917 CFLAGS=$ac_wine_try_cflags_saved
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16920 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16921 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16922 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16925 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16926 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 ac_wine_try_cflags_saved=$CFLAGS
16930 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16933 int main(int argc, char **argv) { return 0; }
16934 _ACEOF
16935 if ac_fn_c_try_link "$LINENO"; then :
16936 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16937 else
16938 ac_cv_cflags__Werror_ignored_optimization_argument=no
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16942 CFLAGS=$ac_wine_try_cflags_saved
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16945 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16946 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16947 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16950 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16951 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 ac_wine_try_cflags_saved=$CFLAGS
16955 CFLAGS="$CFLAGS -fcf-protection=none"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 int main(int argc, char **argv) { return 0; }
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 ac_cv_cflags__fcf_protection_none=yes
16962 else
16963 ac_cv_cflags__fcf_protection_none=no
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 CFLAGS=$ac_wine_try_cflags_saved
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16970 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16971 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16972 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16975 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16976 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979 ac_wine_try_cflags_saved=$CFLAGS
16980 CFLAGS="$CFLAGS -fno-stack-protector"
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 int main(int argc, char **argv) { return 0; }
16984 _ACEOF
16985 if ac_fn_c_try_link "$LINENO"; then :
16986 ac_cv_cflags__fno_stack_protector=yes
16987 else
16988 ac_cv_cflags__fno_stack_protector=no
16990 rm -f core conftest.err conftest.$ac_objext \
16991 conftest$ac_exeext conftest.$ac_ext
16992 CFLAGS=$ac_wine_try_cflags_saved
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16995 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16996 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16997 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17000 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17001 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 ac_wine_try_cflags_saved=$CFLAGS
17005 CFLAGS="$CFLAGS -fno-strict-aliasing"
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 int main(int argc, char **argv) { return 0; }
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 ac_cv_cflags__fno_strict_aliasing=yes
17012 else
17013 ac_cv_cflags__fno_strict_aliasing=no
17015 rm -f core conftest.err conftest.$ac_objext \
17016 conftest$ac_exeext conftest.$ac_ext
17017 CFLAGS=$ac_wine_try_cflags_saved
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17020 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17021 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17022 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17025 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17026 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_wine_try_cflags_saved=$CFLAGS
17030 CFLAGS="$CFLAGS -fexcess-precision=standard"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 int main(int argc, char **argv) { return 0; }
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 ac_cv_cflags__fexcess_precision_standard=yes
17037 else
17038 ac_cv_cflags__fexcess_precision_standard=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17042 CFLAGS=$ac_wine_try_cflags_saved
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17045 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17046 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17047 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17051 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17052 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 ac_wine_try_cflags_saved=$CFLAGS
17056 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 int main(int argc, char **argv) { return 0; }
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_cflags__Wdeclaration_after_statement=yes
17063 else
17064 ac_cv_cflags__Wdeclaration_after_statement=no
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 CFLAGS=$ac_wine_try_cflags_saved
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17071 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17072 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17073 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17076 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17077 if ${ac_cv_cflags__Wempty_body+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -Wempty-body"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__Wempty_body=yes
17088 else
17089 ac_cv_cflags__Wempty_body=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17096 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17097 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17098 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17101 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17102 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -Wignored-qualifiers"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__Wignored_qualifiers=yes
17113 else
17114 ac_cv_cflags__Wignored_qualifiers=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17121 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17122 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17123 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17126 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17127 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__Wpacked_not_aligned=yes
17138 else
17139 ac_cv_cflags__Wpacked_not_aligned=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17146 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17147 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17151 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17152 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Wpragma-pack"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Wpragma_pack=yes
17163 else
17164 ac_cv_cflags__Wpragma_pack=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17171 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17172 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17176 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17177 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wshift-overflow=2"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wshift_overflow_2=yes
17188 else
17189 ac_cv_cflags__Wshift_overflow_2=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17196 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17197 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17201 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17202 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_wine_try_cflags_saved=$CFLAGS
17206 CFLAGS="$CFLAGS -Wstrict-prototypes"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 int main(int argc, char **argv) { return 0; }
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_cflags__Wstrict_prototypes=yes
17213 else
17214 ac_cv_cflags__Wstrict_prototypes=no
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 CFLAGS=$ac_wine_try_cflags_saved
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17221 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17222 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17223 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17226 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17227 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_wine_try_cflags_saved=$CFLAGS
17231 CFLAGS="$CFLAGS -Wtype-limits"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int main(int argc, char **argv) { return 0; }
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_cflags__Wtype_limits=yes
17238 else
17239 ac_cv_cflags__Wtype_limits=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 CFLAGS=$ac_wine_try_cflags_saved
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17246 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17247 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17248 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17251 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17252 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Wunused_but_set_parameter=yes
17263 else
17264 ac_cv_cflags__Wunused_but_set_parameter=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17271 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17272 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17273 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17276 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17277 if ${ac_cv_cflags__Wvla+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wvla"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wvla=yes
17288 else
17289 ac_cv_cflags__Wvla=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17296 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17297 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17298 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17301 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17302 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wwrite-strings"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wwrite_strings=yes
17313 else
17314 ac_cv_cflags__Wwrite_strings=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17321 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17322 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17323 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17327 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17328 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 ac_wine_try_cflags_saved=$CFLAGS
17332 CFLAGS="$CFLAGS -Wpointer-arith"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 int main(int argc, char **argv) { return 0; }
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"; then :
17338 ac_cv_cflags__Wpointer_arith=yes
17339 else
17340 ac_cv_cflags__Wpointer_arith=no
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 CFLAGS=$ac_wine_try_cflags_saved
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17347 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17348 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17349 saved_string_h_CFLAGS=$CFLAGS
17350 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17352 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17353 if ${ac_cv_c_string_h_warnings+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 #include <string.h>
17360 main ()
17364 return 0;
17366 _ACEOF
17367 if ac_fn_c_try_compile "$LINENO"; then :
17368 ac_cv_c_string_h_warnings=no
17369 else
17370 ac_cv_c_string_h_warnings=yes
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17375 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17376 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17377 CFLAGS=$saved_string_h_CFLAGS
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17381 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17382 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 ac_wine_try_cflags_saved=$CFLAGS
17386 CFLAGS="$CFLAGS -Wlogical-op"
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 int main(int argc, char **argv) { return 0; }
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"; then :
17392 ac_cv_cflags__Wlogical_op=yes
17393 else
17394 ac_cv_cflags__Wlogical_op=no
17396 rm -f core conftest.err conftest.$ac_objext \
17397 conftest$ac_exeext conftest.$ac_ext
17398 CFLAGS=$ac_wine_try_cflags_saved
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17401 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17402 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17403 saved_string_h_CFLAGS=$CFLAGS
17404 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17406 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17407 if ${ac_cv_c_logicalop_noisy+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #include <string.h>
17413 char*f(const char *h,char n) {return strchr(h,n);}
17415 main ()
17419 return 0;
17421 _ACEOF
17422 if ac_fn_c_try_compile "$LINENO"; then :
17423 ac_cv_c_logicalop_noisy=no
17424 else
17425 ac_cv_c_logicalop_noisy=yes
17427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17430 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17431 CFLAGS=$saved_string_h_CFLAGS
17432 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17435 for ac_flag in $CFLAGS; do
17436 case $ac_flag in
17437 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17438 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17439 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17442 ac_wine_try_cflags_saved=$CFLAGS
17443 CFLAGS="$CFLAGS -gdwarf-2"
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17446 int main(int argc, char **argv) { return 0; }
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"; then :
17449 ac_cv_cflags__gdwarf_2=yes
17450 else
17451 ac_cv_cflags__gdwarf_2=no
17453 rm -f core conftest.err conftest.$ac_objext \
17454 conftest$ac_exeext conftest.$ac_ext
17455 CFLAGS=$ac_wine_try_cflags_saved
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17458 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17459 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17460 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17463 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17464 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17467 ac_wine_try_cflags_saved=$CFLAGS
17468 CFLAGS="$CFLAGS -gstrict-dwarf"
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471 int main(int argc, char **argv) { return 0; }
17472 _ACEOF
17473 if ac_fn_c_try_link "$LINENO"; then :
17474 ac_cv_cflags__gstrict_dwarf=yes
17475 else
17476 ac_cv_cflags__gstrict_dwarf=no
17478 rm -f core conftest.err conftest.$ac_objext \
17479 conftest$ac_exeext conftest.$ac_ext
17480 CFLAGS=$ac_wine_try_cflags_saved
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17483 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17484 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17485 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17486 fi ;;
17487 esac
17488 done
17490 MSVCRTFLAGS=""
17492 case $host_os in
17493 mingw32*) ;;
17494 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17495 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17496 if ${ac_cv_cflags__fno_builtin+:} false; then :
17497 $as_echo_n "(cached) " >&6
17498 else
17499 ac_wine_try_cflags_saved=$CFLAGS
17500 CFLAGS="$CFLAGS -fno-builtin"
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 int main(int argc, char **argv) { return 0; }
17504 _ACEOF
17505 if ac_fn_c_try_link "$LINENO"; then :
17506 ac_cv_cflags__fno_builtin=yes
17507 else
17508 ac_cv_cflags__fno_builtin=no
17510 rm -f core conftest.err conftest.$ac_objext \
17511 conftest$ac_exeext conftest.$ac_ext
17512 CFLAGS=$ac_wine_try_cflags_saved
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17515 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17516 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17517 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17520 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17521 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524 ac_wine_try_cflags_saved=$CFLAGS
17525 CFLAGS="$CFLAGS -fshort-wchar"
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 int main(int argc, char **argv) { return 0; }
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"; then :
17531 ac_cv_cflags__fshort_wchar=yes
17532 else
17533 ac_cv_cflags__fshort_wchar=no
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17537 CFLAGS=$ac_wine_try_cflags_saved
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17540 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17541 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17542 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17543 fi ;;
17544 esac
17546 case $host_cpu in
17547 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17548 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17549 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 ac_wine_try_cflags_saved=$CFLAGS
17553 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
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__fno_omit_frame_pointer=yes
17560 else
17561 ac_cv_cflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
17568 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17569 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17570 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17571 fi ;;
17572 *x86_64*)
17573 case $host_os in
17574 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17575 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17576 if ${ac_cv_cflags__Wno_format+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 ac_wine_try_cflags_saved=$CFLAGS
17580 CFLAGS="$CFLAGS -Wno-format"
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 int main(int argc, char **argv) { return 0; }
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_cflags__Wno_format=yes
17587 else
17588 ac_cv_cflags__Wno_format=no
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17592 CFLAGS=$ac_wine_try_cflags_saved
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17595 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17596 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17597 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17598 fi ;;
17599 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17600 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17601 if ${ac_cv_cflags__mabi_ms+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 ac_wine_try_cflags_saved=$CFLAGS
17605 CFLAGS="$CFLAGS -mabi=ms"
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 int main(int argc, char **argv) { return 0; }
17609 _ACEOF
17610 if ac_fn_c_try_link "$LINENO"; then :
17611 ac_cv_cflags__mabi_ms=yes
17612 else
17613 ac_cv_cflags__mabi_ms=no
17615 rm -f core conftest.err conftest.$ac_objext \
17616 conftest$ac_exeext conftest.$ac_ext
17617 CFLAGS=$ac_wine_try_cflags_saved
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17620 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17621 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17622 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17623 fi ;;
17624 esac ;;
17625 esac
17627 CFLAGS=$saved_CFLAGS
17629 if test "x$enable_werror" = "xyes"
17630 then
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17632 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17633 if ${ac_cv_cflags__Werror+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 ac_wine_try_cflags_saved=$CFLAGS
17637 CFLAGS="$CFLAGS -Werror"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 int main(int argc, char **argv) { return 0; }
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"; then :
17643 ac_cv_cflags__Werror=yes
17644 else
17645 ac_cv_cflags__Werror=no
17647 rm -f core conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17649 CFLAGS=$ac_wine_try_cflags_saved
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17652 $as_echo "$ac_cv_cflags__Werror" >&6; }
17653 if test "x$ac_cv_cflags__Werror" = xyes; then :
17654 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17661 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17662 if ${ac_cv_c_fortify_enabled+:} false; then :
17663 $as_echo_n "(cached) " >&6
17664 else
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <string.h>
17669 main ()
17671 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17672 #error Fortify enabled
17673 #endif
17675 return 0;
17677 _ACEOF
17678 if ac_fn_c_try_compile "$LINENO"; then :
17679 ac_cv_c_fortify_enabled=no
17680 else
17681 ac_cv_c_fortify_enabled=yes
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17686 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17687 if test "$ac_cv_c_fortify_enabled" = yes
17688 then
17689 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17694 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17695 if ${ac_cv_c_cfi_support+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17702 main ()
17706 return 0;
17708 _ACEOF
17709 if ac_fn_c_try_compile "$LINENO"; then :
17710 ac_cv_c_cfi_support="yes"
17711 else
17712 ac_cv_c_cfi_support="no"
17714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17717 $as_echo "$ac_cv_c_cfi_support" >&6; }
17718 if test "$ac_cv_c_cfi_support" = "yes"
17719 then
17720 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17721 else
17722 if test "x$enable_win64" = "xyes"
17723 then
17724 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17729 case $build_os in
17730 cygwin*|mingw32*) TOOLSEXT=".exe"
17732 esac
17734 case $host_os in
17735 linux*)
17736 case $host_cpu in
17737 *i[3456789]86*|x86_64*|*aarch64*)
17738 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17739 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17741 esac
17743 esac
17746 ac_save_CFLAGS="$CFLAGS"
17747 CFLAGS="$CFLAGS $BUILTINFLAG"
17748 for ac_func in \
17749 __res_get_state \
17750 __res_getservers \
17751 _spawnvp \
17752 epoll_create \
17753 ffs \
17754 finitef \
17755 fnmatch \
17756 fork \
17757 fpclass \
17758 fstatfs \
17759 fstatvfs \
17760 futimens \
17761 futimes \
17762 futimesat \
17763 getattrlist \
17764 getauxval \
17765 getifaddrs \
17766 getopt_long_only \
17767 kqueue \
17768 lstat \
17769 mach_continuous_time \
17770 pipe2 \
17771 poll \
17772 port_create \
17773 prctl \
17774 pread \
17775 proc_pidinfo \
17776 pwrite \
17777 readdir \
17778 readlink \
17779 sched_yield \
17780 select \
17781 setproctitle \
17782 setprogname \
17783 settimeofday \
17784 sigprocmask \
17785 statfs \
17786 statvfs \
17787 strnlen \
17788 strtold \
17789 symlink \
17790 sysinfo \
17791 tcdrain \
17792 thr_kill2 \
17793 timegm \
17794 usleep
17796 do :
17797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17800 cat >>confdefs.h <<_ACEOF
17801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17802 _ACEOF
17805 done
17807 CFLAGS="$ac_save_CFLAGS"
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17810 $as_echo_n "checking for library containing dlopen... " >&6; }
17811 if ${ac_cv_search_dlopen+:} false; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814 ac_func_search_save_LIBS=$LIBS
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17818 /* Override any GCC internal prototype to avoid an error.
17819 Use char because int might match the return type of a GCC
17820 builtin and then its argument prototype would still apply. */
17821 #ifdef __cplusplus
17822 extern "C"
17823 #endif
17824 char dlopen ();
17826 main ()
17828 return dlopen ();
17830 return 0;
17832 _ACEOF
17833 for ac_lib in '' dl; do
17834 if test -z "$ac_lib"; then
17835 ac_res="none required"
17836 else
17837 ac_res=-l$ac_lib
17838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17840 if ac_fn_c_try_link "$LINENO"; then :
17841 ac_cv_search_dlopen=$ac_res
17843 rm -f core conftest.err conftest.$ac_objext \
17844 conftest$ac_exeext
17845 if ${ac_cv_search_dlopen+:} false; then :
17846 break
17848 done
17849 if ${ac_cv_search_dlopen+:} false; then :
17851 else
17852 ac_cv_search_dlopen=no
17854 rm conftest.$ac_ext
17855 LIBS=$ac_func_search_save_LIBS
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17858 $as_echo "$ac_cv_search_dlopen" >&6; }
17859 ac_res=$ac_cv_search_dlopen
17860 if test "$ac_res" != no; then :
17861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17865 ac_wine_check_funcs_save_LIBS="$LIBS"
17866 LIBS="$LIBS $DL_LIBS"
17867 for ac_func in dladdr dlinfo
17868 do :
17869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17871 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17872 cat >>confdefs.h <<_ACEOF
17873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17874 _ACEOF
17877 done
17879 LIBS="$ac_wine_check_funcs_save_LIBS"
17881 if test "$ac_cv_func_poll" = no
17882 then
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17884 $as_echo_n "checking for poll in -lpoll... " >&6; }
17885 if ${ac_cv_lib_poll_poll+:} false; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17888 ac_check_lib_save_LIBS=$LIBS
17889 LIBS="-lpoll $LIBS"
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17893 /* Override any GCC internal prototype to avoid an error.
17894 Use char because int might match the return type of a GCC
17895 builtin and then its argument prototype would still apply. */
17896 #ifdef __cplusplus
17897 extern "C"
17898 #endif
17899 char poll ();
17901 main ()
17903 return poll ();
17905 return 0;
17907 _ACEOF
17908 if ac_fn_c_try_link "$LINENO"; then :
17909 ac_cv_lib_poll_poll=yes
17910 else
17911 ac_cv_lib_poll_poll=no
17913 rm -f core conftest.err conftest.$ac_objext \
17914 conftest$ac_exeext conftest.$ac_ext
17915 LIBS=$ac_check_lib_save_LIBS
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17918 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17919 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17920 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17921 POLL_LIBS="-lpoll"
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17928 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17929 if ${ac_cv_search_gethostbyname+:} false; then :
17930 $as_echo_n "(cached) " >&6
17931 else
17932 ac_func_search_save_LIBS=$LIBS
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17936 /* Override any GCC internal prototype to avoid an error.
17937 Use char because int might match the return type of a GCC
17938 builtin and then its argument prototype would still apply. */
17939 #ifdef __cplusplus
17940 extern "C"
17941 #endif
17942 char gethostbyname ();
17944 main ()
17946 return gethostbyname ();
17948 return 0;
17950 _ACEOF
17951 for ac_lib in '' nsl; do
17952 if test -z "$ac_lib"; then
17953 ac_res="none required"
17954 else
17955 ac_res=-l$ac_lib
17956 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17958 if ac_fn_c_try_link "$LINENO"; then :
17959 ac_cv_search_gethostbyname=$ac_res
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext
17963 if ${ac_cv_search_gethostbyname+:} false; then :
17964 break
17966 done
17967 if ${ac_cv_search_gethostbyname+:} false; then :
17969 else
17970 ac_cv_search_gethostbyname=no
17972 rm conftest.$ac_ext
17973 LIBS=$ac_func_search_save_LIBS
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17976 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17977 ac_res=$ac_cv_search_gethostbyname
17978 if test "$ac_res" != no; then :
17979 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17985 $as_echo_n "checking for library containing connect... " >&6; }
17986 if ${ac_cv_search_connect+:} false; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989 ac_func_search_save_LIBS=$LIBS
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
17996 #ifdef __cplusplus
17997 extern "C"
17998 #endif
17999 char connect ();
18001 main ()
18003 return connect ();
18005 return 0;
18007 _ACEOF
18008 for ac_lib in '' socket; do
18009 if test -z "$ac_lib"; then
18010 ac_res="none required"
18011 else
18012 ac_res=-l$ac_lib
18013 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18015 if ac_fn_c_try_link "$LINENO"; then :
18016 ac_cv_search_connect=$ac_res
18018 rm -f core conftest.err conftest.$ac_objext \
18019 conftest$ac_exeext
18020 if ${ac_cv_search_connect+:} false; then :
18021 break
18023 done
18024 if ${ac_cv_search_connect+:} false; then :
18026 else
18027 ac_cv_search_connect=no
18029 rm conftest.$ac_ext
18030 LIBS=$ac_func_search_save_LIBS
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18033 $as_echo "$ac_cv_search_connect" >&6; }
18034 ac_res=$ac_cv_search_connect
18035 if test "$ac_res" != no; then :
18036 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18042 $as_echo_n "checking for library containing inet_aton... " >&6; }
18043 if ${ac_cv_search_inet_aton+:} false; then :
18044 $as_echo_n "(cached) " >&6
18045 else
18046 ac_func_search_save_LIBS=$LIBS
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18050 /* Override any GCC internal prototype to avoid an error.
18051 Use char because int might match the return type of a GCC
18052 builtin and then its argument prototype would still apply. */
18053 #ifdef __cplusplus
18054 extern "C"
18055 #endif
18056 char inet_aton ();
18058 main ()
18060 return inet_aton ();
18062 return 0;
18064 _ACEOF
18065 for ac_lib in '' resolv; do
18066 if test -z "$ac_lib"; then
18067 ac_res="none required"
18068 else
18069 ac_res=-l$ac_lib
18070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18072 if ac_fn_c_try_link "$LINENO"; then :
18073 ac_cv_search_inet_aton=$ac_res
18075 rm -f core conftest.err conftest.$ac_objext \
18076 conftest$ac_exeext
18077 if ${ac_cv_search_inet_aton+:} false; then :
18078 break
18080 done
18081 if ${ac_cv_search_inet_aton+:} false; then :
18083 else
18084 ac_cv_search_inet_aton=no
18086 rm conftest.$ac_ext
18087 LIBS=$ac_func_search_save_LIBS
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18090 $as_echo "$ac_cv_search_inet_aton" >&6; }
18091 ac_res=$ac_cv_search_inet_aton
18092 if test "$ac_res" != no; then :
18093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18098 for ac_func in \
18099 getaddrinfo \
18100 getnameinfo \
18101 getnetbyname \
18102 getprotobyname \
18103 getprotobynumber \
18104 getservbyport \
18105 inet_addr \
18106 inet_network \
18107 inet_ntop \
18108 inet_pton \
18110 do :
18111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18114 cat >>confdefs.h <<_ACEOF
18115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18116 _ACEOF
18119 done
18122 case $host_os in
18123 darwin*|macosx*) ;;
18124 *) ac_save_LIBS=$LIBS
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18126 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18127 if ${ac_cv_search_clock_gettime+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 ac_func_search_save_LIBS=$LIBS
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18134 /* Override any GCC internal prototype to avoid an error.
18135 Use char because int might match the return type of a GCC
18136 builtin and then its argument prototype would still apply. */
18137 #ifdef __cplusplus
18138 extern "C"
18139 #endif
18140 char clock_gettime ();
18142 main ()
18144 return clock_gettime ();
18146 return 0;
18148 _ACEOF
18149 for ac_lib in '' rt; do
18150 if test -z "$ac_lib"; then
18151 ac_res="none required"
18152 else
18153 ac_res=-l$ac_lib
18154 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18156 if ac_fn_c_try_link "$LINENO"; then :
18157 ac_cv_search_clock_gettime=$ac_res
18159 rm -f core conftest.err conftest.$ac_objext \
18160 conftest$ac_exeext
18161 if ${ac_cv_search_clock_gettime+:} false; then :
18162 break
18164 done
18165 if ${ac_cv_search_clock_gettime+:} false; then :
18167 else
18168 ac_cv_search_clock_gettime=no
18170 rm conftest.$ac_ext
18171 LIBS=$ac_func_search_save_LIBS
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18174 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18175 ac_res=$ac_cv_search_clock_gettime
18176 if test "$ac_res" != no; then :
18177 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18179 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18181 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18185 LIBS=$ac_save_LIBS
18187 esac
18189 if test "x$with_ldap" != "xno"
18190 then
18191 if ${LDAP_CFLAGS:+false} :; then :
18192 if ${PKG_CONFIG+:} false; then :
18193 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18197 if ${LDAP_LIBS:+false} :; then :
18198 if ${PKG_CONFIG+:} false; then :
18199 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18203 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18204 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18205 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18206 ac_save_CPPFLAGS=$CPPFLAGS
18207 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18208 for ac_header in ldap.h lber.h
18209 do :
18210 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18211 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18213 cat >>confdefs.h <<_ACEOF
18214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18215 _ACEOF
18219 done
18221 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18222 then
18223 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18225 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18227 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18228 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18229 $as_echo_n "(cached) " >&6
18230 else
18231 ac_check_lib_save_LIBS=$LIBS
18232 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18236 /* Override any GCC internal prototype to avoid an error.
18237 Use char because int might match the return type of a GCC
18238 builtin and then its argument prototype would still apply. */
18239 #ifdef __cplusplus
18240 extern "C"
18241 #endif
18242 char ldap_initialize ();
18244 main ()
18246 return ldap_initialize ();
18248 return 0;
18250 _ACEOF
18251 if ac_fn_c_try_link "$LINENO"; then :
18252 ac_cv_lib_ldap_r_ldap_initialize=yes
18253 else
18254 ac_cv_lib_ldap_r_ldap_initialize=no
18256 rm -f core conftest.err conftest.$ac_objext \
18257 conftest$ac_exeext conftest.$ac_ext
18258 LIBS=$ac_check_lib_save_LIBS
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18261 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18262 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18264 $as_echo_n "checking for ber_init in -llber... " >&6; }
18265 if ${ac_cv_lib_lber_ber_init+:} false; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18268 ac_check_lib_save_LIBS=$LIBS
18269 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18273 /* Override any GCC internal prototype to avoid an error.
18274 Use char because int might match the return type of a GCC
18275 builtin and then its argument prototype would still apply. */
18276 #ifdef __cplusplus
18277 extern "C"
18278 #endif
18279 char ber_init ();
18281 main ()
18283 return ber_init ();
18285 return 0;
18287 _ACEOF
18288 if ac_fn_c_try_link "$LINENO"; then :
18289 ac_cv_lib_lber_ber_init=yes
18290 else
18291 ac_cv_lib_lber_ber_init=no
18293 rm -f core conftest.err conftest.$ac_objext \
18294 conftest$ac_exeext conftest.$ac_ext
18295 LIBS=$ac_check_lib_save_LIBS
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18298 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18299 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18301 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18303 else
18304 LDAP_LIBS=""
18307 else
18308 LDAP_LIBS=""
18311 else
18312 LDAP_LIBS=""
18315 ac_wine_check_funcs_save_LIBS="$LIBS"
18316 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18317 for ac_func in \
18318 ldap_count_references \
18319 ldap_first_reference \
18320 ldap_next_reference \
18321 ldap_parse_reference \
18322 ldap_parse_sort_control \
18323 ldap_parse_sortresponse_control \
18324 ldap_parse_vlv_control \
18325 ldap_parse_vlvresponse_control
18326 do :
18327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18330 cat >>confdefs.h <<_ACEOF
18331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18332 _ACEOF
18335 done
18337 LIBS="$ac_wine_check_funcs_save_LIBS"
18338 else
18339 LDAP_LIBS=""
18341 CPPFLAGS=$ac_save_CPPFLAGS
18342 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18343 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18346 if test "x$LDAP_LIBS" = "x"; then :
18347 case "x$with_ldap" in
18348 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18349 xno) ;;
18350 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18351 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18352 esac
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18357 $as_echo_n "checking for sched_setaffinity... " >&6; }
18358 if ${wine_cv_have_sched_setaffinity+:} false; then :
18359 $as_echo_n "(cached) " >&6
18360 else
18361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18363 #define _GNU_SOURCE
18364 #include <sched.h>
18366 main ()
18368 sched_setaffinity(0, 0, 0);
18370 return 0;
18372 _ACEOF
18373 if ac_fn_c_try_link "$LINENO"; then :
18374 wine_cv_have_sched_setaffinity=yes
18375 else
18376 wine_cv_have_sched_setaffinity=no
18378 rm -f core conftest.err conftest.$ac_objext \
18379 conftest$ac_exeext conftest.$ac_ext
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18382 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18383 if test "$wine_cv_have_sched_setaffinity" = "yes"
18384 then
18386 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18391 $as_echo_n "checking for fallocate... " >&6; }
18392 if ${wine_cv_have_fallocate+:} false; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #define _GNU_SOURCE
18398 #include <fcntl.h>
18400 main ()
18402 fallocate(-1, 0, 0, 0);
18404 return 0;
18406 _ACEOF
18407 if ac_fn_c_try_link "$LINENO"; then :
18408 wine_cv_have_fallocate=yes
18409 else
18410 wine_cv_have_fallocate=no
18412 rm -f core conftest.err conftest.$ac_objext \
18413 conftest$ac_exeext conftest.$ac_ext
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18416 $as_echo "$wine_cv_have_fallocate" >&6; }
18417 if test "$wine_cv_have_fallocate" = "yes"
18418 then
18420 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18426 $as_echo_n "checking for inline... " >&6; }
18427 if ${ac_cv_c_inline+:} false; then :
18428 $as_echo_n "(cached) " >&6
18429 else
18430 ac_cv_c_inline=no
18431 for ac_kw in inline __inline__ __inline; do
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18434 #ifndef __cplusplus
18435 typedef int foo_t;
18436 static $ac_kw foo_t static_foo () {return 0; }
18437 $ac_kw foo_t foo () {return 0; }
18438 #endif
18440 _ACEOF
18441 if ac_fn_c_try_compile "$LINENO"; then :
18442 ac_cv_c_inline=$ac_kw
18444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18445 test "$ac_cv_c_inline" != no && break
18446 done
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18450 $as_echo "$ac_cv_c_inline" >&6; }
18452 case $ac_cv_c_inline in
18453 inline | yes) ;;
18455 case $ac_cv_c_inline in
18456 no) ac_val=;;
18457 *) ac_val=$ac_cv_c_inline;;
18458 esac
18459 cat >>confdefs.h <<_ACEOF
18460 #ifndef __cplusplus
18461 #define inline $ac_val
18462 #endif
18463 _ACEOF
18465 esac
18467 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18468 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18470 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_FSBLKCNT_T 1
18472 _ACEOF
18476 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18477 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18479 cat >>confdefs.h <<_ACEOF
18480 #define HAVE_FSFILCNT_T 1
18481 _ACEOF
18486 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18487 #include <signal.h>
18489 if test "x$ac_cv_type_sigset_t" = xyes; then :
18491 cat >>confdefs.h <<_ACEOF
18492 #define HAVE_SIGSET_T 1
18493 _ACEOF
18498 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18500 if test "x$ac_cv_type_request_sense" = xyes; then :
18502 cat >>confdefs.h <<_ACEOF
18503 #define HAVE_REQUEST_SENSE 1
18504 _ACEOF
18510 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18511 #ifdef HAVE_SYS_SOCKET_H
18512 #include <sys/socket.h>
18513 #endif
18514 #ifdef HAVE_SYS_SOCKETVAR_H
18515 #include <sys/socketvar.h>
18516 #endif
18517 #ifdef HAVE_NET_ROUTE_H
18518 #include <net/route.h>
18519 #endif
18520 #ifdef HAVE_NETINET_IN_H
18521 #include <netinet/in.h>
18522 #endif
18523 #ifdef HAVE_NETINET_IN_SYSTM_H
18524 #include <netinet/in_systm.h>
18525 #endif
18526 #ifdef HAVE_NETINET_IP_H
18527 #include <netinet/ip.h>
18528 #endif
18529 #ifdef HAVE_NETINET_IN_PCB_H
18530 #include <netinet/in_pcb.h>
18531 #endif
18533 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18535 cat >>confdefs.h <<_ACEOF
18536 #define HAVE_STRUCT_XINPGEN 1
18537 _ACEOF
18543 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18544 #include <linux/input.h>
18545 #endif
18547 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18549 cat >>confdefs.h <<_ACEOF
18550 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18551 _ACEOF
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18558 $as_echo_n "checking for if_nameindex... " >&6; }
18559 if ${wine_cv_have_if_nameindex+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 #ifdef HAVE_SYS_TYPES_H
18565 #include <sys/types.h>
18566 #endif
18567 #ifdef HAVE_SYS_SOCKET_H
18568 #include <sys/socket.h>
18569 #endif
18570 #ifdef HAVE_NET_IF_H
18571 # include <net/if.h>
18572 #endif
18574 main ()
18576 struct if_nameindex *p = if_nameindex(); return p->if_index;
18578 return 0;
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"; then :
18582 wine_cv_have_if_nameindex=yes
18583 else
18584 wine_cv_have_if_nameindex=no
18586 rm -f core conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18590 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18591 if test "$wine_cv_have_if_nameindex" = "yes"
18592 then
18594 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18599 $as_echo_n "checking for sigaddset... " >&6; }
18600 if ${wine_cv_have_sigaddset+:} false; then :
18601 $as_echo_n "(cached) " >&6
18602 else
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #include <signal.h>
18607 main ()
18609 sigset_t set; sigaddset(&set,SIGTERM);
18611 return 0;
18613 _ACEOF
18614 if ac_fn_c_try_link "$LINENO"; then :
18615 wine_cv_have_sigaddset=yes
18616 else
18617 wine_cv_have_sigaddset=no
18619 rm -f core conftest.err conftest.$ac_objext \
18620 conftest$ac_exeext conftest.$ac_ext
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18623 $as_echo "$wine_cv_have_sigaddset" >&6; }
18624 if test "$wine_cv_have_sigaddset" = "yes"
18625 then
18627 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18633 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18634 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639 #include <netdb.h>
18641 main ()
18644 char *name=0;
18645 struct hostent he;
18646 struct hostent *result;
18647 char *buf=0;
18648 int bufsize=0;
18649 int errnr;
18650 char *addr=0;
18651 int addrlen=0;
18652 int addrtype=0;
18653 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18654 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_c_try_link "$LINENO"; then :
18661 wine_cv_linux_gethostbyname_r_6=yes
18662 else
18663 wine_cv_linux_gethostbyname_r_6=no
18666 rm -f core conftest.err conftest.$ac_objext \
18667 conftest$ac_exeext conftest.$ac_ext
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18671 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18672 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18673 then
18675 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18679 if test "$ac_cv_header_linux_joystick_h" = "yes"
18680 then
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18682 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18683 if ${wine_cv_linux_joystick_22_api+:} false; then :
18684 $as_echo_n "(cached) " >&6
18685 else
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18689 #include <sys/ioctl.h>
18690 #include <sys/types.h>
18691 #include <linux/joystick.h>
18693 struct js_event blub;
18694 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18695 #error "no 2.2 header"
18696 #endif
18699 main ()
18701 /*empty*/
18703 return 0;
18705 _ACEOF
18706 if ac_fn_c_try_compile "$LINENO"; then :
18707 wine_cv_linux_joystick_22_api=yes
18708 else
18709 wine_cv_linux_joystick_22_api=no
18711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18715 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18716 if test "$wine_cv_linux_joystick_22_api" = "yes"
18717 then
18719 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18725 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18726 #ifdef HAVE_SYS_PARAM_H
18727 # include <sys/param.h>
18728 #endif
18729 #ifdef HAVE_SYS_MOUNT_H
18730 # include <sys/mount.h>
18731 #endif
18732 #ifdef HAVE_SYS_VFS_H
18733 # include <sys/vfs.h>
18734 #endif
18735 #ifdef HAVE_SYS_STATFS_H
18736 # include <sys/statfs.h>
18737 #endif
18739 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18741 cat >>confdefs.h <<_ACEOF
18742 #define HAVE_STRUCT_STATFS_F_BFREE 1
18743 _ACEOF
18747 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18748 #ifdef HAVE_SYS_PARAM_H
18749 # include <sys/param.h>
18750 #endif
18751 #ifdef HAVE_SYS_MOUNT_H
18752 # include <sys/mount.h>
18753 #endif
18754 #ifdef HAVE_SYS_VFS_H
18755 # include <sys/vfs.h>
18756 #endif
18757 #ifdef HAVE_SYS_STATFS_H
18758 # include <sys/statfs.h>
18759 #endif
18761 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18765 _ACEOF
18769 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18770 #ifdef HAVE_SYS_PARAM_H
18771 # include <sys/param.h>
18772 #endif
18773 #ifdef HAVE_SYS_MOUNT_H
18774 # include <sys/mount.h>
18775 #endif
18776 #ifdef HAVE_SYS_VFS_H
18777 # include <sys/vfs.h>
18778 #endif
18779 #ifdef HAVE_SYS_STATFS_H
18780 # include <sys/statfs.h>
18781 #endif
18783 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18787 _ACEOF
18791 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18792 #ifdef HAVE_SYS_PARAM_H
18793 # include <sys/param.h>
18794 #endif
18795 #ifdef HAVE_SYS_MOUNT_H
18796 # include <sys/mount.h>
18797 #endif
18798 #ifdef HAVE_SYS_VFS_H
18799 # include <sys/vfs.h>
18800 #endif
18801 #ifdef HAVE_SYS_STATFS_H
18802 # include <sys/statfs.h>
18803 #endif
18805 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18807 cat >>confdefs.h <<_ACEOF
18808 #define HAVE_STRUCT_STATFS_F_FFREE 1
18809 _ACEOF
18813 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18814 #ifdef HAVE_SYS_PARAM_H
18815 # include <sys/param.h>
18816 #endif
18817 #ifdef HAVE_SYS_MOUNT_H
18818 # include <sys/mount.h>
18819 #endif
18820 #ifdef HAVE_SYS_VFS_H
18821 # include <sys/vfs.h>
18822 #endif
18823 #ifdef HAVE_SYS_STATFS_H
18824 # include <sys/statfs.h>
18825 #endif
18827 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18831 _ACEOF
18835 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18836 #ifdef HAVE_SYS_PARAM_H
18837 # include <sys/param.h>
18838 #endif
18839 #ifdef HAVE_SYS_MOUNT_H
18840 # include <sys/mount.h>
18841 #endif
18842 #ifdef HAVE_SYS_VFS_H
18843 # include <sys/vfs.h>
18844 #endif
18845 #ifdef HAVE_SYS_STATFS_H
18846 # include <sys/statfs.h>
18847 #endif
18849 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18851 cat >>confdefs.h <<_ACEOF
18852 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18853 _ACEOF
18859 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18860 #include <sys/statvfs.h>
18861 #endif
18863 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18865 cat >>confdefs.h <<_ACEOF
18866 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18867 _ACEOF
18873 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18874 #include <dirent.h>
18875 #endif
18877 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18879 cat >>confdefs.h <<_ACEOF
18880 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18881 _ACEOF
18887 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18888 #ifdef HAVE_SYS_SOCKET_H
18889 # include <sys/socket.h>
18890 #endif
18891 #ifdef HAVE_SYS_UN_H
18892 # include <sys/un.h>
18893 #endif
18895 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18897 cat >>confdefs.h <<_ACEOF
18898 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18899 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18904 #ifdef HAVE_SYS_SOCKET_H
18905 # include <sys/socket.h>
18906 #endif
18907 #ifdef HAVE_SYS_UN_H
18908 # include <sys/un.h>
18909 #endif
18911 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18915 _ACEOF
18919 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18920 #ifdef HAVE_SYS_SOCKET_H
18921 # include <sys/socket.h>
18922 #endif
18923 #ifdef HAVE_SYS_UN_H
18924 # include <sys/un.h>
18925 #endif
18927 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18931 _ACEOF
18937 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18938 #ifdef HAVE_SCSI_SG_H
18939 #include <scsi/sg.h>
18940 #endif
18942 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18944 cat >>confdefs.h <<_ACEOF
18945 #define HAVE_SCSIREQ_T_CMD 1
18946 _ACEOF
18950 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>
18951 #ifdef HAVE_SCSI_SG_H
18952 #include <scsi/sg.h>
18953 #endif
18955 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18959 _ACEOF
18965 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18967 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_SIGINFO_T_SI_FD 1
18971 _ACEOF
18977 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18978 #ifdef HAVE_SYS_MTIO_H
18979 #include <sys/mtio.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_MTIO_H
18992 #include <sys/mtio.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18999 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19004 #ifdef HAVE_SYS_MTIO_H
19005 #include <sys/mtio.h>
19006 #endif
19008 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19012 _ACEOF
19018 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19019 #include <getopt.h>
19020 #endif
19022 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_STRUCT_OPTION_NAME 1
19026 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19033 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19037 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19042 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_STRUCT_STAT_ST_MTIM 1
19046 _ACEOF
19050 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19051 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19055 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19060 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_STAT_ST_CTIM 1
19064 _ACEOF
19068 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19069 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19078 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_STAT_ST_ATIM 1
19082 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19087 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19091 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19096 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19100 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19109 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19114 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19118 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19123 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19127 _ACEOF
19131 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19132 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19136 _ACEOF
19142 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
19143 #include <sys/types.h>
19144 #endif
19145 #ifdef HAVE_NETINET_IN_H
19146 #include <netinet/in.h>
19147 #endif
19149 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19153 _ACEOF
19159 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19160 #include <sys/types.h>
19161 #endif
19162 #ifdef HAVE_NETINET_IN_H
19163 #include <netinet/in.h>
19164 #endif
19165 #ifdef HAVE_RESOLV_H
19166 #include <resolv.h>
19167 #endif
19169 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_STRUCT___RES_STATE 1
19173 _ACEOF
19179 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
19180 #include <resolv.h>
19181 #endif
19183 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19185 cat >>confdefs.h <<_ACEOF
19186 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19187 _ACEOF
19193 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19194 #include <sys/types.h>
19195 #endif
19196 #ifdef HAVE_NETINET_IN_H
19197 # include <netinet/in.h>
19198 #endif
19199 #ifdef HAVE_ARPA_NAMESER_H
19200 # include <arpa/nameser.h>
19201 #endif
19203 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_NS_MSG__MSG_PTR 1
19207 _ACEOF
19213 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19214 #include <sys/types.h>
19215 #endif
19216 #ifdef HAVE_NETINET_IN_H
19217 #include <netinet/in.h>
19218 #endif
19219 #ifdef HAVE_NETINET_IP_H
19220 #include <netinet/ip.h>
19221 #endif
19222 #ifdef HAVE_NETINET_IP_ICMP_H
19223 #include <netinet/ip_icmp.h>
19224 #endif
19225 #ifdef HAVE_NETINET_ICMP_VAR_H
19226 #include <netinet/icmp_var.h>
19227 #endif
19229 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19233 _ACEOF
19239 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19240 #include <sys/types.h>
19241 #endif
19242 #ifdef HAVE_ALIAS_H
19243 #include <alias.h>
19244 #endif
19245 #ifdef HAVE_SYS_SOCKET_H
19246 #include <sys/socket.h>
19247 #endif
19248 #ifdef HAVE_SYS_SOCKETVAR_H
19249 #include <sys/socketvar.h>
19250 #endif
19251 #ifdef HAVE_SYS_TIMEOUT_H
19252 #include <sys/timeout.h>
19253 #endif
19254 #ifdef HAVE_NETINET_IN_H
19255 #include <netinet/in.h>
19256 #endif
19257 #ifdef HAVE_NETINET_IN_SYSTM_H
19258 #include <netinet/in_systm.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IP_H
19261 #include <netinet/ip.h>
19262 #endif
19263 #ifdef HAVE_NETINET_IP_VAR_H
19264 #include <netinet/ip_var.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IP_ICMP_H
19267 #include <netinet/ip_icmp.h>
19268 #endif
19269 #ifdef HAVE_NETINET_ICMP_VAR_H
19270 #include <netinet/icmp_var.h>
19271 #endif
19273 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19277 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19284 #include <sys/types.h>
19285 #endif
19286 #ifdef HAVE_SYS_SOCKETVAR_H
19287 #include <sys/socketvar.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IN_H
19290 #include <netinet/in.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_VAR_H
19293 #include <netinet/ip_var.h>
19294 #endif
19296 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19300 _ACEOF
19306 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
19307 #include <netinet/ip_var.h>
19308 #endif
19310 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19314 _ACEOF
19320 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19321 #include <sys/types.h>
19322 #endif
19323 #ifdef HAVE_SYS_SOCKETVAR_H
19324 #include <sys/socketvar.h>
19325 #endif
19326 #ifdef HAVE_NETINET_IN_H
19327 #include <netinet/in.h>
19328 #endif
19329 #ifdef HAVE_NETINET_TCP_H
19330 #include <netinet/tcp.h>
19331 #endif
19332 #ifdef HAVE_NETINET_TCP_VAR_H
19333 #include <netinet/tcp_var.h>
19334 #endif
19336 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19340 _ACEOF
19346 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
19347 #include <netinet/tcp_var.h>
19348 #endif
19350 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19354 _ACEOF
19360 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19361 #include <sys/types.h>
19362 #endif
19363 #ifdef HAVE_NETINET_IN_H
19364 #include <netinet/in.h>
19365 #endif
19366 #ifdef HAVE_NETINET_IP_VAR_H
19367 #include <netinet/ip_var.h>
19368 #endif
19369 #ifdef HAVE_NETINET_UDP_H
19370 #include <netinet/udp.h>
19371 #endif
19372 #ifdef HAVE_NETINET_UDP_VAR_H
19373 #include <netinet/udp_var.h>
19374 #endif
19376 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19380 _ACEOF
19386 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19387 #include <sys/types.h>
19388 #endif
19389 #ifdef HAVE_NET_IF_H
19390 # include <net/if.h>
19391 #endif
19393 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19395 cat >>confdefs.h <<_ACEOF
19396 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19397 _ACEOF
19403 ac_save_LIBS="$LIBS"
19404 LIBS="$LIBS -lm"
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19406 $as_echo_n "checking for isfinite... " >&6; }
19407 if ${ac_cv_have_isfinite+:} false; then :
19408 $as_echo_n "(cached) " >&6
19409 else
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #define _GNU_SOURCE
19413 #include <math.h>
19415 main ()
19417 float f = 0.0; return isfinite(f)
19419 return 0;
19421 _ACEOF
19422 if ac_fn_c_try_link "$LINENO"; then :
19423 ac_cv_have_isfinite="yes"
19424 else
19425 ac_cv_have_isfinite="no"
19427 rm -f core conftest.err conftest.$ac_objext \
19428 conftest$ac_exeext conftest.$ac_ext
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19431 $as_echo "$ac_cv_have_isfinite" >&6; }
19432 if test "$ac_cv_have_isfinite" = "yes"
19433 then
19435 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19440 $as_echo_n "checking for isinf... " >&6; }
19441 if ${ac_cv_have_isinf+:} false; then :
19442 $as_echo_n "(cached) " >&6
19443 else
19444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 #include <math.h>
19448 main ()
19450 float f = 0.0; return isinf(f)
19452 return 0;
19454 _ACEOF
19455 if ac_fn_c_try_link "$LINENO"; then :
19456 ac_cv_have_isinf="yes"
19457 else
19458 ac_cv_have_isinf="no"
19460 rm -f core conftest.err conftest.$ac_objext \
19461 conftest$ac_exeext conftest.$ac_ext
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19464 $as_echo "$ac_cv_have_isinf" >&6; }
19465 if test "$ac_cv_have_isinf" = "yes"
19466 then
19468 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19473 $as_echo_n "checking for isnan... " >&6; }
19474 if ${ac_cv_have_isnan+:} false; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479 #include <math.h>
19481 main ()
19483 float f = 0.0; return isnan(f)
19485 return 0;
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"; then :
19489 ac_cv_have_isnan="yes"
19490 else
19491 ac_cv_have_isnan="no"
19493 rm -f core conftest.err conftest.$ac_objext \
19494 conftest$ac_exeext conftest.$ac_ext
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19497 $as_echo "$ac_cv_have_isnan" >&6; }
19498 if test "$ac_cv_have_isnan" = "yes"
19499 then
19501 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19505 for ac_func in \
19506 acosh \
19507 acoshf \
19508 asinh \
19509 asinhf \
19510 atanh \
19511 atanhf \
19512 cbrt \
19513 cbrtf \
19514 erf \
19515 erfc \
19516 erfcf \
19517 erff \
19518 exp2 \
19519 exp2f \
19520 expm1 \
19521 expm1f \
19522 fma \
19523 fmaf \
19524 ilogb \
19525 ilogbf \
19526 j0 \
19527 j1 \
19528 jn \
19529 lgamma \
19530 lgammaf \
19531 llrint \
19532 llrintf \
19533 llround \
19534 llroundf \
19535 log1p \
19536 log1pf \
19537 log2 \
19538 log2f \
19539 lrint \
19540 lrintf \
19541 lround \
19542 lroundf \
19543 nearbyint \
19544 nearbyintf \
19545 nexttoward \
19546 nexttowardf \
19547 remainder \
19548 remainderf \
19549 remquo \
19550 remquof \
19551 rint \
19552 rintf \
19553 round \
19554 roundf \
19555 tgamma \
19556 tgammaf \
19557 trunc \
19558 truncf \
19559 y0 \
19560 y1 \
19563 do :
19564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19567 cat >>confdefs.h <<_ACEOF
19568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19569 _ACEOF
19572 done
19574 LIBS="$ac_save_LIBS"
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19577 $as_echo_n "checking for __builtin_popcount... " >&6; }
19578 if ${ac_cv_have___builtin_popcount+:} false; then :
19579 $as_echo_n "(cached) " >&6
19580 else
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19585 main ()
19587 return __builtin_popcount(1)
19589 return 0;
19591 _ACEOF
19592 if ac_fn_c_try_link "$LINENO"; then :
19593 ac_cv_have___builtin_popcount="yes"
19594 else
19595 ac_cv_have___builtin_popcount="no"
19597 rm -f core conftest.err conftest.$ac_objext \
19598 conftest$ac_exeext conftest.$ac_ext
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19601 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19602 if test "$ac_cv_have___builtin_popcount" = "yes"
19603 then
19605 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19610 $as_echo_n "checking for __clear_cache... " >&6; }
19611 if ${ac_cv_have___clear_cache+:} false; then :
19612 $as_echo_n "(cached) " >&6
19613 else
19614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19618 main ()
19620 __clear_cache((void*)0, (void*)0); return 0;
19622 return 0;
19624 _ACEOF
19625 if ac_fn_c_try_link "$LINENO"; then :
19626 ac_cv_have___clear_cache="yes"
19627 else
19628 ac_cv_have___clear_cache="no"
19630 rm -f core conftest.err conftest.$ac_objext \
19631 conftest$ac_exeext conftest.$ac_ext
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19634 $as_echo "$ac_cv_have___clear_cache" >&6; }
19635 if test "$ac_cv_have___clear_cache" = "yes"
19636 then
19638 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19643 case $host_cpu in
19644 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19645 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19646 if ${ac_cv_cpp_def___i386__+:} false; then :
19647 $as_echo_n "(cached) " >&6
19648 else
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 #ifndef __i386__
19653 #endif
19654 _ACEOF
19655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19656 $EGREP "yes" >/dev/null 2>&1; then :
19657 ac_cv_cpp_def___i386__=yes
19658 else
19659 ac_cv_cpp_def___i386__=no
19661 rm -f conftest*
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19665 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19666 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19667 CFLAGS="$CFLAGS -D__i386__"
19668 LINTFLAGS="$LINTFLAGS -D__i386__"
19669 fi ;;
19670 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19671 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19672 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19677 #ifndef __x86_64__
19679 #endif
19680 _ACEOF
19681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19682 $EGREP "yes" >/dev/null 2>&1; then :
19683 ac_cv_cpp_def___x86_64__=yes
19684 else
19685 ac_cv_cpp_def___x86_64__=no
19687 rm -f conftest*
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19691 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19692 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19693 CFLAGS="$CFLAGS -D__x86_64__"
19694 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19695 fi ;;
19696 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19697 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19698 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19703 #ifndef __sparc64__
19705 #endif
19706 _ACEOF
19707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19708 $EGREP "yes" >/dev/null 2>&1; then :
19709 ac_cv_cpp_def___sparc64__=yes
19710 else
19711 ac_cv_cpp_def___sparc64__=no
19713 rm -f conftest*
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19717 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19718 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19719 CFLAGS="$CFLAGS -D__sparc64__"
19720 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19721 fi ;;
19722 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19723 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19724 if ${ac_cv_cpp_def___sparc__+:} false; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19729 #ifndef __sparc__
19731 #endif
19732 _ACEOF
19733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19734 $EGREP "yes" >/dev/null 2>&1; then :
19735 ac_cv_cpp_def___sparc__=yes
19736 else
19737 ac_cv_cpp_def___sparc__=no
19739 rm -f conftest*
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19743 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19744 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19745 CFLAGS="$CFLAGS -D__sparc__"
19746 LINTFLAGS="$LINTFLAGS -D__sparc__"
19747 fi ;;
19748 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19749 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19750 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19751 $as_echo_n "(cached) " >&6
19752 else
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #ifndef __powerpc64__
19757 #endif
19758 _ACEOF
19759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19760 $EGREP "yes" >/dev/null 2>&1; then :
19761 ac_cv_cpp_def___powerpc64__=yes
19762 else
19763 ac_cv_cpp_def___powerpc64__=no
19765 rm -f conftest*
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19769 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19770 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19771 CFLAGS="$CFLAGS -D__powerpc64__"
19772 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19773 fi ;;
19774 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19775 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19776 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19777 $as_echo_n "(cached) " >&6
19778 else
19779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19780 /* end confdefs.h. */
19781 #ifndef __powerpc__
19783 #endif
19784 _ACEOF
19785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19786 $EGREP "yes" >/dev/null 2>&1; then :
19787 ac_cv_cpp_def___powerpc__=yes
19788 else
19789 ac_cv_cpp_def___powerpc__=no
19791 rm -f conftest*
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19795 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19796 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19797 CFLAGS="$CFLAGS -D__powerpc__"
19798 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19799 fi ;;
19800 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19801 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19802 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #ifndef __aarch64__
19809 #endif
19810 _ACEOF
19811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19812 $EGREP "yes" >/dev/null 2>&1; then :
19813 ac_cv_cpp_def___aarch64__=yes
19814 else
19815 ac_cv_cpp_def___aarch64__=no
19817 rm -f conftest*
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19821 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19822 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19823 CFLAGS="$CFLAGS -D__aarch64__"
19824 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19825 fi ;;
19826 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19827 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19828 if ${ac_cv_cpp_def___arm__+:} false; then :
19829 $as_echo_n "(cached) " >&6
19830 else
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833 #ifndef __arm__
19835 #endif
19836 _ACEOF
19837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19838 $EGREP "yes" >/dev/null 2>&1; then :
19839 ac_cv_cpp_def___arm__=yes
19840 else
19841 ac_cv_cpp_def___arm__=no
19843 rm -f conftest*
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19847 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19848 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19849 CFLAGS="$CFLAGS -D__arm__"
19850 LINTFLAGS="$LINTFLAGS -D__arm__"
19851 fi ;;
19852 esac
19854 case $host_vendor in
19855 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19856 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19857 if ${ac_cv_cpp_def___sun__+:} false; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 #ifndef __sun__
19864 #endif
19865 _ACEOF
19866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19867 $EGREP "yes" >/dev/null 2>&1; then :
19868 ac_cv_cpp_def___sun__=yes
19869 else
19870 ac_cv_cpp_def___sun__=no
19872 rm -f conftest*
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19876 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19877 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19878 CFLAGS="$CFLAGS -D__sun__"
19879 LINTFLAGS="$LINTFLAGS -D__sun__"
19880 fi ;;
19881 esac
19887 ac_config_commands="$ac_config_commands include/stamp-h"
19889 $as_echo_n "creating Makefile rules..." >&6
19891 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19892 OPENGL_LIBS = $OPENGL_LIBS
19893 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19894 IOKIT_LIBS = $IOKIT_LIBS
19895 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19896 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19897 CORESERVICES_LIBS = $CORESERVICES_LIBS
19898 APPKIT_LIBS = $APPKIT_LIBS
19899 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19900 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19901 SECURITY_LIBS = $SECURITY_LIBS
19902 COREAUDIO_LIBS = $COREAUDIO_LIBS
19903 OPENAL_LIBS = $OPENAL_LIBS
19904 OPENCL_LIBS = $OPENCL_LIBS
19905 QUICKTIME_LIBS = $QUICKTIME_LIBS
19906 CARBON_LIBS = $CARBON_LIBS
19907 METAL_LIBS = $METAL_LIBS
19908 PTHREAD_LIBS = $PTHREAD_LIBS
19909 X_CFLAGS = $X_CFLAGS
19910 X_PRE_LIBS = $X_PRE_LIBS
19911 X_LIBS = $X_LIBS
19912 X_EXTRA_LIBS = $X_EXTRA_LIBS
19913 PCAP_LIBS = $PCAP_LIBS
19914 XML2_CFLAGS = $XML2_CFLAGS
19915 XML2_LIBS = $XML2_LIBS
19916 XSLT_CFLAGS = $XSLT_CFLAGS
19917 XSLT_LIBS = $XSLT_LIBS
19918 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19919 INOTIFY_LIBS = $INOTIFY_LIBS
19920 DBUS_CFLAGS = $DBUS_CFLAGS
19921 DBUS_LIBS = $DBUS_LIBS
19922 HAL_CFLAGS = $HAL_CFLAGS
19923 HAL_LIBS = $HAL_LIBS
19924 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19925 GNUTLS_LIBS = $GNUTLS_LIBS
19926 SANE_CFLAGS = $SANE_CFLAGS
19927 SANE_LIBS = $SANE_LIBS
19928 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19929 GPHOTO2_LIBS = $GPHOTO2_LIBS
19930 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19931 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19932 RESOLV_LIBS = $RESOLV_LIBS
19933 LCMS2_CFLAGS = $LCMS2_CFLAGS
19934 LCMS2_LIBS = $LCMS2_LIBS
19935 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19936 FREETYPE_LIBS = $FREETYPE_LIBS
19937 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19938 PULSE_CFLAGS = $PULSE_CFLAGS
19939 PULSE_LIBS = $PULSE_LIBS
19940 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19941 GSTREAMER_LIBS = $GSTREAMER_LIBS
19942 ALSA_LIBS = $ALSA_LIBS
19943 OSS4_CFLAGS = $OSS4_CFLAGS
19944 OSS4_LIBS = $OSS4_LIBS
19945 UDEV_CFLAGS = $UDEV_CFLAGS
19946 UDEV_LIBS = $UDEV_LIBS
19947 UNWIND_CFLAGS = $UNWIND_CFLAGS
19948 UNWIND_LIBS = $UNWIND_LIBS
19949 SDL2_CFLAGS = $SDL2_CFLAGS
19950 SDL2_LIBS = $SDL2_LIBS
19951 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19952 FAUDIO_LIBS = $FAUDIO_LIBS
19953 CAPI20_CFLAGS = $CAPI20_CFLAGS
19954 CAPI20_LIBS = $CAPI20_LIBS
19955 CUPS_CFLAGS = $CUPS_CFLAGS
19956 CUPS_LIBS = $CUPS_LIBS
19957 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19958 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19959 KRB5_CFLAGS = $KRB5_CFLAGS
19960 KRB5_LIBS = $KRB5_LIBS
19961 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19962 GSSAPI_LIBS = $GSSAPI_LIBS
19963 JPEG_CFLAGS = $JPEG_CFLAGS
19964 JPEG_LIBS = $JPEG_LIBS
19965 PNG_CFLAGS = $PNG_CFLAGS
19966 PNG_LIBS = $PNG_LIBS
19967 TIFF_CFLAGS = $TIFF_CFLAGS
19968 TIFF_LIBS = $TIFF_LIBS
19969 MPG123_CFLAGS = $MPG123_CFLAGS
19970 MPG123_LIBS = $MPG123_LIBS
19971 KSTAT_LIBS = $KSTAT_LIBS
19972 PROCSTAT_LIBS = $PROCSTAT_LIBS
19973 NETAPI_CFLAGS = $NETAPI_CFLAGS
19974 NETAPI_LIBS = $NETAPI_LIBS
19975 VKD3D_CFLAGS = $VKD3D_CFLAGS
19976 VKD3D_LIBS = $VKD3D_LIBS
19977 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19978 POLL_LIBS = $POLL_LIBS
19979 RT_LIBS = $RT_LIBS
19980 LDAP_CFLAGS = $LDAP_CFLAGS
19981 LDAP_LIBS = $LDAP_LIBS
19986 wine_fn_append_rule "
19987 # Rules automatically generated by configure
19989 .INIT: Makefile
19990 .MAKEFILEDEPS:
19991 all: Makefile
19992 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19993 @./config.status Make.tmp Makefile
19994 depend: \$(MAKEDEP) dummy
19995 \$(MAKEDEP)"
19997 ac_config_links="$ac_config_links wine:tools/winewrapper"
19998 wine_fn_config_symlink wine
19999 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20000 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20001 wine_fn_config_symlink wine64
20004 wine_fn_config_makefile dlls/acledit enable_acledit
20005 wine_fn_config_makefile dlls/aclui enable_aclui
20006 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20007 wine_fn_config_makefile dlls/activeds enable_activeds
20008 wine_fn_config_makefile dlls/activeds/tests enable_tests
20009 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20010 wine_fn_config_makefile dlls/adsiid enable_adsiid
20011 wine_fn_config_makefile dlls/adsldp enable_adsldp
20012 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20013 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20014 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20015 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20016 wine_fn_config_makefile dlls/advpack enable_advpack
20017 wine_fn_config_makefile dlls/advpack/tests enable_tests
20018 wine_fn_config_makefile dlls/amsi enable_amsi
20019 wine_fn_config_makefile dlls/amstream enable_amstream
20020 wine_fn_config_makefile dlls/amstream/tests enable_tests
20021 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20024 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20026 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20039 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20043 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20046 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20047 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20052 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20053 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20056 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20065 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20073 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20076 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20088 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20100 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20101 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20173 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20204 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20208 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20218 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20220 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20229 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20231 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20233 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20237 wine_fn_config_makefile dlls/apphelp enable_apphelp
20238 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20239 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20240 wine_fn_config_makefile dlls/atl enable_atl
20241 wine_fn_config_makefile dlls/atl/tests enable_tests
20242 wine_fn_config_makefile dlls/atl100 enable_atl100
20243 wine_fn_config_makefile dlls/atl100/tests enable_tests
20244 wine_fn_config_makefile dlls/atl110 enable_atl110
20245 wine_fn_config_makefile dlls/atl80 enable_atl80
20246 wine_fn_config_makefile dlls/atl80/tests enable_tests
20247 wine_fn_config_makefile dlls/atl90 enable_atl90
20248 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20249 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20250 wine_fn_config_makefile dlls/atmlib enable_atmlib
20251 wine_fn_config_makefile dlls/authz enable_authz
20252 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20253 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20254 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20255 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20256 wine_fn_config_makefile dlls/avrt enable_avrt
20257 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20258 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20259 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20260 wine_fn_config_makefile dlls/browseui enable_browseui
20261 wine_fn_config_makefile dlls/browseui/tests enable_tests
20262 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20263 wine_fn_config_makefile dlls/cabinet enable_cabinet
20264 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20265 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20266 wine_fn_config_makefile dlls/cards enable_cards
20267 wine_fn_config_makefile dlls/cdosys enable_cdosys
20268 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20269 wine_fn_config_makefile dlls/clusapi enable_clusapi
20270 wine_fn_config_makefile dlls/combase enable_combase
20271 wine_fn_config_makefile dlls/combase/tests enable_tests
20272 wine_fn_config_makefile dlls/comcat enable_comcat
20273 wine_fn_config_makefile dlls/comcat/tests enable_tests
20274 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20275 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20276 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20277 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20278 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20279 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20280 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20281 wine_fn_config_makefile dlls/compstui enable_compstui
20282 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20283 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20284 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20285 wine_fn_config_makefile dlls/connect enable_connect
20286 wine_fn_config_makefile dlls/credui enable_credui
20287 wine_fn_config_makefile dlls/credui/tests enable_tests
20288 wine_fn_config_makefile dlls/crtdll enable_crtdll
20289 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20290 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20291 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20292 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20293 wine_fn_config_makefile dlls/cryptext enable_cryptext
20294 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20295 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20296 wine_fn_config_makefile dlls/cryptui enable_cryptui
20297 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20298 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20299 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20300 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20301 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20302 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20303 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20304 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20305 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20306 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20307 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20308 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20309 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20310 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20311 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20312 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20313 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20314 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20315 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20316 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20317 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20318 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20319 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20320 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20321 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20322 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20323 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20324 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20325 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20326 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20327 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20328 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20329 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20330 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20331 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20332 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20333 wine_fn_config_makefile dlls/d3dim enable_d3dim
20334 wine_fn_config_makefile dlls/d3drm enable_d3drm
20335 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20336 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20337 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20338 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20339 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20340 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20341 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20342 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20343 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20344 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20345 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20346 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20347 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20348 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20349 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20350 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20351 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20352 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20353 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20354 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20355 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20356 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20357 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20358 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20359 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20360 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20361 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20362 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20363 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20364 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20365 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20366 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20367 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20368 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20369 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20370 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20371 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20372 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20373 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20374 wine_fn_config_makefile dlls/davclnt enable_davclnt
20375 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20376 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20377 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20378 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20379 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20380 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20381 wine_fn_config_makefile dlls/ddraw enable_ddraw
20382 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20383 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20384 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20385 wine_fn_config_makefile dlls/devenum enable_devenum
20386 wine_fn_config_makefile dlls/devenum/tests enable_tests
20387 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20388 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20389 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20390 wine_fn_config_makefile dlls/difxapi enable_difxapi
20391 wine_fn_config_makefile dlls/dinput enable_dinput
20392 wine_fn_config_makefile dlls/dinput/tests enable_tests
20393 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20394 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20395 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20396 wine_fn_config_makefile dlls/dispex enable_dispex
20397 wine_fn_config_makefile dlls/dispex/tests enable_tests
20398 wine_fn_config_makefile dlls/display.drv16 enable_win16
20399 wine_fn_config_makefile dlls/dmband enable_dmband
20400 wine_fn_config_makefile dlls/dmband/tests enable_tests
20401 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20402 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20403 wine_fn_config_makefile dlls/dmime enable_dmime
20404 wine_fn_config_makefile dlls/dmime/tests enable_tests
20405 wine_fn_config_makefile dlls/dmloader enable_dmloader
20406 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20407 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20408 wine_fn_config_makefile dlls/dmscript enable_dmscript
20409 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20410 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20411 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20412 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20413 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20414 wine_fn_config_makefile dlls/dmusic enable_dmusic
20415 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20416 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20417 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20418 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20419 wine_fn_config_makefile dlls/dplay enable_dplay
20420 wine_fn_config_makefile dlls/dplayx enable_dplayx
20421 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20422 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20423 wine_fn_config_makefile dlls/dpnet enable_dpnet
20424 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20425 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20426 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20427 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20428 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20429 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20430 wine_fn_config_makefile dlls/drmclien enable_drmclien
20431 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20432 wine_fn_config_makefile dlls/dsound enable_dsound
20433 wine_fn_config_makefile dlls/dsound/tests enable_tests
20434 wine_fn_config_makefile dlls/dsquery enable_dsquery
20435 wine_fn_config_makefile dlls/dssenh enable_dssenh
20436 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20437 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20438 wine_fn_config_makefile dlls/dswave enable_dswave
20439 wine_fn_config_makefile dlls/dswave/tests enable_tests
20440 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20441 wine_fn_config_makefile dlls/dwrite enable_dwrite
20442 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20443 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20444 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20445 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20446 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20447 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20448 wine_fn_config_makefile dlls/dxgi enable_dxgi
20449 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20450 wine_fn_config_makefile dlls/dxguid enable_dxguid
20451 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20452 wine_fn_config_makefile dlls/esent enable_esent
20453 wine_fn_config_makefile dlls/evr enable_evr
20454 wine_fn_config_makefile dlls/evr/tests enable_tests
20455 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20456 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20457 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20462 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20463 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20466 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20468 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20471 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20475 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20476 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20478 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20480 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20481 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20482 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20483 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20484 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20485 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20486 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20487 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20488 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20489 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20490 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20491 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20492 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20493 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20494 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20497 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
20498 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20499 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20500 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20501 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20502 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20503 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20504 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20505 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20506 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20507 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20508 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20509 wine_fn_config_makefile dlls/faultrep enable_faultrep
20510 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20511 wine_fn_config_makefile dlls/feclient enable_feclient
20512 wine_fn_config_makefile dlls/fltlib enable_fltlib
20513 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20514 wine_fn_config_makefile dlls/fntcache enable_fntcache
20515 wine_fn_config_makefile dlls/fontsub enable_fontsub
20516 wine_fn_config_makefile dlls/fusion enable_fusion
20517 wine_fn_config_makefile dlls/fusion/tests enable_tests
20518 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20519 wine_fn_config_makefile dlls/gameux enable_gameux
20520 wine_fn_config_makefile dlls/gameux/tests enable_tests
20521 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20522 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20523 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20524 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20525 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20526 wine_fn_config_makefile dlls/glu32 enable_glu32
20527 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20528 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20529 wine_fn_config_makefile dlls/hal enable_hal
20530 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20531 wine_fn_config_makefile dlls/hid enable_hid
20532 wine_fn_config_makefile dlls/hid/tests enable_tests
20533 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20534 wine_fn_config_makefile dlls/hlink enable_hlink
20535 wine_fn_config_makefile dlls/hlink/tests enable_tests
20536 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20537 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20538 wine_fn_config_makefile dlls/http.sys enable_http_sys
20539 wine_fn_config_makefile dlls/httpapi enable_httpapi
20540 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20541 wine_fn_config_makefile dlls/iccvid enable_iccvid
20542 wine_fn_config_makefile dlls/icmp enable_icmp
20543 wine_fn_config_makefile dlls/ieframe enable_ieframe
20544 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20545 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20546 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20547 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20548 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20549 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20550 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20551 wine_fn_config_makefile dlls/imm32 enable_imm32
20552 wine_fn_config_makefile dlls/imm32/tests enable_tests
20553 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20554 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20555 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20556 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20557 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20558 wine_fn_config_makefile dlls/infosoft enable_infosoft
20559 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20560 wine_fn_config_makefile dlls/initpki enable_initpki
20561 wine_fn_config_makefile dlls/inkobj enable_inkobj
20562 wine_fn_config_makefile dlls/inseng enable_inseng
20563 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20564 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20565 wine_fn_config_makefile dlls/iprop enable_iprop
20566 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20567 wine_fn_config_makefile dlls/itircl enable_itircl
20568 wine_fn_config_makefile dlls/itss enable_itss
20569 wine_fn_config_makefile dlls/itss/tests enable_tests
20570 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20571 wine_fn_config_makefile dlls/jscript enable_jscript
20572 wine_fn_config_makefile dlls/jscript/tests enable_tests
20573 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20574 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20575 wine_fn_config_makefile dlls/kerberos enable_kerberos
20576 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20577 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20578 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20579 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20580 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20581 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20582 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20583 wine_fn_config_makefile dlls/ksuser enable_ksuser
20584 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20585 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20586 wine_fn_config_makefile dlls/loadperf enable_loadperf
20587 wine_fn_config_makefile dlls/localspl enable_localspl
20588 wine_fn_config_makefile dlls/localspl/tests enable_tests
20589 wine_fn_config_makefile dlls/localui enable_localui
20590 wine_fn_config_makefile dlls/localui/tests enable_tests
20591 wine_fn_config_makefile dlls/lz32 enable_lz32
20592 wine_fn_config_makefile dlls/lz32/tests enable_tests
20593 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20594 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20595 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20596 wine_fn_config_makefile dlls/mapistub enable_mapistub
20597 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20598 wine_fn_config_makefile dlls/mcicda enable_mcicda
20599 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20600 wine_fn_config_makefile dlls/mciseq enable_mciseq
20601 wine_fn_config_makefile dlls/mciwave enable_mciwave
20602 wine_fn_config_makefile dlls/mf enable_mf
20603 wine_fn_config_makefile dlls/mf/tests enable_tests
20604 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20605 wine_fn_config_makefile dlls/mferror enable_mferror
20606 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20607 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20608 wine_fn_config_makefile dlls/mfplat enable_mfplat
20609 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20610 wine_fn_config_makefile dlls/mfplay enable_mfplay
20611 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20612 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20613 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20614 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20615 wine_fn_config_makefile dlls/midimap enable_midimap
20616 wine_fn_config_makefile dlls/mlang enable_mlang
20617 wine_fn_config_makefile dlls/mlang/tests enable_tests
20618 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20619 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20620 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20621 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20622 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20623 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20624 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20625 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20626 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20627 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20628 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20629 wine_fn_config_makefile dlls/mpr enable_mpr
20630 wine_fn_config_makefile dlls/mpr/tests enable_tests
20631 wine_fn_config_makefile dlls/mprapi enable_mprapi
20632 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20633 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20634 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20635 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20636 wine_fn_config_makefile dlls/msado15 enable_msado15
20637 wine_fn_config_makefile dlls/msado15/tests enable_tests
20638 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20639 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20640 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20641 wine_fn_config_makefile dlls/mscms enable_mscms
20642 wine_fn_config_makefile dlls/mscms/tests enable_tests
20643 wine_fn_config_makefile dlls/mscoree enable_mscoree
20644 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20645 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20646 wine_fn_config_makefile dlls/msctf enable_msctf
20647 wine_fn_config_makefile dlls/msctf/tests enable_tests
20648 wine_fn_config_makefile dlls/msctfp enable_msctfp
20649 wine_fn_config_makefile dlls/msdaps enable_msdaps
20650 wine_fn_config_makefile dlls/msdelta enable_msdelta
20651 wine_fn_config_makefile dlls/msdmo enable_msdmo
20652 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20653 wine_fn_config_makefile dlls/msdrm enable_msdrm
20654 wine_fn_config_makefile dlls/msftedit enable_msftedit
20655 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20656 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20657 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20658 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20659 wine_fn_config_makefile dlls/mshtml enable_mshtml
20660 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20661 wine_fn_config_makefile dlls/msi enable_msi
20662 wine_fn_config_makefile dlls/msi/tests enable_tests
20663 wine_fn_config_makefile dlls/msident enable_msident
20664 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20665 wine_fn_config_makefile dlls/msimsg enable_msimsg
20666 wine_fn_config_makefile dlls/msimtf enable_msimtf
20667 wine_fn_config_makefile dlls/msisip enable_msisip
20668 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20669 wine_fn_config_makefile dlls/msls31 enable_msls31
20670 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20671 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20672 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20673 wine_fn_config_makefile dlls/msports enable_msports
20674 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20675 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20676 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20677 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20678 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20679 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20680 wine_fn_config_makefile dlls/mstask enable_mstask
20681 wine_fn_config_makefile dlls/mstask/tests enable_tests
20682 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20683 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20684 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20685 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20686 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20687 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20688 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20689 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20690 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20691 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20692 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20693 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20694 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20695 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20696 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20697 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20698 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20699 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20700 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20701 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20702 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20703 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20704 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20705 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20706 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20707 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20708 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20709 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20710 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20711 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20712 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20713 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20714 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20715 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20716 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20717 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20718 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20719 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20720 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20721 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20722 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20723 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20724 wine_fn_config_makefile dlls/mswsock enable_mswsock
20725 wine_fn_config_makefile dlls/msxml enable_msxml
20726 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20727 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20728 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20729 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20730 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20731 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20732 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20733 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20734 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20735 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20736 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20737 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20738 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20739 wine_fn_config_makefile dlls/netprofm enable_netprofm
20740 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20741 wine_fn_config_makefile dlls/newdev enable_newdev
20742 wine_fn_config_makefile dlls/ninput enable_ninput
20743 wine_fn_config_makefile dlls/ninput/tests enable_tests
20744 wine_fn_config_makefile dlls/normaliz enable_normaliz
20745 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20746 wine_fn_config_makefile dlls/npptools enable_npptools
20747 wine_fn_config_makefile dlls/ntdll enable_ntdll
20748 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20749 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20750 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20751 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20752 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20753 wine_fn_config_makefile dlls/ntprint enable_ntprint
20754 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20755 wine_fn_config_makefile dlls/objsel enable_objsel
20756 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20757 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20758 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20759 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20760 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20761 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20762 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20763 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20764 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20765 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20766 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20767 wine_fn_config_makefile dlls/ole32 enable_ole32
20768 wine_fn_config_makefile dlls/ole32/tests enable_tests
20769 wine_fn_config_makefile dlls/oleacc enable_oleacc
20770 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20771 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20772 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20773 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20774 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20775 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20776 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20777 wine_fn_config_makefile dlls/oledlg enable_oledlg
20778 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20779 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20780 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20781 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20782 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20783 wine_fn_config_makefile dlls/opcservices enable_opcservices
20784 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20785 wine_fn_config_makefile dlls/openal32 enable_openal32
20786 wine_fn_config_makefile dlls/opencl enable_opencl
20787 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20788 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20789 wine_fn_config_makefile dlls/packager enable_packager
20790 wine_fn_config_makefile dlls/packager/tests enable_tests
20791 wine_fn_config_makefile dlls/pdh enable_pdh
20792 wine_fn_config_makefile dlls/pdh/tests enable_tests
20793 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20794 wine_fn_config_makefile dlls/pidgen enable_pidgen
20795 wine_fn_config_makefile dlls/powrprof enable_powrprof
20796 wine_fn_config_makefile dlls/printui enable_printui
20797 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20798 wine_fn_config_makefile dlls/propsys enable_propsys
20799 wine_fn_config_makefile dlls/propsys/tests enable_tests
20800 wine_fn_config_makefile dlls/psapi enable_psapi
20801 wine_fn_config_makefile dlls/psapi/tests enable_tests
20802 wine_fn_config_makefile dlls/pstorec enable_pstorec
20803 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20804 wine_fn_config_makefile dlls/qasf enable_qasf
20805 wine_fn_config_makefile dlls/qasf/tests enable_tests
20806 wine_fn_config_makefile dlls/qcap enable_qcap
20807 wine_fn_config_makefile dlls/qcap/tests enable_tests
20808 wine_fn_config_makefile dlls/qdvd enable_qdvd
20809 wine_fn_config_makefile dlls/qedit enable_qedit
20810 wine_fn_config_makefile dlls/qedit/tests enable_tests
20811 wine_fn_config_makefile dlls/qmgr enable_qmgr
20812 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20813 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20814 wine_fn_config_makefile dlls/quartz enable_quartz
20815 wine_fn_config_makefile dlls/quartz/tests enable_tests
20816 wine_fn_config_makefile dlls/query enable_query
20817 wine_fn_config_makefile dlls/qwave enable_qwave
20818 wine_fn_config_makefile dlls/qwave/tests enable_tests
20819 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20820 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20821 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20822 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20823 wine_fn_config_makefile dlls/regapi enable_regapi
20824 wine_fn_config_makefile dlls/resutils enable_resutils
20825 wine_fn_config_makefile dlls/riched20 enable_riched20
20826 wine_fn_config_makefile dlls/riched20/tests enable_tests
20827 wine_fn_config_makefile dlls/riched32 enable_riched32
20828 wine_fn_config_makefile dlls/riched32/tests enable_tests
20829 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20830 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20831 wine_fn_config_makefile dlls/rsabase enable_rsabase
20832 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20833 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20834 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20835 wine_fn_config_makefile dlls/rtutils enable_rtutils
20836 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20837 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20838 wine_fn_config_makefile dlls/samlib enable_samlib
20839 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20840 wine_fn_config_makefile dlls/sapi enable_sapi
20841 wine_fn_config_makefile dlls/sapi/tests enable_tests
20842 wine_fn_config_makefile dlls/sas enable_sas
20843 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20844 wine_fn_config_makefile dlls/sccbase enable_sccbase
20845 wine_fn_config_makefile dlls/schannel enable_schannel
20846 wine_fn_config_makefile dlls/schannel/tests enable_tests
20847 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20848 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20849 wine_fn_config_makefile dlls/scrobj enable_scrobj
20850 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20851 wine_fn_config_makefile dlls/scrrun enable_scrrun
20852 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20853 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20854 wine_fn_config_makefile dlls/secur32 enable_secur32
20855 wine_fn_config_makefile dlls/secur32/tests enable_tests
20856 wine_fn_config_makefile dlls/security enable_security
20857 wine_fn_config_makefile dlls/sensapi enable_sensapi
20858 wine_fn_config_makefile dlls/serialui enable_serialui
20859 wine_fn_config_makefile dlls/serialui/tests enable_tests
20860 wine_fn_config_makefile dlls/setupapi enable_setupapi
20861 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20862 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20863 wine_fn_config_makefile dlls/sfc enable_sfc
20864 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20865 wine_fn_config_makefile dlls/shcore enable_shcore
20866 wine_fn_config_makefile dlls/shcore/tests enable_tests
20867 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20868 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20869 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20870 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20871 wine_fn_config_makefile dlls/shell32 enable_shell32
20872 wine_fn_config_makefile dlls/shell32/tests enable_tests
20873 wine_fn_config_makefile dlls/shfolder enable_shfolder
20874 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20875 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20876 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20877 wine_fn_config_makefile dlls/slc enable_slc
20878 wine_fn_config_makefile dlls/slc/tests enable_tests
20879 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20880 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20881 wine_fn_config_makefile dlls/softpub enable_softpub
20882 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20883 wine_fn_config_makefile dlls/spoolss enable_spoolss
20884 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20885 wine_fn_config_makefile dlls/srclient enable_srclient
20886 wine_fn_config_makefile dlls/sspicli enable_sspicli
20887 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20888 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20889 wine_fn_config_makefile dlls/sti enable_sti
20890 wine_fn_config_makefile dlls/sti/tests enable_tests
20891 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20892 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20893 wine_fn_config_makefile dlls/strmbase enable_strmbase
20894 wine_fn_config_makefile dlls/strmdll enable_strmdll
20895 wine_fn_config_makefile dlls/strmiids enable_strmiids
20896 wine_fn_config_makefile dlls/svrapi enable_svrapi
20897 wine_fn_config_makefile dlls/sxs enable_sxs
20898 wine_fn_config_makefile dlls/sxs/tests enable_tests
20899 wine_fn_config_makefile dlls/system.drv16 enable_win16
20900 wine_fn_config_makefile dlls/t2embed enable_t2embed
20901 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20902 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20903 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20904 wine_fn_config_makefile dlls/taskschd enable_taskschd
20905 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20906 wine_fn_config_makefile dlls/tdh enable_tdh
20907 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20908 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20909 wine_fn_config_makefile dlls/traffic enable_traffic
20910 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20911 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20912 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20913 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20914 wine_fn_config_makefile dlls/tzres enable_tzres
20915 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20916 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20917 wine_fn_config_makefile dlls/uianimation enable_uianimation
20918 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20919 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20920 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20921 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20922 wine_fn_config_makefile dlls/unicows enable_unicows
20923 wine_fn_config_makefile dlls/updspapi enable_updspapi
20924 wine_fn_config_makefile dlls/url enable_url
20925 wine_fn_config_makefile dlls/urlmon enable_urlmon
20926 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20927 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20928 wine_fn_config_makefile dlls/user.exe16 enable_win16
20929 wine_fn_config_makefile dlls/user32 enable_user32
20930 wine_fn_config_makefile dlls/user32/tests enable_tests
20931 wine_fn_config_makefile dlls/userenv enable_userenv
20932 wine_fn_config_makefile dlls/userenv/tests enable_tests
20933 wine_fn_config_makefile dlls/usp10 enable_usp10
20934 wine_fn_config_makefile dlls/usp10/tests enable_tests
20935 wine_fn_config_makefile dlls/utildll enable_utildll
20936 wine_fn_config_makefile dlls/uuid enable_uuid
20937 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20938 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20939 wine_fn_config_makefile dlls/vbscript enable_vbscript
20940 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20941 wine_fn_config_makefile dlls/vcomp enable_vcomp
20942 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20943 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20944 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20945 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20946 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20947 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20948 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20949 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20950 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20951 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20952 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20953 wine_fn_config_makefile dlls/version enable_version
20954 wine_fn_config_makefile dlls/version/tests enable_tests
20955 wine_fn_config_makefile dlls/vga enable_vga
20956 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20957 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20958 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20959 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20960 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20961 wine_fn_config_makefile dlls/vssapi enable_vssapi
20962 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20963 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20964 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20965 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20966 wine_fn_config_makefile dlls/w32skrnl enable_win16
20967 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20968 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20969 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20970 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20971 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20972 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20973 wine_fn_config_makefile dlls/wdscore enable_wdscore
20974 wine_fn_config_makefile dlls/webservices enable_webservices
20975 wine_fn_config_makefile dlls/webservices/tests enable_tests
20976 wine_fn_config_makefile dlls/wer enable_wer
20977 wine_fn_config_makefile dlls/wer/tests enable_tests
20978 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20979 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20980 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20981 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20982 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20983 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20984 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20985 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20986 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20987 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20988 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20989 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20990 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20991 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20992 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20993 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20994 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20995 wine_fn_config_makefile dlls/wined3d enable_wined3d
20996 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20997 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20998 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20999 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21000 wine_fn_config_makefile dlls/winemapi enable_winemapi
21001 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21002 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21003 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21004 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21005 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21006 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21007 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21008 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21009 wine_fn_config_makefile dlls/wing32 enable_wing32
21010 wine_fn_config_makefile dlls/winhttp enable_winhttp
21011 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21012 wine_fn_config_makefile dlls/wininet enable_wininet
21013 wine_fn_config_makefile dlls/wininet/tests enable_tests
21014 wine_fn_config_makefile dlls/winmm enable_winmm
21015 wine_fn_config_makefile dlls/winmm/tests enable_tests
21016 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21017 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21018 wine_fn_config_makefile dlls/winscard enable_winscard
21019 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21020 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21021 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21022 wine_fn_config_makefile dlls/winsta enable_winsta
21023 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21024 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21025 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21026 wine_fn_config_makefile dlls/wintrust enable_wintrust
21027 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21028 wine_fn_config_makefile dlls/winusb enable_winusb
21029 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21030 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21031 wine_fn_config_makefile dlls/wlanui enable_wlanui
21032 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21033 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21034 wine_fn_config_makefile dlls/wmasf enable_wmasf
21035 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21036 wine_fn_config_makefile dlls/wmi enable_wmi
21037 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21038 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21039 wine_fn_config_makefile dlls/wmp enable_wmp
21040 wine_fn_config_makefile dlls/wmp/tests enable_tests
21041 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21042 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21043 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21044 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21045 wine_fn_config_makefile dlls/wow32 enable_win16
21046 wine_fn_config_makefile dlls/wpc enable_wpc
21047 wine_fn_config_makefile dlls/wpc/tests enable_tests
21048 wine_fn_config_makefile dlls/wpcap enable_wpcap
21049 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21050 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21051 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21052 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21053 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21054 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21055 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21056 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21057 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21058 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21059 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21060 wine_fn_config_makefile dlls/wuapi enable_wuapi
21061 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21062 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21063 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21064 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21065 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21066 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21067 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21068 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21069 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21070 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21071 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21072 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21073 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21074 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21075 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21076 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21077 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21078 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21079 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21080 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21081 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21082 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21083 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21084 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21085 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21086 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21087 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21088 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21089 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21090 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21091 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21092 wine_fn_config_makefile dlls/xmllite enable_xmllite
21093 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21094 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21095 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21096 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21097 wine_fn_config_makefile fonts enable_fonts
21098 wine_fn_config_makefile include enable_include
21099 wine_fn_config_makefile libs/port enable_port
21100 wine_fn_config_makefile libs/wine enable_wine
21101 wine_fn_config_makefile libs/wpp enable_wpp
21102 wine_fn_config_makefile loader enable_loader
21103 wine_fn_config_makefile nls enable_nls
21104 wine_fn_config_makefile po enable_po
21105 wine_fn_config_makefile programs/arp enable_arp
21106 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21107 wine_fn_config_makefile programs/attrib enable_attrib
21108 wine_fn_config_makefile programs/cabarc enable_cabarc
21109 wine_fn_config_makefile programs/cacls enable_cacls
21110 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21111 wine_fn_config_makefile programs/clock enable_clock
21112 wine_fn_config_makefile programs/cmd enable_cmd
21113 wine_fn_config_makefile programs/cmd/tests enable_tests
21114 wine_fn_config_makefile programs/conhost enable_conhost
21115 wine_fn_config_makefile programs/control enable_control
21116 wine_fn_config_makefile programs/cscript enable_cscript
21117 wine_fn_config_makefile programs/dism enable_dism
21118 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21119 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21120 wine_fn_config_makefile programs/eject enable_eject
21121 wine_fn_config_makefile programs/expand enable_expand
21122 wine_fn_config_makefile programs/explorer enable_explorer
21123 wine_fn_config_makefile programs/extrac32 enable_extrac32
21124 wine_fn_config_makefile programs/fc enable_fc
21125 wine_fn_config_makefile programs/find enable_find
21126 wine_fn_config_makefile programs/find/tests enable_tests
21127 wine_fn_config_makefile programs/findstr enable_findstr
21128 wine_fn_config_makefile programs/fsutil enable_fsutil
21129 wine_fn_config_makefile programs/hh enable_hh
21130 wine_fn_config_makefile programs/hostname enable_hostname
21131 wine_fn_config_makefile programs/icacls enable_icacls
21132 wine_fn_config_makefile programs/icinfo enable_icinfo
21133 wine_fn_config_makefile programs/iexplore enable_iexplore
21134 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21135 wine_fn_config_makefile programs/lodctr enable_lodctr
21136 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21137 wine_fn_config_makefile programs/mshta enable_mshta
21138 wine_fn_config_makefile programs/msidb enable_msidb
21139 wine_fn_config_makefile programs/msiexec enable_msiexec
21140 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21141 wine_fn_config_makefile programs/net enable_net
21142 wine_fn_config_makefile programs/netsh enable_netsh
21143 wine_fn_config_makefile programs/netstat enable_netstat
21144 wine_fn_config_makefile programs/ngen enable_ngen
21145 wine_fn_config_makefile programs/notepad enable_notepad
21146 wine_fn_config_makefile programs/oleview enable_oleview
21147 wine_fn_config_makefile programs/ping enable_ping
21148 wine_fn_config_makefile programs/plugplay enable_plugplay
21149 wine_fn_config_makefile programs/powershell enable_powershell
21150 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21151 wine_fn_config_makefile programs/progman enable_progman
21152 wine_fn_config_makefile programs/reg enable_reg
21153 wine_fn_config_makefile programs/reg/tests enable_tests
21154 wine_fn_config_makefile programs/regasm enable_regasm
21155 wine_fn_config_makefile programs/regedit enable_regedit
21156 wine_fn_config_makefile programs/regedit/tests enable_tests
21157 wine_fn_config_makefile programs/regini enable_regini
21158 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21159 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21160 wine_fn_config_makefile programs/rpcss enable_rpcss
21161 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21162 wine_fn_config_makefile programs/rundll32 enable_rundll32
21163 wine_fn_config_makefile programs/sc enable_sc
21164 wine_fn_config_makefile programs/schtasks enable_schtasks
21165 wine_fn_config_makefile programs/schtasks/tests enable_tests
21166 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21167 wine_fn_config_makefile programs/secedit enable_secedit
21168 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21169 wine_fn_config_makefile programs/services enable_services
21170 wine_fn_config_makefile programs/services/tests enable_tests
21171 wine_fn_config_makefile programs/shutdown enable_shutdown
21172 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21173 wine_fn_config_makefile programs/start enable_start
21174 wine_fn_config_makefile programs/subst enable_subst
21175 wine_fn_config_makefile programs/svchost enable_svchost
21176 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21177 wine_fn_config_makefile programs/taskkill enable_taskkill
21178 wine_fn_config_makefile programs/tasklist enable_tasklist
21179 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21180 wine_fn_config_makefile programs/termsv enable_termsv
21181 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21182 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21183 wine_fn_config_makefile programs/view enable_view
21184 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21185 wine_fn_config_makefile programs/whoami enable_whoami
21186 wine_fn_config_makefile programs/wineboot enable_wineboot
21187 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21188 wine_fn_config_makefile programs/winecfg enable_winecfg
21189 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21190 wine_fn_config_makefile programs/winedbg enable_winedbg
21191 wine_fn_config_makefile programs/winedevice enable_winedevice
21192 wine_fn_config_makefile programs/winefile enable_winefile
21193 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21194 wine_fn_config_makefile programs/winemine enable_winemine
21195 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21196 wine_fn_config_makefile programs/winepath enable_winepath
21197 wine_fn_config_makefile programs/winetest enable_winetest
21198 wine_fn_config_makefile programs/winevdm enable_win16
21199 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21200 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21201 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21202 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21203 wine_fn_config_makefile programs/winver enable_winver
21204 wine_fn_config_makefile programs/wmic enable_wmic
21205 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21206 wine_fn_config_makefile programs/wordpad enable_wordpad
21207 wine_fn_config_makefile programs/write enable_write
21208 wine_fn_config_makefile programs/wscript enable_wscript
21209 wine_fn_config_makefile programs/wscript/tests enable_tests
21210 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21211 wine_fn_config_makefile programs/wusa enable_wusa
21212 wine_fn_config_makefile programs/xcopy enable_xcopy
21213 wine_fn_config_makefile programs/xcopy/tests enable_tests
21214 wine_fn_config_makefile server enable_server
21215 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21216 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21217 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21218 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21219 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21220 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21221 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21222 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21223 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21226 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21227 wine_fn_append_file CONFIGURE_TARGETS "tags"
21228 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21229 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21230 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21231 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21232 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21233 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21235 if test "x$enable_tools" != xno
21236 then
21237 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21238 ac_config_commands="$ac_config_commands tools/makedep"
21242 ac_config_commands="$ac_config_commands Makefile"
21245 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21249 if test "x$enable_maintainer_mode" = xyes
21250 then
21251 wine_fn_append_rule "configure: configure.ac aclocal.m4
21252 autoconf --warnings=all
21253 include/config.h.in: include/stamp-h.in
21254 include/stamp-h.in: configure.ac aclocal.m4
21255 autoheader --warnings=all
21256 @echo timestamp > \$@"
21259 if test "x$enable_tools" != xno
21260 then
21261 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21262 @./config.status tools/makedep
21263 Makefile: tools/makedep$ac_exeext
21264 fonts: tools/sfnt2fon
21265 include: tools tools/widl"
21266 else
21267 wine_fn_append_rule "\$(MAKEDEP):
21268 @echo \"You need to run make in $TOOLSDIR first\" && false"
21271 if test -n "$with_wine64"
21272 then
21273 case "$with_wine64" in
21274 /*) reldir="" ;;
21275 *) reldir="../" ;;
21276 esac
21277 rm -f fonts server 2>/dev/null
21278 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21279 loader/wine64 loader/wine64-preloader:
21280 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21281 $with_wine64/loader/wine:
21282 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21283 $with_wine64/loader/wine-preloader:
21284 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21285 clean::
21286 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21287 else
21288 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21289 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21290 fonts \
21291 loader/wine.inf \
21292 loader/winebus.inf \
21293 loader/winehid.inf \
21294 nls \
21295 programs/msidb/msidb \
21296 programs/msiexec/msiexec \
21297 programs/notepad/notepad \
21298 programs/regedit/regedit \
21299 programs/regsvr32/regsvr32 \
21300 programs/wineboot/wineboot \
21301 programs/winecfg/winecfg \
21302 programs/wineconsole/wineconsole \
21303 programs/winedbg/winedbg \
21304 programs/winefile/winefile \
21305 programs/winemine/winemine \
21306 programs/winepath/winepath \
21307 server/wineserver"
21309 case $host_os in
21310 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21311 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21312 esac
21315 $as_echo " done" >&6
21316 cat >confcache <<\_ACEOF
21317 # This file is a shell script that caches the results of configure
21318 # tests run on this system so they can be shared between configure
21319 # scripts and configure runs, see configure's option --config-cache.
21320 # It is not useful on other systems. If it contains results you don't
21321 # want to keep, you may remove or edit it.
21323 # config.status only pays attention to the cache file if you give it
21324 # the --recheck option to rerun configure.
21326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21328 # following values.
21330 _ACEOF
21332 # The following way of writing the cache mishandles newlines in values,
21333 # but we know of no workaround that is simple, portable, and efficient.
21334 # So, we kill variables containing newlines.
21335 # Ultrix sh set writes to stderr and can't be redirected directly,
21336 # and sets the high bit in the cache file unless we assign to the vars.
21338 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21339 eval ac_val=\$$ac_var
21340 case $ac_val in #(
21341 *${as_nl}*)
21342 case $ac_var in #(
21343 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21344 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21345 esac
21346 case $ac_var in #(
21347 _ | IFS | as_nl) ;; #(
21348 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21349 *) { eval $ac_var=; unset $ac_var;} ;;
21350 esac ;;
21351 esac
21352 done
21354 (set) 2>&1 |
21355 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21356 *${as_nl}ac_space=\ *)
21357 # `set' does not quote correctly, so add quotes: double-quote
21358 # substitution turns \\\\ into \\, and sed turns \\ into \.
21359 sed -n \
21360 "s/'/'\\\\''/g;
21361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21362 ;; #(
21364 # `set' quotes correctly as required by POSIX, so do not add quotes.
21365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21367 esac |
21368 sort
21370 sed '
21371 /^ac_cv_env_/b end
21372 t clear
21373 :clear
21374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21375 t end
21376 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21377 :end' >>confcache
21378 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21379 if test -w "$cache_file"; then
21380 if test "x$cache_file" != "x/dev/null"; then
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21382 $as_echo "$as_me: updating cache $cache_file" >&6;}
21383 if test ! -f "$cache_file" || test -h "$cache_file"; then
21384 cat confcache >"$cache_file"
21385 else
21386 case $cache_file in #(
21387 */* | ?:*)
21388 mv -f confcache "$cache_file"$$ &&
21389 mv -f "$cache_file"$$ "$cache_file" ;; #(
21391 mv -f confcache "$cache_file" ;;
21392 esac
21395 else
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21400 rm -f confcache
21402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21403 # Let make expand exec_prefix.
21404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21406 DEFS=-DHAVE_CONFIG_H
21408 ac_libobjs=
21409 ac_ltlibobjs=
21411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21412 # 1. Remove the extension, and $U if already installed.
21413 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21414 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21415 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21416 # will be set to the directory where LIBOBJS objects are built.
21417 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21418 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21419 done
21420 LIBOBJS=$ac_libobjs
21422 LTLIBOBJS=$ac_ltlibobjs
21426 : "${CONFIG_STATUS=./config.status}"
21427 ac_write_fail=0
21428 ac_clean_files_save=$ac_clean_files
21429 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21431 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21432 as_write_fail=0
21433 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21434 #! $SHELL
21435 # Generated by $as_me.
21436 # Run this file to recreate the current configuration.
21437 # Compiler output produced by configure, useful for debugging
21438 # configure, is in config.log if it exists.
21440 debug=false
21441 ac_cs_recheck=false
21442 ac_cs_silent=false
21444 SHELL=\${CONFIG_SHELL-$SHELL}
21445 export SHELL
21446 _ASEOF
21447 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21448 ## -------------------- ##
21449 ## M4sh Initialization. ##
21450 ## -------------------- ##
21452 # Be more Bourne compatible
21453 DUALCASE=1; export DUALCASE # for MKS sh
21454 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21455 emulate sh
21456 NULLCMD=:
21457 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21458 # is contrary to our usage. Disable this feature.
21459 alias -g '${1+"$@"}'='"$@"'
21460 setopt NO_GLOB_SUBST
21461 else
21462 case `(set -o) 2>/dev/null` in #(
21463 *posix*) :
21464 set -o posix ;; #(
21465 *) :
21467 esac
21471 as_nl='
21473 export as_nl
21474 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21475 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21477 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21478 # Prefer a ksh shell builtin over an external printf program on Solaris,
21479 # but without wasting forks for bash or zsh.
21480 if test -z "$BASH_VERSION$ZSH_VERSION" \
21481 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21482 as_echo='print -r --'
21483 as_echo_n='print -rn --'
21484 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21485 as_echo='printf %s\n'
21486 as_echo_n='printf %s'
21487 else
21488 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21489 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21490 as_echo_n='/usr/ucb/echo -n'
21491 else
21492 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21493 as_echo_n_body='eval
21494 arg=$1;
21495 case $arg in #(
21496 *"$as_nl"*)
21497 expr "X$arg" : "X\\(.*\\)$as_nl";
21498 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21499 esac;
21500 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21502 export as_echo_n_body
21503 as_echo_n='sh -c $as_echo_n_body as_echo'
21505 export as_echo_body
21506 as_echo='sh -c $as_echo_body as_echo'
21509 # The user is always right.
21510 if test "${PATH_SEPARATOR+set}" != set; then
21511 PATH_SEPARATOR=:
21512 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21513 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21514 PATH_SEPARATOR=';'
21519 # IFS
21520 # We need space, tab and new line, in precisely that order. Quoting is
21521 # there to prevent editors from complaining about space-tab.
21522 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21523 # splitting by setting IFS to empty value.)
21524 IFS=" "" $as_nl"
21526 # Find who we are. Look in the path if we contain no directory separator.
21527 as_myself=
21528 case $0 in #((
21529 *[\\/]* ) as_myself=$0 ;;
21530 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21531 for as_dir in $PATH
21533 IFS=$as_save_IFS
21534 test -z "$as_dir" && as_dir=.
21535 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21536 done
21537 IFS=$as_save_IFS
21540 esac
21541 # We did not find ourselves, most probably we were run as `sh COMMAND'
21542 # in which case we are not to be found in the path.
21543 if test "x$as_myself" = x; then
21544 as_myself=$0
21546 if test ! -f "$as_myself"; then
21547 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21548 exit 1
21551 # Unset variables that we do not need and which cause bugs (e.g. in
21552 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21553 # suppresses any "Segmentation fault" message there. '((' could
21554 # trigger a bug in pdksh 5.2.14.
21555 for as_var in BASH_ENV ENV MAIL MAILPATH
21556 do eval test x\${$as_var+set} = xset \
21557 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21558 done
21559 PS1='$ '
21560 PS2='> '
21561 PS4='+ '
21563 # NLS nuisances.
21564 LC_ALL=C
21565 export LC_ALL
21566 LANGUAGE=C
21567 export LANGUAGE
21569 # CDPATH.
21570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21573 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21574 # ----------------------------------------
21575 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21576 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21577 # script with STATUS, using 1 if that was 0.
21578 as_fn_error ()
21580 as_status=$1; test $as_status -eq 0 && as_status=1
21581 if test "$4"; then
21582 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21583 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21585 $as_echo "$as_me: error: $2" >&2
21586 as_fn_exit $as_status
21587 } # as_fn_error
21590 # as_fn_set_status STATUS
21591 # -----------------------
21592 # Set $? to STATUS, without forking.
21593 as_fn_set_status ()
21595 return $1
21596 } # as_fn_set_status
21598 # as_fn_exit STATUS
21599 # -----------------
21600 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21601 as_fn_exit ()
21603 set +e
21604 as_fn_set_status $1
21605 exit $1
21606 } # as_fn_exit
21608 # as_fn_unset VAR
21609 # ---------------
21610 # Portably unset VAR.
21611 as_fn_unset ()
21613 { eval $1=; unset $1;}
21615 as_unset=as_fn_unset
21616 # as_fn_append VAR VALUE
21617 # ----------------------
21618 # Append the text in VALUE to the end of the definition contained in VAR. Take
21619 # advantage of any shell optimizations that allow amortized linear growth over
21620 # repeated appends, instead of the typical quadratic growth present in naive
21621 # implementations.
21622 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21623 eval 'as_fn_append ()
21625 eval $1+=\$2
21627 else
21628 as_fn_append ()
21630 eval $1=\$$1\$2
21632 fi # as_fn_append
21634 # as_fn_arith ARG...
21635 # ------------------
21636 # Perform arithmetic evaluation on the ARGs, and store the result in the
21637 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21638 # must be portable across $(()) and expr.
21639 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21640 eval 'as_fn_arith ()
21642 as_val=$(( $* ))
21644 else
21645 as_fn_arith ()
21647 as_val=`expr "$@" || test $? -eq 1`
21649 fi # as_fn_arith
21652 if expr a : '\(a\)' >/dev/null 2>&1 &&
21653 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21654 as_expr=expr
21655 else
21656 as_expr=false
21659 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21660 as_basename=basename
21661 else
21662 as_basename=false
21665 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21666 as_dirname=dirname
21667 else
21668 as_dirname=false
21671 as_me=`$as_basename -- "$0" ||
21672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21673 X"$0" : 'X\(//\)$' \| \
21674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21675 $as_echo X/"$0" |
21676 sed '/^.*\/\([^/][^/]*\)\/*$/{
21677 s//\1/
21680 /^X\/\(\/\/\)$/{
21681 s//\1/
21684 /^X\/\(\/\).*/{
21685 s//\1/
21688 s/.*/./; q'`
21690 # Avoid depending upon Character Ranges.
21691 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21692 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21693 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21694 as_cr_digits='0123456789'
21695 as_cr_alnum=$as_cr_Letters$as_cr_digits
21697 ECHO_C= ECHO_N= ECHO_T=
21698 case `echo -n x` in #(((((
21699 -n*)
21700 case `echo 'xy\c'` in
21701 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21702 xy) ECHO_C='\c';;
21703 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21704 ECHO_T=' ';;
21705 esac;;
21707 ECHO_N='-n';;
21708 esac
21710 rm -f conf$$ conf$$.exe conf$$.file
21711 if test -d conf$$.dir; then
21712 rm -f conf$$.dir/conf$$.file
21713 else
21714 rm -f conf$$.dir
21715 mkdir conf$$.dir 2>/dev/null
21717 if (echo >conf$$.file) 2>/dev/null; then
21718 if ln -s conf$$.file conf$$ 2>/dev/null; then
21719 as_ln_s='ln -s'
21720 # ... but there are two gotchas:
21721 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21722 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21723 # In both cases, we have to default to `cp -pR'.
21724 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21725 as_ln_s='cp -pR'
21726 elif ln conf$$.file conf$$ 2>/dev/null; then
21727 as_ln_s=ln
21728 else
21729 as_ln_s='cp -pR'
21731 else
21732 as_ln_s='cp -pR'
21734 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21735 rmdir conf$$.dir 2>/dev/null
21738 # as_fn_mkdir_p
21739 # -------------
21740 # Create "$as_dir" as a directory, including parents if necessary.
21741 as_fn_mkdir_p ()
21744 case $as_dir in #(
21745 -*) as_dir=./$as_dir;;
21746 esac
21747 test -d "$as_dir" || eval $as_mkdir_p || {
21748 as_dirs=
21749 while :; do
21750 case $as_dir in #(
21751 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21752 *) as_qdir=$as_dir;;
21753 esac
21754 as_dirs="'$as_qdir' $as_dirs"
21755 as_dir=`$as_dirname -- "$as_dir" ||
21756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21757 X"$as_dir" : 'X\(//\)[^/]' \| \
21758 X"$as_dir" : 'X\(//\)$' \| \
21759 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21760 $as_echo X"$as_dir" |
21761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21762 s//\1/
21765 /^X\(\/\/\)[^/].*/{
21766 s//\1/
21769 /^X\(\/\/\)$/{
21770 s//\1/
21773 /^X\(\/\).*/{
21774 s//\1/
21777 s/.*/./; q'`
21778 test -d "$as_dir" && break
21779 done
21780 test -z "$as_dirs" || eval "mkdir $as_dirs"
21781 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21784 } # as_fn_mkdir_p
21785 if mkdir -p . 2>/dev/null; then
21786 as_mkdir_p='mkdir -p "$as_dir"'
21787 else
21788 test -d ./-p && rmdir ./-p
21789 as_mkdir_p=false
21793 # as_fn_executable_p FILE
21794 # -----------------------
21795 # Test if FILE is an executable regular file.
21796 as_fn_executable_p ()
21798 test -f "$1" && test -x "$1"
21799 } # as_fn_executable_p
21800 as_test_x='test -x'
21801 as_executable_p=as_fn_executable_p
21803 # Sed expression to map a string onto a valid CPP name.
21804 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21806 # Sed expression to map a string onto a valid variable name.
21807 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21810 exec 6>&1
21811 ## ----------------------------------- ##
21812 ## Main body of $CONFIG_STATUS script. ##
21813 ## ----------------------------------- ##
21814 _ASEOF
21815 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21818 # Save the log message, to keep $0 and so on meaningful, and to
21819 # report actual input values of CONFIG_FILES etc. instead of their
21820 # values after options handling.
21821 ac_log="
21822 This file was extended by Wine $as_me 5.6, which was
21823 generated by GNU Autoconf 2.69. Invocation command line was
21825 CONFIG_FILES = $CONFIG_FILES
21826 CONFIG_HEADERS = $CONFIG_HEADERS
21827 CONFIG_LINKS = $CONFIG_LINKS
21828 CONFIG_COMMANDS = $CONFIG_COMMANDS
21829 $ $0 $@
21831 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21834 _ACEOF
21836 case $ac_config_files in *"
21837 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21838 esac
21840 case $ac_config_headers in *"
21841 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21842 esac
21845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21846 # Files that config.status was made for.
21847 config_files="$ac_config_files"
21848 config_headers="$ac_config_headers"
21849 config_links="$ac_config_links"
21850 config_commands="$ac_config_commands"
21852 _ACEOF
21854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21855 ac_cs_usage="\
21856 \`$as_me' instantiates files and other configuration actions
21857 from templates according to the current configuration. Unless the files
21858 and actions are specified as TAGs, all are instantiated by default.
21860 Usage: $0 [OPTION]... [TAG]...
21862 -h, --help print this help, then exit
21863 -V, --version print version number and configuration settings, then exit
21864 --config print configuration, then exit
21865 -q, --quiet, --silent
21866 do not print progress messages
21867 -d, --debug don't remove temporary files
21868 --recheck update $as_me by reconfiguring in the same conditions
21869 --file=FILE[:TEMPLATE]
21870 instantiate the configuration file FILE
21871 --header=FILE[:TEMPLATE]
21872 instantiate the configuration header FILE
21874 Configuration files:
21875 $config_files
21877 Configuration headers:
21878 $config_headers
21880 Configuration links:
21881 $config_links
21883 Configuration commands:
21884 $config_commands
21886 Report bugs to <wine-devel@winehq.org>.
21887 Wine home page: <https://www.winehq.org>."
21889 _ACEOF
21890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21891 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21892 ac_cs_version="\\
21893 Wine config.status 5.6
21894 configured by $0, generated by GNU Autoconf 2.69,
21895 with options \\"\$ac_cs_config\\"
21897 Copyright (C) 2012 Free Software Foundation, Inc.
21898 This config.status script is free software; the Free Software Foundation
21899 gives unlimited permission to copy, distribute and modify it."
21901 ac_pwd='$ac_pwd'
21902 srcdir='$srcdir'
21903 test -n "\$AWK" || AWK=awk
21904 _ACEOF
21906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21907 # The default lists apply if the user does not specify any file.
21908 ac_need_defaults=:
21909 while test $# != 0
21911 case $1 in
21912 --*=?*)
21913 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21914 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21915 ac_shift=:
21917 --*=)
21918 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21919 ac_optarg=
21920 ac_shift=:
21923 ac_option=$1
21924 ac_optarg=$2
21925 ac_shift=shift
21927 esac
21929 case $ac_option in
21930 # Handling of the options.
21931 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21932 ac_cs_recheck=: ;;
21933 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21934 $as_echo "$ac_cs_version"; exit ;;
21935 --config | --confi | --conf | --con | --co | --c )
21936 $as_echo "$ac_cs_config"; exit ;;
21937 --debug | --debu | --deb | --de | --d | -d )
21938 debug=: ;;
21939 --file | --fil | --fi | --f )
21940 $ac_shift
21941 case $ac_optarg in
21942 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21943 '') as_fn_error $? "missing file argument" ;;
21944 esac
21945 as_fn_append CONFIG_FILES " '$ac_optarg'"
21946 ac_need_defaults=false;;
21947 --header | --heade | --head | --hea )
21948 $ac_shift
21949 case $ac_optarg in
21950 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21951 esac
21952 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21953 ac_need_defaults=false;;
21954 --he | --h)
21955 # Conflict between --help and --header
21956 as_fn_error $? "ambiguous option: \`$1'
21957 Try \`$0 --help' for more information.";;
21958 --help | --hel | -h )
21959 $as_echo "$ac_cs_usage"; exit ;;
21960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21961 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21962 ac_cs_silent=: ;;
21964 # This is an error.
21965 -*) as_fn_error $? "unrecognized option: \`$1'
21966 Try \`$0 --help' for more information." ;;
21968 *) as_fn_append ac_config_targets " $1"
21969 ac_need_defaults=false ;;
21971 esac
21972 shift
21973 done
21975 ac_configure_extra_args=
21977 if $ac_cs_silent; then
21978 exec 6>/dev/null
21979 ac_configure_extra_args="$ac_configure_extra_args --silent"
21982 _ACEOF
21983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21984 if \$ac_cs_recheck; then
21985 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21986 shift
21987 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21988 CONFIG_SHELL='$SHELL'
21989 export CONFIG_SHELL
21990 exec "\$@"
21993 _ACEOF
21994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21995 exec 5>>config.log
21997 echo
21998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21999 ## Running $as_me. ##
22000 _ASBOX
22001 $as_echo "$ac_log"
22002 } >&5
22004 _ACEOF
22005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22007 # INIT-COMMANDS
22009 wine_fn_output_makedep ()
22011 as_dir=tools; as_fn_mkdir_p
22012 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22014 wine_fn_output_makefile ()
22016 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22017 `cat $wine_rules_file`
22018 _WINE_EOF
22019 as_fn_error $? "could not create Makefile" "$LINENO" 5
22022 _ACEOF
22024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22026 # Handling of arguments.
22027 for ac_config_target in $ac_config_targets
22029 case $ac_config_target in
22030 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22031 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22032 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22033 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22034 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22035 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22036 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22038 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22039 esac
22040 done
22043 # If the user did not use the arguments to specify the items to instantiate,
22044 # then the envvar interface is used. Set only those that are not.
22045 # We use the long form for the default assignment because of an extremely
22046 # bizarre bug on SunOS 4.1.3.
22047 if $ac_need_defaults; then
22048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22050 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22051 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22054 # Have a temporary directory for convenience. Make it in the build tree
22055 # simply because there is no reason against having it here, and in addition,
22056 # creating and moving files from /tmp can sometimes cause problems.
22057 # Hook for its removal unless debugging.
22058 # Note that there is a small window in which the directory will not be cleaned:
22059 # after its creation but before its name has been assigned to `$tmp'.
22060 $debug ||
22062 tmp= ac_tmp=
22063 trap 'exit_status=$?
22064 : "${ac_tmp:=$tmp}"
22065 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22067 trap 'as_fn_exit 1' 1 2 13 15
22069 # Create a (secure) tmp directory for tmp files.
22072 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22073 test -d "$tmp"
22074 } ||
22076 tmp=./conf$$-$RANDOM
22077 (umask 077 && mkdir "$tmp")
22078 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22079 ac_tmp=$tmp
22081 # Set up the scripts for CONFIG_FILES section.
22082 # No need to generate them if there are no CONFIG_FILES.
22083 # This happens for instance with `./config.status config.h'.
22084 if test -n "$CONFIG_FILES"; then
22087 ac_cr=`echo X | tr X '\015'`
22088 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22089 # But we know of no other shell where ac_cr would be empty at this
22090 # point, so we can use a bashism as a fallback.
22091 if test "x$ac_cr" = x; then
22092 eval ac_cr=\$\'\\r\'
22094 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22095 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22096 ac_cs_awk_cr='\\r'
22097 else
22098 ac_cs_awk_cr=$ac_cr
22101 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22102 _ACEOF
22106 echo "cat >conf$$subs.awk <<_ACEOF" &&
22107 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22108 echo "_ACEOF"
22109 } >conf$$subs.sh ||
22110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22111 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22112 ac_delim='%!_!# '
22113 for ac_last_try in false false false false false :; do
22114 . ./conf$$subs.sh ||
22115 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22117 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22118 if test $ac_delim_n = $ac_delim_num; then
22119 break
22120 elif $ac_last_try; then
22121 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22122 else
22123 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22125 done
22126 rm -f conf$$subs.sh
22128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22129 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22130 _ACEOF
22131 sed -n '
22133 s/^/S["/; s/!.*/"]=/
22136 s/^[^!]*!//
22137 :repl
22138 t repl
22139 s/'"$ac_delim"'$//
22140 t delim
22143 s/\(.\{148\}\)..*/\1/
22144 t more1
22145 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22148 b repl
22149 :more1
22150 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22153 s/.\{148\}//
22154 t nl
22155 :delim
22157 s/\(.\{148\}\)..*/\1/
22158 t more2
22159 s/["\\]/\\&/g; s/^/"/; s/$/"/
22162 :more2
22163 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22166 s/.\{148\}//
22167 t delim
22168 ' <conf$$subs.awk | sed '
22169 /^[^""]/{
22171 s/\n//
22173 ' >>$CONFIG_STATUS || ac_write_fail=1
22174 rm -f conf$$subs.awk
22175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22176 _ACAWK
22177 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22178 for (key in S) S_is_set[key] = 1
22179 FS = "\a"
22183 line = $ 0
22184 nfields = split(line, field, "@")
22185 substed = 0
22186 len = length(field[1])
22187 for (i = 2; i < nfields; i++) {
22188 key = field[i]
22189 keylen = length(key)
22190 if (S_is_set[key]) {
22191 value = S[key]
22192 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22193 len += length(value) + length(field[++i])
22194 substed = 1
22195 } else
22196 len += 1 + keylen
22199 print line
22202 _ACAWK
22203 _ACEOF
22204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22205 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22206 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22207 else
22209 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22210 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22211 _ACEOF
22213 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22214 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22215 # trailing colons and then remove the whole line if VPATH becomes empty
22216 # (actually we leave an empty line to preserve line numbers).
22217 if test "x$srcdir" = x.; then
22218 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22220 s///
22221 s/^/:/
22222 s/[ ]*$/:/
22223 s/:\$(srcdir):/:/g
22224 s/:\${srcdir}:/:/g
22225 s/:@srcdir@:/:/g
22226 s/^:*//
22227 s/:*$//
22229 s/\(=[ ]*\).*/\1/
22231 s/\n//
22232 s/^[^=]*=[ ]*$//
22236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22237 fi # test -n "$CONFIG_FILES"
22239 # Set up the scripts for CONFIG_HEADERS section.
22240 # No need to generate them if there are no CONFIG_HEADERS.
22241 # This happens for instance with `./config.status Makefile'.
22242 if test -n "$CONFIG_HEADERS"; then
22243 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22244 BEGIN {
22245 _ACEOF
22247 # Transform confdefs.h into an awk script `defines.awk', embedded as
22248 # here-document in config.status, that substitutes the proper values into
22249 # config.h.in to produce config.h.
22251 # Create a delimiter string that does not exist in confdefs.h, to ease
22252 # handling of long lines.
22253 ac_delim='%!_!# '
22254 for ac_last_try in false false :; do
22255 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22256 if test -z "$ac_tt"; then
22257 break
22258 elif $ac_last_try; then
22259 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22260 else
22261 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22263 done
22265 # For the awk script, D is an array of macro values keyed by name,
22266 # likewise P contains macro parameters if any. Preserve backslash
22267 # newline sequences.
22269 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22270 sed -n '
22271 s/.\{148\}/&'"$ac_delim"'/g
22272 t rset
22273 :rset
22274 s/^[ ]*#[ ]*define[ ][ ]*/ /
22275 t def
22277 :def
22278 s/\\$//
22279 t bsnl
22280 s/["\\]/\\&/g
22281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22282 D["\1"]=" \3"/p
22283 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22285 :bsnl
22286 s/["\\]/\\&/g
22287 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22288 D["\1"]=" \3\\\\\\n"\\/p
22289 t cont
22290 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22291 t cont
22293 :cont
22295 s/.\{148\}/&'"$ac_delim"'/g
22296 t clear
22297 :clear
22298 s/\\$//
22299 t bsnlc
22300 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22302 :bsnlc
22303 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22304 b cont
22305 ' <confdefs.h | sed '
22306 s/'"$ac_delim"'/"\\\
22307 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22310 for (key in D) D_is_set[key] = 1
22311 FS = "\a"
22313 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22314 line = \$ 0
22315 split(line, arg, " ")
22316 if (arg[1] == "#") {
22317 defundef = arg[2]
22318 mac1 = arg[3]
22319 } else {
22320 defundef = substr(arg[1], 2)
22321 mac1 = arg[2]
22323 split(mac1, mac2, "(") #)
22324 macro = mac2[1]
22325 prefix = substr(line, 1, index(line, defundef) - 1)
22326 if (D_is_set[macro]) {
22327 # Preserve the white space surrounding the "#".
22328 print prefix "define", macro P[macro] D[macro]
22329 next
22330 } else {
22331 # Replace #undef with comments. This is necessary, for example,
22332 # in the case of _POSIX_SOURCE, which is predefined and required
22333 # on some systems where configure will not decide to define it.
22334 if (defundef == "undef") {
22335 print "/*", prefix defundef, macro, "*/"
22336 next
22340 { print }
22341 _ACAWK
22342 _ACEOF
22343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22344 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22345 fi # test -n "$CONFIG_HEADERS"
22348 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22349 shift
22350 for ac_tag
22352 case $ac_tag in
22353 :[FHLC]) ac_mode=$ac_tag; continue;;
22354 esac
22355 case $ac_mode$ac_tag in
22356 :[FHL]*:*);;
22357 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22358 :[FH]-) ac_tag=-:-;;
22359 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22360 esac
22361 ac_save_IFS=$IFS
22362 IFS=:
22363 set x $ac_tag
22364 IFS=$ac_save_IFS
22365 shift
22366 ac_file=$1
22367 shift
22369 case $ac_mode in
22370 :L) ac_source=$1;;
22371 :[FH])
22372 ac_file_inputs=
22373 for ac_f
22375 case $ac_f in
22376 -) ac_f="$ac_tmp/stdin";;
22377 *) # Look for the file first in the build tree, then in the source tree
22378 # (if the path is not absolute). The absolute path cannot be DOS-style,
22379 # because $ac_f cannot contain `:'.
22380 test -f "$ac_f" ||
22381 case $ac_f in
22382 [\\/$]*) false;;
22383 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22384 esac ||
22385 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22386 esac
22387 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22388 as_fn_append ac_file_inputs " '$ac_f'"
22389 done
22391 # Let's still pretend it is `configure' which instantiates (i.e., don't
22392 # use $as_me), people would be surprised to read:
22393 # /* config.h. Generated by config.status. */
22394 configure_input='Generated from '`
22395 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22396 `' by configure.'
22397 if test x"$ac_file" != x-; then
22398 configure_input="$ac_file. $configure_input"
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22400 $as_echo "$as_me: creating $ac_file" >&6;}
22402 # Neutralize special characters interpreted by sed in replacement strings.
22403 case $configure_input in #(
22404 *\&* | *\|* | *\\* )
22405 ac_sed_conf_input=`$as_echo "$configure_input" |
22406 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22407 *) ac_sed_conf_input=$configure_input;;
22408 esac
22410 case $ac_tag in
22411 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22413 esac
22415 esac
22417 ac_dir=`$as_dirname -- "$ac_file" ||
22418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22419 X"$ac_file" : 'X\(//\)[^/]' \| \
22420 X"$ac_file" : 'X\(//\)$' \| \
22421 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22422 $as_echo X"$ac_file" |
22423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22424 s//\1/
22427 /^X\(\/\/\)[^/].*/{
22428 s//\1/
22431 /^X\(\/\/\)$/{
22432 s//\1/
22435 /^X\(\/\).*/{
22436 s//\1/
22439 s/.*/./; q'`
22440 as_dir="$ac_dir"; as_fn_mkdir_p
22441 ac_builddir=.
22443 case "$ac_dir" in
22444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22447 # A ".." for each directory in $ac_dir_suffix.
22448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22449 case $ac_top_builddir_sub in
22450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22452 esac ;;
22453 esac
22454 ac_abs_top_builddir=$ac_pwd
22455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22456 # for backward compatibility:
22457 ac_top_builddir=$ac_top_build_prefix
22459 case $srcdir in
22460 .) # We are building in place.
22461 ac_srcdir=.
22462 ac_top_srcdir=$ac_top_builddir_sub
22463 ac_abs_top_srcdir=$ac_pwd ;;
22464 [\\/]* | ?:[\\/]* ) # Absolute name.
22465 ac_srcdir=$srcdir$ac_dir_suffix;
22466 ac_top_srcdir=$srcdir
22467 ac_abs_top_srcdir=$srcdir ;;
22468 *) # Relative name.
22469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22470 ac_top_srcdir=$ac_top_build_prefix$srcdir
22471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22472 esac
22473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22476 case $ac_mode in
22479 # CONFIG_FILE
22482 _ACEOF
22484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22485 # If the template does not know about datarootdir, expand it.
22486 # FIXME: This hack should be removed a few years after 2.60.
22487 ac_datarootdir_hack=; ac_datarootdir_seen=
22488 ac_sed_dataroot='
22489 /datarootdir/ {
22493 /@datadir@/p
22494 /@docdir@/p
22495 /@infodir@/p
22496 /@localedir@/p
22497 /@mandir@/p'
22498 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22499 *datarootdir*) ac_datarootdir_seen=yes;;
22500 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22502 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22503 _ACEOF
22504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22505 ac_datarootdir_hack='
22506 s&@datadir@&$datadir&g
22507 s&@docdir@&$docdir&g
22508 s&@infodir@&$infodir&g
22509 s&@localedir@&$localedir&g
22510 s&@mandir@&$mandir&g
22511 s&\\\${datarootdir}&$datarootdir&g' ;;
22512 esac
22513 _ACEOF
22515 # Neutralize VPATH when `$srcdir' = `.'.
22516 # Shell code in configure.ac might set extrasub.
22517 # FIXME: do we really want to maintain this feature?
22518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22519 ac_sed_extra="$ac_vpsub
22520 $extrasub
22521 _ACEOF
22522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22525 s|@configure_input@|$ac_sed_conf_input|;t t
22526 s&@top_builddir@&$ac_top_builddir_sub&;t t
22527 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22528 s&@srcdir@&$ac_srcdir&;t t
22529 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22530 s&@top_srcdir@&$ac_top_srcdir&;t t
22531 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22532 s&@builddir@&$ac_builddir&;t t
22533 s&@abs_builddir@&$ac_abs_builddir&;t t
22534 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22535 $ac_datarootdir_hack
22537 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22538 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22540 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22541 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22542 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22543 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22545 which seems to be undefined. Please make sure it is defined" >&5
22546 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22547 which seems to be undefined. Please make sure it is defined" >&2;}
22549 rm -f "$ac_tmp/stdin"
22550 case $ac_file in
22551 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22552 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22553 esac \
22554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22558 # CONFIG_HEADER
22560 if test x"$ac_file" != x-; then
22562 $as_echo "/* $configure_input */" \
22563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22564 } >"$ac_tmp/config.h" \
22565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22566 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22568 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22569 else
22570 rm -f "$ac_file"
22571 mv "$ac_tmp/config.h" "$ac_file" \
22572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22574 else
22575 $as_echo "/* $configure_input */" \
22576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22577 || as_fn_error $? "could not create -" "$LINENO" 5
22582 # CONFIG_LINK
22585 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22587 else
22588 # Prefer the file from the source tree if names are identical.
22589 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22590 ac_source=$srcdir/$ac_source
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22594 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22596 if test ! -r "$ac_source"; then
22597 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22599 rm -f "$ac_file"
22601 # Try a relative symlink, then a hard link, then a copy.
22602 case $ac_source in
22603 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22604 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22605 esac
22606 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22607 ln "$ac_source" "$ac_file" 2>/dev/null ||
22608 cp -p "$ac_source" "$ac_file" ||
22609 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22612 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22613 $as_echo "$as_me: executing $ac_file commands" >&6;}
22615 esac
22618 case $ac_file$ac_mode in
22619 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22620 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22621 "Makefile":C) wine_fn_output_makefile Makefile ;;
22623 esac
22624 done # for ac_tag
22627 as_fn_exit 0
22628 _ACEOF
22629 ac_clean_files=$ac_clean_files_save
22631 test $ac_write_fail = 0 ||
22632 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22635 # configure is writing to config.log, and then calls config.status.
22636 # config.status does its own redirection, appending to config.log.
22637 # Unfortunately, on DOS this fails, as config.log is still kept open
22638 # by configure, so config.status won't be able to write to it; its
22639 # output is simply discarded. So we exec the FD to /dev/null,
22640 # effectively closing config.log, so it can be properly (re)opened and
22641 # appended to by config.status. When coming back to configure, we
22642 # need to make the FD available again.
22643 if test "$no_create" != yes; then
22644 ac_cs_success=:
22645 ac_config_status_args=
22646 test "$silent" = yes &&
22647 ac_config_status_args="$ac_config_status_args --quiet"
22648 exec 5>/dev/null
22649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22650 exec 5>>config.log
22651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22652 # would make configure fail if this is the last instruction.
22653 $ac_cs_success || as_fn_exit 1
22655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22657 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22661 if test "$no_create" = "yes"
22662 then
22663 exit 0
22666 ac_save_IFS="$IFS"
22667 if test "x$wine_notices" != x; then
22668 echo >&6
22669 IFS="|"
22670 for msg in $wine_notices; do
22671 IFS="$ac_save_IFS"
22672 if ${msg:+false} :; then :
22674 else
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22676 $as_echo "$as_me: $msg" >&6;}
22678 done
22680 IFS="|"
22681 for msg in $wine_warnings; do
22682 IFS="$ac_save_IFS"
22683 if ${msg:+false} :; then :
22685 else
22686 echo >&2
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22688 $as_echo "$as_me: WARNING: $msg" >&2;}
22690 done
22691 IFS="$ac_save_IFS"
22693 $as_echo "
22694 $as_me: Finished. Do '${ac_make}' to compile Wine.
22695 " >&6