qedit: Check for S_OK when enumerating the source pin.
[wine.git] / configure
blob0b368610fa6bf20ef235167c1629e319bed7db56
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.7.
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.7'
584 PACKAGE_STRING='Wine 5.7'
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 USB_LIBS
686 USB_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 DELAYLOADFLAG
709 CROSSLDFLAGS
710 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 enable_werror
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_usb
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_l1_1_0
947 enable_api_ms_win_core_file_l1_2_0
948 enable_api_ms_win_core_file_l1_2_1
949 enable_api_ms_win_core_file_l1_2_2
950 enable_api_ms_win_core_file_l2_1_0
951 enable_api_ms_win_core_file_l2_1_1
952 enable_api_ms_win_core_file_l2_1_2
953 enable_api_ms_win_core_handle_l1_1_0
954 enable_api_ms_win_core_heap_l1_1_0
955 enable_api_ms_win_core_heap_l1_2_0
956 enable_api_ms_win_core_heap_l2_1_0
957 enable_api_ms_win_core_heap_obsolete_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_2_0
960 enable_api_ms_win_core_io_l1_1_0
961 enable_api_ms_win_core_io_l1_1_1
962 enable_api_ms_win_core_job_l1_1_0
963 enable_api_ms_win_core_job_l2_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_1
966 enable_api_ms_win_core_kernel32_private_l1_1_1
967 enable_api_ms_win_core_largeinteger_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_1
970 enable_api_ms_win_core_libraryloader_l1_2_0
971 enable_api_ms_win_core_libraryloader_l1_2_1
972 enable_api_ms_win_core_libraryloader_l1_2_2
973 enable_api_ms_win_core_localization_l1_1_0
974 enable_api_ms_win_core_localization_l1_2_0
975 enable_api_ms_win_core_localization_l1_2_1
976 enable_api_ms_win_core_localization_l2_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_2_0
979 enable_api_ms_win_core_localization_obsolete_l1_3_0
980 enable_api_ms_win_core_localization_private_l1_1_0
981 enable_api_ms_win_core_localregistry_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_1
984 enable_api_ms_win_core_memory_l1_1_2
985 enable_api_ms_win_core_misc_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_2_0
988 enable_api_ms_win_core_namespace_l1_1_0
989 enable_api_ms_win_core_normalization_l1_1_0
990 enable_api_ms_win_core_path_l1_1_0
991 enable_api_ms_win_core_privateprofile_l1_1_1
992 enable_api_ms_win_core_processenvironment_l1_1_0
993 enable_api_ms_win_core_processenvironment_l1_2_0
994 enable_api_ms_win_core_processthreads_l1_1_0
995 enable_api_ms_win_core_processthreads_l1_1_1
996 enable_api_ms_win_core_processthreads_l1_1_2
997 enable_api_ms_win_core_processthreads_l1_1_3
998 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
999 enable_api_ms_win_core_profile_l1_1_0
1000 enable_api_ms_win_core_psapi_ansi_l1_1_0
1001 enable_api_ms_win_core_psapi_l1_1_0
1002 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_quirks_l1_1_0
1004 enable_api_ms_win_core_realtime_l1_1_0
1005 enable_api_ms_win_core_registry_l1_1_0
1006 enable_api_ms_win_core_registry_l2_1_0
1007 enable_api_ms_win_core_registry_l2_2_0
1008 enable_api_ms_win_core_registryuserspecific_l1_1_0
1009 enable_api_ms_win_core_rtlsupport_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_2_0
1011 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1012 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1014 enable_api_ms_win_core_shutdown_l1_1_0
1015 enable_api_ms_win_core_sidebyside_l1_1_0
1016 enable_api_ms_win_core_string_l1_1_0
1017 enable_api_ms_win_core_string_l2_1_0
1018 enable_api_ms_win_core_string_obsolete_l1_1_0
1019 enable_api_ms_win_core_stringansi_l1_1_0
1020 enable_api_ms_win_core_stringloader_l1_1_1
1021 enable_api_ms_win_core_synch_ansi_l1_1_0
1022 enable_api_ms_win_core_synch_l1_1_0
1023 enable_api_ms_win_core_synch_l1_2_0
1024 enable_api_ms_win_core_synch_l1_2_1
1025 enable_api_ms_win_core_sysinfo_l1_1_0
1026 enable_api_ms_win_core_sysinfo_l1_2_0
1027 enable_api_ms_win_core_sysinfo_l1_2_1
1028 enable_api_ms_win_core_threadpool_l1_1_0
1029 enable_api_ms_win_core_threadpool_l1_2_0
1030 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1031 enable_api_ms_win_core_threadpool_private_l1_1_0
1032 enable_api_ms_win_core_timezone_l1_1_0
1033 enable_api_ms_win_core_toolhelp_l1_1_0
1034 enable_api_ms_win_core_url_l1_1_0
1035 enable_api_ms_win_core_util_l1_1_0
1036 enable_api_ms_win_core_version_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_1
1038 enable_api_ms_win_core_version_private_l1_1_0
1039 enable_api_ms_win_core_versionansi_l1_1_0
1040 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1041 enable_api_ms_win_core_winrt_error_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_1
1043 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1044 enable_api_ms_win_core_winrt_l1_1_0
1045 enable_api_ms_win_core_winrt_registration_l1_1_0
1046 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1047 enable_api_ms_win_core_winrt_string_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_1
1049 enable_api_ms_win_core_wow64_l1_1_0
1050 enable_api_ms_win_core_wow64_l1_1_1
1051 enable_api_ms_win_core_xstate_l1_1_0
1052 enable_api_ms_win_core_xstate_l2_1_0
1053 enable_api_ms_win_crt_conio_l1_1_0
1054 enable_api_ms_win_crt_convert_l1_1_0
1055 enable_api_ms_win_crt_environment_l1_1_0
1056 enable_api_ms_win_crt_filesystem_l1_1_0
1057 enable_api_ms_win_crt_heap_l1_1_0
1058 enable_api_ms_win_crt_locale_l1_1_0
1059 enable_api_ms_win_crt_math_l1_1_0
1060 enable_api_ms_win_crt_multibyte_l1_1_0
1061 enable_api_ms_win_crt_private_l1_1_0
1062 enable_api_ms_win_crt_process_l1_1_0
1063 enable_api_ms_win_crt_runtime_l1_1_0
1064 enable_api_ms_win_crt_stdio_l1_1_0
1065 enable_api_ms_win_crt_string_l1_1_0
1066 enable_api_ms_win_crt_time_l1_1_0
1067 enable_api_ms_win_crt_utility_l1_1_0
1068 enable_api_ms_win_devices_config_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_1
1070 enable_api_ms_win_devices_query_l1_1_1
1071 enable_api_ms_win_downlevel_advapi32_l1_1_0
1072 enable_api_ms_win_downlevel_advapi32_l2_1_0
1073 enable_api_ms_win_downlevel_normaliz_l1_1_0
1074 enable_api_ms_win_downlevel_ole32_l1_1_0
1075 enable_api_ms_win_downlevel_shell32_l1_1_0
1076 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1078 enable_api_ms_win_downlevel_user32_l1_1_0
1079 enable_api_ms_win_downlevel_version_l1_1_0
1080 enable_api_ms_win_dx_d3dkmt_l1_1_0
1081 enable_api_ms_win_eventing_classicprovider_l1_1_0
1082 enable_api_ms_win_eventing_consumer_l1_1_0
1083 enable_api_ms_win_eventing_controller_l1_1_0
1084 enable_api_ms_win_eventing_legacy_l1_1_0
1085 enable_api_ms_win_eventing_provider_l1_1_0
1086 enable_api_ms_win_eventlog_legacy_l1_1_0
1087 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1088 enable_api_ms_win_mm_joystick_l1_1_0
1089 enable_api_ms_win_mm_misc_l1_1_1
1090 enable_api_ms_win_mm_mme_l1_1_0
1091 enable_api_ms_win_mm_time_l1_1_0
1092 enable_api_ms_win_ntuser_dc_access_l1_1_0
1093 enable_api_ms_win_ntuser_rectangle_l1_1_0
1094 enable_api_ms_win_ntuser_sysparams_l1_1_0
1095 enable_api_ms_win_perf_legacy_l1_1_0
1096 enable_api_ms_win_power_base_l1_1_0
1097 enable_api_ms_win_power_setting_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1101 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1105 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1106 enable_api_ms_win_security_audit_l1_1_1
1107 enable_api_ms_win_security_base_l1_1_0
1108 enable_api_ms_win_security_base_l1_2_0
1109 enable_api_ms_win_security_base_private_l1_1_1
1110 enable_api_ms_win_security_credentials_l1_1_0
1111 enable_api_ms_win_security_cryptoapi_l1_1_0
1112 enable_api_ms_win_security_grouppolicy_l1_1_0
1113 enable_api_ms_win_security_lsalookup_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_1
1115 enable_api_ms_win_security_lsalookup_l2_1_0
1116 enable_api_ms_win_security_lsalookup_l2_1_1
1117 enable_api_ms_win_security_lsapolicy_l1_1_0
1118 enable_api_ms_win_security_provider_l1_1_0
1119 enable_api_ms_win_security_sddl_l1_1_0
1120 enable_api_ms_win_security_systemfunctions_l1_1_0
1121 enable_api_ms_win_service_core_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_1
1123 enable_api_ms_win_service_management_l1_1_0
1124 enable_api_ms_win_service_management_l2_1_0
1125 enable_api_ms_win_service_private_l1_1_1
1126 enable_api_ms_win_service_winsvc_l1_1_0
1127 enable_api_ms_win_service_winsvc_l1_2_0
1128 enable_api_ms_win_shcore_obsolete_l1_1_0
1129 enable_api_ms_win_shcore_scaling_l1_1_1
1130 enable_api_ms_win_shcore_stream_l1_1_0
1131 enable_api_ms_win_shcore_thread_l1_1_0
1132 enable_api_ms_win_shell_shellcom_l1_1_0
1133 enable_api_ms_win_shell_shellfolders_l1_1_0
1134 enable_apphelp
1135 enable_appwiz_cpl
1136 enable_atl
1137 enable_atl100
1138 enable_atl110
1139 enable_atl80
1140 enable_atl90
1141 enable_atlthunk
1142 enable_atmlib
1143 enable_authz
1144 enable_avicap32
1145 enable_avifil32
1146 enable_avrt
1147 enable_bcrypt
1148 enable_bluetoothapis
1149 enable_browseui
1150 enable_bthprops_cpl
1151 enable_cabinet
1152 enable_capi2032
1153 enable_cards
1154 enable_cdosys
1155 enable_cfgmgr32
1156 enable_clusapi
1157 enable_combase
1158 enable_comcat
1159 enable_comctl32
1160 enable_comdlg32
1161 enable_compstui
1162 enable_comsvcs
1163 enable_concrt140
1164 enable_connect
1165 enable_credui
1166 enable_crtdll
1167 enable_crypt32
1168 enable_cryptdlg
1169 enable_cryptdll
1170 enable_cryptext
1171 enable_cryptnet
1172 enable_cryptui
1173 enable_ctapi32
1174 enable_ctl3d32
1175 enable_d2d1
1176 enable_d3d10
1177 enable_d3d10_1
1178 enable_d3d10core
1179 enable_d3d11
1180 enable_d3d12
1181 enable_d3d8
1182 enable_d3d9
1183 enable_d3dcompiler_33
1184 enable_d3dcompiler_34
1185 enable_d3dcompiler_35
1186 enable_d3dcompiler_36
1187 enable_d3dcompiler_37
1188 enable_d3dcompiler_38
1189 enable_d3dcompiler_39
1190 enable_d3dcompiler_40
1191 enable_d3dcompiler_41
1192 enable_d3dcompiler_42
1193 enable_d3dcompiler_43
1194 enable_d3dcompiler_46
1195 enable_d3dcompiler_47
1196 enable_d3dim
1197 enable_d3drm
1198 enable_d3dx10_33
1199 enable_d3dx10_34
1200 enable_d3dx10_35
1201 enable_d3dx10_36
1202 enable_d3dx10_37
1203 enable_d3dx10_38
1204 enable_d3dx10_39
1205 enable_d3dx10_40
1206 enable_d3dx10_41
1207 enable_d3dx10_42
1208 enable_d3dx10_43
1209 enable_d3dx11_42
1210 enable_d3dx11_43
1211 enable_d3dx9_24
1212 enable_d3dx9_25
1213 enable_d3dx9_26
1214 enable_d3dx9_27
1215 enable_d3dx9_28
1216 enable_d3dx9_29
1217 enable_d3dx9_30
1218 enable_d3dx9_31
1219 enable_d3dx9_32
1220 enable_d3dx9_33
1221 enable_d3dx9_34
1222 enable_d3dx9_35
1223 enable_d3dx9_36
1224 enable_d3dx9_37
1225 enable_d3dx9_38
1226 enable_d3dx9_39
1227 enable_d3dx9_40
1228 enable_d3dx9_41
1229 enable_d3dx9_42
1230 enable_d3dx9_43
1231 enable_d3dxof
1232 enable_davclnt
1233 enable_dbgeng
1234 enable_dbghelp
1235 enable_dciman32
1236 enable_ddraw
1237 enable_ddrawex
1238 enable_devenum
1239 enable_dhcpcsvc
1240 enable_dhtmled_ocx
1241 enable_difxapi
1242 enable_dinput
1243 enable_dinput8
1244 enable_dispex
1245 enable_dmband
1246 enable_dmcompos
1247 enable_dmime
1248 enable_dmloader
1249 enable_dmoguids
1250 enable_dmscript
1251 enable_dmstyle
1252 enable_dmsynth
1253 enable_dmusic
1254 enable_dmusic32
1255 enable_dnsapi
1256 enable_dplay
1257 enable_dplayx
1258 enable_dpnaddr
1259 enable_dpnet
1260 enable_dpnhpast
1261 enable_dpnlobby
1262 enable_dpvoice
1263 enable_dpwsockx
1264 enable_drmclien
1265 enable_dsdmo
1266 enable_dsound
1267 enable_dsquery
1268 enable_dssenh
1269 enable_dsuiext
1270 enable_dswave
1271 enable_dwmapi
1272 enable_dwrite
1273 enable_dx8vb
1274 enable_dxdiagn
1275 enable_dxerr8
1276 enable_dxerr9
1277 enable_dxgi
1278 enable_dxguid
1279 enable_dxva2
1280 enable_esent
1281 enable_evr
1282 enable_explorerframe
1283 enable_ext_ms_win_authz_context_l1_1_0
1284 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1285 enable_ext_ms_win_dwmapi_ext_l1_1_0
1286 enable_ext_ms_win_gdi_dc_create_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_1
1288 enable_ext_ms_win_gdi_dc_l1_2_0
1289 enable_ext_ms_win_gdi_devcaps_l1_1_0
1290 enable_ext_ms_win_gdi_draw_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_1
1292 enable_ext_ms_win_gdi_font_l1_1_0
1293 enable_ext_ms_win_gdi_font_l1_1_1
1294 enable_ext_ms_win_gdi_render_l1_1_0
1295 enable_ext_ms_win_kernel32_package_current_l1_1_0
1296 enable_ext_ms_win_kernel32_package_l1_1_1
1297 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1298 enable_ext_ms_win_ntuser_draw_l1_1_0
1299 enable_ext_ms_win_ntuser_gui_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_3_0
1301 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1302 enable_ext_ms_win_ntuser_message_l1_1_0
1303 enable_ext_ms_win_ntuser_message_l1_1_1
1304 enable_ext_ms_win_ntuser_misc_l1_1_0
1305 enable_ext_ms_win_ntuser_misc_l1_2_0
1306 enable_ext_ms_win_ntuser_misc_l1_5_1
1307 enable_ext_ms_win_ntuser_mouse_l1_1_0
1308 enable_ext_ms_win_ntuser_private_l1_1_1
1309 enable_ext_ms_win_ntuser_private_l1_3_1
1310 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1311 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_window_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_1
1314 enable_ext_ms_win_ntuser_window_l1_1_4
1315 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1317 enable_ext_ms_win_oleacc_l1_1_0
1318 enable_ext_ms_win_ras_rasapi32_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1326 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1329 enable_ext_ms_win_security_credui_l1_1_0
1330 enable_ext_ms_win_security_cryptui_l1_1_0
1331 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1332 enable_ext_ms_win_shell_comdlg32_l1_1_0
1333 enable_ext_ms_win_shell_shell32_l1_2_0
1334 enable_ext_ms_win_uxtheme_themes_l1_1_0
1335 enable_faultrep
1336 enable_feclient
1337 enable_fltlib
1338 enable_fltmgr_sys
1339 enable_fntcache
1340 enable_fontsub
1341 enable_fusion
1342 enable_fwpuclnt
1343 enable_gameux
1344 enable_gdi32
1345 enable_gdiplus
1346 enable_glu32
1347 enable_gphoto2_ds
1348 enable_gpkcsp
1349 enable_hal
1350 enable_hhctrl_ocx
1351 enable_hid
1352 enable_hidclass_sys
1353 enable_hlink
1354 enable_hnetcfg
1355 enable_http_sys
1356 enable_httpapi
1357 enable_iccvid
1358 enable_icmp
1359 enable_ieframe
1360 enable_ieproxy
1361 enable_imaadp32_acm
1362 enable_imagehlp
1363 enable_imm32
1364 enable_inetcomm
1365 enable_inetcpl_cpl
1366 enable_inetmib1
1367 enable_infosoft
1368 enable_initpki
1369 enable_inkobj
1370 enable_inseng
1371 enable_iphlpapi
1372 enable_iprop
1373 enable_irprops_cpl
1374 enable_itircl
1375 enable_itss
1376 enable_joy_cpl
1377 enable_jscript
1378 enable_jsproxy
1379 enable_kerberos
1380 enable_kernel32
1381 enable_kernelbase
1382 enable_ksecdd_sys
1383 enable_ksuser
1384 enable_ktmw32
1385 enable_l3codeca_acm
1386 enable_loadperf
1387 enable_localspl
1388 enable_localui
1389 enable_lz32
1390 enable_mapi32
1391 enable_mapistub
1392 enable_mciavi32
1393 enable_mcicda
1394 enable_mciqtz32
1395 enable_mciseq
1396 enable_mciwave
1397 enable_mf
1398 enable_mf3216
1399 enable_mferror
1400 enable_mfmediaengine
1401 enable_mfplat
1402 enable_mfplay
1403 enable_mfreadwrite
1404 enable_mfuuid
1405 enable_mgmtapi
1406 enable_midimap
1407 enable_mlang
1408 enable_mmcndmgr
1409 enable_mmdevapi
1410 enable_mountmgr_sys
1411 enable_mp3dmod
1412 enable_mpr
1413 enable_mprapi
1414 enable_msacm32_drv
1415 enable_msacm32
1416 enable_msado15
1417 enable_msadp32_acm
1418 enable_msasn1
1419 enable_mscat32
1420 enable_mscms
1421 enable_mscoree
1422 enable_mscorwks
1423 enable_msctf
1424 enable_msctfp
1425 enable_msdaps
1426 enable_msdelta
1427 enable_msdmo
1428 enable_msdrm
1429 enable_msftedit
1430 enable_msg711_acm
1431 enable_msgsm32_acm
1432 enable_mshtml_tlb
1433 enable_mshtml
1434 enable_msi
1435 enable_msident
1436 enable_msimg32
1437 enable_msimsg
1438 enable_msimtf
1439 enable_msisip
1440 enable_msisys_ocx
1441 enable_msls31
1442 enable_msnet32
1443 enable_mspatcha
1444 enable_msports
1445 enable_msrle32
1446 enable_msscript_ocx
1447 enable_mssign32
1448 enable_mssip32
1449 enable_mstask
1450 enable_msvcirt
1451 enable_msvcm80
1452 enable_msvcm90
1453 enable_msvcp100
1454 enable_msvcp110
1455 enable_msvcp120
1456 enable_msvcp120_app
1457 enable_msvcp140
1458 enable_msvcp60
1459 enable_msvcp70
1460 enable_msvcp71
1461 enable_msvcp80
1462 enable_msvcp90
1463 enable_msvcr100
1464 enable_msvcr110
1465 enable_msvcr120
1466 enable_msvcr120_app
1467 enable_msvcr70
1468 enable_msvcr71
1469 enable_msvcr80
1470 enable_msvcr90
1471 enable_msvcrt
1472 enable_msvcrt20
1473 enable_msvcrt40
1474 enable_msvcrtd
1475 enable_msvfw32
1476 enable_msvidc32
1477 enable_mswsock
1478 enable_msxml
1479 enable_msxml2
1480 enable_msxml3
1481 enable_msxml4
1482 enable_msxml6
1483 enable_mtxdm
1484 enable_ncrypt
1485 enable_nddeapi
1486 enable_ndis_sys
1487 enable_netapi32
1488 enable_netcfgx
1489 enable_netprofm
1490 enable_newdev
1491 enable_ninput
1492 enable_normaliz
1493 enable_npmshtml
1494 enable_npptools
1495 enable_ntdll
1496 enable_ntdsapi
1497 enable_ntoskrnl_exe
1498 enable_ntprint
1499 enable_objsel
1500 enable_odbc32
1501 enable_odbcbcp
1502 enable_odbccp32
1503 enable_odbccu32
1504 enable_ole32
1505 enable_oleacc
1506 enable_oleaut32
1507 enable_olecli32
1508 enable_oledb32
1509 enable_oledlg
1510 enable_olepro32
1511 enable_olesvr32
1512 enable_olethk32
1513 enable_opcservices
1514 enable_openal32
1515 enable_opencl
1516 enable_opengl32
1517 enable_packager
1518 enable_pdh
1519 enable_photometadatahandler
1520 enable_pidgen
1521 enable_powrprof
1522 enable_printui
1523 enable_prntvpt
1524 enable_propsys
1525 enable_psapi
1526 enable_pstorec
1527 enable_qasf
1528 enable_qcap
1529 enable_qdvd
1530 enable_qedit
1531 enable_qmgr
1532 enable_qmgrprxy
1533 enable_quartz
1534 enable_query
1535 enable_qwave
1536 enable_rasapi32
1537 enable_rasdlg
1538 enable_regapi
1539 enable_resutils
1540 enable_riched20
1541 enable_riched32
1542 enable_rpcrt4
1543 enable_rsabase
1544 enable_rsaenh
1545 enable_rstrtmgr
1546 enable_rtutils
1547 enable_rtworkq
1548 enable_samlib
1549 enable_sane_ds
1550 enable_sapi
1551 enable_sas
1552 enable_scarddlg
1553 enable_sccbase
1554 enable_schannel
1555 enable_schedsvc
1556 enable_scrobj
1557 enable_scrrun
1558 enable_scsiport_sys
1559 enable_sechost
1560 enable_secur32
1561 enable_security
1562 enable_sensapi
1563 enable_serialui
1564 enable_setupapi
1565 enable_sfc
1566 enable_sfc_os
1567 enable_shcore
1568 enable_shdoclc
1569 enable_shdocvw
1570 enable_shell32
1571 enable_shfolder
1572 enable_shlwapi
1573 enable_slbcsp
1574 enable_slc
1575 enable_snmpapi
1576 enable_softpub
1577 enable_spoolss
1578 enable_srclient
1579 enable_sspicli
1580 enable_stdole2_tlb
1581 enable_stdole32_tlb
1582 enable_sti
1583 enable_strmbase
1584 enable_strmdll
1585 enable_strmiids
1586 enable_svrapi
1587 enable_sxs
1588 enable_t2embed
1589 enable_tapi32
1590 enable_taskschd
1591 enable_tdh
1592 enable_tdi_sys
1593 enable_traffic
1594 enable_twain_32
1595 enable_tzres
1596 enable_ucrtbase
1597 enable_uianimation
1598 enable_uiautomationcore
1599 enable_uiribbon
1600 enable_unicows
1601 enable_updspapi
1602 enable_url
1603 enable_urlmon
1604 enable_usbd_sys
1605 enable_user32
1606 enable_userenv
1607 enable_usp10
1608 enable_utildll
1609 enable_uuid
1610 enable_uxtheme
1611 enable_vbscript
1612 enable_vcomp
1613 enable_vcomp100
1614 enable_vcomp110
1615 enable_vcomp120
1616 enable_vcomp140
1617 enable_vcomp90
1618 enable_vcruntime140
1619 enable_vcruntime140_1
1620 enable_vdmdbg
1621 enable_version
1622 enable_vga
1623 enable_virtdisk
1624 enable_vssapi
1625 enable_vulkan_1
1626 enable_wbemdisp
1627 enable_wbemprox
1628 enable_wbemuuid
1629 enable_wdscore
1630 enable_webservices
1631 enable_wer
1632 enable_wevtapi
1633 enable_wiaservc
1634 enable_wimgapi
1635 enable_windowscodecs
1636 enable_windowscodecsext
1637 enable_winealsa_drv
1638 enable_wineandroid_drv
1639 enable_winebus_sys
1640 enable_winecoreaudio_drv
1641 enable_winecrt0
1642 enable_wined3d
1643 enable_winegstreamer
1644 enable_winehid_sys
1645 enable_winejoystick_drv
1646 enable_winemac_drv
1647 enable_winemapi
1648 enable_wineoss_drv
1649 enable_wineps_drv
1650 enable_winepulse_drv
1651 enable_wineqtdecoder
1652 enable_wineusb_sys
1653 enable_winevulkan
1654 enable_winex11_drv
1655 enable_wing32
1656 enable_winhttp
1657 enable_wininet
1658 enable_winmm
1659 enable_winnls32
1660 enable_winscard
1661 enable_winspool_drv
1662 enable_winsta
1663 enable_wintab32
1664 enable_wintrust
1665 enable_winusb
1666 enable_wlanapi
1667 enable_wlanui
1668 enable_wldap32
1669 enable_wmasf
1670 enable_wmcodecdspuuid
1671 enable_wmi
1672 enable_wmiutils
1673 enable_wmp
1674 enable_wmphoto
1675 enable_wmvcore
1676 enable_wnaspi32
1677 enable_wpc
1678 enable_wpcap
1679 enable_ws2_32
1680 enable_wsdapi
1681 enable_wshom_ocx
1682 enable_wsnmp32
1683 enable_wsock32
1684 enable_wtsapi32
1685 enable_wuapi
1686 enable_wuaueng
1687 enable_x3daudio1_0
1688 enable_x3daudio1_1
1689 enable_x3daudio1_2
1690 enable_x3daudio1_3
1691 enable_x3daudio1_4
1692 enable_x3daudio1_5
1693 enable_x3daudio1_6
1694 enable_x3daudio1_7
1695 enable_xapofx1_1
1696 enable_xapofx1_2
1697 enable_xapofx1_3
1698 enable_xapofx1_4
1699 enable_xapofx1_5
1700 enable_xaudio2_0
1701 enable_xaudio2_1
1702 enable_xaudio2_2
1703 enable_xaudio2_3
1704 enable_xaudio2_4
1705 enable_xaudio2_5
1706 enable_xaudio2_6
1707 enable_xaudio2_7
1708 enable_xaudio2_8
1709 enable_xaudio2_9
1710 enable_xinput1_1
1711 enable_xinput1_2
1712 enable_xinput1_3
1713 enable_xinput1_4
1714 enable_xinput9_1_0
1715 enable_xmllite
1716 enable_xolehlp
1717 enable_xpsprint
1718 enable_xpssvcs
1719 enable_fonts
1720 enable_include
1721 enable_port
1722 enable_wine
1723 enable_wpp
1724 enable_loader
1725 enable_nls
1726 enable_po
1727 enable_arp
1728 enable_aspnet_regiis
1729 enable_attrib
1730 enable_cabarc
1731 enable_cacls
1732 enable_chcp_com
1733 enable_clock
1734 enable_cmd
1735 enable_conhost
1736 enable_control
1737 enable_cscript
1738 enable_dism
1739 enable_dpnsvr
1740 enable_dxdiag
1741 enable_eject
1742 enable_expand
1743 enable_explorer
1744 enable_extrac32
1745 enable_fc
1746 enable_find
1747 enable_findstr
1748 enable_fsutil
1749 enable_hh
1750 enable_hostname
1751 enable_icacls
1752 enable_icinfo
1753 enable_iexplore
1754 enable_ipconfig
1755 enable_lodctr
1756 enable_mofcomp
1757 enable_mshta
1758 enable_msidb
1759 enable_msiexec
1760 enable_msinfo32
1761 enable_net
1762 enable_netsh
1763 enable_netstat
1764 enable_ngen
1765 enable_notepad
1766 enable_oleview
1767 enable_ping
1768 enable_plugplay
1769 enable_powershell
1770 enable_presentationfontcache
1771 enable_progman
1772 enable_reg
1773 enable_regasm
1774 enable_regedit
1775 enable_regini
1776 enable_regsvcs
1777 enable_regsvr32
1778 enable_rpcss
1779 enable_rundll32
1780 enable_sc
1781 enable_schtasks
1782 enable_sdbinst
1783 enable_secedit
1784 enable_servicemodelreg
1785 enable_services
1786 enable_shutdown
1787 enable_spoolsv
1788 enable_start
1789 enable_subst
1790 enable_svchost
1791 enable_systeminfo
1792 enable_taskkill
1793 enable_tasklist
1794 enable_taskmgr
1795 enable_termsv
1796 enable_uninstaller
1797 enable_unlodctr
1798 enable_view
1799 enable_wevtutil
1800 enable_whoami
1801 enable_wineboot
1802 enable_winebrowser
1803 enable_winecfg
1804 enable_wineconsole
1805 enable_winedbg
1806 enable_winedevice
1807 enable_winefile
1808 enable_winemenubuilder
1809 enable_winemine
1810 enable_winemsibuilder
1811 enable_winepath
1812 enable_winetest
1813 enable_winhlp32
1814 enable_winmgmt
1815 enable_winver
1816 enable_wmic
1817 enable_wmplayer
1818 enable_wordpad
1819 enable_write
1820 enable_wscript
1821 enable_wuauserv
1822 enable_wusa
1823 enable_xcopy
1824 enable_server
1825 enable_tools
1826 enable_sfnt2fon
1827 enable_widl
1828 enable_winebuild
1829 enable_winedump
1830 enable_winegcc
1831 enable_winemaker
1832 enable_wmc
1833 enable_wrc
1835 ac_precious_vars='build_alias
1836 host_alias
1837 target_alias
1839 CFLAGS
1840 LDFLAGS
1841 LIBS
1842 CPPFLAGS
1844 CXXFLAGS
1847 OBJC
1848 OBJCFLAGS
1849 OBJCPP
1850 XMKMF
1851 XML2_CFLAGS
1852 XML2_LIBS
1853 XSLT_CFLAGS
1854 XSLT_LIBS
1855 INOTIFY_CFLAGS
1856 INOTIFY_LIBS
1857 DBUS_CFLAGS
1858 DBUS_LIBS
1859 HAL_CFLAGS
1860 HAL_LIBS
1861 GNUTLS_CFLAGS
1862 GNUTLS_LIBS
1863 SANE_CFLAGS
1864 SANE_LIBS
1865 USB_CFLAGS
1866 USB_LIBS
1867 GPHOTO2_CFLAGS
1868 GPHOTO2_LIBS
1869 GPHOTO2_PORT_CFLAGS
1870 GPHOTO2_PORT_LIBS
1871 LCMS2_CFLAGS
1872 LCMS2_LIBS
1873 FREETYPE_CFLAGS
1874 FREETYPE_LIBS
1875 PULSE_CFLAGS
1876 PULSE_LIBS
1877 GSTREAMER_CFLAGS
1878 GSTREAMER_LIBS
1879 UDEV_CFLAGS
1880 UDEV_LIBS
1881 UNWIND_CFLAGS
1882 UNWIND_LIBS
1883 SDL2_CFLAGS
1884 SDL2_LIBS
1885 FAUDIO_CFLAGS
1886 FAUDIO_LIBS
1887 CAPI20_CFLAGS
1888 CAPI20_LIBS
1889 CUPS_CFLAGS
1890 CUPS_LIBS
1891 FONTCONFIG_CFLAGS
1892 FONTCONFIG_LIBS
1893 KRB5_CFLAGS
1894 KRB5_LIBS
1895 GSSAPI_CFLAGS
1896 GSSAPI_LIBS
1897 JPEG_CFLAGS
1898 JPEG_LIBS
1899 PNG_CFLAGS
1900 PNG_LIBS
1901 TIFF_CFLAGS
1902 TIFF_LIBS
1903 MPG123_CFLAGS
1904 MPG123_LIBS
1905 NETAPI_CFLAGS
1906 NETAPI_LIBS
1907 VKD3D_CFLAGS
1908 VKD3D_LIBS
1909 LDAP_CFLAGS
1910 LDAP_LIBS'
1913 # Initialize some variables set by options.
1914 ac_init_help=
1915 ac_init_version=false
1916 ac_unrecognized_opts=
1917 ac_unrecognized_sep=
1918 # The variables have the same names as the options, with
1919 # dashes changed to underlines.
1920 cache_file=/dev/null
1921 exec_prefix=NONE
1922 no_create=
1923 no_recursion=
1924 prefix=NONE
1925 program_prefix=NONE
1926 program_suffix=NONE
1927 program_transform_name=s,x,x,
1928 silent=
1929 site=
1930 srcdir=
1931 verbose=
1932 x_includes=NONE
1933 x_libraries=NONE
1935 # Installation directory options.
1936 # These are left unexpanded so users can "make install exec_prefix=/foo"
1937 # and all the variables that are supposed to be based on exec_prefix
1938 # by default will actually change.
1939 # Use braces instead of parens because sh, perl, etc. also accept them.
1940 # (The list follows the same order as the GNU Coding Standards.)
1941 bindir='${exec_prefix}/bin'
1942 sbindir='${exec_prefix}/sbin'
1943 libexecdir='${exec_prefix}/libexec'
1944 datarootdir='${prefix}/share'
1945 datadir='${datarootdir}'
1946 sysconfdir='${prefix}/etc'
1947 sharedstatedir='${prefix}/com'
1948 localstatedir='${prefix}/var'
1949 runstatedir='${localstatedir}/run'
1950 includedir='${prefix}/include'
1951 oldincludedir='/usr/include'
1952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1953 infodir='${datarootdir}/info'
1954 htmldir='${docdir}'
1955 dvidir='${docdir}'
1956 pdfdir='${docdir}'
1957 psdir='${docdir}'
1958 libdir='${exec_prefix}/lib'
1959 localedir='${datarootdir}/locale'
1960 mandir='${datarootdir}/man'
1962 ac_prev=
1963 ac_dashdash=
1964 for ac_option
1966 # If the previous option needs an argument, assign it.
1967 if test -n "$ac_prev"; then
1968 eval $ac_prev=\$ac_option
1969 ac_prev=
1970 continue
1973 case $ac_option in
1974 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1975 *=) ac_optarg= ;;
1976 *) ac_optarg=yes ;;
1977 esac
1979 # Accept the important Cygnus configure options, so we can diagnose typos.
1981 case $ac_dashdash$ac_option in
1983 ac_dashdash=yes ;;
1985 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1986 ac_prev=bindir ;;
1987 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1988 bindir=$ac_optarg ;;
1990 -build | --build | --buil | --bui | --bu)
1991 ac_prev=build_alias ;;
1992 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1993 build_alias=$ac_optarg ;;
1995 -cache-file | --cache-file | --cache-fil | --cache-fi \
1996 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1997 ac_prev=cache_file ;;
1998 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1999 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2000 cache_file=$ac_optarg ;;
2002 --config-cache | -C)
2003 cache_file=config.cache ;;
2005 -datadir | --datadir | --datadi | --datad)
2006 ac_prev=datadir ;;
2007 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2008 datadir=$ac_optarg ;;
2010 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2011 | --dataroo | --dataro | --datar)
2012 ac_prev=datarootdir ;;
2013 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2014 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2015 datarootdir=$ac_optarg ;;
2017 -disable-* | --disable-*)
2018 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2019 # Reject names that are not valid shell variable names.
2020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2021 as_fn_error $? "invalid feature name: $ac_useropt"
2022 ac_useropt_orig=$ac_useropt
2023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2024 case $ac_user_opts in
2026 "enable_$ac_useropt"
2027 "*) ;;
2028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2029 ac_unrecognized_sep=', ';;
2030 esac
2031 eval enable_$ac_useropt=no ;;
2033 -docdir | --docdir | --docdi | --doc | --do)
2034 ac_prev=docdir ;;
2035 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2036 docdir=$ac_optarg ;;
2038 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2039 ac_prev=dvidir ;;
2040 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2041 dvidir=$ac_optarg ;;
2043 -enable-* | --enable-*)
2044 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2045 # Reject names that are not valid shell variable names.
2046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2047 as_fn_error $? "invalid feature name: $ac_useropt"
2048 ac_useropt_orig=$ac_useropt
2049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2050 case $ac_user_opts in
2052 "enable_$ac_useropt"
2053 "*) ;;
2054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2055 ac_unrecognized_sep=', ';;
2056 esac
2057 eval enable_$ac_useropt=\$ac_optarg ;;
2059 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2060 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2061 | --exec | --exe | --ex)
2062 ac_prev=exec_prefix ;;
2063 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2064 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2065 | --exec=* | --exe=* | --ex=*)
2066 exec_prefix=$ac_optarg ;;
2068 -gas | --gas | --ga | --g)
2069 # Obsolete; use --with-gas.
2070 with_gas=yes ;;
2072 -help | --help | --hel | --he | -h)
2073 ac_init_help=long ;;
2074 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2075 ac_init_help=recursive ;;
2076 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2077 ac_init_help=short ;;
2079 -host | --host | --hos | --ho)
2080 ac_prev=host_alias ;;
2081 -host=* | --host=* | --hos=* | --ho=*)
2082 host_alias=$ac_optarg ;;
2084 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2085 ac_prev=htmldir ;;
2086 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2087 | --ht=*)
2088 htmldir=$ac_optarg ;;
2090 -includedir | --includedir | --includedi | --included | --include \
2091 | --includ | --inclu | --incl | --inc)
2092 ac_prev=includedir ;;
2093 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2094 | --includ=* | --inclu=* | --incl=* | --inc=*)
2095 includedir=$ac_optarg ;;
2097 -infodir | --infodir | --infodi | --infod | --info | --inf)
2098 ac_prev=infodir ;;
2099 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2100 infodir=$ac_optarg ;;
2102 -libdir | --libdir | --libdi | --libd)
2103 ac_prev=libdir ;;
2104 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2105 libdir=$ac_optarg ;;
2107 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2108 | --libexe | --libex | --libe)
2109 ac_prev=libexecdir ;;
2110 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2111 | --libexe=* | --libex=* | --libe=*)
2112 libexecdir=$ac_optarg ;;
2114 -localedir | --localedir | --localedi | --localed | --locale)
2115 ac_prev=localedir ;;
2116 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2117 localedir=$ac_optarg ;;
2119 -localstatedir | --localstatedir | --localstatedi | --localstated \
2120 | --localstate | --localstat | --localsta | --localst | --locals)
2121 ac_prev=localstatedir ;;
2122 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2123 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2124 localstatedir=$ac_optarg ;;
2126 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2127 ac_prev=mandir ;;
2128 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2129 mandir=$ac_optarg ;;
2131 -nfp | --nfp | --nf)
2132 # Obsolete; use --without-fp.
2133 with_fp=no ;;
2135 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2136 | --no-cr | --no-c | -n)
2137 no_create=yes ;;
2139 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2140 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2141 no_recursion=yes ;;
2143 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2144 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2145 | --oldin | --oldi | --old | --ol | --o)
2146 ac_prev=oldincludedir ;;
2147 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2148 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2149 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2150 oldincludedir=$ac_optarg ;;
2152 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2153 ac_prev=prefix ;;
2154 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2155 prefix=$ac_optarg ;;
2157 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2158 | --program-pre | --program-pr | --program-p)
2159 ac_prev=program_prefix ;;
2160 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2161 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2162 program_prefix=$ac_optarg ;;
2164 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2165 | --program-suf | --program-su | --program-s)
2166 ac_prev=program_suffix ;;
2167 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2168 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2169 program_suffix=$ac_optarg ;;
2171 -program-transform-name | --program-transform-name \
2172 | --program-transform-nam | --program-transform-na \
2173 | --program-transform-n | --program-transform- \
2174 | --program-transform | --program-transfor \
2175 | --program-transfo | --program-transf \
2176 | --program-trans | --program-tran \
2177 | --progr-tra | --program-tr | --program-t)
2178 ac_prev=program_transform_name ;;
2179 -program-transform-name=* | --program-transform-name=* \
2180 | --program-transform-nam=* | --program-transform-na=* \
2181 | --program-transform-n=* | --program-transform-=* \
2182 | --program-transform=* | --program-transfor=* \
2183 | --program-transfo=* | --program-transf=* \
2184 | --program-trans=* | --program-tran=* \
2185 | --progr-tra=* | --program-tr=* | --program-t=*)
2186 program_transform_name=$ac_optarg ;;
2188 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2189 ac_prev=pdfdir ;;
2190 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2191 pdfdir=$ac_optarg ;;
2193 -psdir | --psdir | --psdi | --psd | --ps)
2194 ac_prev=psdir ;;
2195 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2196 psdir=$ac_optarg ;;
2198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2199 | -silent | --silent | --silen | --sile | --sil)
2200 silent=yes ;;
2202 -runstatedir | --runstatedir | --runstatedi | --runstated \
2203 | --runstate | --runstat | --runsta | --runst | --runs \
2204 | --run | --ru | --r)
2205 ac_prev=runstatedir ;;
2206 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2207 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2208 | --run=* | --ru=* | --r=*)
2209 runstatedir=$ac_optarg ;;
2211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2212 ac_prev=sbindir ;;
2213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2214 | --sbi=* | --sb=*)
2215 sbindir=$ac_optarg ;;
2217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2219 | --sharedst | --shareds | --shared | --share | --shar \
2220 | --sha | --sh)
2221 ac_prev=sharedstatedir ;;
2222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2225 | --sha=* | --sh=*)
2226 sharedstatedir=$ac_optarg ;;
2228 -site | --site | --sit)
2229 ac_prev=site ;;
2230 -site=* | --site=* | --sit=*)
2231 site=$ac_optarg ;;
2233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2234 ac_prev=srcdir ;;
2235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2236 srcdir=$ac_optarg ;;
2238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2239 | --syscon | --sysco | --sysc | --sys | --sy)
2240 ac_prev=sysconfdir ;;
2241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2243 sysconfdir=$ac_optarg ;;
2245 -target | --target | --targe | --targ | --tar | --ta | --t)
2246 ac_prev=target_alias ;;
2247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2248 target_alias=$ac_optarg ;;
2250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2251 verbose=yes ;;
2253 -version | --version | --versio | --versi | --vers | -V)
2254 ac_init_version=: ;;
2256 -with-* | --with-*)
2257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2258 # Reject names that are not valid shell variable names.
2259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2260 as_fn_error $? "invalid package name: $ac_useropt"
2261 ac_useropt_orig=$ac_useropt
2262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2263 case $ac_user_opts in
2265 "with_$ac_useropt"
2266 "*) ;;
2267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2268 ac_unrecognized_sep=', ';;
2269 esac
2270 eval with_$ac_useropt=\$ac_optarg ;;
2272 -without-* | --without-*)
2273 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2274 # Reject names that are not valid shell variable names.
2275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2276 as_fn_error $? "invalid package name: $ac_useropt"
2277 ac_useropt_orig=$ac_useropt
2278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2279 case $ac_user_opts in
2281 "with_$ac_useropt"
2282 "*) ;;
2283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2284 ac_unrecognized_sep=', ';;
2285 esac
2286 eval with_$ac_useropt=no ;;
2288 --x)
2289 # Obsolete; use --with-x.
2290 with_x=yes ;;
2292 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2293 | --x-incl | --x-inc | --x-in | --x-i)
2294 ac_prev=x_includes ;;
2295 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2296 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2297 x_includes=$ac_optarg ;;
2299 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2300 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2301 ac_prev=x_libraries ;;
2302 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2303 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2304 x_libraries=$ac_optarg ;;
2306 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2307 Try \`$0 --help' for more information"
2310 *=*)
2311 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2312 # Reject names that are not valid shell variable names.
2313 case $ac_envvar in #(
2314 '' | [0-9]* | *[!_$as_cr_alnum]* )
2315 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2316 esac
2317 eval $ac_envvar=\$ac_optarg
2318 export $ac_envvar ;;
2321 # FIXME: should be removed in autoconf 3.0.
2322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2325 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2328 esac
2329 done
2331 if test -n "$ac_prev"; then
2332 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2333 as_fn_error $? "missing argument to $ac_option"
2336 if test -n "$ac_unrecognized_opts"; then
2337 case $enable_option_checking in
2338 no) ;;
2339 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2341 esac
2344 # Check all directory arguments for consistency.
2345 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2346 datadir sysconfdir sharedstatedir localstatedir includedir \
2347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2348 libdir localedir mandir runstatedir
2350 eval ac_val=\$$ac_var
2351 # Remove trailing slashes.
2352 case $ac_val in
2353 */ )
2354 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2355 eval $ac_var=\$ac_val;;
2356 esac
2357 # Be sure to have absolute directory names.
2358 case $ac_val in
2359 [\\/$]* | ?:[\\/]* ) continue;;
2360 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2361 esac
2362 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2363 done
2365 # There might be people who depend on the old broken behavior: `$host'
2366 # used to hold the argument of --host etc.
2367 # FIXME: To remove some day.
2368 build=$build_alias
2369 host=$host_alias
2370 target=$target_alias
2372 # FIXME: To remove some day.
2373 if test "x$host_alias" != x; then
2374 if test "x$build_alias" = x; then
2375 cross_compiling=maybe
2376 elif test "x$build_alias" != "x$host_alias"; then
2377 cross_compiling=yes
2381 ac_tool_prefix=
2382 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2384 test "$silent" = yes && exec 6>/dev/null
2387 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2388 ac_ls_di=`ls -di .` &&
2389 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2390 as_fn_error $? "working directory cannot be determined"
2391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2392 as_fn_error $? "pwd does not report name of working directory"
2395 # Find the source files, if location was not specified.
2396 if test -z "$srcdir"; then
2397 ac_srcdir_defaulted=yes
2398 # Try the directory containing this script, then the parent directory.
2399 ac_confdir=`$as_dirname -- "$as_myself" ||
2400 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2401 X"$as_myself" : 'X\(//\)[^/]' \| \
2402 X"$as_myself" : 'X\(//\)$' \| \
2403 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2404 $as_echo X"$as_myself" |
2405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2406 s//\1/
2409 /^X\(\/\/\)[^/].*/{
2410 s//\1/
2413 /^X\(\/\/\)$/{
2414 s//\1/
2417 /^X\(\/\).*/{
2418 s//\1/
2421 s/.*/./; q'`
2422 srcdir=$ac_confdir
2423 if test ! -r "$srcdir/$ac_unique_file"; then
2424 srcdir=..
2426 else
2427 ac_srcdir_defaulted=no
2429 if test ! -r "$srcdir/$ac_unique_file"; then
2430 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2431 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2433 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2434 ac_abs_confdir=`(
2435 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2436 pwd)`
2437 # When building in place, set srcdir=.
2438 if test "$ac_abs_confdir" = "$ac_pwd"; then
2439 srcdir=.
2441 # Remove unnecessary trailing slashes from srcdir.
2442 # Double slashes in file names in object file debugging info
2443 # mess up M-x gdb in Emacs.
2444 case $srcdir in
2445 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2446 esac
2447 for ac_var in $ac_precious_vars; do
2448 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2449 eval ac_env_${ac_var}_value=\$${ac_var}
2450 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2451 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2452 done
2455 # Report the --help message.
2457 if test "$ac_init_help" = "long"; then
2458 # Omit some internal or obsolete options to make the list less imposing.
2459 # This message is too long to be a string in the A/UX 3.1 sh.
2460 cat <<_ACEOF
2461 \`configure' configures Wine 5.7 to adapt to many kinds of systems.
2463 Usage: $0 [OPTION]... [VAR=VALUE]...
2465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2466 VAR=VALUE. See below for descriptions of some of the useful variables.
2468 Defaults for the options are specified in brackets.
2470 Configuration:
2471 -h, --help display this help and exit
2472 --help=short display options specific to this package
2473 --help=recursive display the short help of all the included packages
2474 -V, --version display version information and exit
2475 -q, --quiet, --silent do not print \`checking ...' messages
2476 --cache-file=FILE cache test results in FILE [disabled]
2477 -C, --config-cache alias for \`--cache-file=config.cache'
2478 -n, --no-create do not create output files
2479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2481 Installation directories:
2482 --prefix=PREFIX install architecture-independent files in PREFIX
2483 [$ac_default_prefix]
2484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2485 [PREFIX]
2487 By default, \`make install' will install all the files in
2488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2490 for instance \`--prefix=\$HOME'.
2492 For better control, use the options below.
2494 Fine tuning of the installation directories:
2495 --bindir=DIR user executables [EPREFIX/bin]
2496 --sbindir=DIR system admin executables [EPREFIX/sbin]
2497 --libexecdir=DIR program executables [EPREFIX/libexec]
2498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2501 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2502 --libdir=DIR object code libraries [EPREFIX/lib]
2503 --includedir=DIR C header files [PREFIX/include]
2504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2507 --infodir=DIR info documentation [DATAROOTDIR/info]
2508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2509 --mandir=DIR man documentation [DATAROOTDIR/man]
2510 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2511 --htmldir=DIR html documentation [DOCDIR]
2512 --dvidir=DIR dvi documentation [DOCDIR]
2513 --pdfdir=DIR pdf documentation [DOCDIR]
2514 --psdir=DIR ps documentation [DOCDIR]
2515 _ACEOF
2517 cat <<\_ACEOF
2519 X features:
2520 --x-includes=DIR X include files are in DIR
2521 --x-libraries=DIR X library files are in DIR
2523 System types:
2524 --build=BUILD configure for building on BUILD [guessed]
2525 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2526 _ACEOF
2529 if test -n "$ac_init_help"; then
2530 case $ac_init_help in
2531 short | recursive ) echo "Configuration of Wine 5.7:";;
2532 esac
2533 cat <<\_ACEOF
2535 Optional Features:
2536 --disable-option-checking ignore unrecognized --enable/--with options
2537 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2538 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2539 --disable-win16 do not include Win16 support
2540 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2541 binaries)
2542 --disable-tests do not build the regression tests
2543 --enable-maintainer-mode
2544 enable maintainer-specific build rules
2545 --enable-werror treat compilation warnings as errors
2546 --disable-largefile omit support for large files
2548 Optional Packages:
2549 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2550 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2551 --without-alsa do not use the Alsa sound support
2552 --without-capi do not use CAPI (ISDN support)
2553 --without-cms do not use CMS (color management support)
2554 --without-coreaudio do not use the CoreAudio sound support
2555 --without-cups do not use CUPS
2556 --without-curses do not use (n)curses
2557 --without-dbus do not use DBus (dynamic device support)
2558 --without-faudio do not use FAudio (XAudio2 support)
2559 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2560 --without-fontconfig do not use fontconfig
2561 --without-freetype do not use the FreeType library
2562 --without-gettext do not use gettext
2563 --with-gettextpo use the GetTextPO library to rebuild po files
2564 --without-gphoto do not use gphoto (Digital Camera support)
2565 --without-glu do not use the GLU library
2566 --without-gnutls do not use GnuTLS (schannel support)
2567 --without-gsm do not use libgsm (GSM 06.10 codec support)
2568 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2569 --without-gstreamer do not use GStreamer (codecs support)
2570 --without-hal do not use HAL (dynamic device support)
2571 --without-inotify do not use inotify (filesystem change notifications)
2572 --without-jpeg do not use JPEG
2573 --without-krb5 do not use krb5 (Kerberos)
2574 --without-ldap do not use LDAP
2575 --without-mingw do not use the MinGW cross-compiler
2576 --without-mpg123 do not use the mpg123 library
2577 --without-netapi do not use the Samba NetAPI library
2578 --without-openal do not use OpenAL
2579 --without-opencl do not use OpenCL
2580 --without-opengl do not use OpenGL
2581 --without-osmesa do not use the OSMesa library
2582 --without-oss do not use the OSS sound support
2583 --without-pcap do not use the Packet Capture library
2584 --without-png do not use PNG
2585 --without-pthread do not use the pthread library
2586 --without-pulse do not use PulseAudio sound support
2587 --without-sane do not use SANE (scanner support)
2588 --without-sdl do not use SDL
2589 --without-tiff do not use TIFF
2590 --without-udev do not use udev (plug and play support)
2591 --without-unwind do not use the libunwind library (exception
2592 handling)
2593 --without-usb do not use the libusb library
2594 --without-v4l2 do not use v4l2 (video capture)
2595 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2596 --without-vulkan do not use Vulkan
2597 --without-xcomposite do not use the Xcomposite extension
2598 --without-xcursor do not use the Xcursor extension
2599 --without-xfixes do not use Xfixes for clipboard change notifications
2600 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2601 --without-xinput do not use the Xinput extension
2602 --without-xinput2 do not use the Xinput 2 extension
2603 --without-xml do not use XML
2604 --without-xrandr do not use Xrandr (multi-monitor support)
2605 --without-xrender do not use the Xrender extension
2606 --without-xshape do not use the Xshape extension
2607 --without-xshm do not use XShm (shared memory extension)
2608 --without-xslt do not use XSLT
2609 --without-xxf86vm do not use XFree video mode extension
2610 --with-wine-tools=DIR use Wine tools from directory DIR
2611 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2612 --with-x use the X Window System
2614 Some influential environment variables:
2615 CC C compiler command
2616 CFLAGS C compiler flags
2617 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2618 nonstandard directory <lib dir>
2619 LIBS libraries to pass to the linker, e.g. -l<library>
2620 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2621 you have headers in a nonstandard directory <include dir>
2622 CXX C++ compiler command
2623 CXXFLAGS C++ compiler flags
2624 CPP C preprocessor
2625 OBJC Objective C compiler command
2626 OBJCFLAGS Objective C compiler flags
2627 OBJCPP Objective C preprocessor
2628 XMKMF Path to xmkmf, Makefile generator for X Window System
2629 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2630 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2631 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2632 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2633 INOTIFY_CFLAGS
2634 C compiler flags for libinotify, overriding pkg-config
2635 INOTIFY_LIBS
2636 Linker flags for libinotify, overriding pkg-config
2637 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2638 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2639 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2640 HAL_LIBS Linker flags for hal, overriding pkg-config
2641 GNUTLS_CFLAGS
2642 C compiler flags for gnutls, overriding pkg-config
2643 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2644 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2645 SANE_LIBS Linker flags for libsane, overriding pkg-config
2646 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2647 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2648 GPHOTO2_CFLAGS
2649 C compiler flags for libgphoto2, overriding pkg-config
2650 GPHOTO2_LIBS
2651 Linker flags for libgphoto2, overriding pkg-config
2652 GPHOTO2_PORT_CFLAGS
2653 C compiler flags for libgphoto2_port, overriding pkg-config
2654 GPHOTO2_PORT_LIBS
2655 Linker flags for libgphoto2_port, overriding pkg-config
2656 LCMS2_CFLAGS
2657 C compiler flags for lcms2, overriding pkg-config
2658 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2659 FREETYPE_CFLAGS
2660 C compiler flags for freetype2, overriding pkg-config
2661 FREETYPE_LIBS
2662 Linker flags for freetype2, overriding pkg-config
2663 PULSE_CFLAGS
2664 C compiler flags for libpulse, overriding pkg-config
2665 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2666 GSTREAMER_CFLAGS
2667 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2668 gstreamer-audio-1.0, overriding pkg-config
2669 GSTREAMER_LIBS
2670 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2671 gstreamer-audio-1.0, overriding pkg-config
2672 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2673 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2674 UNWIND_CFLAGS
2675 C compiler flags for libunwind, overriding pkg-config
2676 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2677 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2678 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2679 FAUDIO_CFLAGS
2680 C compiler flags for faudio, overriding pkg-config
2681 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2682 CAPI20_CFLAGS
2683 C compiler flags for capi20, overriding pkg-config
2684 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2685 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2686 CUPS_LIBS Linker flags for cups, overriding pkg-config
2687 FONTCONFIG_CFLAGS
2688 C compiler flags for fontconfig, overriding pkg-config
2689 FONTCONFIG_LIBS
2690 Linker flags for fontconfig, overriding pkg-config
2691 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2692 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2693 GSSAPI_CFLAGS
2694 C compiler flags for krb5-gssapi, overriding pkg-config
2695 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2696 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2697 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2698 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2699 PNG_LIBS Linker flags for libpng, overriding pkg-config
2700 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2701 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2702 MPG123_CFLAGS
2703 C compiler flags for libmpg123, overriding pkg-config
2704 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2705 NETAPI_CFLAGS
2706 C compiler flags for netapi, overriding pkg-config
2707 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2708 VKD3D_CFLAGS
2709 C compiler flags for libvkd3d, overriding pkg-config
2710 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2711 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2712 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2714 Use these variables to override the choices made by `configure' or to help
2715 it to find libraries and programs with nonstandard names/locations.
2717 Report bugs to <wine-devel@winehq.org>.
2718 Wine home page: <https://www.winehq.org>.
2719 _ACEOF
2720 ac_status=$?
2723 if test "$ac_init_help" = "recursive"; then
2724 # If there are subdirs, report their specific --help.
2725 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2726 test -d "$ac_dir" ||
2727 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2728 continue
2729 ac_builddir=.
2731 case "$ac_dir" in
2732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2734 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2735 # A ".." for each directory in $ac_dir_suffix.
2736 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2737 case $ac_top_builddir_sub in
2738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2740 esac ;;
2741 esac
2742 ac_abs_top_builddir=$ac_pwd
2743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2744 # for backward compatibility:
2745 ac_top_builddir=$ac_top_build_prefix
2747 case $srcdir in
2748 .) # We are building in place.
2749 ac_srcdir=.
2750 ac_top_srcdir=$ac_top_builddir_sub
2751 ac_abs_top_srcdir=$ac_pwd ;;
2752 [\\/]* | ?:[\\/]* ) # Absolute name.
2753 ac_srcdir=$srcdir$ac_dir_suffix;
2754 ac_top_srcdir=$srcdir
2755 ac_abs_top_srcdir=$srcdir ;;
2756 *) # Relative name.
2757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2758 ac_top_srcdir=$ac_top_build_prefix$srcdir
2759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2760 esac
2761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2763 cd "$ac_dir" || { ac_status=$?; continue; }
2764 # Check for guested configure.
2765 if test -f "$ac_srcdir/configure.gnu"; then
2766 echo &&
2767 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2768 elif test -f "$ac_srcdir/configure"; then
2769 echo &&
2770 $SHELL "$ac_srcdir/configure" --help=recursive
2771 else
2772 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2773 fi || ac_status=$?
2774 cd "$ac_pwd" || { ac_status=$?; break; }
2775 done
2778 test -n "$ac_init_help" && exit $ac_status
2779 if $ac_init_version; then
2780 cat <<\_ACEOF
2781 Wine configure 5.7
2782 generated by GNU Autoconf 2.69
2784 Copyright (C) 2012 Free Software Foundation, Inc.
2785 This configure script is free software; the Free Software Foundation
2786 gives unlimited permission to copy, distribute and modify it.
2787 _ACEOF
2788 exit
2791 ## ------------------------ ##
2792 ## Autoconf initialization. ##
2793 ## ------------------------ ##
2795 # ac_fn_c_try_compile LINENO
2796 # --------------------------
2797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_c_try_compile ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 rm -f conftest.$ac_objext
2802 if { { ac_try="$ac_compile"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>conftest.err
2810 ac_status=$?
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest.$ac_objext; then :
2821 ac_retval=0
2822 else
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 ac_retval=1
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 as_fn_set_status $ac_retval
2831 } # ac_fn_c_try_compile
2833 # ac_fn_cxx_try_compile LINENO
2834 # ----------------------------
2835 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2836 ac_fn_cxx_try_compile ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 rm -f conftest.$ac_objext
2840 if { { ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compile") 2>conftest.err
2848 ac_status=$?
2849 if test -s conftest.err; then
2850 grep -v '^ *+' conftest.err >conftest.er1
2851 cat conftest.er1 >&5
2852 mv -f conftest.er1 conftest.err
2854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2855 test $ac_status = 0; } && {
2856 test -z "$ac_cxx_werror_flag" ||
2857 test ! -s conftest.err
2858 } && test -s conftest.$ac_objext; then :
2859 ac_retval=0
2860 else
2861 $as_echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.$ac_ext >&5
2864 ac_retval=1
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 as_fn_set_status $ac_retval
2869 } # ac_fn_cxx_try_compile
2871 # ac_fn_c_try_link LINENO
2872 # -----------------------
2873 # Try to link conftest.$ac_ext, and return whether this succeeded.
2874 ac_fn_c_try_link ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 rm -f conftest.$ac_objext conftest$ac_exeext
2878 if { { ac_try="$ac_link"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_link") 2>conftest.err
2886 ac_status=$?
2887 if test -s conftest.err; then
2888 grep -v '^ *+' conftest.err >conftest.er1
2889 cat conftest.er1 >&5
2890 mv -f conftest.er1 conftest.err
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; } && {
2894 test -z "$ac_c_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest$ac_exeext && {
2897 test "$cross_compiling" = yes ||
2898 test -x conftest$ac_exeext
2899 }; then :
2900 ac_retval=0
2901 else
2902 $as_echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2905 ac_retval=1
2907 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2908 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2909 # interfere with the next link command; also delete a directory that is
2910 # left behind by Apple's compiler. We do this before executing the actions.
2911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status $ac_retval
2915 } # ac_fn_c_try_link
2917 # ac_fn_c_try_cpp LINENO
2918 # ----------------------
2919 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2920 ac_fn_c_try_cpp ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 if { { ac_try="$ac_cpp conftest.$ac_ext"
2924 case "(($ac_try" in
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2927 esac
2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2929 $as_echo "$ac_try_echo"; } >&5
2930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2931 ac_status=$?
2932 if test -s conftest.err; then
2933 grep -v '^ *+' conftest.err >conftest.er1
2934 cat conftest.er1 >&5
2935 mv -f conftest.er1 conftest.err
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938 test $ac_status = 0; } > conftest.i && {
2939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 }; then :
2942 ac_retval=0
2943 else
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 ac_retval=1
2949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 as_fn_set_status $ac_retval
2952 } # ac_fn_c_try_cpp
2954 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2955 # -------------------------------------------------------
2956 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2957 # the include files in INCLUDES and setting the cache variable VAR
2958 # accordingly.
2959 ac_fn_c_check_header_mongrel ()
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 if eval \${$3+:} false; then :
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2964 $as_echo_n "checking for $2... " >&6; }
2965 if eval \${$3+:} false; then :
2966 $as_echo_n "(cached) " >&6
2968 eval ac_res=\$$3
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2970 $as_echo "$ac_res" >&6; }
2971 else
2972 # Is the header compilable?
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2974 $as_echo_n "checking $2 usability... " >&6; }
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2978 #include <$2>
2979 _ACEOF
2980 if ac_fn_c_try_compile "$LINENO"; then :
2981 ac_header_compiler=yes
2982 else
2983 ac_header_compiler=no
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2987 $as_echo "$ac_header_compiler" >&6; }
2989 # Is the header present?
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2991 $as_echo_n "checking $2 presence... " >&6; }
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2994 #include <$2>
2995 _ACEOF
2996 if ac_fn_c_try_cpp "$LINENO"; then :
2997 ac_header_preproc=yes
2998 else
2999 ac_header_preproc=no
3001 rm -f conftest.err conftest.i conftest.$ac_ext
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3003 $as_echo "$ac_header_preproc" >&6; }
3005 # So? What about this header?
3006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3007 yes:no: )
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3009 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3013 no:yes:* )
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3015 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3017 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3019 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3021 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3024 ( $as_echo "## ------------------------------------ ##
3025 ## Report this to wine-devel@winehq.org ##
3026 ## ------------------------------------ ##"
3027 ) | sed "s/^/$as_me: WARNING: /" >&2
3029 esac
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3031 $as_echo_n "checking for $2... " >&6; }
3032 if eval \${$3+:} false; then :
3033 $as_echo_n "(cached) " >&6
3034 else
3035 eval "$3=\$ac_header_compiler"
3037 eval ac_res=\$$3
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3039 $as_echo "$ac_res" >&6; }
3041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3043 } # ac_fn_c_check_header_mongrel
3045 # ac_fn_c_try_run LINENO
3046 # ----------------------
3047 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3048 # that executables *can* be run.
3049 ac_fn_c_try_run ()
3051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3052 if { { ac_try="$ac_link"
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_link") 2>&5
3060 ac_status=$?
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3063 { { case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3066 esac
3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3068 $as_echo "$ac_try_echo"; } >&5
3069 (eval "$ac_try") 2>&5
3070 ac_status=$?
3071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3072 test $ac_status = 0; }; }; then :
3073 ac_retval=0
3074 else
3075 $as_echo "$as_me: program exited with status $ac_status" >&5
3076 $as_echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3079 ac_retval=$ac_status
3081 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3083 as_fn_set_status $ac_retval
3085 } # ac_fn_c_try_run
3087 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3088 # -------------------------------------------------------
3089 # Tests whether HEADER exists and can be compiled using the include files in
3090 # INCLUDES, setting the cache variable VAR accordingly.
3091 ac_fn_c_check_header_compile ()
3093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3095 $as_echo_n "checking for $2... " >&6; }
3096 if eval \${$3+:} false; then :
3097 $as_echo_n "(cached) " >&6
3098 else
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3102 #include <$2>
3103 _ACEOF
3104 if ac_fn_c_try_compile "$LINENO"; then :
3105 eval "$3=yes"
3106 else
3107 eval "$3=no"
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 eval ac_res=\$$3
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3113 $as_echo "$ac_res" >&6; }
3114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3116 } # ac_fn_c_check_header_compile
3118 # ac_fn_objc_try_compile LINENO
3119 # -----------------------------
3120 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3121 ac_fn_objc_try_compile ()
3123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3124 rm -f conftest.$ac_objext
3125 if { { ac_try="$ac_compile"
3126 case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_compile") 2>conftest.err
3133 ac_status=$?
3134 if test -s conftest.err; then
3135 grep -v '^ *+' conftest.err >conftest.er1
3136 cat conftest.er1 >&5
3137 mv -f conftest.er1 conftest.err
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140 test $ac_status = 0; } && {
3141 test -z "$ac_objc_werror_flag" ||
3142 test ! -s conftest.err
3143 } && test -s conftest.$ac_objext; then :
3144 ac_retval=0
3145 else
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 ac_retval=1
3151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3152 as_fn_set_status $ac_retval
3154 } # ac_fn_objc_try_compile
3156 # ac_fn_objc_try_cpp LINENO
3157 # -------------------------
3158 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3159 ac_fn_objc_try_cpp ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 if { { ac_try="$ac_cpp conftest.$ac_ext"
3163 case "(($ac_try" in
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3166 esac
3167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3170 ac_status=$?
3171 if test -s conftest.err; then
3172 grep -v '^ *+' conftest.err >conftest.er1
3173 cat conftest.er1 >&5
3174 mv -f conftest.er1 conftest.err
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; } > conftest.i && {
3178 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3179 test ! -s conftest.err
3180 }; then :
3181 ac_retval=0
3182 else
3183 $as_echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 ac_retval=1
3188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189 as_fn_set_status $ac_retval
3191 } # ac_fn_objc_try_cpp
3193 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3194 # ----------------------------------------------------------
3195 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3196 # the include files in INCLUDES and setting the cache variable VAR
3197 # accordingly.
3198 ac_fn_objc_check_header_mongrel ()
3200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3201 if eval \${$3+:} false; then :
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3207 eval ac_res=\$$3
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3209 $as_echo "$ac_res" >&6; }
3210 else
3211 # Is the header compilable?
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3213 $as_echo_n "checking $2 usability... " >&6; }
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3217 #include <$2>
3218 _ACEOF
3219 if ac_fn_objc_try_compile "$LINENO"; then :
3220 ac_header_compiler=yes
3221 else
3222 ac_header_compiler=no
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3226 $as_echo "$ac_header_compiler" >&6; }
3228 # Is the header present?
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3230 $as_echo_n "checking $2 presence... " >&6; }
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3233 #include <$2>
3234 _ACEOF
3235 if ac_fn_objc_try_cpp "$LINENO"; then :
3236 ac_header_preproc=yes
3237 else
3238 ac_header_preproc=no
3240 rm -f conftest.err conftest.i conftest.$ac_ext
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3242 $as_echo "$ac_header_preproc" >&6; }
3244 # So? What about this header?
3245 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3246 yes:no: )
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3248 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3250 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3252 no:yes:* )
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3254 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3256 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3258 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3260 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3262 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3263 ( $as_echo "## ------------------------------------ ##
3264 ## Report this to wine-devel@winehq.org ##
3265 ## ------------------------------------ ##"
3266 ) | sed "s/^/$as_me: WARNING: /" >&2
3268 esac
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3270 $as_echo_n "checking for $2... " >&6; }
3271 if eval \${$3+:} false; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 eval "$3=\$ac_header_compiler"
3276 eval ac_res=\$$3
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3278 $as_echo "$ac_res" >&6; }
3280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3282 } # ac_fn_objc_check_header_mongrel
3284 # ac_fn_c_check_func LINENO FUNC VAR
3285 # ----------------------------------
3286 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3287 ac_fn_c_check_func ()
3289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3291 $as_echo_n "checking for $2... " >&6; }
3292 if eval \${$3+:} false; then :
3293 $as_echo_n "(cached) " >&6
3294 else
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3297 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3299 #define $2 innocuous_$2
3301 /* System header to define __stub macros and hopefully few prototypes,
3302 which can conflict with char $2 (); below.
3303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3304 <limits.h> exists even on freestanding compilers. */
3306 #ifdef __STDC__
3307 # include <limits.h>
3308 #else
3309 # include <assert.h>
3310 #endif
3312 #undef $2
3314 /* Override any GCC internal prototype to avoid an error.
3315 Use char because int might match the return type of a GCC
3316 builtin and then its argument prototype would still apply. */
3317 #ifdef __cplusplus
3318 extern "C"
3319 #endif
3320 char $2 ();
3321 /* The GNU C library defines this for functions which it implements
3322 to always fail with ENOSYS. Some functions are actually named
3323 something starting with __ and the normal name is an alias. */
3324 #if defined __stub_$2 || defined __stub___$2
3325 choke me
3326 #endif
3329 main ()
3331 return $2 ();
3333 return 0;
3335 _ACEOF
3336 if ac_fn_c_try_link "$LINENO"; then :
3337 eval "$3=yes"
3338 else
3339 eval "$3=no"
3341 rm -f core conftest.err conftest.$ac_objext \
3342 conftest$ac_exeext conftest.$ac_ext
3344 eval ac_res=\$$3
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3346 $as_echo "$ac_res" >&6; }
3347 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3349 } # ac_fn_c_check_func
3351 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3352 # ----------------------------------------------------
3353 # Tries to find if the field MEMBER exists in type AGGR, after including
3354 # INCLUDES, setting cache variable VAR accordingly.
3355 ac_fn_c_check_member ()
3357 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3359 $as_echo_n "checking for $2.$3... " >&6; }
3360 if eval \${$4+:} false; then :
3361 $as_echo_n "(cached) " >&6
3362 else
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3369 static $2 ac_aggr;
3370 if (ac_aggr.$3)
3371 return 0;
3373 return 0;
3375 _ACEOF
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 eval "$4=yes"
3378 else
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3383 main ()
3385 static $2 ac_aggr;
3386 if (sizeof ac_aggr.$3)
3387 return 0;
3389 return 0;
3391 _ACEOF
3392 if ac_fn_c_try_compile "$LINENO"; then :
3393 eval "$4=yes"
3394 else
3395 eval "$4=no"
3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 eval ac_res=\$$4
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3403 $as_echo "$ac_res" >&6; }
3404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3406 } # ac_fn_c_check_member
3408 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3409 # -------------------------------------------
3410 # Tests whether TYPE exists after having included INCLUDES, setting cache
3411 # variable VAR accordingly.
3412 ac_fn_c_check_type ()
3414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3416 $as_echo_n "checking for $2... " >&6; }
3417 if eval \${$3+:} false; then :
3418 $as_echo_n "(cached) " >&6
3419 else
3420 eval "$3=no"
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3425 main ()
3427 if (sizeof ($2))
3428 return 0;
3430 return 0;
3432 _ACEOF
3433 if ac_fn_c_try_compile "$LINENO"; then :
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 main ()
3440 if (sizeof (($2)))
3441 return 0;
3443 return 0;
3445 _ACEOF
3446 if ac_fn_c_try_compile "$LINENO"; then :
3448 else
3449 eval "$3=yes"
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 eval ac_res=\$$3
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3457 $as_echo "$ac_res" >&6; }
3458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3460 } # ac_fn_c_check_type
3461 cat >config.log <<_ACEOF
3462 This file contains any messages produced by compilers while
3463 running configure, to aid debugging if configure makes a mistake.
3465 It was created by Wine $as_me 5.7, which was
3466 generated by GNU Autoconf 2.69. Invocation command line was
3468 $ $0 $@
3470 _ACEOF
3471 exec 5>>config.log
3473 cat <<_ASUNAME
3474 ## --------- ##
3475 ## Platform. ##
3476 ## --------- ##
3478 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3479 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3480 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3481 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3482 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3484 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3485 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3487 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3488 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3489 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3490 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3491 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3492 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3493 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3495 _ASUNAME
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 $as_echo "PATH: $as_dir"
3503 done
3504 IFS=$as_save_IFS
3506 } >&5
3508 cat >&5 <<_ACEOF
3511 ## ----------- ##
3512 ## Core tests. ##
3513 ## ----------- ##
3515 _ACEOF
3518 # Keep a trace of the command line.
3519 # Strip out --no-create and --no-recursion so they do not pile up.
3520 # Strip out --silent because we don't want to record it for future runs.
3521 # Also quote any args containing shell meta-characters.
3522 # Make two passes to allow for proper duplicate-argument suppression.
3523 ac_configure_args=
3524 ac_configure_args0=
3525 ac_configure_args1=
3526 ac_must_keep_next=false
3527 for ac_pass in 1 2
3529 for ac_arg
3531 case $ac_arg in
3532 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3534 | -silent | --silent | --silen | --sile | --sil)
3535 continue ;;
3536 *\'*)
3537 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3538 esac
3539 case $ac_pass in
3540 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3542 as_fn_append ac_configure_args1 " '$ac_arg'"
3543 if test $ac_must_keep_next = true; then
3544 ac_must_keep_next=false # Got value, back to normal.
3545 else
3546 case $ac_arg in
3547 *=* | --config-cache | -C | -disable-* | --disable-* \
3548 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3549 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3550 | -with-* | --with-* | -without-* | --without-* | --x)
3551 case "$ac_configure_args0 " in
3552 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3553 esac
3555 -* ) ac_must_keep_next=true ;;
3556 esac
3558 as_fn_append ac_configure_args " '$ac_arg'"
3560 esac
3561 done
3562 done
3563 { ac_configure_args0=; unset ac_configure_args0;}
3564 { ac_configure_args1=; unset ac_configure_args1;}
3566 # When interrupted or exit'd, cleanup temporary files, and complete
3567 # config.log. We remove comments because anyway the quotes in there
3568 # would cause problems or look ugly.
3569 # WARNING: Use '\'' to represent an apostrophe within the trap.
3570 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3571 trap 'exit_status=$?
3572 # Save into config.log some information that might help in debugging.
3574 echo
3576 $as_echo "## ---------------- ##
3577 ## Cache variables. ##
3578 ## ---------------- ##"
3579 echo
3580 # The following way of writing the cache mishandles newlines in values,
3582 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3583 eval ac_val=\$$ac_var
3584 case $ac_val in #(
3585 *${as_nl}*)
3586 case $ac_var in #(
3587 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3588 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3589 esac
3590 case $ac_var in #(
3591 _ | IFS | as_nl) ;; #(
3592 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3593 *) { eval $ac_var=; unset $ac_var;} ;;
3594 esac ;;
3595 esac
3596 done
3597 (set) 2>&1 |
3598 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3599 *${as_nl}ac_space=\ *)
3600 sed -n \
3601 "s/'\''/'\''\\\\'\'''\''/g;
3602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3603 ;; #(
3605 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3607 esac |
3608 sort
3610 echo
3612 $as_echo "## ----------------- ##
3613 ## Output variables. ##
3614 ## ----------------- ##"
3615 echo
3616 for ac_var in $ac_subst_vars
3618 eval ac_val=\$$ac_var
3619 case $ac_val in
3620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3621 esac
3622 $as_echo "$ac_var='\''$ac_val'\''"
3623 done | sort
3624 echo
3626 if test -n "$ac_subst_files"; then
3627 $as_echo "## ------------------- ##
3628 ## File substitutions. ##
3629 ## ------------------- ##"
3630 echo
3631 for ac_var in $ac_subst_files
3633 eval ac_val=\$$ac_var
3634 case $ac_val in
3635 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3636 esac
3637 $as_echo "$ac_var='\''$ac_val'\''"
3638 done | sort
3639 echo
3642 if test -s confdefs.h; then
3643 $as_echo "## ----------- ##
3644 ## confdefs.h. ##
3645 ## ----------- ##"
3646 echo
3647 cat confdefs.h
3648 echo
3650 test "$ac_signal" != 0 &&
3651 $as_echo "$as_me: caught signal $ac_signal"
3652 $as_echo "$as_me: exit $exit_status"
3653 } >&5
3654 rm -f core *.core core.conftest.* &&
3655 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3656 exit $exit_status
3658 for ac_signal in 1 2 13 15; do
3659 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3660 done
3661 ac_signal=0
3663 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3664 rm -f -r conftest* confdefs.h
3666 $as_echo "/* confdefs.h */" > confdefs.h
3668 # Predefined preprocessor variables.
3670 cat >>confdefs.h <<_ACEOF
3671 #define PACKAGE_NAME "$PACKAGE_NAME"
3672 _ACEOF
3674 cat >>confdefs.h <<_ACEOF
3675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3676 _ACEOF
3678 cat >>confdefs.h <<_ACEOF
3679 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3680 _ACEOF
3682 cat >>confdefs.h <<_ACEOF
3683 #define PACKAGE_STRING "$PACKAGE_STRING"
3684 _ACEOF
3686 cat >>confdefs.h <<_ACEOF
3687 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3688 _ACEOF
3690 cat >>confdefs.h <<_ACEOF
3691 #define PACKAGE_URL "$PACKAGE_URL"
3692 _ACEOF
3695 # Let the site file select an alternate cache file if it wants to.
3696 # Prefer an explicitly selected file to automatically selected ones.
3697 ac_site_file1=NONE
3698 ac_site_file2=NONE
3699 if test -n "$CONFIG_SITE"; then
3700 # We do not want a PATH search for config.site.
3701 case $CONFIG_SITE in #((
3702 -*) ac_site_file1=./$CONFIG_SITE;;
3703 */*) ac_site_file1=$CONFIG_SITE;;
3704 *) ac_site_file1=./$CONFIG_SITE;;
3705 esac
3706 elif test "x$prefix" != xNONE; then
3707 ac_site_file1=$prefix/share/config.site
3708 ac_site_file2=$prefix/etc/config.site
3709 else
3710 ac_site_file1=$ac_default_prefix/share/config.site
3711 ac_site_file2=$ac_default_prefix/etc/config.site
3713 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3715 test "x$ac_site_file" = xNONE && continue
3716 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3718 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3719 sed 's/^/| /' "$ac_site_file" >&5
3720 . "$ac_site_file" \
3721 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error $? "failed to load site script $ac_site_file
3724 See \`config.log' for more details" "$LINENO" 5; }
3726 done
3728 if test -r "$cache_file"; then
3729 # Some versions of bash will fail to source /dev/null (special files
3730 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3731 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3733 $as_echo "$as_me: loading cache $cache_file" >&6;}
3734 case $cache_file in
3735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3736 *) . "./$cache_file";;
3737 esac
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3741 $as_echo "$as_me: creating cache $cache_file" >&6;}
3742 >$cache_file
3745 # Check that the precious variables saved in the cache have kept the same
3746 # value.
3747 ac_cache_corrupted=false
3748 for ac_var in $ac_precious_vars; do
3749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3750 eval ac_new_set=\$ac_env_${ac_var}_set
3751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3752 eval ac_new_val=\$ac_env_${ac_var}_value
3753 case $ac_old_set,$ac_new_set in
3754 set,)
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3756 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3757 ac_cache_corrupted=: ;;
3758 ,set)
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3760 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3761 ac_cache_corrupted=: ;;
3762 ,);;
3764 if test "x$ac_old_val" != "x$ac_new_val"; then
3765 # differences in whitespace do not lead to failure.
3766 ac_old_val_w=`echo x $ac_old_val`
3767 ac_new_val_w=`echo x $ac_new_val`
3768 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3770 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3771 ac_cache_corrupted=:
3772 else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3774 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3775 eval $ac_var=\$ac_old_val
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3778 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3780 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3781 fi;;
3782 esac
3783 # Pass precious variables to config.status.
3784 if test "$ac_new_set" = set; then
3785 case $ac_new_val in
3786 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3787 *) ac_arg=$ac_var=$ac_new_val ;;
3788 esac
3789 case " $ac_configure_args " in
3790 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3791 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3792 esac
3794 done
3795 if $ac_cache_corrupted; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3799 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3800 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3802 ## -------------------- ##
3803 ## Main body of script. ##
3804 ## -------------------- ##
3806 ac_ext=c
3807 ac_cpp='$CPP $CPPFLAGS'
3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3814 ac_config_headers="$ac_config_headers include/config.h"
3816 ac_aux_dir=
3817 for ac_dir in tools "$srcdir"/tools; do
3818 if test -f "$ac_dir/install-sh"; then
3819 ac_aux_dir=$ac_dir
3820 ac_install_sh="$ac_aux_dir/install-sh -c"
3821 break
3822 elif test -f "$ac_dir/install.sh"; then
3823 ac_aux_dir=$ac_dir
3824 ac_install_sh="$ac_aux_dir/install.sh -c"
3825 break
3826 elif test -f "$ac_dir/shtool"; then
3827 ac_aux_dir=$ac_dir
3828 ac_install_sh="$ac_aux_dir/shtool install -c"
3829 break
3831 done
3832 if test -z "$ac_aux_dir"; then
3833 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3836 # These three variables are undocumented and unsupported,
3837 # and are intended to be withdrawn in a future Autoconf release.
3838 # They can cause serious problems if a builder's source tree is in a directory
3839 # whose full name contains unusual characters.
3840 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3841 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3842 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3846 libwine_version="1.0"
3850 # Check whether --enable-win16 was given.
3851 if test "${enable_win16+set}" = set; then :
3852 enableval=$enable_win16;
3855 # Check whether --enable-win64 was given.
3856 if test "${enable_win64+set}" = set; then :
3857 enableval=$enable_win64;
3860 # Check whether --enable-tests was given.
3861 if test "${enable_tests+set}" = set; then :
3862 enableval=$enable_tests;
3865 # Check whether --enable-maintainer-mode was given.
3866 if test "${enable_maintainer_mode+set}" = set; then :
3867 enableval=$enable_maintainer_mode;
3870 # Check whether --enable-werror was given.
3871 if test "${enable_werror+set}" = set; then :
3872 enableval=$enable_werror;
3877 # Check whether --with-alsa was given.
3878 if test "${with_alsa+set}" = set; then :
3879 withval=$with_alsa;
3883 # Check whether --with-capi was given.
3884 if test "${with_capi+set}" = set; then :
3885 withval=$with_capi;
3889 # Check whether --with-cms was given.
3890 if test "${with_cms+set}" = set; then :
3891 withval=$with_cms;
3895 # Check whether --with-coreaudio was given.
3896 if test "${with_coreaudio+set}" = set; then :
3897 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3901 # Check whether --with-cups was given.
3902 if test "${with_cups+set}" = set; then :
3903 withval=$with_cups;
3907 # Check whether --with-curses was given.
3908 if test "${with_curses+set}" = set; then :
3909 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3913 # Check whether --with-dbus was given.
3914 if test "${with_dbus+set}" = set; then :
3915 withval=$with_dbus;
3919 # Check whether --with-faudio was given.
3920 if test "${with_faudio+set}" = set; then :
3921 withval=$with_faudio;
3925 # Check whether --with-float-abi was given.
3926 if test "${with_float_abi+set}" = set; then :
3927 withval=$with_float_abi;
3931 # Check whether --with-fontconfig was given.
3932 if test "${with_fontconfig+set}" = set; then :
3933 withval=$with_fontconfig;
3937 # Check whether --with-freetype was given.
3938 if test "${with_freetype+set}" = set; then :
3939 withval=$with_freetype;
3943 # Check whether --with-gettext was given.
3944 if test "${with_gettext+set}" = set; then :
3945 withval=$with_gettext;
3949 # Check whether --with-gettextpo was given.
3950 if test "${with_gettextpo+set}" = set; then :
3951 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3955 # Check whether --with-gphoto was given.
3956 if test "${with_gphoto+set}" = set; then :
3957 withval=$with_gphoto;
3961 # Check whether --with-glu was given.
3962 if test "${with_glu+set}" = set; then :
3963 withval=$with_glu;
3967 # Check whether --with-gnutls was given.
3968 if test "${with_gnutls+set}" = set; then :
3969 withval=$with_gnutls;
3973 # Check whether --with-gsm was given.
3974 if test "${with_gsm+set}" = set; then :
3975 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3979 # Check whether --with-gssapi was given.
3980 if test "${with_gssapi+set}" = set; then :
3981 withval=$with_gssapi;
3985 # Check whether --with-gstreamer was given.
3986 if test "${with_gstreamer+set}" = set; then :
3987 withval=$with_gstreamer;
3991 # Check whether --with-hal was given.
3992 if test "${with_hal+set}" = set; then :
3993 withval=$with_hal;
3997 # Check whether --with-inotify was given.
3998 if test "${with_inotify+set}" = set; then :
3999 withval=$with_inotify;
4003 # Check whether --with-jpeg was given.
4004 if test "${with_jpeg+set}" = set; then :
4005 withval=$with_jpeg;
4009 # Check whether --with-krb5 was given.
4010 if test "${with_krb5+set}" = set; then :
4011 withval=$with_krb5;
4015 # Check whether --with-ldap was given.
4016 if test "${with_ldap+set}" = set; then :
4017 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4021 # Check whether --with-mingw was given.
4022 if test "${with_mingw+set}" = set; then :
4023 withval=$with_mingw;
4027 # Check whether --with-mpg123 was given.
4028 if test "${with_mpg123+set}" = set; then :
4029 withval=$with_mpg123;
4033 # Check whether --with-netapi was given.
4034 if test "${with_netapi+set}" = set; then :
4035 withval=$with_netapi;
4039 # Check whether --with-openal was given.
4040 if test "${with_openal+set}" = set; then :
4041 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4045 # Check whether --with-opencl was given.
4046 if test "${with_opencl+set}" = set; then :
4047 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4051 # Check whether --with-opengl was given.
4052 if test "${with_opengl+set}" = set; then :
4053 withval=$with_opengl;
4057 # Check whether --with-osmesa was given.
4058 if test "${with_osmesa+set}" = set; then :
4059 withval=$with_osmesa;
4063 # Check whether --with-oss was given.
4064 if test "${with_oss+set}" = set; then :
4065 withval=$with_oss;
4069 # Check whether --with-pcap was given.
4070 if test "${with_pcap+set}" = set; then :
4071 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4075 # Check whether --with-png was given.
4076 if test "${with_png+set}" = set; then :
4077 withval=$with_png;
4081 # Check whether --with-pthread was given.
4082 if test "${with_pthread+set}" = set; then :
4083 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4087 # Check whether --with-pulse was given.
4088 if test "${with_pulse+set}" = set; then :
4089 withval=$with_pulse;
4093 # Check whether --with-sane was given.
4094 if test "${with_sane+set}" = set; then :
4095 withval=$with_sane;
4099 # Check whether --with-sdl was given.
4100 if test "${with_sdl+set}" = set; then :
4101 withval=$with_sdl;
4105 # Check whether --with-tiff was given.
4106 if test "${with_tiff+set}" = set; then :
4107 withval=$with_tiff;
4111 # Check whether --with-udev was given.
4112 if test "${with_udev+set}" = set; then :
4113 withval=$with_udev;
4117 # Check whether --with-unwind was given.
4118 if test "${with_unwind+set}" = set; then :
4119 withval=$with_unwind;
4123 # Check whether --with-usb was given.
4124 if test "${with_usb+set}" = set; then :
4125 withval=$with_usb;
4129 # Check whether --with-v4l2 was given.
4130 if test "${with_v4l2+set}" = set; then :
4131 withval=$with_v4l2;
4135 # Check whether --with-vkd3d was given.
4136 if test "${with_vkd3d+set}" = set; then :
4137 withval=$with_vkd3d;
4141 # Check whether --with-vulkan was given.
4142 if test "${with_vulkan+set}" = set; then :
4143 withval=$with_vulkan;
4147 # Check whether --with-xcomposite was given.
4148 if test "${with_xcomposite+set}" = set; then :
4149 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4153 # Check whether --with-xcursor was given.
4154 if test "${with_xcursor+set}" = set; then :
4155 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4159 # Check whether --with-xfixes was given.
4160 if test "${with_xfixes+set}" = set; then :
4161 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4165 # Check whether --with-xinerama was given.
4166 if test "${with_xinerama+set}" = set; then :
4167 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4171 # Check whether --with-xinput was given.
4172 if test "${with_xinput+set}" = set; then :
4173 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4177 # Check whether --with-xinput2 was given.
4178 if test "${with_xinput2+set}" = set; then :
4179 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4183 # Check whether --with-xml was given.
4184 if test "${with_xml+set}" = set; then :
4185 withval=$with_xml;
4189 # Check whether --with-xrandr was given.
4190 if test "${with_xrandr+set}" = set; then :
4191 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4195 # Check whether --with-xrender was given.
4196 if test "${with_xrender+set}" = set; then :
4197 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4201 # Check whether --with-xshape was given.
4202 if test "${with_xshape+set}" = set; then :
4203 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4207 # Check whether --with-xshm was given.
4208 if test "${with_xshm+set}" = set; then :
4209 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4213 # Check whether --with-xslt was given.
4214 if test "${with_xslt+set}" = set; then :
4215 withval=$with_xslt;
4219 # Check whether --with-xxf86vm was given.
4220 if test "${with_xxf86vm+set}" = set; then :
4221 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
4226 # Check whether --with-wine-tools was given.
4227 if test "${with_wine_tools+set}" = set; then :
4228 withval=$with_wine_tools;
4232 # Check whether --with-wine64 was given.
4233 if test "${with_wine64+set}" = set; then :
4234 withval=$with_wine64;
4238 # Make sure we can run config.sub.
4239 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4240 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4243 $as_echo_n "checking build system type... " >&6; }
4244 if ${ac_cv_build+:} false; then :
4245 $as_echo_n "(cached) " >&6
4246 else
4247 ac_build_alias=$build_alias
4248 test "x$ac_build_alias" = x &&
4249 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4250 test "x$ac_build_alias" = x &&
4251 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4252 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4257 $as_echo "$ac_cv_build" >&6; }
4258 case $ac_cv_build in
4259 *-*-*) ;;
4260 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4261 esac
4262 build=$ac_cv_build
4263 ac_save_IFS=$IFS; IFS='-'
4264 set x $ac_cv_build
4265 shift
4266 build_cpu=$1
4267 build_vendor=$2
4268 shift; shift
4269 # Remember, the first character of IFS is used to create $*,
4270 # except with old shells:
4271 build_os=$*
4272 IFS=$ac_save_IFS
4273 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4277 $as_echo_n "checking host system type... " >&6; }
4278 if ${ac_cv_host+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 if test "x$host_alias" = x; then
4282 ac_cv_host=$ac_cv_build
4283 else
4284 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4285 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4290 $as_echo "$ac_cv_host" >&6; }
4291 case $ac_cv_host in
4292 *-*-*) ;;
4293 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4294 esac
4295 host=$ac_cv_host
4296 ac_save_IFS=$IFS; IFS='-'
4297 set x $ac_cv_host
4298 shift
4299 host_cpu=$1
4300 host_vendor=$2
4301 shift; shift
4302 # Remember, the first character of IFS is used to create $*,
4303 # except with old shells:
4304 host_os=$*
4305 IFS=$ac_save_IFS
4306 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4312 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4313 set x ${MAKE-make}
4314 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4315 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4316 $as_echo_n "(cached) " >&6
4317 else
4318 cat >conftest.make <<\_ACEOF
4319 SHELL = /bin/sh
4320 all:
4321 @echo '@@@%%%=$(MAKE)=@@@%%%'
4322 _ACEOF
4323 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4324 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4325 *@@@%%%=?*=@@@%%%*)
4326 eval ac_cv_prog_make_${ac_make}_set=yes;;
4328 eval ac_cv_prog_make_${ac_make}_set=no;;
4329 esac
4330 rm -f conftest.make
4332 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4334 $as_echo "yes" >&6; }
4335 SET_MAKE=
4336 else
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4339 SET_MAKE="MAKE=${MAKE-make}"
4342 ac_ext=c
4343 ac_cpp='$CPP $CPPFLAGS'
4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 if test -n "$ac_tool_prefix"; then
4348 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; }
4352 if ${ac_cv_prog_CC+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 if test -n "$CC"; then
4356 ac_cv_prog_CC="$CC" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2
4369 done
4370 done
4371 IFS=$as_save_IFS
4375 CC=$ac_cv_prog_CC
4376 if test -n "$CC"; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4378 $as_echo "$CC" >&6; }
4379 else
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4386 if test -z "$ac_cv_prog_CC"; then
4387 ac_ct_CC=$CC
4388 # Extract the first word of "gcc", so it can be a program name with args.
4389 set dummy gcc; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 if test -n "$ac_ct_CC"; then
4396 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4397 else
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4401 IFS=$as_save_IFS
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405 ac_cv_prog_ac_ct_CC="gcc"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 break 2
4409 done
4410 done
4411 IFS=$as_save_IFS
4415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4416 if test -n "$ac_ct_CC"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4418 $as_echo "$ac_ct_CC" >&6; }
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4424 if test "x$ac_ct_CC" = x; then
4425 CC=""
4426 else
4427 case $cross_compiling:$ac_tool_warned in
4428 yes:)
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4431 ac_tool_warned=yes ;;
4432 esac
4433 CC=$ac_ct_CC
4435 else
4436 CC="$ac_cv_prog_CC"
4439 if test -z "$CC"; then
4440 if test -n "$ac_tool_prefix"; then
4441 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4442 set dummy ${ac_tool_prefix}cc; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_CC+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 if test -n "$CC"; then
4449 ac_cv_prog_CC="$CC" # Let the user override the test.
4450 else
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 for as_dir in $PATH
4454 IFS=$as_save_IFS
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_CC="${ac_tool_prefix}cc"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 break 2
4462 done
4463 done
4464 IFS=$as_save_IFS
4468 CC=$ac_cv_prog_CC
4469 if test -n "$CC"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4471 $as_echo "$CC" >&6; }
4472 else
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4480 if test -z "$CC"; then
4481 # Extract the first word of "cc", so it can be a program name with args.
4482 set dummy cc; ac_word=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if ${ac_cv_prog_CC+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 if test -n "$CC"; then
4489 ac_cv_prog_CC="$CC" # Let the user override the test.
4490 else
4491 ac_prog_rejected=no
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 for as_dir in $PATH
4495 IFS=$as_save_IFS
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4499 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4500 ac_prog_rejected=yes
4501 continue
4503 ac_cv_prog_CC="cc"
4504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 break 2
4507 done
4508 done
4509 IFS=$as_save_IFS
4511 if test $ac_prog_rejected = yes; then
4512 # We found a bogon in the path, so make sure we never use it.
4513 set dummy $ac_cv_prog_CC
4514 shift
4515 if test $# != 0; then
4516 # We chose a different compiler from the bogus one.
4517 # However, it has the same basename, so the bogon will be chosen
4518 # first if we set CC to just the basename; use the full file name.
4519 shift
4520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4525 CC=$ac_cv_prog_CC
4526 if test -n "$CC"; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4528 $as_echo "$CC" >&6; }
4529 else
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4536 if test -z "$CC"; then
4537 if test -n "$ac_tool_prefix"; then
4538 for ac_prog in cl.exe
4540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4543 $as_echo_n "checking for $ac_word... " >&6; }
4544 if ${ac_cv_prog_CC+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 if test -n "$CC"; then
4548 ac_cv_prog_CC="$CC" # Let the user override the test.
4549 else
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH
4553 IFS=$as_save_IFS
4554 test -z "$as_dir" && as_dir=.
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4557 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 break 2
4561 done
4562 done
4563 IFS=$as_save_IFS
4567 CC=$ac_cv_prog_CC
4568 if test -n "$CC"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4570 $as_echo "$CC" >&6; }
4571 else
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573 $as_echo "no" >&6; }
4577 test -n "$CC" && break
4578 done
4580 if test -z "$CC"; then
4581 ac_ct_CC=$CC
4582 for ac_prog in cl.exe
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy $ac_prog; ac_word=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 if test -n "$ac_ct_CC"; then
4592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4593 else
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 for as_dir in $PATH
4597 IFS=$as_save_IFS
4598 test -z "$as_dir" && as_dir=.
4599 for ac_exec_ext in '' $ac_executable_extensions; do
4600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_CC="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 break 2
4605 done
4606 done
4607 IFS=$as_save_IFS
4611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4612 if test -n "$ac_ct_CC"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4614 $as_echo "$ac_ct_CC" >&6; }
4615 else
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$ac_ct_CC" && break
4622 done
4624 if test "x$ac_ct_CC" = x; then
4625 CC=""
4626 else
4627 case $cross_compiling:$ac_tool_warned in
4628 yes:)
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned=yes ;;
4632 esac
4633 CC=$ac_ct_CC
4640 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4642 as_fn_error $? "no acceptable C compiler found in \$PATH
4643 See \`config.log' for more details" "$LINENO" 5; }
4645 # Provide some information about the compiler.
4646 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4647 set X $ac_compile
4648 ac_compiler=$2
4649 for ac_option in --version -v -V -qversion; do
4650 { { ac_try="$ac_compiler $ac_option >&5"
4651 case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4654 esac
4655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4656 $as_echo "$ac_try_echo"; } >&5
4657 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4658 ac_status=$?
4659 if test -s conftest.err; then
4660 sed '10a\
4661 ... rest of stderr output deleted ...
4662 10q' conftest.err >conftest.er1
4663 cat conftest.er1 >&5
4665 rm -f conftest.er1 conftest.err
4666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4667 test $ac_status = 0; }
4668 done
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4674 main ()
4678 return 0;
4680 _ACEOF
4681 ac_clean_files_save=$ac_clean_files
4682 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4683 # Try to create an executable without -o first, disregard a.out.
4684 # It will help us diagnose broken compilers, and finding out an intuition
4685 # of exeext.
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4687 $as_echo_n "checking whether the C compiler works... " >&6; }
4688 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4690 # The possible output files:
4691 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4693 ac_rmfiles=
4694 for ac_file in $ac_files
4696 case $ac_file in
4697 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4698 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4699 esac
4700 done
4701 rm -f $ac_rmfiles
4703 if { { ac_try="$ac_link_default"
4704 case "(($ac_try" in
4705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4707 esac
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710 (eval "$ac_link_default") 2>&5
4711 ac_status=$?
4712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4713 test $ac_status = 0; }; then :
4714 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4715 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4716 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4717 # so that the user can short-circuit this test for compilers unknown to
4718 # Autoconf.
4719 for ac_file in $ac_files ''
4721 test -f "$ac_file" || continue
4722 case $ac_file in
4723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4725 [ab].out )
4726 # We found the default executable, but exeext='' is most
4727 # certainly right.
4728 break;;
4729 *.* )
4730 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4731 then :; else
4732 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4734 # We set ac_cv_exeext here because the later test for it is not
4735 # safe: cross compilers may not add the suffix if given an `-o'
4736 # argument, so we may need to know it at that point already.
4737 # Even if this section looks crufty: it has the advantage of
4738 # actually working.
4739 break;;
4741 break;;
4742 esac
4743 done
4744 test "$ac_cv_exeext" = no && ac_cv_exeext=
4746 else
4747 ac_file=''
4749 if test -z "$ac_file"; then :
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4752 $as_echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4757 as_fn_error 77 "C compiler cannot create executables
4758 See \`config.log' for more details" "$LINENO" 5; }
4759 else
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4761 $as_echo "yes" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4764 $as_echo_n "checking for C compiler default output file name... " >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4766 $as_echo "$ac_file" >&6; }
4767 ac_exeext=$ac_cv_exeext
4769 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4770 ac_clean_files=$ac_clean_files_save
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4772 $as_echo_n "checking for suffix of executables... " >&6; }
4773 if { { ac_try="$ac_link"
4774 case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777 esac
4778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4779 $as_echo "$ac_try_echo"; } >&5
4780 (eval "$ac_link") 2>&5
4781 ac_status=$?
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }; then :
4784 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4785 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4786 # work properly (i.e., refer to `conftest.exe'), while it won't with
4787 # `rm'.
4788 for ac_file in conftest.exe conftest conftest.*; do
4789 test -f "$ac_file" || continue
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4792 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4793 break;;
4794 * ) break;;
4795 esac
4796 done
4797 else
4798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4800 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4801 See \`config.log' for more details" "$LINENO" 5; }
4803 rm -f conftest conftest$ac_cv_exeext
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4805 $as_echo "$ac_cv_exeext" >&6; }
4807 rm -f conftest.$ac_ext
4808 EXEEXT=$ac_cv_exeext
4809 ac_exeext=$EXEEXT
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4812 #include <stdio.h>
4814 main ()
4816 FILE *f = fopen ("conftest.out", "w");
4817 return ferror (f) || fclose (f) != 0;
4820 return 0;
4822 _ACEOF
4823 ac_clean_files="$ac_clean_files conftest.out"
4824 # Check that the compiler produces executables we can run. If not, either
4825 # the compiler is broken, or we cross compile.
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4827 $as_echo_n "checking whether we are cross compiling... " >&6; }
4828 if test "$cross_compiling" != yes; then
4829 { { ac_try="$ac_link"
4830 case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4835 $as_echo "$ac_try_echo"; } >&5
4836 (eval "$ac_link") 2>&5
4837 ac_status=$?
4838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4839 test $ac_status = 0; }
4840 if { ac_try='./conftest$ac_cv_exeext'
4841 { { case "(($ac_try" in
4842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4843 *) ac_try_echo=$ac_try;;
4844 esac
4845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4846 $as_echo "$ac_try_echo"; } >&5
4847 (eval "$ac_try") 2>&5
4848 ac_status=$?
4849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4850 test $ac_status = 0; }; }; then
4851 cross_compiling=no
4852 else
4853 if test "$cross_compiling" = maybe; then
4854 cross_compiling=yes
4855 else
4856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4858 as_fn_error $? "cannot run C compiled programs.
4859 If you meant to cross compile, use \`--host'.
4860 See \`config.log' for more details" "$LINENO" 5; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4865 $as_echo "$cross_compiling" >&6; }
4867 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4868 ac_clean_files=$ac_clean_files_save
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4870 $as_echo_n "checking for suffix of object files... " >&6; }
4871 if ${ac_cv_objext+:} false; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4882 return 0;
4884 _ACEOF
4885 rm -f conftest.o conftest.obj
4886 if { { ac_try="$ac_compile"
4887 case "(($ac_try" in
4888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4889 *) ac_try_echo=$ac_try;;
4890 esac
4891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4892 $as_echo "$ac_try_echo"; } >&5
4893 (eval "$ac_compile") 2>&5
4894 ac_status=$?
4895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4896 test $ac_status = 0; }; then :
4897 for ac_file in conftest.o conftest.obj conftest.*; do
4898 test -f "$ac_file" || continue;
4899 case $ac_file in
4900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4901 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4902 break;;
4903 esac
4904 done
4905 else
4906 $as_echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5
4909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4911 as_fn_error $? "cannot compute suffix of object files: cannot compile
4912 See \`config.log' for more details" "$LINENO" 5; }
4914 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4917 $as_echo "$ac_cv_objext" >&6; }
4918 OBJEXT=$ac_cv_objext
4919 ac_objext=$OBJEXT
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4921 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4922 if ${ac_cv_c_compiler_gnu+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 main ()
4931 #ifndef __GNUC__
4932 choke me
4933 #endif
4936 return 0;
4938 _ACEOF
4939 if ac_fn_c_try_compile "$LINENO"; then :
4940 ac_compiler_gnu=yes
4941 else
4942 ac_compiler_gnu=no
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4949 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4950 if test $ac_compiler_gnu = yes; then
4951 GCC=yes
4952 else
4953 GCC=
4955 ac_test_CFLAGS=${CFLAGS+set}
4956 ac_save_CFLAGS=$CFLAGS
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4958 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4959 if ${ac_cv_prog_cc_g+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 ac_save_c_werror_flag=$ac_c_werror_flag
4963 ac_c_werror_flag=yes
4964 ac_cv_prog_cc_g=no
4965 CFLAGS="-g"
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_c_try_compile "$LINENO"; then :
4978 ac_cv_prog_cc_g=yes
4979 else
4980 CFLAGS=""
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 :
4994 else
4995 ac_c_werror_flag=$ac_save_c_werror_flag
4996 CFLAGS="-g"
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5005 return 0;
5007 _ACEOF
5008 if ac_fn_c_try_compile "$LINENO"; then :
5009 ac_cv_prog_cc_g=yes
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 ac_c_werror_flag=$ac_save_c_werror_flag
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5019 $as_echo "$ac_cv_prog_cc_g" >&6; }
5020 if test "$ac_test_CFLAGS" = set; then
5021 CFLAGS=$ac_save_CFLAGS
5022 elif test $ac_cv_prog_cc_g = yes; then
5023 if test "$GCC" = yes; then
5024 CFLAGS="-g -O2"
5025 else
5026 CFLAGS="-g"
5028 else
5029 if test "$GCC" = yes; then
5030 CFLAGS="-O2"
5031 else
5032 CFLAGS=
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5036 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5037 if ${ac_cv_prog_cc_c89+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 ac_cv_prog_cc_c89=no
5041 ac_save_CC=$CC
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044 #include <stdarg.h>
5045 #include <stdio.h>
5046 struct stat;
5047 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5048 struct buf { int x; };
5049 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5050 static char *e (p, i)
5051 char **p;
5052 int i;
5054 return p[i];
5056 static char *f (char * (*g) (char **, int), char **p, ...)
5058 char *s;
5059 va_list v;
5060 va_start (v,p);
5061 s = g (p, va_arg (v,int));
5062 va_end (v);
5063 return s;
5066 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5067 function prototypes and stuff, but not '\xHH' hex character constants.
5068 These don't provoke an error unfortunately, instead are silently treated
5069 as 'x'. The following induces an error, until -std is added to get
5070 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5071 array size at least. It's necessary to write '\x00'==0 to get something
5072 that's true only with -std. */
5073 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5075 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5076 inside strings and character constants. */
5077 #define FOO(x) 'x'
5078 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5080 int test (int i, double x);
5081 struct s1 {int (*f) (int a);};
5082 struct s2 {int (*f) (double a);};
5083 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5084 int argc;
5085 char **argv;
5087 main ()
5089 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5091 return 0;
5093 _ACEOF
5094 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5095 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5097 CC="$ac_save_CC $ac_arg"
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099 ac_cv_prog_cc_c89=$ac_arg
5101 rm -f core conftest.err conftest.$ac_objext
5102 test "x$ac_cv_prog_cc_c89" != "xno" && break
5103 done
5104 rm -f conftest.$ac_ext
5105 CC=$ac_save_CC
5108 # AC_CACHE_VAL
5109 case "x$ac_cv_prog_cc_c89" in
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5112 $as_echo "none needed" >&6; } ;;
5113 xno)
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5115 $as_echo "unsupported" >&6; } ;;
5117 CC="$CC $ac_cv_prog_cc_c89"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5119 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5120 esac
5121 if test "x$ac_cv_prog_cc_c89" != xno; then :
5125 ac_ext=c
5126 ac_cpp='$CPP $CPPFLAGS'
5127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131 ac_ext=cpp
5132 ac_cpp='$CXXCPP $CPPFLAGS'
5133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5136 if test -z "$CXX"; then
5137 if test -n "$CCC"; then
5138 CXX=$CCC
5139 else
5140 if test -n "$ac_tool_prefix"; then
5141 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5144 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_CXX+:} false; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$CXX"; then
5151 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 CXX=$ac_cv_prog_CXX
5171 if test -n "$CXX"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5173 $as_echo "$CXX" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 test -n "$CXX" && break
5181 done
5183 if test -z "$CXX"; then
5184 ac_ct_CXX=$CXX
5185 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy $ac_prog; ac_word=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 if test -n "$ac_ct_CXX"; then
5195 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5196 else
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 for as_dir in $PATH
5200 IFS=$as_save_IFS
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_ac_ct_CXX="$ac_prog"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 break 2
5208 done
5209 done
5210 IFS=$as_save_IFS
5214 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5215 if test -n "$ac_ct_CXX"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5217 $as_echo "$ac_ct_CXX" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5224 test -n "$ac_ct_CXX" && break
5225 done
5227 if test "x$ac_ct_CXX" = x; then
5228 CXX="g++"
5229 else
5230 case $cross_compiling:$ac_tool_warned in
5231 yes:)
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5234 ac_tool_warned=yes ;;
5235 esac
5236 CXX=$ac_ct_CXX
5242 # Provide some information about the compiler.
5243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5244 set X $ac_compile
5245 ac_compiler=$2
5246 for ac_option in --version -v -V -qversion; do
5247 { { ac_try="$ac_compiler $ac_option >&5"
5248 case "(($ac_try" in
5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5251 esac
5252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5253 $as_echo "$ac_try_echo"; } >&5
5254 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5255 ac_status=$?
5256 if test -s conftest.err; then
5257 sed '10a\
5258 ... rest of stderr output deleted ...
5259 10q' conftest.err >conftest.er1
5260 cat conftest.er1 >&5
5262 rm -f conftest.er1 conftest.err
5263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5264 test $ac_status = 0; }
5265 done
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5268 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5269 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5270 $as_echo_n "(cached) " >&6
5271 else
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5276 main ()
5278 #ifndef __GNUC__
5279 choke me
5280 #endif
5283 return 0;
5285 _ACEOF
5286 if ac_fn_cxx_try_compile "$LINENO"; then :
5287 ac_compiler_gnu=yes
5288 else
5289 ac_compiler_gnu=no
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5296 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5297 if test $ac_compiler_gnu = yes; then
5298 GXX=yes
5299 else
5300 GXX=
5302 ac_test_CXXFLAGS=${CXXFLAGS+set}
5303 ac_save_CXXFLAGS=$CXXFLAGS
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5305 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5306 if ${ac_cv_prog_cxx_g+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5310 ac_cxx_werror_flag=yes
5311 ac_cv_prog_cxx_g=no
5312 CXXFLAGS="-g"
5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314 /* end confdefs.h. */
5317 main ()
5321 return 0;
5323 _ACEOF
5324 if ac_fn_cxx_try_compile "$LINENO"; then :
5325 ac_cv_prog_cxx_g=yes
5326 else
5327 CXXFLAGS=""
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 :
5341 else
5342 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5343 CXXFLAGS="-g"
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5348 main ()
5352 return 0;
5354 _ACEOF
5355 if ac_fn_cxx_try_compile "$LINENO"; then :
5356 ac_cv_prog_cxx_g=yes
5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5366 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5367 if test "$ac_test_CXXFLAGS" = set; then
5368 CXXFLAGS=$ac_save_CXXFLAGS
5369 elif test $ac_cv_prog_cxx_g = yes; then
5370 if test "$GXX" = yes; then
5371 CXXFLAGS="-g -O2"
5372 else
5373 CXXFLAGS="-g"
5375 else
5376 if test "$GXX" = yes; then
5377 CXXFLAGS="-O2"
5378 else
5379 CXXFLAGS=
5382 ac_ext=c
5383 ac_cpp='$CPP $CPPFLAGS'
5384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5388 if test -n "$ac_tool_prefix"; then
5389 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5390 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_CPPBIN+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$CPPBIN"; then
5397 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 CPPBIN=$ac_cv_prog_CPPBIN
5417 if test -n "$CPPBIN"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5419 $as_echo "$CPPBIN" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 if test -z "$ac_cv_prog_CPPBIN"; then
5428 ac_ct_CPPBIN=$CPPBIN
5429 # Extract the first word of "cpp", so it can be a program name with args.
5430 set dummy cpp; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -n "$ac_ct_CPPBIN"; then
5437 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5438 else
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_ac_ct_CPPBIN="cpp"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 break 2
5450 done
5451 done
5452 IFS=$as_save_IFS
5456 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5457 if test -n "$ac_ct_CPPBIN"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5459 $as_echo "$ac_ct_CPPBIN" >&6; }
5460 else
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5465 if test "x$ac_ct_CPPBIN" = x; then
5466 CPPBIN="cpp"
5467 else
5468 case $cross_compiling:$ac_tool_warned in
5469 yes:)
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5472 ac_tool_warned=yes ;;
5473 esac
5474 CPPBIN=$ac_ct_CPPBIN
5476 else
5477 CPPBIN="$ac_cv_prog_CPPBIN"
5481 cat >>confdefs.h <<_ACEOF
5482 #define EXEEXT "$ac_exeext"
5483 _ACEOF
5485 if test -n "$ac_tool_prefix"; then
5486 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5487 set dummy ${ac_tool_prefix}ld; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_LD+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$LD"; then
5494 ac_cv_prog_LD="$LD" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_LD="${ac_tool_prefix}ld"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 LD=$ac_cv_prog_LD
5514 if test -n "$LD"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5516 $as_echo "$LD" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5524 if test -z "$ac_cv_prog_LD"; then
5525 ac_ct_LD=$LD
5526 # Extract the first word of "ld", so it can be a program name with args.
5527 set dummy ld; ac_word=$2
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529 $as_echo_n "checking for $ac_word... " >&6; }
5530 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5531 $as_echo_n "(cached) " >&6
5532 else
5533 if test -n "$ac_ct_LD"; then
5534 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5535 else
5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 for as_dir in $PATH
5539 IFS=$as_save_IFS
5540 test -z "$as_dir" && as_dir=.
5541 for ac_exec_ext in '' $ac_executable_extensions; do
5542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543 ac_cv_prog_ac_ct_LD="ld"
5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 break 2
5547 done
5548 done
5549 IFS=$as_save_IFS
5553 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5554 if test -n "$ac_ct_LD"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5556 $as_echo "$ac_ct_LD" >&6; }
5557 else
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5562 if test "x$ac_ct_LD" = x; then
5563 LD=""
5564 else
5565 case $cross_compiling:$ac_tool_warned in
5566 yes:)
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5569 ac_tool_warned=yes ;;
5570 esac
5571 LD=$ac_ct_LD
5573 else
5574 LD="$ac_cv_prog_LD"
5578 case $host in
5579 *-darwin*)
5580 with_fontconfig=${with_fontconfig:-no}
5582 *-mingw32*|*-cygwin*)
5583 enable_win16=${enable_win16:-no}
5584 with_mingw=${with_mingw:-no}
5585 CFLAGS="$CFLAGS -D_WIN32"
5587 esac
5589 case $host in
5590 x86_64*|amd64*)
5591 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5592 then
5593 CC="$CC -m32"
5594 CXX="$CXX -m32"
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5597 $as_echo_n "checking whether $CC works... " >&6; }
5598 if ${wine_cv_cc_m32+:} false; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5605 main ()
5609 return 0;
5611 _ACEOF
5612 if ac_fn_c_try_link "$LINENO"; then :
5613 wine_cv_cc_m32=yes
5614 else
5615 wine_cv_cc_m32=no
5617 rm -f core conftest.err conftest.$ac_objext \
5618 conftest$ac_exeext conftest.$ac_ext
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5621 $as_echo "$wine_cv_cc_m32" >&6; }
5622 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
5623 host_cpu="i386"
5624 notice_platform="32-bit "
5625 TARGETFLAGS="-m32"
5627 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5628 export PKG_CONFIG_PATH
5629 enable_win16=${enable_win16:-yes}
5630 with_unwind=${with_unwind:-no}
5631 else
5632 if test "x${GCC}" = "xyes"
5633 then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5635 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5636 if ${wine_cv_builtin_ms_va_list+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5640 /* end confdefs.h. */
5641 #include <stdarg.h>
5643 main ()
5645 void func(__builtin_ms_va_list *args);
5647 return 0;
5649 _ACEOF
5650 if ac_fn_c_try_compile "$LINENO"; then :
5651 wine_cv_builtin_ms_va_list=yes
5652 else
5653 wine_cv_builtin_ms_va_list=no
5655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5658 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5659 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
5661 CC="$CC -m64"
5662 CXX="$CXX -m64"
5663 host_cpu="x86_64"
5664 notice_platform="64-bit "
5665 TARGETFLAGS="-m64"
5669 arm*)
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5671 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5672 if ${wine_cv_thumb+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5677 int ac_test(int i) { return i; }
5679 main ()
5681 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_link "$LINENO"; then :
5687 wine_cv_thumb=yes
5688 else
5689 wine_cv_thumb=no
5691 rm -f core conftest.err conftest.$ac_objext \
5692 conftest$ac_exeext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5695 $as_echo "$wine_cv_thumb" >&6; }
5696 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5697 case $with_float_abi in
5698 soft|softfp|hard)
5699 float_abi=$with_float_abi ;;
5701 case $host_os in
5702 *eabihf)
5703 float_abi=hard ;;
5705 float_abi=softfp
5706 saved_CFLAGS=$CFLAGS
5707 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5709 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5710 if ${wine_cv_float_abi+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5717 main ()
5719 asm("vmrs r2,fpscr");
5721 return 0;
5723 _ACEOF
5724 if ac_fn_c_try_link "$LINENO"; then :
5725 wine_cv_float_abi=yes
5726 else
5727 wine_cv_float_abi=no
5729 rm -f core conftest.err conftest.$ac_objext \
5730 conftest$ac_exeext conftest.$ac_ext
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5733 $as_echo "$wine_cv_float_abi" >&6; }
5734 if test $wine_cv_float_abi = no
5735 then
5736 float_abi=soft
5737 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5739 CFLAGS=$saved_CFLAGS
5740 esac
5742 esac
5743 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5744 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5747 aarch64*)
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5749 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5750 if ${wine_cv_builtin_ms_va_list+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5755 #include <stdarg.h>
5757 main ()
5759 void func(__builtin_ms_va_list *args);
5761 return 0;
5763 _ACEOF
5764 if ac_fn_c_try_compile "$LINENO"; then :
5765 wine_cv_builtin_ms_va_list=yes
5766 else
5767 wine_cv_builtin_ms_va_list=no
5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5772 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5773 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5775 i[3456789]86*)
5776 enable_win16=${enable_win16:-yes}
5777 with_unwind=${with_unwind:-no}
5779 esac
5781 enable_win16=${enable_win16:-no}
5782 enable_win64=${enable_win64:-no}
5784 enable_winetest=${enable_winetest:-$enable_tests}
5786 if test "x$enable_win64" = "xyes"
5787 then
5788 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5789 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5790 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5794 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5795 if ${wine_cv_toolsdir+:} false; then :
5796 $as_echo_n "(cached) " >&6
5797 else
5798 wine_cv_toolsdir="$with_wine_tools"
5799 if test -z "$with_wine_tools"; then
5800 if test "$cross_compiling" = "yes"; then
5801 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5802 elif test -n "$with_wine64"; then
5803 wine_cv_toolsdir="$with_wine64"
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5808 $as_echo "$wine_cv_toolsdir" >&6; }
5809 if test -z "$wine_cv_toolsdir"; then
5810 wine_makedep=tools/makedep
5811 TOOLSDIR="\$(top_builddir)"
5813 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5814 wine_makedep=$wine_cv_toolsdir/tools/makedep
5815 case "$wine_cv_toolsdir" in
5816 /*) TOOLSDIR=$wine_cv_toolsdir
5818 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5820 esac
5821 enable_tools=${enable_tools:-no}
5822 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5823 else
5824 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5826 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5827 then
5828 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5832 for ac_prog in flex
5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5835 set dummy $ac_prog; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_FLEX+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 if test -n "$FLEX"; then
5842 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_FLEX="$ac_prog"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5861 FLEX=$ac_cv_prog_FLEX
5862 if test -n "$FLEX"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5864 $as_echo "$FLEX" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 test -n "$FLEX" && break
5872 done
5873 test -n "$FLEX" || FLEX="none"
5875 if test "$FLEX" = "none"
5876 then
5877 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5880 $as_echo_n "checking whether flex is recent enough... " >&6; }
5881 if ${wine_cv_recent_flex+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5884 cat >conftest.l <<EOF
5885 %top{
5886 #include "prediluvian.h"
5890 if $FLEX -t conftest.l >/dev/null 2>&5
5891 then
5892 wine_cv_recent_flex=yes
5893 else
5894 wine_cv_recent_flex=no
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5898 $as_echo "$wine_cv_recent_flex" >&6; }
5899 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
5901 for ac_prog in bison
5903 # Extract the first word of "$ac_prog", so it can be a program name with args.
5904 set dummy $ac_prog; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_BISON+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 if test -n "$BISON"; then
5911 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5912 else
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH
5916 IFS=$as_save_IFS
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_BISON="$ac_prog"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 break 2
5924 done
5925 done
5926 IFS=$as_save_IFS
5930 BISON=$ac_cv_prog_BISON
5931 if test -n "$BISON"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5933 $as_echo "$BISON" >&6; }
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5940 test -n "$BISON" && break
5941 done
5942 test -n "$BISON" || BISON="none"
5944 if test "$BISON" = "none"
5945 then
5946 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5949 $as_echo_n "checking whether bison is recent enough... " >&6; }
5950 if ${wine_cv_recent_bison+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 cat >conftest.y <<EOF
5954 %define parse.error verbose
5956 empty: ;
5958 if $BISON conftest.y >/dev/null 2>&5
5959 then
5960 wine_cv_recent_bison=yes
5961 else
5962 wine_cv_recent_bison=no
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5966 $as_echo "$wine_cv_recent_bison" >&6; }
5967 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
5969 if test -n "$ac_tool_prefix"; then
5970 for ac_prog in ar gar
5972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_AR+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 if test -n "$AR"; then
5980 ac_cv_prog_AR="$AR" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 break 2
5993 done
5994 done
5995 IFS=$as_save_IFS
5999 AR=$ac_cv_prog_AR
6000 if test -n "$AR"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6002 $as_echo "$AR" >&6; }
6003 else
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6009 test -n "$AR" && break
6010 done
6012 if test -z "$AR"; then
6013 ac_ct_AR=$AR
6014 for ac_prog in ar gar
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy $ac_prog; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6021 $as_echo_n "(cached) " >&6
6022 else
6023 if test -n "$ac_ct_AR"; then
6024 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6029 IFS=$as_save_IFS
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_ac_ct_AR="$ac_prog"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6044 if test -n "$ac_ct_AR"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6046 $as_echo "$ac_ct_AR" >&6; }
6047 else
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6053 test -n "$ac_ct_AR" && break
6054 done
6056 if test "x$ac_ct_AR" = x; then
6057 AR="ar"
6058 else
6059 case $cross_compiling:$ac_tool_warned in
6060 yes:)
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6064 esac
6065 AR=$ac_ct_AR
6069 if test -n "$ac_tool_prefix"; then
6070 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6071 set dummy ${ac_tool_prefix}strip; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_STRIP+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$STRIP"; then
6078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 STRIP=$ac_cv_prog_STRIP
6098 if test -n "$STRIP"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6100 $as_echo "$STRIP" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6108 if test -z "$ac_cv_prog_STRIP"; then
6109 ac_ct_STRIP=$STRIP
6110 # Extract the first word of "strip", so it can be a program name with args.
6111 set dummy strip; ac_word=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 $as_echo_n "checking for $ac_word... " >&6; }
6114 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 if test -n "$ac_ct_STRIP"; then
6118 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_ac_ct_STRIP="strip"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6138 if test -n "$ac_ct_STRIP"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6140 $as_echo "$ac_ct_STRIP" >&6; }
6141 else
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6146 if test "x$ac_ct_STRIP" = x; then
6147 STRIP="strip"
6148 else
6149 case $cross_compiling:$ac_tool_warned in
6150 yes:)
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6153 ac_tool_warned=yes ;;
6154 esac
6155 STRIP=$ac_ct_STRIP
6157 else
6158 STRIP="$ac_cv_prog_STRIP"
6161 if test -n "$ac_tool_prefix"; then
6162 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6163 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_RANLIB+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 if test -n "$RANLIB"; then
6170 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 break 2
6183 done
6184 done
6185 IFS=$as_save_IFS
6189 RANLIB=$ac_cv_prog_RANLIB
6190 if test -n "$RANLIB"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6192 $as_echo "$RANLIB" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6200 if test -z "$ac_cv_prog_RANLIB"; then
6201 ac_ct_RANLIB=$RANLIB
6202 # Extract the first word of "ranlib", so it can be a program name with args.
6203 set dummy ranlib; ac_word=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 $as_echo_n "checking for $ac_word... " >&6; }
6206 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6207 $as_echo_n "(cached) " >&6
6208 else
6209 if test -n "$ac_ct_RANLIB"; then
6210 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6211 else
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 for as_dir in $PATH
6215 IFS=$as_save_IFS
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6219 ac_cv_prog_ac_ct_RANLIB="ranlib"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 break 2
6223 done
6224 done
6225 IFS=$as_save_IFS
6229 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6230 if test -n "$ac_ct_RANLIB"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6232 $as_echo "$ac_ct_RANLIB" >&6; }
6233 else
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6238 if test "x$ac_ct_RANLIB" = x; then
6239 RANLIB=":"
6240 else
6241 case $cross_compiling:$ac_tool_warned in
6242 yes:)
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6245 ac_tool_warned=yes ;;
6246 esac
6247 RANLIB=$ac_ct_RANLIB
6249 else
6250 RANLIB="$ac_cv_prog_RANLIB"
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6254 $as_echo_n "checking whether ln -s works... " >&6; }
6255 LN_S=$as_ln_s
6256 if test "$LN_S" = "ln -s"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6258 $as_echo "yes" >&6; }
6259 else
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6261 $as_echo "no, using $LN_S" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6265 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6266 if ${ac_cv_path_GREP+:} false; then :
6267 $as_echo_n "(cached) " >&6
6268 else
6269 if test -z "$GREP"; then
6270 ac_path_GREP_found=false
6271 # Loop through the user's path and test for each of PROGNAME-LIST
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6275 IFS=$as_save_IFS
6276 test -z "$as_dir" && as_dir=.
6277 for ac_prog in grep ggrep; do
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6280 as_fn_executable_p "$ac_path_GREP" || continue
6281 # Check for GNU ac_path_GREP and select it if it is found.
6282 # Check for GNU $ac_path_GREP
6283 case `"$ac_path_GREP" --version 2>&1` in
6284 *GNU*)
6285 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6287 ac_count=0
6288 $as_echo_n 0123456789 >"conftest.in"
6289 while :
6291 cat "conftest.in" "conftest.in" >"conftest.tmp"
6292 mv "conftest.tmp" "conftest.in"
6293 cp "conftest.in" "conftest.nl"
6294 $as_echo 'GREP' >> "conftest.nl"
6295 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6296 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6297 as_fn_arith $ac_count + 1 && ac_count=$as_val
6298 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6299 # Best one so far, save it but keep looking for a better one
6300 ac_cv_path_GREP="$ac_path_GREP"
6301 ac_path_GREP_max=$ac_count
6303 # 10*(2^10) chars as input seems more than enough
6304 test $ac_count -gt 10 && break
6305 done
6306 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6307 esac
6309 $ac_path_GREP_found && break 3
6310 done
6311 done
6312 done
6313 IFS=$as_save_IFS
6314 if test -z "$ac_cv_path_GREP"; then
6315 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6317 else
6318 ac_cv_path_GREP=$GREP
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6323 $as_echo "$ac_cv_path_GREP" >&6; }
6324 GREP="$ac_cv_path_GREP"
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6328 $as_echo_n "checking for egrep... " >&6; }
6329 if ${ac_cv_path_EGREP+:} false; then :
6330 $as_echo_n "(cached) " >&6
6331 else
6332 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6333 then ac_cv_path_EGREP="$GREP -E"
6334 else
6335 if test -z "$EGREP"; then
6336 ac_path_EGREP_found=false
6337 # Loop through the user's path and test for each of PROGNAME-LIST
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6341 IFS=$as_save_IFS
6342 test -z "$as_dir" && as_dir=.
6343 for ac_prog in egrep; do
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6346 as_fn_executable_p "$ac_path_EGREP" || continue
6347 # Check for GNU ac_path_EGREP and select it if it is found.
6348 # Check for GNU $ac_path_EGREP
6349 case `"$ac_path_EGREP" --version 2>&1` in
6350 *GNU*)
6351 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6353 ac_count=0
6354 $as_echo_n 0123456789 >"conftest.in"
6355 while :
6357 cat "conftest.in" "conftest.in" >"conftest.tmp"
6358 mv "conftest.tmp" "conftest.in"
6359 cp "conftest.in" "conftest.nl"
6360 $as_echo 'EGREP' >> "conftest.nl"
6361 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6363 as_fn_arith $ac_count + 1 && ac_count=$as_val
6364 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6365 # Best one so far, save it but keep looking for a better one
6366 ac_cv_path_EGREP="$ac_path_EGREP"
6367 ac_path_EGREP_max=$ac_count
6369 # 10*(2^10) chars as input seems more than enough
6370 test $ac_count -gt 10 && break
6371 done
6372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6373 esac
6375 $ac_path_EGREP_found && break 3
6376 done
6377 done
6378 done
6379 IFS=$as_save_IFS
6380 if test -z "$ac_cv_path_EGREP"; then
6381 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6383 else
6384 ac_cv_path_EGREP=$EGREP
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6390 $as_echo "$ac_cv_path_EGREP" >&6; }
6391 EGREP="$ac_cv_path_EGREP"
6394 # Extract the first word of "ldconfig", so it can be a program name with args.
6395 set dummy ldconfig; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if ${ac_cv_path_LDCONFIG+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 case $LDCONFIG in
6402 [\\/]* | ?:[\\/]*)
6403 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407 for as_dir in /sbin /usr/sbin $PATH
6409 IFS=$as_save_IFS
6410 test -z "$as_dir" && as_dir=.
6411 for ac_exec_ext in '' $ac_executable_extensions; do
6412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6413 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6415 break 2
6417 done
6418 done
6419 IFS=$as_save_IFS
6421 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6423 esac
6425 LDCONFIG=$ac_cv_path_LDCONFIG
6426 if test -n "$LDCONFIG"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6428 $as_echo "$LDCONFIG" >&6; }
6429 else
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431 $as_echo "no" >&6; }
6435 for ac_prog in msgfmt
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_MSGFMT+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$MSGFMT"; then
6445 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_MSGFMT="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 MSGFMT=$ac_cv_prog_MSGFMT
6465 if test -n "$MSGFMT"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6467 $as_echo "$MSGFMT" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$MSGFMT" && break
6475 done
6476 test -n "$MSGFMT" || MSGFMT="false"
6478 if ${ac_tool_prefix+:} false; then :
6479 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6480 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485 else
6486 if test -n "$PKG_CONFIG"; then
6487 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6488 else
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 for as_dir in $PATH
6492 IFS=$as_save_IFS
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 break 2
6500 done
6501 done
6502 IFS=$as_save_IFS
6506 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6507 if test -n "$PKG_CONFIG"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6509 $as_echo "$PKG_CONFIG" >&6; }
6510 else
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6517 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6518 if test "x$cross_compiling" = xyes; then :
6520 else
6521 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6522 # Extract the first word of "pkg-config", so it can be a program name with args.
6523 set dummy pkg-config; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$PKG_CONFIG"; then
6530 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_PKG_CONFIG="pkg-config"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6550 if test -n "$PKG_CONFIG"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6552 $as_echo "$PKG_CONFIG" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6560 else
6561 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6564 if test "x$enable_maintainer_mode" != "xyes"
6565 then
6566 FONTFORGE=""
6567 RSVG=""
6568 CONVERT=""
6569 ICOTOOL=""
6570 else
6571 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6572 for ac_prog in fontforge
6574 # Extract the first word of "$ac_prog", so it can be a program name with args.
6575 set dummy $ac_prog; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_FONTFORGE+:} false; then :
6579 $as_echo_n "(cached) " >&6
6580 else
6581 if test -n "$FONTFORGE"; then
6582 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_FONTFORGE="$ac_prog"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 break 2
6595 done
6596 done
6597 IFS=$as_save_IFS
6601 FONTFORGE=$ac_cv_prog_FONTFORGE
6602 if test -n "$FONTFORGE"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6604 $as_echo "$FONTFORGE" >&6; }
6605 else
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6611 test -n "$FONTFORGE" && break
6612 done
6613 test -n "$FONTFORGE" || FONTFORGE="false"
6615 for ac_prog in rsvg-convert rsvg
6617 # Extract the first word of "$ac_prog", so it can be a program name with args.
6618 set dummy $ac_prog; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_RSVG+:} false; then :
6622 $as_echo_n "(cached) " >&6
6623 else
6624 if test -n "$RSVG"; then
6625 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6630 IFS=$as_save_IFS
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_RSVG="$ac_prog"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 break 2
6638 done
6639 done
6640 IFS=$as_save_IFS
6644 RSVG=$ac_cv_prog_RSVG
6645 if test -n "$RSVG"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6647 $as_echo "$RSVG" >&6; }
6648 else
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6654 test -n "$RSVG" && break
6655 done
6656 test -n "$RSVG" || RSVG="false"
6658 for ac_prog in convert
6660 # Extract the first word of "$ac_prog", so it can be a program name with args.
6661 set dummy $ac_prog; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_CONVERT+:} false; then :
6665 $as_echo_n "(cached) " >&6
6666 else
6667 if test -n "$CONVERT"; then
6668 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6673 IFS=$as_save_IFS
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6677 ac_cv_prog_CONVERT="$ac_prog"
6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 break 2
6681 done
6682 done
6683 IFS=$as_save_IFS
6687 CONVERT=$ac_cv_prog_CONVERT
6688 if test -n "$CONVERT"; then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6690 $as_echo "$CONVERT" >&6; }
6691 else
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6697 test -n "$CONVERT" && break
6698 done
6699 test -n "$CONVERT" || CONVERT="false"
6701 for ac_prog in icotool
6703 # Extract the first word of "$ac_prog", so it can be a program name with args.
6704 set dummy $ac_prog; ac_word=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if ${ac_cv_prog_ICOTOOL+:} false; then :
6708 $as_echo_n "(cached) " >&6
6709 else
6710 if test -n "$ICOTOOL"; then
6711 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6712 else
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714 for as_dir in $PATH
6716 IFS=$as_save_IFS
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6720 ac_cv_prog_ICOTOOL="$ac_prog"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 break 2
6724 done
6725 done
6726 IFS=$as_save_IFS
6730 ICOTOOL=$ac_cv_prog_ICOTOOL
6731 if test -n "$ICOTOOL"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6733 $as_echo "$ICOTOOL" >&6; }
6734 else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6740 test -n "$ICOTOOL" && break
6741 done
6742 test -n "$ICOTOOL" || ICOTOOL="false"
6744 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6745 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6747 if test "$CONVERT" = false
6748 then
6749 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6752 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6753 convert_version=`convert --version | head -n1`
6754 if test "x$convert_version" != "x"
6755 then
6756 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6757 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6758 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6759 then
6760 CONVERT=false
6763 if test "$CONVERT" = false
6764 then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6766 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6767 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6768 else
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6770 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6774 if test "$ICOTOOL" = false
6775 then
6776 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6779 $as_echo_n "checking for recent enough icotool... " >&6; }
6780 icotool_version=`icotool --version | head -n1`
6781 if test "x$icotool_version" != "x"
6782 then
6783 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6784 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6785 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6786 then
6787 ICOTOOL=false
6788 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6791 if test "$ICOTOOL" = false
6792 then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6794 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6795 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6796 else
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6798 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6802 with_gettext=yes
6803 with_gettextpo=yes
6805 enable_werror=yes
6808 test "x$with_gettext" != xno || MSGFMT=false
6809 if test "$MSGFMT" != "false"
6810 then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6812 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6813 if ${wine_cv_msgfmt_contexts+:} false; then :
6814 $as_echo_n "(cached) " >&6
6815 else
6816 cat >conftest.po <<EOF
6817 # comment
6818 msgctxt "ctxt"
6819 msgid "id"
6820 msgstr "str"
6822 if $MSGFMT -o /dev/null conftest.po 2>&5
6823 then
6824 wine_cv_msgfmt_contexts=yes
6825 else
6826 wine_cv_msgfmt_contexts=no
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6830 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6831 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6833 if test "$MSGFMT" = false; then :
6834 case "x$with_gettext" in
6835 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6836 xno) ;;
6837 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6838 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6839 esac
6840 enable_po=${enable_po:-no}
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6845 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6846 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 ac_check_lib_save_LIBS=$LIBS
6850 LIBS="-li386 $LIBS"
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6854 /* Override any GCC internal prototype to avoid an error.
6855 Use char because int might match the return type of a GCC
6856 builtin and then its argument prototype would still apply. */
6857 #ifdef __cplusplus
6858 extern "C"
6859 #endif
6860 char i386_set_ldt ();
6862 main ()
6864 return i386_set_ldt ();
6866 return 0;
6868 _ACEOF
6869 if ac_fn_c_try_link "$LINENO"; then :
6870 ac_cv_lib_i386_i386_set_ldt=yes
6871 else
6872 ac_cv_lib_i386_i386_set_ldt=no
6874 rm -f core conftest.err conftest.$ac_objext \
6875 conftest$ac_exeext conftest.$ac_ext
6876 LIBS=$ac_check_lib_save_LIBS
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6879 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6880 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6881 I386_LIBS="-li386"
6886 OPENGL_LIBS=""
6890 # Check whether --enable-largefile was given.
6891 if test "${enable_largefile+set}" = set; then :
6892 enableval=$enable_largefile;
6895 if test "$enable_largefile" != no; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6898 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6899 if ${ac_cv_sys_largefile_CC+:} false; then :
6900 $as_echo_n "(cached) " >&6
6901 else
6902 ac_cv_sys_largefile_CC=no
6903 if test "$GCC" != yes; then
6904 ac_save_CC=$CC
6905 while :; do
6906 # IRIX 6.2 and later do not support large files by default,
6907 # so use the C compiler's -n32 option if that helps.
6908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6909 /* end confdefs.h. */
6910 #include <sys/types.h>
6911 /* Check that off_t can represent 2**63 - 1 correctly.
6912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6913 since some C++ compilers masquerading as C compilers
6914 incorrectly reject 9223372036854775807. */
6915 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6917 && LARGE_OFF_T % 2147483647 == 1)
6918 ? 1 : -1];
6920 main ()
6924 return 0;
6926 _ACEOF
6927 if ac_fn_c_try_compile "$LINENO"; then :
6928 break
6930 rm -f core conftest.err conftest.$ac_objext
6931 CC="$CC -n32"
6932 if ac_fn_c_try_compile "$LINENO"; then :
6933 ac_cv_sys_largefile_CC=' -n32'; break
6935 rm -f core conftest.err conftest.$ac_objext
6936 break
6937 done
6938 CC=$ac_save_CC
6939 rm -f conftest.$ac_ext
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6943 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6944 if test "$ac_cv_sys_largefile_CC" != no; then
6945 CC=$CC$ac_cv_sys_largefile_CC
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6949 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6950 if ${ac_cv_sys_file_offset_bits+:} false; then :
6951 $as_echo_n "(cached) " >&6
6952 else
6953 while :; do
6954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6955 /* end confdefs.h. */
6956 #include <sys/types.h>
6957 /* Check that off_t can represent 2**63 - 1 correctly.
6958 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6959 since some C++ compilers masquerading as C compilers
6960 incorrectly reject 9223372036854775807. */
6961 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6962 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6963 && LARGE_OFF_T % 2147483647 == 1)
6964 ? 1 : -1];
6966 main ()
6970 return 0;
6972 _ACEOF
6973 if ac_fn_c_try_compile "$LINENO"; then :
6974 ac_cv_sys_file_offset_bits=no; break
6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6979 #define _FILE_OFFSET_BITS 64
6980 #include <sys/types.h>
6981 /* Check that off_t can represent 2**63 - 1 correctly.
6982 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6983 since some C++ compilers masquerading as C compilers
6984 incorrectly reject 9223372036854775807. */
6985 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6986 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6987 && LARGE_OFF_T % 2147483647 == 1)
6988 ? 1 : -1];
6990 main ()
6994 return 0;
6996 _ACEOF
6997 if ac_fn_c_try_compile "$LINENO"; then :
6998 ac_cv_sys_file_offset_bits=64; break
7000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7001 ac_cv_sys_file_offset_bits=unknown
7002 break
7003 done
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7006 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7007 case $ac_cv_sys_file_offset_bits in #(
7008 no | unknown) ;;
7010 cat >>confdefs.h <<_ACEOF
7011 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7012 _ACEOF
7014 esac
7015 rm -rf conftest*
7016 if test $ac_cv_sys_file_offset_bits = unknown; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7018 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7019 if ${ac_cv_sys_large_files+:} false; then :
7020 $as_echo_n "(cached) " >&6
7021 else
7022 while :; do
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 #include <sys/types.h>
7026 /* Check that off_t can represent 2**63 - 1 correctly.
7027 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7028 since some C++ compilers masquerading as C compilers
7029 incorrectly reject 9223372036854775807. */
7030 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7031 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7032 && LARGE_OFF_T % 2147483647 == 1)
7033 ? 1 : -1];
7035 main ()
7039 return 0;
7041 _ACEOF
7042 if ac_fn_c_try_compile "$LINENO"; then :
7043 ac_cv_sys_large_files=no; break
7045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7048 #define _LARGE_FILES 1
7049 #include <sys/types.h>
7050 /* Check that off_t can represent 2**63 - 1 correctly.
7051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7052 since some C++ compilers masquerading as C compilers
7053 incorrectly reject 9223372036854775807. */
7054 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7056 && LARGE_OFF_T % 2147483647 == 1)
7057 ? 1 : -1];
7059 main ()
7063 return 0;
7065 _ACEOF
7066 if ac_fn_c_try_compile "$LINENO"; then :
7067 ac_cv_sys_large_files=1; break
7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7070 ac_cv_sys_large_files=unknown
7071 break
7072 done
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7075 $as_echo "$ac_cv_sys_large_files" >&6; }
7076 case $ac_cv_sys_large_files in #(
7077 no | unknown) ;;
7079 cat >>confdefs.h <<_ACEOF
7080 #define _LARGE_FILES $ac_cv_sys_large_files
7081 _ACEOF
7083 esac
7084 rm -rf conftest*
7091 ac_ext=c
7092 ac_cpp='$CPP $CPPFLAGS'
7093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7097 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7098 # On Suns, sometimes $CPP names a directory.
7099 if test -n "$CPP" && test -d "$CPP"; then
7100 CPP=
7102 if test -z "$CPP"; then
7103 if ${ac_cv_prog_CPP+:} false; then :
7104 $as_echo_n "(cached) " >&6
7105 else
7106 # Double quotes because CPP needs to be expanded
7107 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7109 ac_preproc_ok=false
7110 for ac_c_preproc_warn_flag in '' yes
7112 # Use a header file that comes with gcc, so configuring glibc
7113 # with a fresh cross-compiler works.
7114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7115 # <limits.h> exists even on freestanding compilers.
7116 # On the NeXT, cc -E runs the code through the compiler's parser,
7117 # not just through cpp. "Syntax error" is here to catch this case.
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7120 #ifdef __STDC__
7121 # include <limits.h>
7122 #else
7123 # include <assert.h>
7124 #endif
7125 Syntax error
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7129 else
7130 # Broken: fails on valid input.
7131 continue
7133 rm -f conftest.err conftest.i conftest.$ac_ext
7135 # OK, works on sane cases. Now check whether nonexistent headers
7136 # can be detected and how.
7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138 /* end confdefs.h. */
7139 #include <ac_nonexistent.h>
7140 _ACEOF
7141 if ac_fn_c_try_cpp "$LINENO"; then :
7142 # Broken: success on invalid input.
7143 continue
7144 else
7145 # Passes both tests.
7146 ac_preproc_ok=:
7147 break
7149 rm -f conftest.err conftest.i conftest.$ac_ext
7151 done
7152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7153 rm -f conftest.i conftest.err conftest.$ac_ext
7154 if $ac_preproc_ok; then :
7155 break
7158 done
7159 ac_cv_prog_CPP=$CPP
7162 CPP=$ac_cv_prog_CPP
7163 else
7164 ac_cv_prog_CPP=$CPP
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7167 $as_echo "$CPP" >&6; }
7168 ac_preproc_ok=false
7169 for ac_c_preproc_warn_flag in '' yes
7171 # Use a header file that comes with gcc, so configuring glibc
7172 # with a fresh cross-compiler works.
7173 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7174 # <limits.h> exists even on freestanding compilers.
7175 # On the NeXT, cc -E runs the code through the compiler's parser,
7176 # not just through cpp. "Syntax error" is here to catch this case.
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7179 #ifdef __STDC__
7180 # include <limits.h>
7181 #else
7182 # include <assert.h>
7183 #endif
7184 Syntax error
7185 _ACEOF
7186 if ac_fn_c_try_cpp "$LINENO"; then :
7188 else
7189 # Broken: fails on valid input.
7190 continue
7192 rm -f conftest.err conftest.i conftest.$ac_ext
7194 # OK, works on sane cases. Now check whether nonexistent headers
7195 # can be detected and how.
7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7198 #include <ac_nonexistent.h>
7199 _ACEOF
7200 if ac_fn_c_try_cpp "$LINENO"; then :
7201 # Broken: success on invalid input.
7202 continue
7203 else
7204 # Passes both tests.
7205 ac_preproc_ok=:
7206 break
7208 rm -f conftest.err conftest.i conftest.$ac_ext
7210 done
7211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7212 rm -f conftest.i conftest.err conftest.$ac_ext
7213 if $ac_preproc_ok; then :
7215 else
7216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7218 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7219 See \`config.log' for more details" "$LINENO" 5; }
7222 ac_ext=c
7223 ac_cpp='$CPP $CPPFLAGS'
7224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7230 $as_echo_n "checking for ANSI C header files... " >&6; }
7231 if ${ac_cv_header_stdc+:} false; then :
7232 $as_echo_n "(cached) " >&6
7233 else
7234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7235 /* end confdefs.h. */
7236 #include <stdlib.h>
7237 #include <stdarg.h>
7238 #include <string.h>
7239 #include <float.h>
7242 main ()
7246 return 0;
7248 _ACEOF
7249 if ac_fn_c_try_compile "$LINENO"; then :
7250 ac_cv_header_stdc=yes
7251 else
7252 ac_cv_header_stdc=no
7254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7256 if test $ac_cv_header_stdc = yes; then
7257 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 #include <string.h>
7262 _ACEOF
7263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7264 $EGREP "memchr" >/dev/null 2>&1; then :
7266 else
7267 ac_cv_header_stdc=no
7269 rm -f conftest*
7273 if test $ac_cv_header_stdc = yes; then
7274 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #include <stdlib.h>
7279 _ACEOF
7280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7281 $EGREP "free" >/dev/null 2>&1; then :
7283 else
7284 ac_cv_header_stdc=no
7286 rm -f conftest*
7290 if test $ac_cv_header_stdc = yes; then
7291 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7292 if test "$cross_compiling" = yes; then :
7294 else
7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7296 /* end confdefs.h. */
7297 #include <ctype.h>
7298 #include <stdlib.h>
7299 #if ((' ' & 0x0FF) == 0x020)
7300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7301 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7302 #else
7303 # define ISLOWER(c) \
7304 (('a' <= (c) && (c) <= 'i') \
7305 || ('j' <= (c) && (c) <= 'r') \
7306 || ('s' <= (c) && (c) <= 'z'))
7307 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7308 #endif
7310 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7312 main ()
7314 int i;
7315 for (i = 0; i < 256; i++)
7316 if (XOR (islower (i), ISLOWER (i))
7317 || toupper (i) != TOUPPER (i))
7318 return 2;
7319 return 0;
7321 _ACEOF
7322 if ac_fn_c_try_run "$LINENO"; then :
7324 else
7325 ac_cv_header_stdc=no
7327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7328 conftest.$ac_objext conftest.beam conftest.$ac_ext
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7334 $as_echo "$ac_cv_header_stdc" >&6; }
7335 if test $ac_cv_header_stdc = yes; then
7337 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7341 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7342 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7343 inttypes.h stdint.h unistd.h
7344 do :
7345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7346 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7348 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7349 cat >>confdefs.h <<_ACEOF
7350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7351 _ACEOF
7355 done
7358 for ac_header in \
7359 AL/al.h \
7360 ApplicationServices/ApplicationServices.h \
7361 AudioToolbox/AudioConverter.h \
7362 AudioUnit/AudioUnit.h \
7363 AudioUnit/AudioComponent.h \
7364 CL/cl.h \
7365 Carbon/Carbon.h \
7366 CommonCrypto/CommonCryptor.h \
7367 CoreAudio/CoreAudio.h \
7368 CoreServices/CoreServices.h \
7369 DiskArbitration/DiskArbitration.h \
7370 EGL/egl.h \
7371 IOKit/IOKitLib.h \
7372 IOKit/hid/IOHIDLib.h \
7373 OpenAL/al.h \
7374 OpenCL/opencl.h \
7375 QuickTime/ImageCompression.h \
7376 Security/Security.h \
7377 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7378 SystemConfiguration/SCNetworkConfiguration.h \
7379 alias.h \
7380 arpa/inet.h \
7381 arpa/nameser.h \
7382 asm/types.h \
7383 asm/user.h \
7384 curses.h \
7385 dirent.h \
7386 dlfcn.h \
7387 elf.h \
7388 float.h \
7389 fnmatch.h \
7390 getopt.h \
7391 gettext-po.h \
7392 grp.h \
7393 gsm.h \
7394 gsm/gsm.h \
7395 ieeefp.h \
7396 inet/mib2.h \
7397 kstat.h \
7398 libproc.h \
7399 link.h \
7400 linux/cdrom.h \
7401 linux/compiler.h \
7402 linux/filter.h \
7403 linux/hdreg.h \
7404 linux/hidraw.h \
7405 linux/input.h \
7406 linux/ioctl.h \
7407 linux/joystick.h \
7408 linux/major.h \
7409 linux/param.h \
7410 linux/serial.h \
7411 linux/types.h \
7412 linux/ucdrom.h \
7413 lwp.h \
7414 mach-o/nlist.h \
7415 mach-o/loader.h \
7416 mach/mach.h \
7417 mach/machine.h \
7418 machine/cpu.h \
7419 machine/limits.h \
7420 machine/sysarch.h \
7421 mntent.h \
7422 ncurses.h \
7423 netdb.h \
7424 netinet/in.h \
7425 netinet/in_systm.h \
7426 netinet/tcp.h \
7427 netinet/tcp_fsm.h \
7428 pcap/pcap.h \
7429 poll.h \
7430 port.h \
7431 pthread.h \
7432 pwd.h \
7433 sasl/sasl.h \
7434 sched.h \
7435 scsi/scsi.h \
7436 scsi/scsi_ioctl.h \
7437 scsi/sg.h \
7438 stdbool.h \
7439 stdint.h \
7440 stropts.h \
7441 sys/attr.h \
7442 sys/auxv.h \
7443 sys/cdio.h \
7444 sys/epoll.h \
7445 sys/event.h \
7446 sys/filio.h \
7447 sys/ioctl.h \
7448 sys/ipc.h \
7449 sys/limits.h \
7450 sys/link.h \
7451 sys/mman.h \
7452 sys/modem.h \
7453 sys/msg.h \
7454 sys/mtio.h \
7455 sys/param.h \
7456 sys/poll.h \
7457 sys/prctl.h \
7458 sys/protosw.h \
7459 sys/ptrace.h \
7460 sys/queue.h \
7461 sys/resource.h \
7462 sys/scsiio.h \
7463 sys/shm.h \
7464 sys/signal.h \
7465 sys/socket.h \
7466 sys/socketvar.h \
7467 sys/sockio.h \
7468 sys/statvfs.h \
7469 sys/strtio.h \
7470 sys/syscall.h \
7471 sys/sysinfo.h \
7472 sys/tihdr.h \
7473 sys/time.h \
7474 sys/timeout.h \
7475 sys/times.h \
7476 sys/uio.h \
7477 sys/user.h \
7478 sys/utsname.h \
7479 sys/vnode.h \
7480 sys/wait.h \
7481 syscall.h \
7482 termios.h \
7483 unistd.h \
7484 utime.h \
7485 valgrind/memcheck.h \
7486 valgrind/valgrind.h
7488 do :
7489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7490 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7491 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7492 cat >>confdefs.h <<_ACEOF
7493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7494 _ACEOF
7498 done
7500 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7501 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7503 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7508 if test $ac_cv_header_sys_mkdev_h = no; then
7509 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7510 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7512 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7519 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7520 if ${ac_cv_header_stat_broken+:} false; then :
7521 $as_echo_n "(cached) " >&6
7522 else
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7525 #include <sys/types.h>
7526 #include <sys/stat.h>
7528 #if defined S_ISBLK && defined S_IFDIR
7529 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7530 #endif
7532 #if defined S_ISBLK && defined S_IFCHR
7533 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7534 #endif
7536 #if defined S_ISLNK && defined S_IFREG
7537 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7538 #endif
7540 #if defined S_ISSOCK && defined S_IFREG
7541 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7542 #endif
7544 _ACEOF
7545 if ac_fn_c_try_compile "$LINENO"; then :
7546 ac_cv_header_stat_broken=no
7547 else
7548 ac_cv_header_stat_broken=yes
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7553 $as_echo "$ac_cv_header_stat_broken" >&6; }
7554 if test $ac_cv_header_stat_broken = yes; then
7556 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7562 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7563 do :
7564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7565 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7566 #ifdef HAVE_SYS_PARAM_H
7567 # include <sys/param.h>
7568 #endif
7570 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7571 cat >>confdefs.h <<_ACEOF
7572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7573 _ACEOF
7577 done
7580 saved_sysctl_h_CFLAGS=$CFLAGS
7581 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7582 for ac_header in sys/sysctl.h
7583 do :
7584 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7585 #ifdef HAVE_SYS_PARAM_H
7586 # include <sys/param.h>
7587 #endif
7589 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7590 cat >>confdefs.h <<_ACEOF
7591 #define HAVE_SYS_SYSCTL_H 1
7592 _ACEOF
7596 done
7598 CFLAGS=$saved_sysctl_h_CFLAGS
7600 for ac_header in \
7601 netinet/ip.h \
7602 net/if.h \
7603 net/if_arp.h \
7604 net/if_dl.h \
7605 net/if_types.h \
7606 net/route.h \
7607 netinet/if_ether.h \
7608 netinet/if_inarp.h \
7609 netinet/in_pcb.h \
7610 netinet/ip_icmp.h \
7611 netinet/ip_var.h \
7612 netinet/udp.h \
7613 netipx/ipx.h \
7614 sys/un.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_SYS_SOCKET_H
7620 # include <sys/socket.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKETVAR_H
7623 # include <sys/socketvar.h>
7624 #endif
7625 #ifdef HAVE_NET_ROUTE_H
7626 # include <net/route.h>
7627 #endif
7628 #ifdef HAVE_NETINET_IN_H
7629 # include <netinet/in.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_SYSTM_H
7632 # include <netinet/in_systm.h>
7633 #endif
7634 #ifdef HAVE_NET_IF_H
7635 # include <net/if.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_H
7638 # include <netinet/ip.h>
7639 #endif
7641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7644 _ACEOF
7648 done
7651 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7652 do :
7653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7655 #ifdef HAVE_ALIAS_H
7656 # include <alias.h>
7657 #endif
7658 #ifdef HAVE_SYS_SOCKET_H
7659 # include <sys/socket.h>
7660 #endif
7661 #ifdef HAVE_SYS_SOCKETVAR_H
7662 # include <sys/socketvar.h>
7663 #endif
7664 #ifdef HAVE_SYS_TIMEOUT_H
7665 # include <sys/timeout.h>
7666 #endif
7667 #ifdef HAVE_NETINET_IN_H
7668 # include <netinet/in.h>
7669 #endif
7670 #ifdef HAVE_NETINET_IN_SYSTM_H
7671 # include <netinet/in_systm.h>
7672 #endif
7673 #ifdef HAVE_NETINET_IP_H
7674 # include <netinet/ip.h>
7675 #endif
7676 #ifdef HAVE_NETINET_IP_VAR_H
7677 # include <netinet/ip_var.h>
7678 #endif
7679 #ifdef HAVE_NETINET_IP_ICMP_H
7680 # include <netinet/ip_icmp.h>
7681 #endif
7682 #ifdef HAVE_NETINET_UDP_H
7683 # include <netinet/udp.h>
7684 #endif
7685 #ifdef HAVE_NETINET_TCP_H
7686 # include <netinet/tcp.h>
7687 #endif
7688 #ifdef HAVE_NETINET_TCP_TIMER_H
7689 #include <netinet/tcp_timer.h>
7690 #endif
7692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7693 cat >>confdefs.h <<_ACEOF
7694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7695 _ACEOF
7699 done
7702 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7703 do :
7704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7706 #ifdef HAVE_ASM_TYPES_H
7707 # include <asm/types.h>
7708 #endif
7709 #ifdef HAVE_SYS_SOCKET_H
7710 # include <sys/socket.h>
7711 #endif
7712 #ifdef HAVE_LINUX_TYPES_H
7713 # include <linux/types.h>
7714 #endif
7716 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7719 _ACEOF
7723 done
7726 for ac_header in resolv.h
7727 do :
7728 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7729 #ifdef HAVE_SYS_SOCKET_H
7730 # include <sys/socket.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IN_H
7733 # include <netinet/in.h>
7734 #endif
7735 #ifdef HAVE_ARPA_NAMESER_H
7736 # include <arpa/nameser.h>
7737 #endif
7739 if test "x$ac_cv_header_resolv_h" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_RESOLV_H 1
7742 _ACEOF
7746 done
7749 for ac_header in ifaddrs.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7753 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7754 cat >>confdefs.h <<_ACEOF
7755 #define HAVE_IFADDRS_H 1
7756 _ACEOF
7760 done
7763 for ac_header in sys/ucontext.h
7764 do :
7765 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7767 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_SYS_UCONTEXT_H 1
7770 _ACEOF
7774 done
7777 for ac_header in sys/thr.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7780 #ifdef HAVE_SYS_UCONTEXT_H
7781 #include <sys/ucontext.h>
7782 #endif
7784 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_SYS_THR_H 1
7787 _ACEOF
7791 done
7794 for ac_header in pthread_np.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7797 #include <pthread.h>
7798 #endif
7800 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_PTHREAD_NP_H 1
7803 _ACEOF
7807 done
7810 for ac_header in linux/videodev2.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7813 #include <sys/time.h>
7814 #endif
7815 #include <sys/types.h>
7816 #ifdef HAVE_ASM_TYPES_H
7817 #include <asm/types.h>
7818 #endif
7820 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_LINUX_VIDEODEV2_H 1
7823 _ACEOF
7827 done
7830 for ac_header in libprocstat.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7833 #include <sys/param.h>
7834 #endif
7835 #ifdef HAVE_SYS_QUEUE_H
7836 #include <sys/queue.h>
7837 #endif
7838 #ifdef HAVE_SYS_SOCKET_H
7839 #include <sys/socket.h>
7840 #endif
7842 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define HAVE_LIBPROCSTAT_H 1
7845 _ACEOF
7849 done
7853 DLLFLAGS="-D_REENTRANT"
7855 LDRPATH_INSTALL=""
7857 LDRPATH_LOCAL=""
7859 LDDLLFLAGS=""
7861 LDEXECFLAGS=""
7863 TOP_INSTALL_LIB=""
7865 TOP_INSTALL_DEV=""
7867 WINELOADER_LDFLAGS=""
7869 WINEPRELOADER_LDFLAGS=""
7871 LIBEXT="so"
7872 DLLEXT=".so"
7873 # Extract the first word of "ldd", so it can be a program name with args.
7874 set dummy ldd; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_path_LDD+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 case $LDD in
7881 [\\/]* | ?:[\\/]*)
7882 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 as_dummy="/sbin:/usr/sbin:$PATH"
7887 for as_dir in $as_dummy
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7901 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7903 esac
7905 LDD=$ac_cv_path_LDD
7906 if test -n "$LDD"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7908 $as_echo "$LDD" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}otool; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_OTOOL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$OTOOL"; then
7924 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 OTOOL=$ac_cv_prog_OTOOL
7944 if test -n "$OTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7946 $as_echo "$OTOOL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7954 if test -z "$ac_cv_prog_OTOOL"; then
7955 ac_ct_OTOOL=$OTOOL
7956 # Extract the first word of "otool", so it can be a program name with args.
7957 set dummy otool; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$ac_ct_OTOOL"; then
7964 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_ac_ct_OTOOL="otool"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7983 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7984 if test -n "$ac_ct_OTOOL"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7986 $as_echo "$ac_ct_OTOOL" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7992 if test "x$ac_ct_OTOOL" = x; then
7993 OTOOL="otool"
7994 else
7995 case $cross_compiling:$ac_tool_warned in
7996 yes:)
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7999 ac_tool_warned=yes ;;
8000 esac
8001 OTOOL=$ac_ct_OTOOL
8003 else
8004 OTOOL="$ac_cv_prog_OTOOL"
8007 if test -n "$ac_tool_prefix"; then
8008 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8009 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_READELF+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$READELF"; then
8016 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 READELF=$ac_cv_prog_READELF
8036 if test -n "$READELF"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8038 $as_echo "$READELF" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8046 if test -z "$ac_cv_prog_READELF"; then
8047 ac_ct_READELF=$READELF
8048 # Extract the first word of "readelf", so it can be a program name with args.
8049 set dummy readelf; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 if test -n "$ac_ct_READELF"; then
8056 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8057 else
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 for as_dir in $PATH
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_ac_ct_READELF="readelf"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8069 done
8070 done
8071 IFS=$as_save_IFS
8075 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8076 if test -n "$ac_ct_READELF"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8078 $as_echo "$ac_ct_READELF" >&6; }
8079 else
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8084 if test "x$ac_ct_READELF" = x; then
8085 READELF="true"
8086 else
8087 case $cross_compiling:$ac_tool_warned in
8088 yes:)
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091 ac_tool_warned=yes ;;
8092 esac
8093 READELF=$ac_ct_READELF
8095 else
8096 READELF="$ac_cv_prog_READELF"
8099 wine_rules_file=conf$$rules.make
8100 rm -f $wine_rules_file
8101 SUBDIRS=""
8103 DISABLED_SUBDIRS=""
8105 CONFIGURE_TARGETS=""
8108 wine_fn_append_file ()
8110 as_fn_append $1 " \\$as_nl $2"
8113 wine_fn_append_rule ()
8115 $as_echo "$1" >>$wine_rules_file
8118 wine_fn_config_makefile ()
8120 wine_fn_append_file SUBDIRS $1
8121 if eval test \"x\$"$2"\" = x"no"; then :
8122 wine_fn_append_file DISABLED_SUBDIRS $1
8126 wine_fn_config_symlink ()
8128 ac_links=$@
8129 wine_fn_append_rule \
8130 "$ac_links:
8131 @./config.status \$@"
8132 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8135 wine_binary="wine"
8136 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8137 WINELOADER_PROGRAMS="$wine_binary"
8139 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8141 case $host_os in
8142 cygwin*|mingw32*)
8143 if test -n "$ac_tool_prefix"; then
8144 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8145 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_DLLTOOL+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 if test -n "$DLLTOOL"; then
8152 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8157 IFS=$as_save_IFS
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 break 2
8165 done
8166 done
8167 IFS=$as_save_IFS
8171 DLLTOOL=$ac_cv_prog_DLLTOOL
8172 if test -n "$DLLTOOL"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8174 $as_echo "$DLLTOOL" >&6; }
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8182 if test -z "$ac_cv_prog_DLLTOOL"; then
8183 ac_ct_DLLTOOL=$DLLTOOL
8184 # Extract the first word of "dlltool", so it can be a program name with args.
8185 set dummy dlltool; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 if test -n "$ac_ct_DLLTOOL"; then
8192 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8193 else
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 for as_dir in $PATH
8197 IFS=$as_save_IFS
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203 break 2
8205 done
8206 done
8207 IFS=$as_save_IFS
8211 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8212 if test -n "$ac_ct_DLLTOOL"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8214 $as_echo "$ac_ct_DLLTOOL" >&6; }
8215 else
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8220 if test "x$ac_ct_DLLTOOL" = x; then
8221 DLLTOOL="false"
8222 else
8223 case $cross_compiling:$ac_tool_warned in
8224 yes:)
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8227 ac_tool_warned=yes ;;
8228 esac
8229 DLLTOOL=$ac_ct_DLLTOOL
8231 else
8232 DLLTOOL="$ac_cv_prog_DLLTOOL"
8235 LIBEXT="dll"
8236 DLLEXT=""
8237 case $host_cpu in
8238 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8239 esac
8240 enable_iphlpapi=${enable_iphlpapi:-no}
8241 enable_kernel32=${enable_kernel32:-no}
8242 enable_ntdll=${enable_ntdll:-no}
8243 enable_ws2_32=${enable_ws2_32:-no}
8244 enable_loader=${enable_loader:-no}
8245 enable_server=${enable_server:-no}
8246 with_x=${with_x:-no}
8247 with_pthread=${with_pthread:-no}
8250 darwin*|macosx*)
8251 ac_ext=m
8252 ac_cpp='$OBJCPP $CPPFLAGS'
8253 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8254 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8255 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8257 ac_ext=m
8258 ac_cpp='$OBJCPP $CPPFLAGS'
8259 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8260 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8261 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8262 if test -n "$ac_tool_prefix"; then
8263 for ac_prog in gcc objcc objc cc CC
8265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_OBJC+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 if test -n "$OBJC"; then
8273 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8274 else
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in $PATH
8278 IFS=$as_save_IFS
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 break 2
8286 done
8287 done
8288 IFS=$as_save_IFS
8292 OBJC=$ac_cv_prog_OBJC
8293 if test -n "$OBJC"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8295 $as_echo "$OBJC" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8302 test -n "$OBJC" && break
8303 done
8305 if test -z "$OBJC"; then
8306 ac_ct_OBJC=$OBJC
8307 for ac_prog in gcc objcc objc cc CC
8309 # Extract the first word of "$ac_prog", so it can be a program name with args.
8310 set dummy $ac_prog; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 if test -n "$ac_ct_OBJC"; then
8317 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8318 else
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320 for as_dir in $PATH
8322 IFS=$as_save_IFS
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 break 2
8330 done
8331 done
8332 IFS=$as_save_IFS
8336 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8337 if test -n "$ac_ct_OBJC"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8339 $as_echo "$ac_ct_OBJC" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8346 test -n "$ac_ct_OBJC" && break
8347 done
8349 if test "x$ac_ct_OBJC" = x; then
8350 OBJC="gcc"
8351 else
8352 case $cross_compiling:$ac_tool_warned in
8353 yes:)
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8356 ac_tool_warned=yes ;;
8357 esac
8358 OBJC=$ac_ct_OBJC
8362 # Provide some information about the compiler.
8363 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8364 set X $ac_compile
8365 ac_compiler=$2
8366 for ac_option in --version -v -V -qversion; do
8367 { { ac_try="$ac_compiler $ac_option >&5"
8368 case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8373 $as_echo "$ac_try_echo"; } >&5
8374 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8375 ac_status=$?
8376 if test -s conftest.err; then
8377 sed '10a\
8378 ... rest of stderr output deleted ...
8379 10q' conftest.err >conftest.er1
8380 cat conftest.er1 >&5
8382 rm -f conftest.er1 conftest.err
8383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8384 test $ac_status = 0; }
8385 done
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8388 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8389 if ${ac_cv_objc_compiler_gnu+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8396 main ()
8398 #ifndef __GNUC__
8399 choke me
8400 #endif
8403 return 0;
8405 _ACEOF
8406 if ac_fn_objc_try_compile "$LINENO"; then :
8407 ac_compiler_gnu=yes
8408 else
8409 ac_compiler_gnu=no
8411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8412 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8416 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8417 if test $ac_compiler_gnu = yes; then
8418 GOBJC=yes
8419 else
8420 GOBJC=
8422 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8423 ac_save_OBJCFLAGS=$OBJCFLAGS
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8425 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8426 if ${ac_cv_prog_objc_g+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_save_objc_werror_flag=$ac_objc_werror_flag
8430 ac_objc_werror_flag=yes
8431 ac_cv_prog_objc_g=no
8432 OBJCFLAGS="-g"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8437 main ()
8441 return 0;
8443 _ACEOF
8444 if ac_fn_objc_try_compile "$LINENO"; then :
8445 ac_cv_prog_objc_g=yes
8446 else
8447 OBJCFLAGS=""
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_objc_try_compile "$LINENO"; then :
8461 else
8462 ac_objc_werror_flag=$ac_save_objc_werror_flag
8463 OBJCFLAGS="-g"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8468 main ()
8472 return 0;
8474 _ACEOF
8475 if ac_fn_objc_try_compile "$LINENO"; then :
8476 ac_cv_prog_objc_g=yes
8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483 ac_objc_werror_flag=$ac_save_objc_werror_flag
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8486 $as_echo "$ac_cv_prog_objc_g" >&6; }
8487 if test "$ac_test_OBJCFLAGS" = set; then
8488 OBJCFLAGS=$ac_save_OBJCFLAGS
8489 elif test $ac_cv_prog_objc_g = yes; then
8490 if test "$GOBJC" = yes; then
8491 OBJCFLAGS="-g -O2"
8492 else
8493 OBJCFLAGS="-g"
8495 else
8496 if test "$GOBJC" = yes; then
8497 OBJCFLAGS="-O2"
8498 else
8499 OBJCFLAGS=
8502 ac_ext=m
8503 ac_cpp='$OBJCPP $CPPFLAGS'
8504 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8505 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8506 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8509 ac_ext=m
8510 ac_cpp='$OBJCPP $CPPFLAGS'
8511 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8512 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8513 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8515 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8516 if test -z "$OBJCPP"; then
8517 if ${ac_cv_prog_OBJCPP+:} false; then :
8518 $as_echo_n "(cached) " >&6
8519 else
8520 # Double quotes because OBJCPP needs to be expanded
8521 for OBJCPP in "$OBJC -E" "/lib/cpp"
8523 ac_preproc_ok=false
8524 for ac_objc_preproc_warn_flag in '' yes
8526 # Use a header file that comes with gcc, so configuring glibc
8527 # with a fresh cross-compiler works.
8528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8529 # <limits.h> exists even on freestanding compilers.
8530 # On the NeXT, cc -E runs the code through the compiler's parser,
8531 # not just through cpp. "Syntax error" is here to catch this case.
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 #ifdef __STDC__
8535 # include <limits.h>
8536 #else
8537 # include <assert.h>
8538 #endif
8539 Syntax error
8540 _ACEOF
8541 if ac_fn_objc_try_cpp "$LINENO"; then :
8543 else
8544 # Broken: fails on valid input.
8545 continue
8547 rm -f conftest.err conftest.i conftest.$ac_ext
8549 # OK, works on sane cases. Now check whether nonexistent headers
8550 # can be detected and how.
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 #include <ac_nonexistent.h>
8554 _ACEOF
8555 if ac_fn_objc_try_cpp "$LINENO"; then :
8556 # Broken: success on invalid input.
8557 continue
8558 else
8559 # Passes both tests.
8560 ac_preproc_ok=:
8561 break
8563 rm -f conftest.err conftest.i conftest.$ac_ext
8565 done
8566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8567 rm -f conftest.i conftest.err conftest.$ac_ext
8568 if $ac_preproc_ok; then :
8569 break
8572 done
8573 ac_cv_prog_OBJCPP=$OBJCPP
8576 OBJCPP=$ac_cv_prog_OBJCPP
8577 else
8578 ac_cv_prog_OBJCPP=$OBJCPP
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8581 $as_echo "$OBJCPP" >&6; }
8582 ac_preproc_ok=false
8583 for ac_objc_preproc_warn_flag in '' yes
8585 # Use a header file that comes with gcc, so configuring glibc
8586 # with a fresh cross-compiler works.
8587 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8588 # <limits.h> exists even on freestanding compilers.
8589 # On the NeXT, cc -E runs the code through the compiler's parser,
8590 # not just through cpp. "Syntax error" is here to catch this case.
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 #ifdef __STDC__
8594 # include <limits.h>
8595 #else
8596 # include <assert.h>
8597 #endif
8598 Syntax error
8599 _ACEOF
8600 if ac_fn_objc_try_cpp "$LINENO"; then :
8602 else
8603 # Broken: fails on valid input.
8604 continue
8606 rm -f conftest.err conftest.i conftest.$ac_ext
8608 # OK, works on sane cases. Now check whether nonexistent headers
8609 # can be detected and how.
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 #include <ac_nonexistent.h>
8613 _ACEOF
8614 if ac_fn_objc_try_cpp "$LINENO"; then :
8615 # Broken: success on invalid input.
8616 continue
8617 else
8618 # Passes both tests.
8619 ac_preproc_ok=:
8620 break
8622 rm -f conftest.err conftest.i conftest.$ac_ext
8624 done
8625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8626 rm -f conftest.i conftest.err conftest.$ac_ext
8627 if $ac_preproc_ok; then :
8629 else
8630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8632 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8633 See \`config.log' for more details" "$LINENO" 5; }
8636 ac_ext=m
8637 ac_cpp='$OBJCPP $CPPFLAGS'
8638 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8639 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8640 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8643 for ac_header in Metal/Metal.h
8644 do :
8645 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8646 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8647 cat >>confdefs.h <<_ACEOF
8648 #define HAVE_METAL_METAL_H 1
8649 _ACEOF
8653 done
8655 ac_ext=c
8656 ac_cpp='$CPP $CPPFLAGS'
8657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8661 LIBEXT="dylib"
8662 DLLFLAGS="$DLLFLAGS -fPIC"
8663 LDDLLFLAGS="-fPIC"
8664 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8665 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8666 COREFOUNDATION_LIBS="-framework CoreFoundation"
8668 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8670 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8672 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8674 CORESERVICES_LIBS="-framework CoreServices"
8676 APPKIT_LIBS="-framework AppKit"
8678 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8681 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8683 wine_can_build_preloader=yes
8684 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8686 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8687 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 ac_wine_try_cflags_saved=$CFLAGS
8691 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 int main(int argc, char **argv) { return 0; }
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_cflags__Wl__no_new_main__e__main=yes
8698 else
8699 ac_cv_cflags__Wl__no_new_main__e__main=no
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8706 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8707 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8708 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8710 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8711 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 int main(int argc, char **argv) { return 0; }
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8722 else
8723 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8730 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8731 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8732 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8733 else
8734 { $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
8735 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8736 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 int main(int argc, char **argv) { return 0; }
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8747 else
8748 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 CFLAGS=$ac_wine_try_cflags_saved
8754 { $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
8755 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8756 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8757 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8758 else
8759 wine_can_build_preloader=no
8762 else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8764 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8765 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8776 else
8777 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8784 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8785 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8786 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8787 else
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8789 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8790 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8801 else
8802 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8809 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8810 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8811 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8812 else
8813 wine_can_build_preloader=no
8817 if test "$wine_can_build_preloader" = "yes"
8818 then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8820 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8821 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_wine_try_cflags_saved=$CFLAGS
8825 CFLAGS="$CFLAGS -Wl,-no_pie"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8828 int main(int argc, char **argv) { return 0; }
8829 _ACEOF
8830 if ac_fn_c_try_link "$LINENO"; then :
8831 ac_cv_cflags__Wl__no_pie=yes
8832 else
8833 ac_cv_cflags__Wl__no_pie=no
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8837 CFLAGS=$ac_wine_try_cflags_saved
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8840 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8841 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8842 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8844 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8845 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8846 else
8847 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8850 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8851 then
8852 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8855 if test "$ac_cv_header_Security_Security_h" = "yes"
8856 then
8857 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8859 ac_save_LIBS="$LIBS"
8860 LIBS="$LIBS $SECURITY_LIBS"
8861 for ac_func in SSLCopyPeerCertificates
8862 do :
8863 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8864 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8865 cat >>confdefs.h <<_ACEOF
8866 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8867 _ACEOF
8870 done
8872 LIBS="$ac_save_LIBS"
8874 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8875 then
8876 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8877 then
8878 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8880 else
8881 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8884 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8885 ac_save_LIBS="$LIBS"
8886 LIBS="$LIBS $COREAUDIO_LIBS"
8887 for ac_func in AUGraphAddNode
8888 do :
8889 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8890 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8891 cat >>confdefs.h <<_ACEOF
8892 #define HAVE_AUGRAPHADDNODE 1
8893 _ACEOF
8896 done
8898 LIBS="$ac_save_LIBS"
8900 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8901 then
8902 OPENAL_LIBS="-framework OpenAL"
8905 cat >>confdefs.h <<_ACEOF
8906 #define HAVE_OPENAL 1
8907 _ACEOF
8909 ac_cv_lib_openal=yes
8911 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8912 then
8913 OPENCL_LIBS="-framework OpenCL"
8915 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8917 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8918 then
8919 ac_save_LIBS="$LIBS"
8920 LIBS="$LIBS $IOKIT_LIBS"
8921 for ac_func in IOHIDManagerCreate
8922 do :
8923 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8924 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8925 cat >>confdefs.h <<_ACEOF
8926 #define HAVE_IOHIDMANAGERCREATE 1
8927 _ACEOF
8930 done
8932 LIBS="$ac_save_LIBS"
8934 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8935 then
8936 ac_save_LIBS="$LIBS"
8937 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8939 $as_echo_n "checking for the QuickTime framework... " >&6; }
8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8942 #include <QuickTime/ImageCompression.h>
8944 main ()
8946 CodecManagerVersion(NULL);
8948 return 0;
8950 _ACEOF
8951 if ac_fn_c_try_link "$LINENO"; then :
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8953 $as_echo "yes" >&6; }
8954 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8956 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8957 else
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8960 ac_cv_header_QuickTime_ImageCompression_h=no
8962 rm -f core conftest.err conftest.$ac_objext \
8963 conftest$ac_exeext conftest.$ac_ext
8964 LIBS="$ac_save_LIBS"
8966 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8967 then
8968 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8970 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8971 then
8972 CARBON_LIBS="-framework Carbon"
8975 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8976 then
8977 METAL_LIBS="-framework Metal -framework QuartzCore"
8981 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8982 then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8984 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8985 ac_ext=m
8986 ac_cpp='$OBJCPP $CPPFLAGS'
8987 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8988 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8989 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
8993 #include <Metal/Metal.h>
8995 main ()
8997 id<MTLDevice> device; device.registryID;
8999 return 0;
9001 _ACEOF
9002 if ac_fn_objc_try_compile "$LINENO"; then :
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9004 $as_echo "yes" >&6; }
9006 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9008 else
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9013 ac_ext=c
9014 ac_cpp='$CPP $CPPFLAGS'
9015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9021 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9022 then
9023 ac_save_LIBS="$LIBS"
9024 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9025 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9026 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9027 enable_winemac_drv=${enable_winemac_drv:-yes}
9030 LIBS="$ac_save_LIBS"
9033 if test "x$enable_win16" = "xyes"
9034 then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9036 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9037 if test "$cross_compiling" = yes; then :
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9039 $as_echo "cross-compiling, assuming yes" >&6; }
9040 else
9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9043 asm(".text\n"
9044 "bad:\tnop;nop\n"
9045 "good:\tnop;nop\n\t"
9046 ".globl _testfunc\n"
9047 "_testfunc:\tcallw good");
9048 extern void testfunc();
9050 main ()
9052 unsigned short *p = (unsigned short *)testfunc;
9053 return p[0] != 0xe866 || p[1] != 0xfffa
9055 return 0;
9057 _ACEOF
9058 if ac_fn_c_try_run "$LINENO"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9060 $as_echo "yes" >&6; }
9061 else
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9064 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
9066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9067 conftest.$ac_objext conftest.beam conftest.$ac_ext
9072 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9074 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9076 WINELOADER_DEPENDS="wine_info.plist"
9078 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9079 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9082 linux-android*)
9083 DLLFLAGS="$DLLFLAGS -fPIC"
9084 LDDLLFLAGS="-fPIC"
9085 LDEXECFLAGS="-Wl,-pie"
9086 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9088 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9089 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9090 $as_echo_n "(cached) " >&6
9091 else
9092 ac_wine_try_cflags_saved=$CFLAGS
9093 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9096 int main(int argc, char **argv) { return 0; }
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9100 else
9101 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9103 rm -f core conftest.err conftest.$ac_objext \
9104 conftest$ac_exeext conftest.$ac_ext
9105 CFLAGS=$ac_wine_try_cflags_saved
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9108 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9109 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9110 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9112 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9113 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9115 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9116 if eval \${$as_ac_var+:} false; then :
9117 $as_echo_n "(cached) " >&6
9118 else
9119 ac_wine_try_cflags_saved=$CFLAGS
9120 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9123 int main(int argc, char **argv) { return 0; }
9124 _ACEOF
9125 if ac_fn_c_try_link "$LINENO"; then :
9126 eval "$as_ac_var=yes"
9127 else
9128 eval "$as_ac_var=no"
9130 rm -f core conftest.err conftest.$ac_objext \
9131 conftest$ac_exeext conftest.$ac_ext
9132 CFLAGS=$ac_wine_try_cflags_saved
9134 eval ac_res=\$$as_ac_var
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9136 $as_echo "$ac_res" >&6; }
9137 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9138 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9139 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9140 else
9141 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9143 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9144 if eval \${$as_ac_var+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146 else
9147 ac_wine_try_cflags_saved=$CFLAGS
9148 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 int main(int argc, char **argv) { return 0; }
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 eval "$as_ac_var=yes"
9155 else
9156 eval "$as_ac_var=no"
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 CFLAGS=$ac_wine_try_cflags_saved
9162 eval ac_res=\$$as_ac_var
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9164 $as_echo "$ac_res" >&6; }
9165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9166 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9167 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9171 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9172 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_wine_try_cflags_saved=$CFLAGS
9176 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9179 int main(int argc, char **argv) { return 0; }
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 ac_cv_cflags__Wl___enable_new_dtags=yes
9183 else
9184 ac_cv_cflags__Wl___enable_new_dtags=no
9186 rm -f core conftest.err conftest.$ac_objext \
9187 conftest$ac_exeext conftest.$ac_ext
9188 CFLAGS=$ac_wine_try_cflags_saved
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9191 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9192 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9193 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9196 LIBWINE_SHAREDLIB="libwine.so"
9198 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9200 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9203 $as_echo_n "checking for -lEGL... " >&6; }
9204 if ${ac_cv_lib_soname_EGL+:} false; then :
9205 $as_echo_n "(cached) " >&6
9206 else
9207 ac_check_soname_save_LIBS=$LIBS
9208 LIBS="-lEGL $LIBS"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9215 #ifdef __cplusplus
9216 extern "C"
9217 #endif
9218 char eglGetProcAddress ();
9220 main ()
9222 return eglGetProcAddress ();
9224 return 0;
9226 _ACEOF
9227 if ac_fn_c_try_link "$LINENO"; then :
9228 case "$LIBEXT" in
9229 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9230 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'` ;;
9231 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9232 if ${ac_cv_lib_soname_EGL:+false} :; then :
9233 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9234 fi ;;
9235 esac
9236 else
9237 ac_cv_lib_soname_EGL=
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_soname_save_LIBS
9243 if ${ac_cv_lib_soname_EGL:+false} :; then :
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9245 $as_echo "not found" >&6; }
9247 else
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9249 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9251 cat >>confdefs.h <<_ACEOF
9252 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9253 _ACEOF
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9258 $as_echo_n "checking for -lGLESv2... " >&6; }
9259 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9260 $as_echo_n "(cached) " >&6
9261 else
9262 ac_check_soname_save_LIBS=$LIBS
9263 LIBS="-lGLESv2 $LIBS"
9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9270 #ifdef __cplusplus
9271 extern "C"
9272 #endif
9273 char glFlush ();
9275 main ()
9277 return glFlush ();
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 case "$LIBEXT" in
9284 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9285 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'` ;;
9286 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9287 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9288 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9289 fi ;;
9290 esac
9291 else
9292 ac_cv_lib_soname_GLESv2=
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 LIBS=$ac_check_soname_save_LIBS
9298 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9300 $as_echo "not found" >&6; }
9302 else
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9304 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9306 cat >>confdefs.h <<_ACEOF
9307 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9308 _ACEOF
9313 if test "x$exec_prefix" = xNONE
9314 then
9315 case $host_cpu in
9316 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9317 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9318 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9319 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9320 esac
9325 case $host_cpu in
9326 *i[3456789]86*)
9327 DLLFLAGS="$DLLFLAGS -fno-PIC"
9328 LDDLLFLAGS="-fno-PIC" ;;
9330 DLLFLAGS="$DLLFLAGS -fPIC"
9331 LDDLLFLAGS="-fPIC" ;;
9332 esac
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9334 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9335 if ${ac_cv_c_dll_gnuelf+:} false; then :
9336 $as_echo_n "(cached) " >&6
9337 else
9338 ac_wine_try_cflags_saved=$CFLAGS
9339 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341 /* end confdefs.h. */
9342 void myfunc() {}
9343 _ACEOF
9344 if ac_fn_c_try_link "$LINENO"; then :
9345 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9346 else
9347 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 CFLAGS=$ac_wine_try_cflags_saved
9352 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9353 ac_cv_c_dll_gnuelf="yes"
9354 else
9355 ac_cv_c_dll_gnuelf="no"
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9359 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9360 if test "$ac_cv_c_dll_gnuelf" = "yes"
9361 then
9362 LIBWINE_LDFLAGS="-shared"
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9364 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9365 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_wine_try_cflags_saved=$CFLAGS
9369 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9372 int main(int argc, char **argv) { return 0; }
9373 _ACEOF
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9376 else
9377 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 CFLAGS=$ac_wine_try_cflags_saved
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9384 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9385 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9386 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9387 else
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9389 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9390 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9391 $as_echo_n "(cached) " >&6
9392 else
9393 ac_wine_try_cflags_saved=$CFLAGS
9394 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9397 int main(int argc, char **argv) { return 0; }
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9401 else
9402 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 CFLAGS=$ac_wine_try_cflags_saved
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9409 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9410 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9411 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9415 echo '{ global: *; };' >conftest.map
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9417 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9418 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 ac_wine_try_cflags_saved=$CFLAGS
9422 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9425 int main(int argc, char **argv) { return 0; }
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9429 else
9430 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 CFLAGS=$ac_wine_try_cflags_saved
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9437 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9438 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9439 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9441 rm -f conftest.map
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9444 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9445 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_wine_try_cflags_saved=$CFLAGS
9449 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_cflags__Wl___export_dynamic=yes
9456 else
9457 ac_cv_cflags__Wl___export_dynamic=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 CFLAGS=$ac_wine_try_cflags_saved
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9464 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9465 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9466 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9468 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9470 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9472 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9473 if eval \${$as_ac_var+:} false; then :
9474 $as_echo_n "(cached) " >&6
9475 else
9476 ac_wine_try_cflags_saved=$CFLAGS
9477 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9480 int main(int argc, char **argv) { return 0; }
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"; then :
9483 eval "$as_ac_var=yes"
9484 else
9485 eval "$as_ac_var=no"
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 CFLAGS=$ac_wine_try_cflags_saved
9491 eval ac_res=\$$as_ac_var
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9493 $as_echo "$ac_res" >&6; }
9494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9495 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9496 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9497 else
9498 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9500 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9501 if eval \${$as_ac_var+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 ac_wine_try_cflags_saved=$CFLAGS
9505 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9508 int main(int argc, char **argv) { return 0; }
9509 _ACEOF
9510 if ac_fn_c_try_link "$LINENO"; then :
9511 eval "$as_ac_var=yes"
9512 else
9513 eval "$as_ac_var=no"
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 CFLAGS=$ac_wine_try_cflags_saved
9519 eval ac_res=\$$as_ac_var
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9521 $as_echo "$ac_res" >&6; }
9522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9523 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9524 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9529 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9530 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_wine_try_cflags_saved=$CFLAGS
9534 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 int main(int argc, char **argv) { return 0; }
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 ac_cv_cflags__Wl___enable_new_dtags=yes
9541 else
9542 ac_cv_cflags__Wl___enable_new_dtags=no
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 CFLAGS=$ac_wine_try_cflags_saved
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9549 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9550 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9551 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9554 case $host_cpu in
9555 *i[3456789]86* | x86_64 | *aarch64*)
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9557 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9558 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9559 $as_echo_n "(cached) " >&6
9560 else
9561 ac_wine_try_cflags_saved=$CFLAGS
9562 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 /* end confdefs.h. */
9565 int main(int argc, char **argv) { return 0; }
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9569 else
9570 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9572 rm -f core conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 CFLAGS=$ac_wine_try_cflags_saved
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9577 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9578 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9579 case $host_os in
9580 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9581 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9582 esac
9583 else
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9585 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9586 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9587 $as_echo_n "(cached) " >&6
9588 else
9589 ac_wine_try_cflags_saved=$CFLAGS
9590 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9593 int main(int argc, char **argv) { return 0; }
9594 _ACEOF
9595 if ac_fn_c_try_link "$LINENO"; then :
9596 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9597 else
9598 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9600 rm -f core conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
9602 CFLAGS=$ac_wine_try_cflags_saved
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9605 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9606 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9607 case $host_os in
9608 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9609 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9610 esac
9612 # Extract the first word of "prelink", so it can be a program name with args.
9613 set dummy prelink; ac_word=$2
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 $as_echo_n "checking for $ac_word... " >&6; }
9616 if ${ac_cv_path_PRELINK+:} false; then :
9617 $as_echo_n "(cached) " >&6
9618 else
9619 case $PRELINK in
9620 [\\/]* | ?:[\\/]*)
9621 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9625 for as_dir in /sbin /usr/sbin $PATH
9627 IFS=$as_save_IFS
9628 test -z "$as_dir" && as_dir=.
9629 for ac_exec_ext in '' $ac_executable_extensions; do
9630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9631 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9633 break 2
9635 done
9636 done
9637 IFS=$as_save_IFS
9639 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9641 esac
9643 PRELINK=$ac_cv_path_PRELINK
9644 if test -n "$PRELINK"; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9646 $as_echo "$PRELINK" >&6; }
9647 else
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 $as_echo "no" >&6; }
9653 if test "x$PRELINK" = xfalse
9654 then
9655 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9659 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9660 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_wine_try_cflags_saved=$CFLAGS
9664 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9667 int main(int argc, char **argv) { return 0; }
9668 _ACEOF
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9671 else
9672 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9674 rm -f core conftest.err conftest.$ac_objext \
9675 conftest$ac_exeext conftest.$ac_ext
9676 CFLAGS=$ac_wine_try_cflags_saved
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9679 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9680 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9681 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9684 esac
9686 else
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9688 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9689 if ${ac_cv_c_dll_unixware+:} false; then :
9690 $as_echo_n "(cached) " >&6
9691 else
9692 ac_wine_try_cflags_saved=$CFLAGS
9693 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9696 void myfunc() {}
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9699 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9700 else
9701 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9703 rm -f core conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9705 CFLAGS=$ac_wine_try_cflags_saved
9706 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9707 ac_cv_c_dll_unixware="yes"
9708 else
9709 ac_cv_c_dll_unixware="no"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9713 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9714 if test "$ac_cv_c_dll_unixware" = "yes"
9715 then
9716 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9719 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9721 LIBWINE_DEPENDS="wine.map"
9723 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9724 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9726 esac
9728 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9729 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9730 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9731 enable_winemac_drv=${enable_winemac_drv:-no}
9732 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9734 CROSSTARGET=""
9736 if test "x$with_mingw" != xno
9737 then
9738 case "x$with_mingw" in
9739 x|xyes) case "$host_cpu" in
9740 aarch64*)
9741 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9742 arm*)
9743 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9744 i[3456789]86*)
9745 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
9746 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9747 mingw32-gcc" ;;
9748 x86_64)
9749 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
9750 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9752 ac_prefix_list="" ;;
9753 esac
9754 for ac_prog in $ac_prefix_list
9756 # Extract the first word of "$ac_prog", so it can be a program name with args.
9757 set dummy $ac_prog; ac_word=$2
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9759 $as_echo_n "checking for $ac_word... " >&6; }
9760 if ${ac_cv_prog_CROSSCC+:} false; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 if test -n "$CROSSCC"; then
9764 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9765 else
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9767 for as_dir in $PATH
9769 IFS=$as_save_IFS
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9773 ac_cv_prog_CROSSCC="$ac_prog"
9774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9775 break 2
9777 done
9778 done
9779 IFS=$as_save_IFS
9783 CROSSCC=$ac_cv_prog_CROSSCC
9784 if test -n "$CROSSCC"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9786 $as_echo "$CROSSCC" >&6; }
9787 else
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9789 $as_echo "no" >&6; }
9793 test -n "$CROSSCC" && break
9794 done
9795 test -n "$CROSSCC" || CROSSCC="false"
9797 *) CROSSCC=$with_mingw ;;
9798 esac
9799 if test "$CROSSCC" != "false"
9800 then
9801 ac_save_CC="$CC"
9802 saved_CFLAGS=$CFLAGS
9803 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9805 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9809 CC="$CROSSCC"
9810 CFLAGS=$CROSSCFLAGS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9812 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9813 if ${wine_cv_crosscc+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9820 main ()
9824 return 0;
9826 _ACEOF
9827 if ac_fn_c_try_compile "$LINENO"; then :
9828 wine_cv_crosscc=yes
9829 else
9830 wine_cv_crosscc=no
9832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9835 $as_echo "$wine_cv_crosscc" >&6; }
9836 if test $wine_cv_crosscc = yes
9837 then
9838 set x $CROSSCC
9839 shift
9840 while test $# -ge 1
9842 case "$1" in
9843 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9844 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9845 esac
9846 shift
9847 done
9849 llvm_target=$CROSSTARGET
9850 if test -z "$llvm_target"
9851 then
9852 case $host_cpu in
9853 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9854 *) llvm_target=$host_cpu-windows-gnu ;;
9855 esac
9857 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9859 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9860 if eval \${$as_ac_var+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_wine_try_cflags_saved=$CFLAGS
9864 ac_wine_try_cflags_saved_cc=$CC
9865 ac_wine_try_cflags_saved_exeext=$ac_exeext
9866 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9867 CC="$CROSSCC"
9868 ac_exeext=".exe"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 eval "$as_ac_var=yes"
9875 else
9876 eval "$as_ac_var=no"
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9880 CFLAGS=$ac_wine_try_cflags_saved
9881 CC=$ac_wine_try_cflags_saved_cc
9882 ac_exeext=$ac_wine_try_cflags_saved_exeext
9884 eval ac_res=\$$as_ac_var
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9886 $as_echo "$ac_res" >&6; }
9887 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9888 CROSSTARGET=$llvm_target
9889 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9890 CFLAGS="$CFLAGS -fuse-ld=lld"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9894 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9895 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 ac_wine_try_cflags_saved_cc=$CC
9900 ac_wine_try_cflags_saved_exeext=$ac_exeext
9901 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9902 CC="$CROSSCC"
9903 ac_exeext=".exe"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_crosscflags__fno_strict_aliasing=yes
9910 else
9911 ac_cv_crosscflags__fno_strict_aliasing=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9916 CC=$ac_wine_try_cflags_saved_cc
9917 ac_exeext=$ac_wine_try_cflags_saved_exeext
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9920 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9921 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9922 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9926 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9941 else
9942 ac_cv_crosscflags__Werror_unknown_warning_option=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9951 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9952 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9953 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9957 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9972 else
9973 ac_cv_crosscflags__Wdeclaration_after_statement=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9982 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9983 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9984 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9988 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Wempty_body=yes
10003 else
10004 ac_cv_crosscflags__Wempty_body=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10013 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10014 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10015 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10019 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wignored_qualifiers=yes
10034 else
10035 ac_cv_crosscflags__Wignored_qualifiers=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10044 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10045 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10050 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wpacked_not_aligned=yes
10065 else
10066 ac_cv_crosscflags__Wpacked_not_aligned=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10075 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10076 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10081 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wpragma_pack=yes
10096 else
10097 ac_cv_crosscflags__Wpragma_pack=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10106 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10107 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10112 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wshift_overflow_2=yes
10127 else
10128 ac_cv_crosscflags__Wshift_overflow_2=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10137 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10138 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10143 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wstrict_prototypes=yes
10158 else
10159 ac_cv_crosscflags__Wstrict_prototypes=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10168 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10169 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10174 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wtype_limits=yes
10189 else
10190 ac_cv_crosscflags__Wtype_limits=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10199 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10200 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10205 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10220 else
10221 ac_cv_crosscflags__Wunused_but_set_parameter=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10230 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10231 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10236 if ${ac_cv_crosscflags__Wvla+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wvla=yes
10251 else
10252 ac_cv_crosscflags__Wvla=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10261 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10262 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10267 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wwrite_strings=yes
10282 else
10283 ac_cv_crosscflags__Wwrite_strings=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10292 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10293 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10297 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10298 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 ac_wine_try_cflags_saved_cc=$CC
10303 ac_wine_try_cflags_saved_exeext=$ac_exeext
10304 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10305 CC="$CROSSCC"
10306 ac_exeext=".exe"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_crosscflags__Wpointer_arith=yes
10313 else
10314 ac_cv_crosscflags__Wpointer_arith=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10319 CC=$ac_wine_try_cflags_saved_cc
10320 ac_exeext=$ac_wine_try_cflags_saved_exeext
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10323 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10324 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10325 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10329 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 ac_wine_try_cflags_saved_cc=$CC
10334 ac_wine_try_cflags_saved_exeext=$ac_exeext
10335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10336 CC="$CROSSCC"
10337 ac_exeext=".exe"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_crosscflags__Wlogical_op=yes
10344 else
10345 ac_cv_crosscflags__Wlogical_op=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10350 CC=$ac_wine_try_cflags_saved_cc
10351 ac_exeext=$ac_wine_try_cflags_saved_exeext
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10354 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10355 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10360 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10375 else
10376 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10385 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10386 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10390 case $host_cpu in
10391 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10392 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10393 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10394 $as_echo_n "(cached) " >&6
10395 else
10396 ac_wine_try_cflags_saved=$CFLAGS
10397 ac_wine_try_cflags_saved_cc=$CC
10398 ac_wine_try_cflags_saved_exeext=$ac_exeext
10399 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10400 CC="$CROSSCC"
10401 ac_exeext=".exe"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"; then :
10407 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10408 else
10409 ac_cv_crosscflags__fno_omit_frame_pointer=no
10411 rm -f core conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10413 CFLAGS=$ac_wine_try_cflags_saved
10414 CC=$ac_wine_try_cflags_saved_cc
10415 ac_exeext=$ac_wine_try_cflags_saved_exeext
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10418 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10419 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10420 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10421 fi ;;
10422 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10423 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10424 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10425 $as_echo_n "(cached) " >&6
10426 else
10427 ac_wine_try_cflags_saved=$CFLAGS
10428 ac_wine_try_cflags_saved_cc=$CC
10429 ac_wine_try_cflags_saved_exeext=$ac_exeext
10430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10431 CC="$CROSSCC"
10432 ac_exeext=".exe"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_crosscflags__Wno_format=yes
10439 else
10440 ac_cv_crosscflags__Wno_format=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10445 CC=$ac_wine_try_cflags_saved_cc
10446 ac_exeext=$ac_wine_try_cflags_saved_exeext
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10449 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10450 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10454 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10455 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 ac_wine_try_cflags_saved_cc=$CC
10460 ac_wine_try_cflags_saved_exeext=$ac_exeext
10461 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10462 CC="$CROSSCC"
10463 ac_exeext=".exe"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_crosscflags__Wformat_overflow=yes
10470 else
10471 ac_cv_crosscflags__Wformat_overflow=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 CFLAGS=$ac_wine_try_cflags_saved
10476 CC=$ac_wine_try_cflags_saved_cc
10477 ac_exeext=$ac_wine_try_cflags_saved_exeext
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10480 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10481 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10485 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10486 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 ac_wine_try_cflags_saved_cc=$CC
10491 ac_wine_try_cflags_saved_exeext=$ac_exeext
10492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10493 CC="$CROSSCC"
10494 ac_exeext=".exe"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_crosscflags__Wnonnull=yes
10501 else
10502 ac_cv_crosscflags__Wnonnull=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 CFLAGS=$ac_wine_try_cflags_saved
10507 CC=$ac_wine_try_cflags_saved_cc
10508 ac_exeext=$ac_wine_try_cflags_saved_exeext
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10511 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10512 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10513 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10514 fi ;;
10515 esac
10517 for ac_flag in $CROSSCFLAGS; do
10518 case $ac_flag in
10519 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10520 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10521 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_wine_try_cflags_saved=$CFLAGS
10525 ac_wine_try_cflags_saved_cc=$CC
10526 ac_wine_try_cflags_saved_exeext=$ac_exeext
10527 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10528 CC="$CROSSCC"
10529 ac_exeext=".exe"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10532 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_crosscflags__gdwarf_2=yes
10536 else
10537 ac_cv_crosscflags__gdwarf_2=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 CFLAGS=$ac_wine_try_cflags_saved
10542 CC=$ac_wine_try_cflags_saved_cc
10543 ac_exeext=$ac_wine_try_cflags_saved_exeext
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10546 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10547 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10548 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10551 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10552 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10553 $as_echo_n "(cached) " >&6
10554 else
10555 ac_wine_try_cflags_saved=$CFLAGS
10556 ac_wine_try_cflags_saved_cc=$CC
10557 ac_wine_try_cflags_saved_exeext=$ac_exeext
10558 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10559 CC="$CROSSCC"
10560 ac_exeext=".exe"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 ac_cv_crosscflags__gstrict_dwarf=yes
10567 else
10568 ac_cv_crosscflags__gstrict_dwarf=no
10570 rm -f core conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 CFLAGS=$ac_wine_try_cflags_saved
10573 CC=$ac_wine_try_cflags_saved_cc
10574 ac_exeext=$ac_wine_try_cflags_saved_exeext
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10577 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10578 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10579 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10580 fi ;;
10581 esac
10582 done
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10585 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10586 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10587 $as_echo_n "(cached) " >&6
10588 else
10589 ac_wine_try_cflags_saved=$CFLAGS
10590 ac_wine_try_cflags_saved_cc=$CC
10591 ac_wine_try_cflags_saved_exeext=$ac_exeext
10592 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10593 CC="$CROSSCC"
10594 ac_exeext=".exe"
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10597 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10601 else
10602 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 CFLAGS=$ac_wine_try_cflags_saved
10607 CC=$ac_wine_try_cflags_saved_cc
10608 ac_exeext=$ac_wine_try_cflags_saved_exeext
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10611 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10612 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10613 DELAYLOADFLAG="-Wl,-delayload,"
10617 if test "x$enable_werror" = "xyes"
10618 then
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10620 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10621 if ${ac_cv_crosscflags__Werror+:} false; then :
10622 $as_echo_n "(cached) " >&6
10623 else
10624 ac_wine_try_cflags_saved=$CFLAGS
10625 ac_wine_try_cflags_saved_cc=$CC
10626 ac_wine_try_cflags_saved_exeext=$ac_exeext
10627 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10628 CC="$CROSSCC"
10629 ac_exeext=".exe"
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10632 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10633 _ACEOF
10634 if ac_fn_c_try_link "$LINENO"; then :
10635 ac_cv_crosscflags__Werror=yes
10636 else
10637 ac_cv_crosscflags__Werror=no
10639 rm -f core conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 CFLAGS=$ac_wine_try_cflags_saved
10642 CC=$ac_wine_try_cflags_saved_cc
10643 ac_exeext=$ac_wine_try_cflags_saved_exeext
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10646 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10647 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10648 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10652 CFLAGS=$saved_CFLAGS
10653 CC="$ac_save_CC"
10656 if test "x$CROSSTARGET" = "x"; then :
10657 case "x$with_mingw" in
10658 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10659 xno) ;;
10660 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10661 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10662 esac
10667 if test "$ac_cv_header_pthread_h" = "yes"
10668 then
10669 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10670 if test "x$ac_cv_func_pthread_create" = xyes; then :
10672 else
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10674 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10675 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_lib_save_LIBS=$LIBS
10679 LIBS="-lpthread $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char pthread_create ();
10691 main ()
10693 return pthread_create ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 ac_cv_lib_pthread_pthread_create=yes
10700 else
10701 ac_cv_lib_pthread_pthread_create=no
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10708 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10709 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10710 PTHREAD_LIBS="-lpthread"
10717 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10718 case "x$with_pthread" in
10719 xno) ;;
10720 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10721 Wine cannot support threads without libpthread.
10722 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10723 esac
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10729 $as_echo_n "checking for X... " >&6; }
10732 # Check whether --with-x was given.
10733 if test "${with_x+set}" = set; then :
10734 withval=$with_x;
10737 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10738 if test "x$with_x" = xno; then
10739 # The user explicitly disabled X.
10740 have_x=disabled
10741 else
10742 case $x_includes,$x_libraries in #(
10743 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10744 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 # One or both of the vars are not set, and there is no cached value.
10748 ac_x_includes=no ac_x_libraries=no
10749 rm -f -r conftest.dir
10750 if mkdir conftest.dir; then
10751 cd conftest.dir
10752 cat >Imakefile <<'_ACEOF'
10753 incroot:
10754 @echo incroot='${INCROOT}'
10755 usrlibdir:
10756 @echo usrlibdir='${USRLIBDIR}'
10757 libdir:
10758 @echo libdir='${LIBDIR}'
10759 _ACEOF
10760 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10761 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10762 for ac_var in incroot usrlibdir libdir; do
10763 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10764 done
10765 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10766 for ac_extension in a so sl dylib la dll; do
10767 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10768 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10769 ac_im_usrlibdir=$ac_im_libdir; break
10771 done
10772 # Screen out bogus values from the imake configuration. They are
10773 # bogus both because they are the default anyway, and because
10774 # using them would break gcc on systems where it needs fixed includes.
10775 case $ac_im_incroot in
10776 /usr/include) ac_x_includes= ;;
10777 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10778 esac
10779 case $ac_im_usrlibdir in
10780 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10781 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10782 esac
10784 cd ..
10785 rm -f -r conftest.dir
10788 # Standard set of common directories for X headers.
10789 # Check X11 before X11Rn because it is often a symlink to the current release.
10790 ac_x_header_dirs='
10791 /usr/X11/include
10792 /usr/X11R7/include
10793 /usr/X11R6/include
10794 /usr/X11R5/include
10795 /usr/X11R4/include
10797 /usr/include/X11
10798 /usr/include/X11R7
10799 /usr/include/X11R6
10800 /usr/include/X11R5
10801 /usr/include/X11R4
10803 /usr/local/X11/include
10804 /usr/local/X11R7/include
10805 /usr/local/X11R6/include
10806 /usr/local/X11R5/include
10807 /usr/local/X11R4/include
10809 /usr/local/include/X11
10810 /usr/local/include/X11R7
10811 /usr/local/include/X11R6
10812 /usr/local/include/X11R5
10813 /usr/local/include/X11R4
10815 /usr/X386/include
10816 /usr/x386/include
10817 /usr/XFree86/include/X11
10819 /usr/include
10820 /usr/local/include
10821 /usr/unsupported/include
10822 /usr/athena/include
10823 /usr/local/x11r5/include
10824 /usr/lpp/Xamples/include
10826 /usr/openwin/include
10827 /usr/openwin/share/include'
10829 if test "$ac_x_includes" = no; then
10830 # Guess where to find include files, by looking for Xlib.h.
10831 # First, try using that file with no special directory specified.
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10834 #include <X11/Xlib.h>
10835 _ACEOF
10836 if ac_fn_c_try_cpp "$LINENO"; then :
10837 # We can compile using X headers with no special include directory.
10838 ac_x_includes=
10839 else
10840 for ac_dir in $ac_x_header_dirs; do
10841 if test -r "$ac_dir/X11/Xlib.h"; then
10842 ac_x_includes=$ac_dir
10843 break
10845 done
10847 rm -f conftest.err conftest.i conftest.$ac_ext
10848 fi # $ac_x_includes = no
10850 if test "$ac_x_libraries" = no; then
10851 # Check for the libraries.
10852 # See if we find them without any special options.
10853 # Don't add to $LIBS permanently.
10854 ac_save_LIBS=$LIBS
10855 LIBS="-lX11 $LIBS"
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10858 #include <X11/Xlib.h>
10860 main ()
10862 XrmInitialize ()
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 LIBS=$ac_save_LIBS
10869 # We can link X programs with no special library path.
10870 ac_x_libraries=
10871 else
10872 LIBS=$ac_save_LIBS
10873 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10875 # Don't even attempt the hair of trying to link an X program!
10876 for ac_extension in a so sl dylib la dll; do
10877 if test -r "$ac_dir/libX11.$ac_extension"; then
10878 ac_x_libraries=$ac_dir
10879 break 2
10881 done
10882 done
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 fi # $ac_x_libraries = no
10888 case $ac_x_includes,$ac_x_libraries in #(
10889 no,* | *,no | *\'*)
10890 # Didn't find X, or a directory has "'" in its name.
10891 ac_cv_have_x="have_x=no";; #(
10893 # Record where we found X for the cache.
10894 ac_cv_have_x="have_x=yes\
10895 ac_x_includes='$ac_x_includes'\
10896 ac_x_libraries='$ac_x_libraries'"
10897 esac
10899 ;; #(
10900 *) have_x=yes;;
10901 esac
10902 eval "$ac_cv_have_x"
10903 fi # $with_x != no
10905 if test "$have_x" != yes; then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10907 $as_echo "$have_x" >&6; }
10908 no_x=yes
10909 else
10910 # If each of the values was on the command line, it overrides each guess.
10911 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10912 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10913 # Update the cache value to reflect the command line values.
10914 ac_cv_have_x="have_x=yes\
10915 ac_x_includes='$x_includes'\
10916 ac_x_libraries='$x_libraries'"
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10918 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10921 if test "$no_x" = yes; then
10922 # Not all programs may use this symbol, but it does not hurt to define it.
10924 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10927 else
10928 if test -n "$x_includes"; then
10929 X_CFLAGS="$X_CFLAGS -I$x_includes"
10932 # It would also be nice to do this for all -L options, not just this one.
10933 if test -n "$x_libraries"; then
10934 X_LIBS="$X_LIBS -L$x_libraries"
10935 # For Solaris; some versions of Sun CC require a space after -R and
10936 # others require no space. Words are not sufficient . . . .
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10938 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10940 ac_xsave_c_werror_flag=$ac_c_werror_flag
10941 ac_c_werror_flag=yes
10942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10946 main ()
10950 return 0;
10952 _ACEOF
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10955 $as_echo "no" >&6; }
10956 X_LIBS="$X_LIBS -R$x_libraries"
10957 else
10958 LIBS="$ac_xsave_LIBS -R $x_libraries"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10963 main ()
10967 return 0;
10969 _ACEOF
10970 if ac_fn_c_try_link "$LINENO"; then :
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10972 $as_echo "yes" >&6; }
10973 X_LIBS="$X_LIBS -R $x_libraries"
10974 else
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10976 $as_echo "neither works" >&6; }
10978 rm -f core conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10981 rm -f core conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10983 ac_c_werror_flag=$ac_xsave_c_werror_flag
10984 LIBS=$ac_xsave_LIBS
10987 # Check for system-dependent libraries X programs must link with.
10988 # Do this before checking for the system-independent R6 libraries
10989 # (-lICE), since we may need -lsocket or whatever for X linking.
10991 if test "$ISC" = yes; then
10992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10993 else
10994 # Martyn Johnson says this is needed for Ultrix, if the X
10995 # libraries were built with DECnet support. And Karl Berry says
10996 # the Alpha needs dnet_stub (dnet does not exist).
10997 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11004 #ifdef __cplusplus
11005 extern "C"
11006 #endif
11007 char XOpenDisplay ();
11009 main ()
11011 return XOpenDisplay ();
11013 return 0;
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"; then :
11018 else
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11020 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11021 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11022 $as_echo_n "(cached) " >&6
11023 else
11024 ac_check_lib_save_LIBS=$LIBS
11025 LIBS="-ldnet $LIBS"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char dnet_ntoa ();
11037 main ()
11039 return dnet_ntoa ();
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 ac_cv_lib_dnet_dnet_ntoa=yes
11046 else
11047 ac_cv_lib_dnet_dnet_ntoa=no
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11054 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11055 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11056 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11059 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11061 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11062 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11063 $as_echo_n "(cached) " >&6
11064 else
11065 ac_check_lib_save_LIBS=$LIBS
11066 LIBS="-ldnet_stub $LIBS"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11073 #ifdef __cplusplus
11074 extern "C"
11075 #endif
11076 char dnet_ntoa ();
11078 main ()
11080 return dnet_ntoa ();
11082 return 0;
11084 _ACEOF
11085 if ac_fn_c_try_link "$LINENO"; then :
11086 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11087 else
11088 ac_cv_lib_dnet_stub_dnet_ntoa=no
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 LIBS=$ac_check_lib_save_LIBS
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11095 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11096 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11097 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS="$ac_xsave_LIBS"
11106 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11107 # to get the SysV transport functions.
11108 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11109 # needs -lnsl.
11110 # The nsl library prevents programs from opening the X display
11111 # on Irix 5.2, according to T.E. Dickey.
11112 # The functions gethostbyname, getservbyname, and inet_addr are
11113 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11114 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11115 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11119 if test $ac_cv_func_gethostbyname = no; then
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11121 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11122 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lnsl $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char gethostbyname ();
11138 main ()
11140 return gethostbyname ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_nsl_gethostbyname=yes
11147 else
11148 ac_cv_lib_nsl_gethostbyname=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11155 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11156 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11160 if test $ac_cv_lib_nsl_gethostbyname = no; then
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11162 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11163 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lbsd $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char gethostbyname ();
11179 main ()
11181 return gethostbyname ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_bsd_gethostbyname=yes
11188 else
11189 ac_cv_lib_bsd_gethostbyname=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11196 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11197 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11198 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11204 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11205 # socket/setsockopt and other routines are undefined under SCO ODT
11206 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11207 # on later versions), says Simon Leinen: it contains gethostby*
11208 # variants that don't use the name server (or something). -lsocket
11209 # must be given before -lnsl if both are needed. We assume that
11210 # if connect needs -lnsl, so does gethostbyname.
11211 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11212 if test "x$ac_cv_func_connect" = xyes; then :
11216 if test $ac_cv_func_connect = no; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11218 $as_echo_n "checking for connect in -lsocket... " >&6; }
11219 if ${ac_cv_lib_socket_connect+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char connect ();
11235 main ()
11237 return connect ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_socket_connect=yes
11244 else
11245 ac_cv_lib_socket_connect=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11252 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11253 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11254 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11259 # Guillermo Gomez says -lposix is necessary on A/UX.
11260 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11261 if test "x$ac_cv_func_remove" = xyes; then :
11265 if test $ac_cv_func_remove = no; then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11267 $as_echo_n "checking for remove in -lposix... " >&6; }
11268 if ${ac_cv_lib_posix_remove+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-lposix $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char remove ();
11284 main ()
11286 return remove ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 ac_cv_lib_posix_remove=yes
11293 else
11294 ac_cv_lib_posix_remove=no
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_lib_save_LIBS
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11301 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11302 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11308 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11309 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11310 if test "x$ac_cv_func_shmat" = xyes; then :
11314 if test $ac_cv_func_shmat = no; then
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11316 $as_echo_n "checking for shmat in -lipc... " >&6; }
11317 if ${ac_cv_lib_ipc_shmat+:} false; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-lipc $LIBS"
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11328 #ifdef __cplusplus
11329 extern "C"
11330 #endif
11331 char shmat ();
11333 main ()
11335 return shmat ();
11337 return 0;
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"; then :
11341 ac_cv_lib_ipc_shmat=yes
11342 else
11343 ac_cv_lib_ipc_shmat=no
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_lib_save_LIBS
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11350 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11351 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11352 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11358 # Check for libraries that X11R6 Xt/Xaw programs need.
11359 ac_save_LDFLAGS=$LDFLAGS
11360 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11361 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11362 # check for ICE first), but we must link in the order -lSM -lICE or
11363 # we get undefined symbols. So assume we have SM if we have ICE.
11364 # These have to be linked with before -lX11, unlike the other
11365 # libraries we check for below, so use a different variable.
11366 # John Interrante, Karl Berry
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11368 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11369 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11370 $as_echo_n "(cached) " >&6
11371 else
11372 ac_check_lib_save_LIBS=$LIBS
11373 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11380 #ifdef __cplusplus
11381 extern "C"
11382 #endif
11383 char IceConnectionNumber ();
11385 main ()
11387 return IceConnectionNumber ();
11389 return 0;
11391 _ACEOF
11392 if ac_fn_c_try_link "$LINENO"; then :
11393 ac_cv_lib_ICE_IceConnectionNumber=yes
11394 else
11395 ac_cv_lib_ICE_IceConnectionNumber=no
11397 rm -f core conftest.err conftest.$ac_objext \
11398 conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_lib_save_LIBS
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11402 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11403 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11404 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11407 LDFLAGS=$ac_save_LDFLAGS
11412 if test "$have_x" = "yes"
11413 then
11414 ac_save_CPPFLAGS="$CPPFLAGS"
11415 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11418 $as_echo_n "checking for -lX11... " >&6; }
11419 if ${ac_cv_lib_soname_X11+:} false; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 ac_check_soname_save_LIBS=$LIBS
11423 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char XCreateWindow ();
11435 main ()
11437 return XCreateWindow ();
11439 return 0;
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 case "$LIBEXT" in
11444 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11445 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'` ;;
11446 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11447 if ${ac_cv_lib_soname_X11:+false} :; then :
11448 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11449 fi ;;
11450 esac
11451 else
11452 ac_cv_lib_soname_X11=
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_soname_save_LIBS
11458 if ${ac_cv_lib_soname_X11:+false} :; then :
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11460 $as_echo "not found" >&6; }
11462 else
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11464 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11466 cat >>confdefs.h <<_ACEOF
11467 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11468 _ACEOF
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11473 $as_echo_n "checking for -lXext... " >&6; }
11474 if ${ac_cv_lib_soname_Xext+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_soname_save_LIBS=$LIBS
11478 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char XextCreateExtension ();
11490 main ()
11492 return XextCreateExtension ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 case "$LIBEXT" in
11499 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11500 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'` ;;
11501 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11502 if ${ac_cv_lib_soname_Xext:+false} :; then :
11503 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11504 fi ;;
11505 esac
11506 else
11507 ac_cv_lib_soname_Xext=
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_Xext:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11517 else
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11519 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11521 cat >>confdefs.h <<_ACEOF
11522 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11523 _ACEOF
11525 X_LIBS="$X_LIBS -lXext"
11527 X_LIBS="$X_LIBS -lX11"
11529 for ac_header in X11/Xlib.h \
11530 X11/XKBlib.h \
11531 X11/Xutil.h \
11532 X11/Xcursor/Xcursor.h \
11533 X11/extensions/shape.h \
11534 X11/extensions/XInput.h \
11535 X11/extensions/XInput2.h \
11536 X11/extensions/XShm.h \
11537 X11/extensions/Xcomposite.h \
11538 X11/extensions/Xfixes.h \
11539 X11/extensions/Xinerama.h \
11540 X11/extensions/Xrandr.h \
11541 X11/extensions/Xrender.h \
11542 X11/extensions/xf86vmode.h \
11543 X11/extensions/xf86vmproto.h
11544 do :
11545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11546 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11547 # include <X11/Xlib.h>
11548 #endif
11549 #ifdef HAVE_X11_XUTIL_H
11550 # include <X11/Xutil.h>
11551 #endif
11553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11554 cat >>confdefs.h <<_ACEOF
11555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11556 _ACEOF
11560 done
11563 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11564 then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11566 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11567 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char XkbQueryExtension ();
11583 main ()
11585 return XkbQueryExtension ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 ac_cv_lib_X11_XkbQueryExtension=yes
11592 else
11593 ac_cv_lib_X11_XkbQueryExtension=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11600 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11601 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11603 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11609 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11610 then
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11612 $as_echo_n "checking for -lXcursor... " >&6; }
11613 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_soname_save_LIBS=$LIBS
11617 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char XcursorImageLoadCursor ();
11629 main ()
11631 return XcursorImageLoadCursor ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 case "$LIBEXT" in
11638 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11639 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'` ;;
11640 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11641 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11642 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11643 fi ;;
11644 esac
11645 else
11646 ac_cv_lib_soname_Xcursor=
11648 rm -f core conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_soname_save_LIBS
11652 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11654 $as_echo "not found" >&6; }
11656 else
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11658 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11660 cat >>confdefs.h <<_ACEOF
11661 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11662 _ACEOF
11667 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11668 case "x$with_xcursor" in
11669 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11670 xno) ;;
11671 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11672 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11673 esac
11677 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11678 then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11680 $as_echo_n "checking for -lXi... " >&6; }
11681 if ${ac_cv_lib_soname_Xi+:} false; then :
11682 $as_echo_n "(cached) " >&6
11683 else
11684 ac_check_soname_save_LIBS=$LIBS
11685 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11692 #ifdef __cplusplus
11693 extern "C"
11694 #endif
11695 char XOpenDevice ();
11697 main ()
11699 return XOpenDevice ();
11701 return 0;
11703 _ACEOF
11704 if ac_fn_c_try_link "$LINENO"; then :
11705 case "$LIBEXT" in
11706 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11707 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'` ;;
11708 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11709 if ${ac_cv_lib_soname_Xi:+false} :; then :
11710 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11711 fi ;;
11712 esac
11713 else
11714 ac_cv_lib_soname_Xi=
11716 rm -f core conftest.err conftest.$ac_objext \
11717 conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_soname_save_LIBS
11720 if ${ac_cv_lib_soname_Xi:+false} :; then :
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11722 $as_echo "not found" >&6; }
11724 else
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11726 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11728 cat >>confdefs.h <<_ACEOF
11729 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11730 _ACEOF
11735 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11736 case "x$with_xinput" in
11737 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11738 xno) ;;
11739 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11740 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11741 esac
11745 if test "x$ac_cv_lib_soname_Xi" != x
11746 then
11747 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11748 case "x$with_xinput2" in
11749 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11750 xno) ;;
11751 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11752 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11753 esac
11758 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11759 then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11761 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11762 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 ac_check_lib_save_LIBS=$LIBS
11766 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11773 #ifdef __cplusplus
11774 extern "C"
11775 #endif
11776 char XShmQueryExtension ();
11778 main ()
11780 return XShmQueryExtension ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 ac_cv_lib_Xext_XShmQueryExtension=yes
11787 else
11788 ac_cv_lib_Xext_XShmQueryExtension=no
11790 rm -f core conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11792 LIBS=$ac_check_lib_save_LIBS
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11795 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11796 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11798 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11803 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11804 case "x$with_xshm" in
11805 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11806 xno) ;;
11807 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11808 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11809 esac
11813 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11814 then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11816 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11817 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11818 $as_echo_n "(cached) " >&6
11819 else
11820 ac_check_lib_save_LIBS=$LIBS
11821 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char XShapeQueryExtension ();
11833 main ()
11835 return XShapeQueryExtension ();
11837 return 0;
11839 _ACEOF
11840 if ac_fn_c_try_link "$LINENO"; then :
11841 ac_cv_lib_Xext_XShapeQueryExtension=yes
11842 else
11843 ac_cv_lib_Xext_XShapeQueryExtension=no
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_lib_save_LIBS
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11850 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11851 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11853 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11858 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11859 case "x$with_xshape" in
11860 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11861 xno) ;;
11862 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11863 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11864 esac
11868 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11871 $as_echo_n "checking for -lXxf86vm... " >&6; }
11872 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_soname_save_LIBS=$LIBS
11876 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char XF86VidModeQueryExtension ();
11888 main ()
11890 return XF86VidModeQueryExtension ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 case "$LIBEXT" in
11897 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11898 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'` ;;
11899 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11900 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11901 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11902 fi ;;
11903 esac
11904 else
11905 ac_cv_lib_soname_Xxf86vm=
11907 rm -f core conftest.err conftest.$ac_objext \
11908 conftest$ac_exeext conftest.$ac_ext
11909 LIBS=$ac_check_soname_save_LIBS
11911 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11913 $as_echo "not found" >&6; }
11915 else
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11917 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11919 cat >>confdefs.h <<_ACEOF
11920 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11921 _ACEOF
11926 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11927 case "x$with_xxf86vm" in
11928 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11929 xno) ;;
11930 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11931 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11932 esac
11936 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11937 then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11939 $as_echo_n "checking for -lXrender... " >&6; }
11940 if ${ac_cv_lib_soname_Xrender+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 ac_check_soname_save_LIBS=$LIBS
11944 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11951 #ifdef __cplusplus
11952 extern "C"
11953 #endif
11954 char XRenderQueryExtension ();
11956 main ()
11958 return XRenderQueryExtension ();
11960 return 0;
11962 _ACEOF
11963 if ac_fn_c_try_link "$LINENO"; then :
11964 case "$LIBEXT" in
11965 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11966 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'` ;;
11967 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11968 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11969 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11970 fi ;;
11971 esac
11972 else
11973 ac_cv_lib_soname_Xrender=
11975 rm -f core conftest.err conftest.$ac_objext \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_soname_save_LIBS
11979 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11981 $as_echo "not found" >&6; }
11983 else
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11985 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11987 cat >>confdefs.h <<_ACEOF
11988 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11989 _ACEOF
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11992 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11993 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11994 $as_echo_n "(cached) " >&6
11995 else
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12004 #ifdef __cplusplus
12005 extern "C"
12006 #endif
12007 char XRenderSetPictureTransform ();
12009 main ()
12011 return XRenderSetPictureTransform ();
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"; then :
12017 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12018 else
12019 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12026 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12027 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12029 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12034 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12035 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 #ifdef __cplusplus
12047 extern "C"
12048 #endif
12049 char XRenderCreateLinearGradient ();
12051 main ()
12053 return XRenderCreateLinearGradient ();
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12060 else
12061 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12063 rm -f core conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext
12065 LIBS=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12068 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12069 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12071 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12078 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12079 case "x$with_xrender" in
12080 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12081 xno) ;;
12082 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12083 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12084 esac
12088 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12089 then
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12092 #include <X11/Xlib.h>
12093 #include <X11/extensions/Xrandr.h>
12095 main ()
12097 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_compile "$LINENO"; then :
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12104 $as_echo_n "checking for -lXrandr... " >&6; }
12105 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107 else
12108 ac_check_soname_save_LIBS=$LIBS
12109 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char XRRQueryExtension ();
12121 main ()
12123 return XRRQueryExtension ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 case "$LIBEXT" in
12130 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12131 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'` ;;
12132 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12133 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12134 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12135 fi ;;
12136 esac
12137 else
12138 ac_cv_lib_soname_Xrandr=
12140 rm -f core conftest.err conftest.$ac_objext \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_soname_save_LIBS
12144 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12146 $as_echo "not found" >&6; }
12148 else
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12150 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12152 cat >>confdefs.h <<_ACEOF
12153 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12154 _ACEOF
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12158 #include <X11/Xlib.h>
12159 #include <X11/extensions/Xrandr.h>
12161 main ()
12163 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_compile "$LINENO"; then :
12170 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12176 #include <X11/Xlib.h>
12177 #include <X11/extensions/Xrandr.h>
12179 main ()
12181 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_compile "$LINENO"; then :
12188 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12190 else
12191 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12198 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12199 case "x$with_xrandr" in
12200 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12201 xno) ;;
12202 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12203 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12204 esac
12208 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12209 then
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12212 #include <X11/Xlib.h>
12213 #include <X11/extensions/Xfixes.h>
12215 main ()
12217 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_compile "$LINENO"; then :
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12224 $as_echo_n "checking for -lXfixes... " >&6; }
12225 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12226 $as_echo_n "(cached) " >&6
12227 else
12228 ac_check_soname_save_LIBS=$LIBS
12229 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 char XFixesQueryVersion ();
12241 main ()
12243 return XFixesQueryVersion ();
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_link "$LINENO"; then :
12249 case "$LIBEXT" in
12250 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12251 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'` ;;
12252 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12253 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12254 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12255 fi ;;
12256 esac
12257 else
12258 ac_cv_lib_soname_Xfixes=
12260 rm -f core conftest.err conftest.$ac_objext \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_soname_save_LIBS
12264 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12266 $as_echo "not found" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12270 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12272 cat >>confdefs.h <<_ACEOF
12273 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12274 _ACEOF
12279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12281 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12282 case "x$with_xfixes" in
12283 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12284 xno) ;;
12285 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12286 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12287 esac
12291 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12292 then
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12295 #include <X11/Xlib.h>
12296 #include <X11/extensions/Xinerama.h>
12298 main ()
12300 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_compile "$LINENO"; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12307 $as_echo_n "checking for -lXinerama... " >&6; }
12308 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12309 $as_echo_n "(cached) " >&6
12310 else
12311 ac_check_soname_save_LIBS=$LIBS
12312 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 #ifdef __cplusplus
12320 extern "C"
12321 #endif
12322 char XineramaQueryScreens ();
12324 main ()
12326 return XineramaQueryScreens ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"; then :
12332 case "$LIBEXT" in
12333 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12334 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'` ;;
12335 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12336 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12337 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12338 fi ;;
12339 esac
12340 else
12341 ac_cv_lib_soname_Xinerama=
12343 rm -f core conftest.err conftest.$ac_objext \
12344 conftest$ac_exeext conftest.$ac_ext
12345 LIBS=$ac_check_soname_save_LIBS
12347 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12349 $as_echo "not found" >&6; }
12351 else
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12353 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12355 cat >>confdefs.h <<_ACEOF
12356 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12357 _ACEOF
12362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12364 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12365 case "x$with_xinerama" in
12366 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12367 xno) ;;
12368 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12369 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12370 esac
12374 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12375 then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12377 $as_echo_n "checking for -lXcomposite... " >&6; }
12378 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 ac_check_soname_save_LIBS=$LIBS
12382 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 #ifdef __cplusplus
12390 extern "C"
12391 #endif
12392 char XCompositeRedirectWindow ();
12394 main ()
12396 return XCompositeRedirectWindow ();
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 case "$LIBEXT" in
12403 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12406 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12407 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12408 fi ;;
12409 esac
12410 else
12411 ac_cv_lib_soname_Xcomposite=
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_soname_save_LIBS
12417 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12419 $as_echo "not found" >&6; }
12421 else
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12423 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12425 cat >>confdefs.h <<_ACEOF
12426 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12427 _ACEOF
12432 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12433 case "x$with_xcomposite" in
12434 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12435 xno) ;;
12436 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12437 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12438 esac
12442 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12443 #include <X11/Xlib.h>
12444 #endif
12446 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12448 cat >>confdefs.h <<_ACEOF
12449 #define HAVE_XICCALLBACK_CALLBACK 1
12450 _ACEOF
12454 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12455 #include <X11/Xlib.h>
12456 #endif
12458 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12460 cat >>confdefs.h <<_ACEOF
12461 #define HAVE_XEVENT_XCOOKIE 1
12462 _ACEOF
12469 opengl_msg=""
12470 if test "x$with_opengl" != "xno"
12471 then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12473 $as_echo_n "checking for -lGL... " >&6; }
12474 if ${ac_cv_lib_soname_GL+:} false; then :
12475 $as_echo_n "(cached) " >&6
12476 else
12477 ac_check_soname_save_LIBS=$LIBS
12478 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 /* Override any GCC internal prototype to avoid an error.
12483 Use char because int might match the return type of a GCC
12484 builtin and then its argument prototype would still apply. */
12485 #ifdef __cplusplus
12486 extern "C"
12487 #endif
12488 char glXCreateContext ();
12490 main ()
12492 return glXCreateContext ();
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_link "$LINENO"; then :
12498 case "$LIBEXT" in
12499 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12500 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'` ;;
12501 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12502 if ${ac_cv_lib_soname_GL:+false} :; then :
12503 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12504 fi ;;
12505 esac
12506 else
12507 ac_cv_lib_soname_GL=
12509 rm -f core conftest.err conftest.$ac_objext \
12510 conftest$ac_exeext conftest.$ac_ext
12511 LIBS=$ac_check_soname_save_LIBS
12513 if ${ac_cv_lib_soname_GL:+false} :; then :
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12515 $as_echo "not found" >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12517 $as_echo_n "checking for -lGL... " >&6; }
12518 if ${ac_cv_lib_soname_GL+:} false; then :
12519 $as_echo_n "(cached) " >&6
12520 else
12521 ac_check_soname_save_LIBS=$LIBS
12522 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"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 #ifdef __cplusplus
12530 extern "C"
12531 #endif
12532 char glXCreateContext ();
12534 main ()
12536 return glXCreateContext ();
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"; then :
12542 case "$LIBEXT" in
12543 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12544 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'` ;;
12545 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12546 if ${ac_cv_lib_soname_GL:+false} :; then :
12547 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12548 fi ;;
12549 esac
12550 else
12551 ac_cv_lib_soname_GL=
12553 rm -f core conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12555 LIBS=$ac_check_soname_save_LIBS
12557 if ${ac_cv_lib_soname_GL:+false} :; then :
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12559 $as_echo "not found" >&6; }
12560 if test -f /usr/X11R6/lib/libGL.a
12561 then
12562 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12563 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12564 else
12565 opengl_msg="No OpenGL library found on this system."
12567 else
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12569 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12571 cat >>confdefs.h <<_ACEOF
12572 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12573 _ACEOF
12575 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"
12577 else
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12579 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12581 cat >>confdefs.h <<_ACEOF
12582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12583 _ACEOF
12585 OPENGL_LIBS="-lGL"
12587 if test "x$with_glu" != "xno"
12588 then
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12590 $as_echo_n "checking for -lGLU... " >&6; }
12591 if ${ac_cv_lib_soname_GLU+:} false; then :
12592 $as_echo_n "(cached) " >&6
12593 else
12594 ac_check_soname_save_LIBS=$LIBS
12595 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12602 #ifdef __cplusplus
12603 extern "C"
12604 #endif
12605 char gluLookAt ();
12607 main ()
12609 return gluLookAt ();
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_link "$LINENO"; then :
12615 case "$LIBEXT" in
12616 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12617 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'` ;;
12618 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12619 if ${ac_cv_lib_soname_GLU:+false} :; then :
12620 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12621 fi ;;
12622 esac
12623 else
12624 ac_cv_lib_soname_GLU=
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_soname_save_LIBS
12630 if ${ac_cv_lib_soname_GLU:+false} :; then :
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12632 $as_echo "not found" >&6; }
12634 else
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12636 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12638 cat >>confdefs.h <<_ACEOF
12639 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12640 _ACEOF
12644 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12645 case "x$with_glu" in
12646 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12647 xno) ;;
12648 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12649 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12650 esac
12655 if test "x$with_osmesa" != "xno"
12656 then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12658 $as_echo_n "checking for -lOSMesa... " >&6; }
12659 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_soname_save_LIBS=$LIBS
12663 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char OSMesaGetProcAddress ();
12675 main ()
12677 return OSMesaGetProcAddress ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 case "$LIBEXT" in
12684 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12685 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'` ;;
12686 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12687 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12688 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12689 fi ;;
12690 esac
12691 else
12692 ac_cv_lib_soname_OSMesa=
12694 rm -f core conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_check_soname_save_LIBS
12698 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12700 $as_echo "not found" >&6; }
12702 else
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12704 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12706 cat >>confdefs.h <<_ACEOF
12707 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12708 _ACEOF
12712 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12713 case "x$with_osmesa" in
12714 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12715 xno) ;;
12716 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12717 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12718 esac
12723 if test -n "$opengl_msg"; then :
12724 case "x$with_opengl" in
12725 x) as_fn_append wine_warnings "|$opengl_msg
12726 OpenGL and Direct3D won't be supported." ;;
12727 xno) ;;
12728 *) as_fn_error $? "$opengl_msg
12729 OpenGL and Direct3D won't be supported.
12730 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12731 esac
12735 CPPFLAGS="$ac_save_CPPFLAGS"
12736 else
12737 X_CFLAGS=""
12738 X_LIBS=""
12741 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12742 then
12743 if test "x$X_LIBS" = "x"; then :
12744 case "x$with_x" in
12745 xno) ;;
12746 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12747 without X support, which probably isn't what you want. You will need
12748 to install ${notice_platform}development packages of Xlib at the very least.
12749 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12750 esac
12751 enable_winex11_drv=${enable_winex11_drv:-no}
12753 else
12754 if test "x$X_LIBS" = "x"; then :
12755 case "x$with_x" in
12756 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12759 This is an error since --with-x was requested." "$LINENO" 5 ;;
12760 esac
12761 enable_winex11_drv=${enable_winex11_drv:-no}
12765 if test "$ac_cv_header_CL_cl_h" = "yes"
12766 then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12768 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12769 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 ac_check_lib_save_LIBS=$LIBS
12773 LIBS="-lOpenCL $LIBS"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char clGetPlatformInfo ();
12785 main ()
12787 return clGetPlatformInfo ();
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12794 else
12795 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_lib_save_LIBS
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12802 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12803 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12804 OPENCL_LIBS="-lOpenCL"
12809 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12810 case "x$with_opencl" in
12811 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12812 xno) ;;
12813 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12814 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12815 esac
12816 enable_opencl=${enable_opencl:-no}
12819 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12820 then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12822 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12823 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12824 $as_echo_n "(cached) " >&6
12825 else
12826 ac_check_lib_save_LIBS=$LIBS
12827 LIBS="-lpcap $LIBS"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 #ifdef __cplusplus
12835 extern "C"
12836 #endif
12837 char pcap_create ();
12839 main ()
12841 return pcap_create ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"; then :
12847 ac_cv_lib_pcap_pcap_create=yes
12848 else
12849 ac_cv_lib_pcap_pcap_create=no
12851 rm -f core conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12853 LIBS=$ac_check_lib_save_LIBS
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12856 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12857 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12858 PCAP_LIBS="-lpcap"
12863 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12864 case "x$with_pcap" in
12865 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12866 xno) ;;
12867 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12868 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12869 esac
12870 enable_wpcap=${enable_wpcap:-no}
12874 if test "x$with_xml" != "xno"
12875 then
12876 if ${XML2_CFLAGS:+false} :; then :
12877 if ${PKG_CONFIG+:} false; then :
12878 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12881 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12882 if ${XML2_LIBS:+false} :; then :
12883 if ${PKG_CONFIG+:} false; then :
12884 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12887 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12888 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12889 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12890 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12891 ac_save_CPPFLAGS=$CPPFLAGS
12892 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12893 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12894 do :
12895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12896 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12897 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12898 cat >>confdefs.h <<_ACEOF
12899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12900 _ACEOF
12904 done
12906 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"
12907 then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12909 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12910 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12911 $as_echo_n "(cached) " >&6
12912 else
12913 ac_check_lib_save_LIBS=$LIBS
12914 LIBS="-lxml2 $XML2_LIBS $LIBS"
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12918 /* Override any GCC internal prototype to avoid an error.
12919 Use char because int might match the return type of a GCC
12920 builtin and then its argument prototype would still apply. */
12921 #ifdef __cplusplus
12922 extern "C"
12923 #endif
12924 char xmlParseMemory ();
12926 main ()
12928 return xmlParseMemory ();
12930 return 0;
12932 _ACEOF
12933 if ac_fn_c_try_link "$LINENO"; then :
12934 ac_cv_lib_xml2_xmlParseMemory=yes
12935 else
12936 ac_cv_lib_xml2_xmlParseMemory=no
12938 rm -f core conftest.err conftest.$ac_objext \
12939 conftest$ac_exeext conftest.$ac_ext
12940 LIBS=$ac_check_lib_save_LIBS
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12943 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12944 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12946 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12948 else
12949 XML2_LIBS=""
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12953 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12954 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_check_lib_save_LIBS=$LIBS
12958 LIBS="-lxml2 $XML2_LIBS $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 #ifdef __cplusplus
12966 extern "C"
12967 #endif
12968 char xmlReadMemory ();
12970 main ()
12972 return xmlReadMemory ();
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_link "$LINENO"; then :
12978 ac_cv_lib_xml2_xmlReadMemory=yes
12979 else
12980 ac_cv_lib_xml2_xmlReadMemory=no
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 LIBS=$ac_check_lib_save_LIBS
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12987 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12988 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12990 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12995 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12996 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12997 $as_echo_n "(cached) " >&6
12998 else
12999 ac_check_lib_save_LIBS=$LIBS
13000 LIBS="-lxml2 $XML2_LIBS $LIBS"
13001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13004 /* Override any GCC internal prototype to avoid an error.
13005 Use char because int might match the return type of a GCC
13006 builtin and then its argument prototype would still apply. */
13007 #ifdef __cplusplus
13008 extern "C"
13009 #endif
13010 char xmlNewDocPI ();
13012 main ()
13014 return xmlNewDocPI ();
13016 return 0;
13018 _ACEOF
13019 if ac_fn_c_try_link "$LINENO"; then :
13020 ac_cv_lib_xml2_xmlNewDocPI=yes
13021 else
13022 ac_cv_lib_xml2_xmlNewDocPI=no
13024 rm -f core conftest.err conftest.$ac_objext \
13025 conftest$ac_exeext conftest.$ac_ext
13026 LIBS=$ac_check_lib_save_LIBS
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13029 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13030 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13032 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13037 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13038 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 ac_check_lib_save_LIBS=$LIBS
13042 LIBS="-lxml2 $XML2_LIBS $LIBS"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 /* Override any GCC internal prototype to avoid an error.
13047 Use char because int might match the return type of a GCC
13048 builtin and then its argument prototype would still apply. */
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 char xmlSchemaSetParserStructuredErrors ();
13054 main ()
13056 return xmlSchemaSetParserStructuredErrors ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13063 else
13064 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_lib_save_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13071 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13072 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13074 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13079 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13080 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_lib_save_LIBS=$LIBS
13084 LIBS="-lxml2 $XML2_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char xmlSchemaSetValidStructuredErrors ();
13096 main ()
13098 return xmlSchemaSetValidStructuredErrors ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13105 else
13106 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13108 rm -f core conftest.err conftest.$ac_objext \
13109 conftest$ac_exeext conftest.$ac_ext
13110 LIBS=$ac_check_lib_save_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13113 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13114 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13116 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13121 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13122 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_lib_save_LIBS=$LIBS
13126 LIBS="-lxml2 $XML2_LIBS $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char xmlFirstElementChild ();
13138 main ()
13140 return xmlFirstElementChild ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 ac_cv_lib_xml2_xmlFirstElementChild=yes
13147 else
13148 ac_cv_lib_xml2_xmlFirstElementChild=no
13150 rm -f core conftest.err conftest.$ac_objext \
13151 conftest$ac_exeext conftest.$ac_ext
13152 LIBS=$ac_check_lib_save_LIBS
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13155 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13156 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13158 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13162 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13164 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13166 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13170 else
13171 XML2_CFLAGS=""
13172 XML2_LIBS=""
13174 CPPFLAGS=$ac_save_CPPFLAGS
13175 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13176 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13179 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13180 case "x$with_xml" in
13181 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13182 xno) ;;
13183 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13184 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13185 esac
13189 if test "x$with_xslt" != "xno"
13190 then
13191 if ${XSLT_CFLAGS:+false} :; then :
13192 if ${PKG_CONFIG+:} false; then :
13193 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13196 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13197 if ${XSLT_LIBS:+false} :; then :
13198 if ${PKG_CONFIG+:} false; then :
13199 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13202 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13203 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13204 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13205 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13206 ac_save_CPPFLAGS=$CPPFLAGS
13207 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13208 for ac_header in libxslt/pattern.h libxslt/transform.h
13209 do :
13210 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13211 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13212 # include <libxslt/pattern.h>
13213 #endif
13215 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13216 cat >>confdefs.h <<_ACEOF
13217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13218 _ACEOF
13222 done
13224 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13225 then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13227 $as_echo_n "checking for -lxslt... " >&6; }
13228 if ${ac_cv_lib_soname_xslt+:} false; then :
13229 $as_echo_n "(cached) " >&6
13230 else
13231 ac_check_soname_save_LIBS=$LIBS
13232 LIBS="-lxslt $XSLT_LIBS $LIBS"
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13236 /* Override any GCC internal prototype to avoid an error.
13237 Use char because int might match the return type of a GCC
13238 builtin and then its argument prototype would still apply. */
13239 #ifdef __cplusplus
13240 extern "C"
13241 #endif
13242 char xsltCompilePattern ();
13244 main ()
13246 return xsltCompilePattern ();
13248 return 0;
13250 _ACEOF
13251 if ac_fn_c_try_link "$LINENO"; then :
13252 case "$LIBEXT" in
13253 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13254 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'` ;;
13255 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13256 if ${ac_cv_lib_soname_xslt:+false} :; then :
13257 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13258 fi ;;
13259 esac
13260 else
13261 ac_cv_lib_soname_xslt=
13263 rm -f core conftest.err conftest.$ac_objext \
13264 conftest$ac_exeext conftest.$ac_ext
13265 LIBS=$ac_check_soname_save_LIBS
13267 if ${ac_cv_lib_soname_xslt:+false} :; then :
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13269 $as_echo "not found" >&6; }
13271 else
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13273 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13275 cat >>confdefs.h <<_ACEOF
13276 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13277 _ACEOF
13281 else
13282 XSLT_CFLAGS=""
13284 CPPFLAGS=$ac_save_CPPFLAGS
13285 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13286 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13289 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13290 case "x$with_xslt" in
13291 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13292 xno) ;;
13293 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13294 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13295 esac
13299 if test "x$with_inotify" != "xno"
13300 then
13301 if ${INOTIFY_CFLAGS:+false} :; then :
13302 if ${PKG_CONFIG+:} false; then :
13303 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13307 if ${INOTIFY_LIBS:+false} :; then :
13308 if ${PKG_CONFIG+:} false; then :
13309 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13314 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13316 ac_save_CPPFLAGS=$CPPFLAGS
13317 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13318 for ac_header in sys/inotify.h
13319 do :
13320 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13321 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13322 cat >>confdefs.h <<_ACEOF
13323 #define HAVE_SYS_INOTIFY_H 1
13324 _ACEOF
13328 done
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13331 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13332 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13333 $as_echo_n "(cached) " >&6
13334 else
13335 ac_check_lib_save_LIBS=$LIBS
13336 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13343 #ifdef __cplusplus
13344 extern "C"
13345 #endif
13346 char inotify_add_watch ();
13348 main ()
13350 return inotify_add_watch ();
13352 return 0;
13354 _ACEOF
13355 if ac_fn_c_try_link "$LINENO"; then :
13356 ac_cv_lib_inotify_inotify_add_watch=yes
13357 else
13358 ac_cv_lib_inotify_inotify_add_watch=no
13360 rm -f core conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_check_lib_save_LIBS
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13365 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13366 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13368 else
13369 INOTIFY_LIBS=""
13372 CPPFLAGS=$ac_save_CPPFLAGS
13373 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13374 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13377 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13378 case "x$with_inotify" in
13379 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13380 xno) ;;
13381 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13382 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13383 esac
13387 if test "x$with_dbus" != "xno"
13388 then
13389 if ${DBUS_CFLAGS:+false} :; then :
13390 if ${PKG_CONFIG+:} false; then :
13391 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13395 if ${DBUS_LIBS:+false} :; then :
13396 if ${PKG_CONFIG+:} false; then :
13397 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13402 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13403 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13404 ac_save_CPPFLAGS=$CPPFLAGS
13405 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13406 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13407 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13409 $as_echo_n "checking for -ldbus-1... " >&6; }
13410 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13411 $as_echo_n "(cached) " >&6
13412 else
13413 ac_check_soname_save_LIBS=$LIBS
13414 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13421 #ifdef __cplusplus
13422 extern "C"
13423 #endif
13424 char dbus_connection_close ();
13426 main ()
13428 return dbus_connection_close ();
13430 return 0;
13432 _ACEOF
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 case "$LIBEXT" in
13435 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13436 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'` ;;
13437 *) 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'`
13438 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13439 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13440 fi ;;
13441 esac
13442 else
13443 ac_cv_lib_soname_dbus_1=
13445 rm -f core conftest.err conftest.$ac_objext \
13446 conftest$ac_exeext conftest.$ac_ext
13447 LIBS=$ac_check_soname_save_LIBS
13449 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13451 $as_echo "not found" >&6; }
13452 DBUS_CFLAGS=""
13453 else
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13455 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13457 cat >>confdefs.h <<_ACEOF
13458 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13459 _ACEOF
13463 else
13464 DBUS_CFLAGS=""
13468 CPPFLAGS=$ac_save_CPPFLAGS
13469 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13470 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13473 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13474 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13475 case "x$with_dbus" in
13476 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13477 xno) ;;
13478 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13479 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13480 esac
13484 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13485 then
13486 if ${HAL_CFLAGS:+false} :; then :
13487 if ${PKG_CONFIG+:} false; then :
13488 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13492 if ${HAL_LIBS:+false} :; then :
13493 if ${PKG_CONFIG+:} false; then :
13494 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13498 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13499 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13500 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13501 ac_save_CPPFLAGS=$CPPFLAGS
13502 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13503 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13504 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13506 $as_echo_n "checking for -lhal... " >&6; }
13507 if ${ac_cv_lib_soname_hal+:} false; then :
13508 $as_echo_n "(cached) " >&6
13509 else
13510 ac_check_soname_save_LIBS=$LIBS
13511 LIBS="-lhal $HAL_LIBS $LIBS"
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 /* Override any GCC internal prototype to avoid an error.
13516 Use char because int might match the return type of a GCC
13517 builtin and then its argument prototype would still apply. */
13518 #ifdef __cplusplus
13519 extern "C"
13520 #endif
13521 char libhal_ctx_new ();
13523 main ()
13525 return libhal_ctx_new ();
13527 return 0;
13529 _ACEOF
13530 if ac_fn_c_try_link "$LINENO"; then :
13531 case "$LIBEXT" in
13532 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13533 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'` ;;
13534 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13535 if ${ac_cv_lib_soname_hal:+false} :; then :
13536 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13537 fi ;;
13538 esac
13539 else
13540 ac_cv_lib_soname_hal=
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS=$ac_check_soname_save_LIBS
13546 if ${ac_cv_lib_soname_hal:+false} :; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13548 $as_echo "not found" >&6; }
13549 HAL_CFLAGS=""
13550 else
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13552 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13554 cat >>confdefs.h <<_ACEOF
13555 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13556 _ACEOF
13560 else
13561 HAL_CFLAGS=""
13565 CPPFLAGS=$ac_save_CPPFLAGS
13566 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13567 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13569 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13570 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13571 case "x$with_hal" in
13572 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13573 xno) ;;
13574 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13575 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13576 esac
13581 if test "x$with_gnutls" != "xno"
13582 then
13583 if ${GNUTLS_CFLAGS:+false} :; then :
13584 if ${PKG_CONFIG+:} false; then :
13585 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13589 if ${GNUTLS_LIBS:+false} :; then :
13590 if ${PKG_CONFIG+:} false; then :
13591 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13596 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13597 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13598 ac_save_CPPFLAGS=$CPPFLAGS
13599 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13600 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13601 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 #include <gnutls/gnutls.h>
13605 #include <gnutls/crypto.h>
13607 main ()
13609 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13611 return 0;
13613 _ACEOF
13614 if ac_fn_c_try_compile "$LINENO"; then :
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13616 $as_echo_n "checking for -lgnutls... " >&6; }
13617 if ${ac_cv_lib_soname_gnutls+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_check_soname_save_LIBS=$LIBS
13621 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13625 /* Override any GCC internal prototype to avoid an error.
13626 Use char because int might match the return type of a GCC
13627 builtin and then its argument prototype would still apply. */
13628 #ifdef __cplusplus
13629 extern "C"
13630 #endif
13631 char gnutls_global_init ();
13633 main ()
13635 return gnutls_global_init ();
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 case "$LIBEXT" in
13642 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13643 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'` ;;
13644 *) 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'`
13645 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13646 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'`
13647 fi ;;
13648 esac
13649 else
13650 ac_cv_lib_soname_gnutls=
13652 rm -f core conftest.err conftest.$ac_objext \
13653 conftest$ac_exeext conftest.$ac_ext
13654 LIBS=$ac_check_soname_save_LIBS
13656 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13658 $as_echo "not found" >&6; }
13659 GNUTLS_CFLAGS=""
13660 else
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13662 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13664 cat >>confdefs.h <<_ACEOF
13665 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13666 _ACEOF
13670 ac_wine_check_funcs_save_LIBS="$LIBS"
13671 LIBS="$LIBS $GNUTLS_LIBS"
13672 for ac_func in gnutls_cipher_init
13673 do :
13674 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13675 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13676 cat >>confdefs.h <<_ACEOF
13677 #define HAVE_GNUTLS_CIPHER_INIT 1
13678 _ACEOF
13680 else
13681 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13683 done
13685 LIBS="$ac_wine_check_funcs_save_LIBS"
13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13688 else
13689 GNUTLS_CFLAGS=""
13693 CPPFLAGS=$ac_save_CPPFLAGS
13694 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13695 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13698 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13699 case "x$with_gnutls" in
13700 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13701 xno) ;;
13702 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13703 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13704 esac
13708 CURSES_LIBS=""
13709 if test "$ac_cv_header_ncurses_h" = "yes"
13710 then
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13712 $as_echo_n "checking for -lncurses... " >&6; }
13713 if ${ac_cv_lib_soname_ncurses+:} false; then :
13714 $as_echo_n "(cached) " >&6
13715 else
13716 ac_check_soname_save_LIBS=$LIBS
13717 LIBS="-lncurses $LIBS"
13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13721 /* Override any GCC internal prototype to avoid an error.
13722 Use char because int might match the return type of a GCC
13723 builtin and then its argument prototype would still apply. */
13724 #ifdef __cplusplus
13725 extern "C"
13726 #endif
13727 char waddch ();
13729 main ()
13731 return waddch ();
13733 return 0;
13735 _ACEOF
13736 if ac_fn_c_try_link "$LINENO"; then :
13737 case "$LIBEXT" in
13738 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13739 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'` ;;
13740 *) 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'`
13741 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13742 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13743 fi ;;
13744 esac
13745 else
13746 ac_cv_lib_soname_ncurses=
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_soname_save_LIBS
13752 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13754 $as_echo "not found" >&6; }
13756 else
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13758 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13760 cat >>confdefs.h <<_ACEOF
13761 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13762 _ACEOF
13764 CURSES_LIBS="-lncurses"
13766 elif test "$ac_cv_header_curses_h" = "yes"
13767 then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13769 $as_echo_n "checking for -lcurses... " >&6; }
13770 if ${ac_cv_lib_soname_curses+:} false; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 ac_check_soname_save_LIBS=$LIBS
13774 LIBS="-lcurses $LIBS"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13778 /* Override any GCC internal prototype to avoid an error.
13779 Use char because int might match the return type of a GCC
13780 builtin and then its argument prototype would still apply. */
13781 #ifdef __cplusplus
13782 extern "C"
13783 #endif
13784 char waddch ();
13786 main ()
13788 return waddch ();
13790 return 0;
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 case "$LIBEXT" in
13795 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13796 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'` ;;
13797 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13798 if ${ac_cv_lib_soname_curses:+false} :; then :
13799 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13800 fi ;;
13801 esac
13802 else
13803 ac_cv_lib_soname_curses=
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 LIBS=$ac_check_soname_save_LIBS
13809 if ${ac_cv_lib_soname_curses:+false} :; then :
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13811 $as_echo "not found" >&6; }
13813 else
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13815 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13817 cat >>confdefs.h <<_ACEOF
13818 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13819 _ACEOF
13821 CURSES_LIBS="-lcurses"
13824 ac_save_LIBS="$LIBS"
13825 LIBS="$LIBS $CURSES_LIBS"
13826 for ac_func in mousemask
13827 do :
13828 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13829 if test "x$ac_cv_func_mousemask" = xyes; then :
13830 cat >>confdefs.h <<_ACEOF
13831 #define HAVE_MOUSEMASK 1
13832 _ACEOF
13835 done
13837 LIBS="$ac_save_LIBS"
13838 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13839 case "x$with_curses" in
13840 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13841 xno) ;;
13842 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13843 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13844 esac
13848 if test "x$with_sane" != "xno"
13849 then
13850 if ${SANE_CFLAGS:+false} :; then :
13851 if ${PKG_CONFIG+:} false; then :
13852 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13855 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13856 if ${SANE_LIBS:+false} :; then :
13857 if ${PKG_CONFIG+:} false; then :
13858 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13861 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13863 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13864 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13865 ac_save_CPPFLAGS=$CPPFLAGS
13866 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13867 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13868 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13870 $as_echo_n "checking for -lsane... " >&6; }
13871 if ${ac_cv_lib_soname_sane+:} false; then :
13872 $as_echo_n "(cached) " >&6
13873 else
13874 ac_check_soname_save_LIBS=$LIBS
13875 LIBS="-lsane $SANE_LIBS $LIBS"
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13882 #ifdef __cplusplus
13883 extern "C"
13884 #endif
13885 char sane_init ();
13887 main ()
13889 return sane_init ();
13891 return 0;
13893 _ACEOF
13894 if ac_fn_c_try_link "$LINENO"; then :
13895 case "$LIBEXT" in
13896 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13897 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'` ;;
13898 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13899 if ${ac_cv_lib_soname_sane:+false} :; then :
13900 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13901 fi ;;
13902 esac
13903 else
13904 ac_cv_lib_soname_sane=
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_soname_save_LIBS
13910 if ${ac_cv_lib_soname_sane:+false} :; then :
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13912 $as_echo "not found" >&6; }
13913 SANE_CFLAGS=""
13914 else
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13916 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13918 cat >>confdefs.h <<_ACEOF
13919 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13920 _ACEOF
13924 else
13925 SANE_CFLAGS=""
13929 CPPFLAGS=$ac_save_CPPFLAGS
13930 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13931 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13934 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13935 case "x$with_sane" in
13936 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13937 xno) ;;
13938 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13939 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13940 esac
13944 if test "x$with_usb" != "xno"
13945 then
13946 if ${USB_CFLAGS:+false} :; then :
13947 if ${PKG_CONFIG+:} false; then :
13948 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13952 if ${USB_LIBS:+false} :; then :
13953 if ${PKG_CONFIG+:} false; then :
13954 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13958 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13959 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13960 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13961 ac_save_CPPFLAGS=$CPPFLAGS
13962 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13963 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13964 if test "x$ac_cv_header_libusb_h" = xyes; then :
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13966 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13967 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 ac_check_lib_save_LIBS=$LIBS
13971 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 #ifdef __cplusplus
13979 extern "C"
13980 #endif
13981 char libusb_interrupt_event_handler ();
13983 main ()
13985 return libusb_interrupt_event_handler ();
13987 return 0;
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13992 else
13993 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13995 rm -f core conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 LIBS=$ac_check_lib_save_LIBS
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14000 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14001 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14003 else
14004 USB_LIBS=""
14007 else
14008 USB_LIBS=""
14012 CPPFLAGS=$ac_save_CPPFLAGS
14013 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14014 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14017 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14018 case "x$with_usb" in
14019 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14020 xno) ;;
14021 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14022 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14023 esac
14024 enable_wineusb_sys=${enable_wineusb_sys:-no}
14027 if test "x$with_v4l2" != "xno"
14028 then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14030 $as_echo_n "checking for -lv4l2... " >&6; }
14031 if ${ac_cv_lib_soname_v4l2+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_check_soname_save_LIBS=$LIBS
14035 LIBS="-lv4l2 $LIBS"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 #ifdef __cplusplus
14043 extern "C"
14044 #endif
14045 char v4l2_open ();
14047 main ()
14049 return v4l2_open ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 case "$LIBEXT" in
14056 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14057 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'` ;;
14058 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14059 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14060 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14061 fi ;;
14062 esac
14063 else
14064 ac_cv_lib_soname_v4l2=
14066 rm -f core conftest.err conftest.$ac_objext \
14067 conftest$ac_exeext conftest.$ac_ext
14068 LIBS=$ac_check_soname_save_LIBS
14070 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14072 $as_echo "not found" >&6; }
14074 else
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14076 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14078 cat >>confdefs.h <<_ACEOF
14079 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14080 _ACEOF
14085 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14086 case "x$with_v4l2" in
14087 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14088 xno) ;;
14089 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14090 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14091 esac
14095 if test "x$with_gphoto" != "xno"
14096 then
14097 if ${GPHOTO2_CFLAGS:+false} :; then :
14098 if ${PKG_CONFIG+:} false; then :
14099 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14102 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14103 if ${GPHOTO2_LIBS:+false} :; then :
14104 if ${PKG_CONFIG+:} false; then :
14105 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14108 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14109 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14110 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14111 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14112 ac_save_CPPFLAGS=$CPPFLAGS
14113 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14114 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14115 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14117 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14118 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_check_lib_save_LIBS=$LIBS
14122 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14129 #ifdef __cplusplus
14130 extern "C"
14131 #endif
14132 char gp_camera_new ();
14134 main ()
14136 return gp_camera_new ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_lib_gphoto2_gp_camera_new=yes
14143 else
14144 ac_cv_lib_gphoto2_gp_camera_new=no
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14151 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14152 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14154 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14156 else
14157 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14160 else
14161 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14165 CPPFLAGS=$ac_save_CPPFLAGS
14166 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14167 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14169 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14170 if ${PKG_CONFIG+:} false; then :
14171 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14174 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14175 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14176 if ${PKG_CONFIG+:} false; then :
14177 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14180 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14181 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14182 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14184 ac_save_CPPFLAGS=$CPPFLAGS
14185 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14186 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14187 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14189 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14190 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_check_lib_save_LIBS=$LIBS
14194 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 #ifdef __cplusplus
14202 extern "C"
14203 #endif
14204 char gp_port_info_list_new ();
14206 main ()
14208 return gp_port_info_list_new ();
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14215 else
14216 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14223 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14224 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14226 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14228 else
14229 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14232 else
14233 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14237 CPPFLAGS=$ac_save_CPPFLAGS
14238 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14239 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14242 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14243 case "x$with_gphoto" in
14244 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14245 xno) ;;
14246 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14247 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14248 esac
14251 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14252 case "x$with_gphoto" in
14253 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14254 xno) ;;
14255 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14256 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14257 esac
14262 if test "$ac_cv_header_resolv_h" = "yes"
14263 then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14265 $as_echo_n "checking for resolver library... " >&6; }
14266 if ${ac_cv_have_resolv+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 ac_save_LIBS="$LIBS"
14270 for lib in '' -lresolv
14272 LIBS="$lib $ac_save_LIBS"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 #ifdef HAVE_NETINET_IN_H
14276 #include <netinet/in.h>
14277 #endif
14278 #include <resolv.h>
14280 main ()
14282 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14284 return 0;
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_have_resolv=${lib:-"none required"}
14289 else
14290 ac_cv_have_resolv="not found"
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 test "x$ac_cv_have_resolv" = "xnot found" || break
14295 done
14296 LIBS="$ac_save_LIBS"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14299 $as_echo "$ac_cv_have_resolv" >&6; }
14301 case "$ac_cv_have_resolv" in
14302 "not found") ;;
14303 "none required")
14305 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14308 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14310 RESOLV_LIBS=$ac_cv_have_resolv
14312 esac
14314 if test "x$ac_cv_have_resolv" != "xnot found"
14315 then
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14317 $as_echo_n "checking for res_getservers... " >&6; }
14318 if ${ac_cv_have_res_getservers+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 ac_save_LIBS="$LIBS"
14322 LIBS="$RESOLV_LIBS $LIBS"
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 #include <resolv.h>
14327 main ()
14329 res_getservers(NULL, NULL, 0);
14331 return 0;
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 ac_cv_have_res_getservers=yes
14336 else
14337 ac_cv_have_res_getservers=no
14339 rm -f core conftest.err conftest.$ac_objext \
14340 conftest$ac_exeext conftest.$ac_ext
14341 LIBS="$ac_save_LIBS"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14344 $as_echo "$ac_cv_have_res_getservers" >&6; }
14345 if test "$ac_cv_have_res_getservers" = "yes"
14346 then
14348 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14354 if test "x$with_cms" != "xno"
14355 then
14356 if ${LCMS2_CFLAGS:+false} :; then :
14357 if ${PKG_CONFIG+:} false; then :
14358 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14362 if ${LCMS2_LIBS:+false} :; then :
14363 if ${PKG_CONFIG+:} false; then :
14364 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14368 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14369 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14370 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14371 ac_save_CPPFLAGS=$CPPFLAGS
14372 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14373 for ac_header in lcms2.h
14374 do :
14375 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14376 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14377 cat >>confdefs.h <<_ACEOF
14378 #define HAVE_LCMS2_H 1
14379 _ACEOF
14383 done
14385 if test "$ac_cv_header_lcms2_h" = "yes"
14386 then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14388 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14389 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_check_lib_save_LIBS=$LIBS
14393 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14397 /* Override any GCC internal prototype to avoid an error.
14398 Use char because int might match the return type of a GCC
14399 builtin and then its argument prototype would still apply. */
14400 #ifdef __cplusplus
14401 extern "C"
14402 #endif
14403 char cmsOpenProfileFromFile ();
14405 main ()
14407 return cmsOpenProfileFromFile ();
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14414 else
14415 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_check_lib_save_LIBS
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14422 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14423 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14425 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14427 else
14428 LCMS2_LIBS=""
14431 else
14432 LCMS2_CFLAGS=""
14433 LCMS2_LIBS=""
14435 CPPFLAGS=$ac_save_CPPFLAGS
14436 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14437 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14440 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14441 case "x$with_cms" in
14442 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14443 xno) ;;
14444 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14445 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14446 esac
14450 if test "x$with_freetype" != "xno"
14451 then
14452 if ${FREETYPE_CFLAGS:+false} :; then :
14453 if ${PKG_CONFIG+:} false; then :
14454 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14457 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14458 if ${FREETYPE_LIBS:+false} :; then :
14459 if ${PKG_CONFIG+:} false; then :
14460 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14463 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14464 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14465 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14466 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14467 ac_save_CPPFLAGS=$CPPFLAGS
14468 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14469 for ac_header in ft2build.h
14470 do :
14471 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14472 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14473 cat >>confdefs.h <<_ACEOF
14474 #define HAVE_FT2BUILD_H 1
14475 _ACEOF
14479 done
14481 if test "$ac_cv_header_ft2build_h" = "yes"
14482 then
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14484 $as_echo_n "checking for -lfreetype... " >&6; }
14485 if ${ac_cv_lib_soname_freetype+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_check_soname_save_LIBS=$LIBS
14489 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14496 #ifdef __cplusplus
14497 extern "C"
14498 #endif
14499 char FT_Init_FreeType ();
14501 main ()
14503 return FT_Init_FreeType ();
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 case "$LIBEXT" in
14510 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14511 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'` ;;
14512 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14513 if ${ac_cv_lib_soname_freetype:+false} :; then :
14514 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14515 fi ;;
14516 esac
14517 else
14518 ac_cv_lib_soname_freetype=
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_soname_save_LIBS
14524 if ${ac_cv_lib_soname_freetype:+false} :; then :
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14526 $as_echo "not found" >&6; }
14527 FREETYPE_LIBS=""
14528 else
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14530 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14532 cat >>confdefs.h <<_ACEOF
14533 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14534 _ACEOF
14537 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14539 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14540 #include FT_MODULE_H
14542 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14544 cat >>confdefs.h <<_ACEOF
14545 #define HAVE_FT_TRUETYPEENGINETYPE 1
14546 _ACEOF
14552 else
14553 FREETYPE_CFLAGS=""
14554 FREETYPE_LIBS=""
14556 CPPFLAGS=$ac_save_CPPFLAGS
14557 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14558 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14561 if test "x$ac_cv_lib_soname_freetype" = x; then :
14562 case "x$with_freetype" in
14563 xno) ;;
14564 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14565 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14566 esac
14567 enable_fonts=${enable_fonts:-no}
14570 ac_wine_check_funcs_save_LIBS="$LIBS"
14571 LIBS="$LIBS $PTHREAD_LIBS"
14572 for ac_func in \
14573 pthread_getthreadid_np
14574 do :
14575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14578 cat >>confdefs.h <<_ACEOF
14579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14580 _ACEOF
14583 done
14585 LIBS="$ac_wine_check_funcs_save_LIBS"
14587 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14588 then
14589 if test "$ac_cv_header_gettext_po_h" = "yes"
14590 then
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14592 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14593 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 ac_check_lib_save_LIBS=$LIBS
14597 LIBS="-lgettextpo $LIBS"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14601 /* Override any GCC internal prototype to avoid an error.
14602 Use char because int might match the return type of a GCC
14603 builtin and then its argument prototype would still apply. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 char po_message_msgctxt ();
14609 main ()
14611 return po_message_msgctxt ();
14613 return 0;
14615 _ACEOF
14616 if ac_fn_c_try_link "$LINENO"; then :
14617 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14618 else
14619 ac_cv_lib_gettextpo_po_message_msgctxt=no
14621 rm -f core conftest.err conftest.$ac_objext \
14622 conftest$ac_exeext conftest.$ac_ext
14623 LIBS=$ac_check_lib_save_LIBS
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14626 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14627 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14629 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14631 GETTEXTPO_LIBS="-lgettextpo"
14636 if test "x$GETTEXTPO_LIBS" = "x"; then :
14637 case "x$with_gettextpo" in
14638 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14639 xno) ;;
14640 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14641 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14642 esac
14645 if test "$srcdir" != .; then :
14646 case "x$with_gettextpo" in
14647 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14648 xno) ;;
14649 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14650 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14651 esac
14656 if test "x$with_pulse" != "xno";
14657 then
14658 if ${PULSE_CFLAGS:+false} :; then :
14659 if ${PKG_CONFIG+:} false; then :
14660 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14664 if ${PULSE_LIBS:+false} :; then :
14665 if ${PKG_CONFIG+:} false; then :
14666 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14671 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14672 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14673 ac_save_CPPFLAGS=$CPPFLAGS
14674 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14675 for ac_header in pulse/pulseaudio.h
14676 do :
14677 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14678 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14679 cat >>confdefs.h <<_ACEOF
14680 #define HAVE_PULSE_PULSEAUDIO_H 1
14681 _ACEOF
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14683 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14684 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14685 $as_echo_n "(cached) " >&6
14686 else
14687 ac_check_lib_save_LIBS=$LIBS
14688 LIBS="-lpulse $PULSE_LIBS $LIBS"
14689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14692 /* Override any GCC internal prototype to avoid an error.
14693 Use char because int might match the return type of a GCC
14694 builtin and then its argument prototype would still apply. */
14695 #ifdef __cplusplus
14696 extern "C"
14697 #endif
14698 char pa_stream_is_corked ();
14700 main ()
14702 return pa_stream_is_corked ();
14704 return 0;
14706 _ACEOF
14707 if ac_fn_c_try_link "$LINENO"; then :
14708 ac_cv_lib_pulse_pa_stream_is_corked=yes
14709 else
14710 ac_cv_lib_pulse_pa_stream_is_corked=no
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 LIBS=$ac_check_lib_save_LIBS
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14717 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14718 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14720 else
14721 PULSE_LIBS=""
14724 else
14725 PULSE_LIBS=""
14728 done
14730 CPPFLAGS=$ac_save_CPPFLAGS
14731 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14732 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14735 if test -z "$PULSE_LIBS"; then :
14736 case "x$with_pulse" in
14737 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14738 xno) ;;
14739 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14740 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14741 esac
14742 enable_winepulse_drv=${enable_winepulse_drv:-no}
14745 if test "x$with_gstreamer" != "xno"
14746 then
14747 if ${GSTREAMER_CFLAGS:+false} :; then :
14748 if ${PKG_CONFIG+:} false; then :
14749 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14753 if ${GSTREAMER_LIBS:+false} :; then :
14754 if ${PKG_CONFIG+:} false; then :
14755 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14760 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14761 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14762 ac_save_CPPFLAGS=$CPPFLAGS
14763 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14764 ac_gst_incl=""
14765 for i in $GSTREAMER_CFLAGS
14767 case "$i" in
14768 -I*) ac_gst_incl="$ac_gst_incl $i";;
14769 esac
14770 done
14771 GSTREAMER_CFLAGS=$ac_gst_incl
14772 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14773 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14774 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14776 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 #include <gst/gst.h>
14781 main ()
14783 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14785 return 0;
14787 _ACEOF
14788 if ac_fn_c_try_compile "$LINENO"; then :
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14790 $as_echo "yes" >&6; }
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14792 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14793 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char gst_pad_new ();
14809 main ()
14811 return gst_pad_new ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14818 else
14819 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14826 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14827 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14831 else
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14833 $as_echo "no" >&6; }
14834 ac_glib2_broken=yes
14835 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 CPPFLAGS=$ac_save_CPPFLAGS
14842 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14843 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14846 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 :
14847 case "x$with_gstreamer" in
14848 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14849 xno) ;;
14850 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14851 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14852 esac
14855 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14857 ALSA_LIBS=""
14859 if test "x$with_alsa" != "xno"
14860 then
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14862 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14863 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_check_lib_save_LIBS=$LIBS
14867 LIBS="-lasound $LIBS"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 #ifdef __cplusplus
14875 extern "C"
14876 #endif
14877 char snd_pcm_hw_params_get_access_mask ();
14879 main ()
14881 return snd_pcm_hw_params_get_access_mask ();
14883 return 0;
14885 _ACEOF
14886 if ac_fn_c_try_link "$LINENO"; then :
14887 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14888 else
14889 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14893 LIBS=$ac_check_lib_save_LIBS
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14896 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14897 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #include <alsa/asoundlib.h>
14902 main ()
14904 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_compile "$LINENO"; then :
14910 ALSA_LIBS="-lasound"
14912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14916 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14918 if test "x$with_oss" != xno
14919 then
14920 ac_save_CPPFLAGS="$CPPFLAGS"
14921 if test -f /etc/oss.conf
14922 then
14923 . /etc/oss.conf
14925 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14926 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14927 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14928 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14929 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14931 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14933 cat >>confdefs.h <<_ACEOF
14934 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14935 _ACEOF
14937 OSS4_CFLAGS="$ac_oss_incl"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14940 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14941 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 ac_check_lib_save_LIBS=$LIBS
14945 LIBS="-lossaudio $LIBS"
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 #ifdef __cplusplus
14953 extern "C"
14954 #endif
14955 char _oss_ioctl ();
14957 main ()
14959 return _oss_ioctl ();
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_link "$LINENO"; then :
14965 ac_cv_lib_ossaudio__oss_ioctl=yes
14966 else
14967 ac_cv_lib_ossaudio__oss_ioctl=no
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14971 LIBS=$ac_check_lib_save_LIBS
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14974 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14975 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14976 OSS4_LIBS="-lossaudio"
14985 CPPFLAGS="$ac_save_CPPFLAGS"
14987 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14988 case "x$with_oss" in
14989 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14990 xno) ;;
14991 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14992 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14993 esac
14994 enable_wineoss_drv=${enable_wineoss_drv:-no}
14997 if test "x$with_udev" != "xno"
14998 then
14999 if ${UDEV_CFLAGS:+false} :; then :
15000 if ${PKG_CONFIG+:} false; then :
15001 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15005 if ${UDEV_LIBS:+false} :; then :
15006 if ${PKG_CONFIG+:} false; then :
15007 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15011 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15012 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15013 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15014 ac_save_CPPFLAGS=$CPPFLAGS
15015 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15016 for ac_header in libudev.h
15017 do :
15018 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15019 if test "x$ac_cv_header_libudev_h" = xyes; then :
15020 cat >>confdefs.h <<_ACEOF
15021 #define HAVE_LIBUDEV_H 1
15022 _ACEOF
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15024 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15025 if ${ac_cv_lib_udev_udev_new+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_check_lib_save_LIBS=$LIBS
15029 LIBS="-ludev $UDEV_LIBS $LIBS"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15036 #ifdef __cplusplus
15037 extern "C"
15038 #endif
15039 char udev_new ();
15041 main ()
15043 return udev_new ();
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 ac_cv_lib_udev_udev_new=yes
15050 else
15051 ac_cv_lib_udev_udev_new=no
15053 rm -f core conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15055 LIBS=$ac_check_lib_save_LIBS
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15058 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15059 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15061 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15063 else
15064 UDEV_LIBS=""
15067 else
15068 UDEV_LIBS=""
15071 done
15073 CPPFLAGS=$ac_save_CPPFLAGS
15074 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15075 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15078 if test "x$UDEV_LIBS" = "x"; then :
15079 case "x$with_udev" in
15080 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15081 xno) ;;
15082 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15083 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15084 esac
15088 if test "x$with_unwind" != xno
15089 then
15090 if ${UNWIND_CFLAGS:+false} :; then :
15091 if ${PKG_CONFIG+:} false; then :
15092 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15096 if ${UNWIND_LIBS:+false} :; then :
15097 if ${PKG_CONFIG+:} false; then :
15098 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15102 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15103 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15104 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15105 ac_save_CPPFLAGS=$CPPFLAGS
15106 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15108 $as_echo_n "checking for unw_step... " >&6; }
15109 if ${wine_cv_have_unw_step+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 #define UNW_LOCAL_ONLY
15115 #include <libunwind.h>
15117 main ()
15119 unw_cursor_t cursor; unw_step( &cursor );
15121 return 0;
15123 _ACEOF
15124 if ac_fn_c_try_link "$LINENO"; then :
15125 wine_cv_have_unw_step="yes"
15126 else
15127 wine_cv_have_unw_step="no"
15129 rm -f core conftest.err conftest.$ac_objext \
15130 conftest$ac_exeext conftest.$ac_ext
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15133 $as_echo "$wine_cv_have_unw_step" >&6; }
15134 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15135 then
15136 save_libs=$LIBS
15137 LIBS="$UNWIND_LIBS $LIBS"
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15139 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15140 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 #define UNW_LOCAL_ONLY
15146 #include <libunwind.h>
15148 main ()
15150 unw_cursor_t cursor; unw_step( &cursor );
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 wine_cv_have_libunwind_unw_step="yes"
15157 else
15158 wine_cv_have_libunwind_unw_step="no"
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15164 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15165 LIBS=$save_libs
15167 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15168 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15169 then
15171 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15174 CPPFLAGS=$ac_save_CPPFLAGS
15175 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15176 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15179 case $host in
15180 aarch64*|*-darwin*)
15181 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15182 case "x$with_unwind" in
15183 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15184 xno) ;;
15185 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15186 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15187 esac
15189 fi ;;
15190 esac
15192 if test "x$with_sdl" != "xno"
15193 then
15194 if ${SDL2_CFLAGS:+false} :; then :
15195 if ${PKG_CONFIG+:} false; then :
15196 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15200 if ${SDL2_LIBS:+false} :; then :
15201 if ${PKG_CONFIG+:} false; then :
15202 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15206 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15207 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15208 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15209 ac_save_CPPFLAGS=$CPPFLAGS
15210 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15211 for ac_header in SDL2/SDL.h
15212 do :
15213 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15214 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15215 cat >>confdefs.h <<_ACEOF
15216 #define HAVE_SDL2_SDL_H 1
15217 _ACEOF
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15219 $as_echo_n "checking for -lSDL2... " >&6; }
15220 if ${ac_cv_lib_soname_SDL2+:} false; then :
15221 $as_echo_n "(cached) " >&6
15222 else
15223 ac_check_soname_save_LIBS=$LIBS
15224 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15228 /* Override any GCC internal prototype to avoid an error.
15229 Use char because int might match the return type of a GCC
15230 builtin and then its argument prototype would still apply. */
15231 #ifdef __cplusplus
15232 extern "C"
15233 #endif
15234 char SDL_Init ();
15236 main ()
15238 return SDL_Init ();
15240 return 0;
15242 _ACEOF
15243 if ac_fn_c_try_link "$LINENO"; then :
15244 case "$LIBEXT" in
15245 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15246 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'` ;;
15247 *) 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'`
15248 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15249 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15250 fi ;;
15251 esac
15252 else
15253 ac_cv_lib_soname_SDL2=
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15257 LIBS=$ac_check_soname_save_LIBS
15259 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15261 $as_echo "not found" >&6; }
15263 else
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15265 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15267 cat >>confdefs.h <<_ACEOF
15268 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15269 _ACEOF
15275 done
15277 CPPFLAGS=$ac_save_CPPFLAGS
15278 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15279 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15282 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15283 case "x$with_sdl" in
15284 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15285 xno) ;;
15286 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15287 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15288 esac
15292 if test "x$with_faudio" != "xno"
15293 then
15294 if ${FAUDIO_CFLAGS:+false} :; then :
15295 if ${PKG_CONFIG+:} false; then :
15296 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15300 if ${FAUDIO_LIBS:+false} :; then :
15301 if ${PKG_CONFIG+:} false; then :
15302 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15306 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15307 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15308 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15309 ac_save_CPPFLAGS=$CPPFLAGS
15310 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15311 for ac_header in FAudio.h
15312 do :
15313 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15314 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15315 cat >>confdefs.h <<_ACEOF
15316 #define HAVE_FAUDIO_H 1
15317 _ACEOF
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15319 $as_echo_n "checking for -lFAudio... " >&6; }
15320 if ${ac_cv_lib_soname_FAudio+:} false; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15323 ac_check_soname_save_LIBS=$LIBS
15324 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15328 /* Override any GCC internal prototype to avoid an error.
15329 Use char because int might match the return type of a GCC
15330 builtin and then its argument prototype would still apply. */
15331 #ifdef __cplusplus
15332 extern "C"
15333 #endif
15334 char FAudioCreate ();
15336 main ()
15338 return FAudioCreate ();
15340 return 0;
15342 _ACEOF
15343 if ac_fn_c_try_link "$LINENO"; then :
15344 case "$LIBEXT" in
15345 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15346 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'` ;;
15347 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15348 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15349 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15350 fi ;;
15351 esac
15352 else
15353 ac_cv_lib_soname_FAudio=
15355 rm -f core conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext conftest.$ac_ext
15357 LIBS=$ac_check_soname_save_LIBS
15359 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15361 $as_echo "not found" >&6; }
15363 else
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15365 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15367 cat >>confdefs.h <<_ACEOF
15368 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15369 _ACEOF
15375 done
15377 ac_wine_check_funcs_save_LIBS="$LIBS"
15378 LIBS="$LIBS $FAUDIO_LIBS"
15379 for ac_func in FAudio_CommitOperationSet \
15380 F3DAudioInitialize8 \
15381 FAudioLinkedVersion
15382 do :
15383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15388 _ACEOF
15391 done
15393 LIBS="$ac_wine_check_funcs_save_LIBS"
15395 CPPFLAGS=$ac_save_CPPFLAGS
15396 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15397 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15400 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15401 case "x$with_faudio" in
15402 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15403 xno) ;;
15404 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15405 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15406 esac
15410 if test "x$with_capi" != "xno"
15411 then
15412 if ${CAPI20_CFLAGS:+false} :; then :
15413 if ${PKG_CONFIG+:} false; then :
15414 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15418 if ${CAPI20_LIBS:+false} :; then :
15419 if ${PKG_CONFIG+:} false; then :
15420 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15425 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15426 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15427 ac_save_CPPFLAGS=$CPPFLAGS
15428 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15429 for ac_header in capi20.h linux/capi.h
15430 do :
15431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15432 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15434 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15437 _ACEOF
15441 done
15443 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15444 then
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15446 $as_echo_n "checking for -lcapi20... " >&6; }
15447 if ${ac_cv_lib_soname_capi20+:} false; then :
15448 $as_echo_n "(cached) " >&6
15449 else
15450 ac_check_soname_save_LIBS=$LIBS
15451 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15455 /* Override any GCC internal prototype to avoid an error.
15456 Use char because int might match the return type of a GCC
15457 builtin and then its argument prototype would still apply. */
15458 #ifdef __cplusplus
15459 extern "C"
15460 #endif
15461 char capi20_register ();
15463 main ()
15465 return capi20_register ();
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 case "$LIBEXT" in
15472 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15473 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'` ;;
15474 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15475 if ${ac_cv_lib_soname_capi20:+false} :; then :
15476 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15477 fi ;;
15478 esac
15479 else
15480 ac_cv_lib_soname_capi20=
15482 rm -f core conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_check_soname_save_LIBS
15486 if ${ac_cv_lib_soname_capi20:+false} :; then :
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15488 $as_echo "not found" >&6; }
15490 else
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15492 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15494 cat >>confdefs.h <<_ACEOF
15495 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15496 _ACEOF
15501 CPPFLAGS=$ac_save_CPPFLAGS
15502 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15503 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15506 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15507 case "x$with_capi" in
15508 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15509 xno) ;;
15510 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15511 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15512 esac
15516 if test "x$with_cups" != "xno"
15517 then
15518 if ${CUPS_CFLAGS:+false} :; then :
15519 if ${PKG_CONFIG+:} false; then :
15520 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15523 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15524 if ${CUPS_LIBS:+false} :; then :
15525 if ${PKG_CONFIG+:} false; then :
15526 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15529 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15530 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15531 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15532 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15533 ac_save_CPPFLAGS=$CPPFLAGS
15534 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15535 for ac_header in cups/cups.h cups/ppd.h
15536 do :
15537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15538 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15539 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15542 _ACEOF
15546 done
15548 if test "$ac_cv_header_cups_cups_h" = "yes"
15549 then
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15551 $as_echo_n "checking for -lcups... " >&6; }
15552 if ${ac_cv_lib_soname_cups+:} false; then :
15553 $as_echo_n "(cached) " >&6
15554 else
15555 ac_check_soname_save_LIBS=$LIBS
15556 LIBS="-lcups $CUPS_LIBS $LIBS"
15557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15558 /* end confdefs.h. */
15560 /* Override any GCC internal prototype to avoid an error.
15561 Use char because int might match the return type of a GCC
15562 builtin and then its argument prototype would still apply. */
15563 #ifdef __cplusplus
15564 extern "C"
15565 #endif
15566 char cupsGetDefault ();
15568 main ()
15570 return cupsGetDefault ();
15572 return 0;
15574 _ACEOF
15575 if ac_fn_c_try_link "$LINENO"; then :
15576 case "$LIBEXT" in
15577 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15578 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'` ;;
15579 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15580 if ${ac_cv_lib_soname_cups:+false} :; then :
15581 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15582 fi ;;
15583 esac
15584 else
15585 ac_cv_lib_soname_cups=
15587 rm -f core conftest.err conftest.$ac_objext \
15588 conftest$ac_exeext conftest.$ac_ext
15589 LIBS=$ac_check_soname_save_LIBS
15591 if ${ac_cv_lib_soname_cups:+false} :; then :
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15593 $as_echo "not found" >&6; }
15594 CUPS_LIBS=""
15595 else
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15597 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15599 cat >>confdefs.h <<_ACEOF
15600 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15601 _ACEOF
15605 else
15606 CUPS_CFLAGS=""
15607 CUPS_LIBS=""
15609 CPPFLAGS=$ac_save_CPPFLAGS
15610 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15611 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15614 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15615 case "x$with_cups" in
15616 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15617 xno) ;;
15618 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15619 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15620 esac
15624 if test "x$with_fontconfig" != "xno"
15625 then
15626 if ${FONTCONFIG_CFLAGS:+false} :; then :
15627 if ${PKG_CONFIG+:} false; then :
15628 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15631 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15632 if ${FONTCONFIG_LIBS:+false} :; then :
15633 if ${PKG_CONFIG+:} false; then :
15634 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15637 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15639 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15640 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15641 ac_save_CPPFLAGS=$CPPFLAGS
15642 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15643 for ac_header in fontconfig/fontconfig.h
15644 do :
15645 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15646 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15649 _ACEOF
15653 done
15655 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15656 then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15658 $as_echo_n "checking for -lfontconfig... " >&6; }
15659 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 ac_check_soname_save_LIBS=$LIBS
15663 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 #ifdef __cplusplus
15671 extern "C"
15672 #endif
15673 char FcInit ();
15675 main ()
15677 return FcInit ();
15679 return 0;
15681 _ACEOF
15682 if ac_fn_c_try_link "$LINENO"; then :
15683 case "$LIBEXT" in
15684 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15685 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'` ;;
15686 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15687 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15688 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15689 fi ;;
15690 esac
15691 else
15692 ac_cv_lib_soname_fontconfig=
15694 rm -f core conftest.err conftest.$ac_objext \
15695 conftest$ac_exeext conftest.$ac_ext
15696 LIBS=$ac_check_soname_save_LIBS
15698 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 $as_echo "not found" >&6; }
15701 FONTCONFIG_CFLAGS=""
15702 else
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15704 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15706 cat >>confdefs.h <<_ACEOF
15707 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15708 _ACEOF
15712 else
15713 FONTCONFIG_CFLAGS=""
15715 CPPFLAGS=$ac_save_CPPFLAGS
15716 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15717 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15720 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15721 case "x$with_fontconfig" in
15722 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15723 xno) ;;
15724 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15725 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15726 esac
15730 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15731 then
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15733 $as_echo_n "checking for -lgsm... " >&6; }
15734 if ${ac_cv_lib_soname_gsm+:} false; then :
15735 $as_echo_n "(cached) " >&6
15736 else
15737 ac_check_soname_save_LIBS=$LIBS
15738 LIBS="-lgsm $LIBS"
15739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15742 /* Override any GCC internal prototype to avoid an error.
15743 Use char because int might match the return type of a GCC
15744 builtin and then its argument prototype would still apply. */
15745 #ifdef __cplusplus
15746 extern "C"
15747 #endif
15748 char gsm_create ();
15750 main ()
15752 return gsm_create ();
15754 return 0;
15756 _ACEOF
15757 if ac_fn_c_try_link "$LINENO"; then :
15758 case "$LIBEXT" in
15759 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15760 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'` ;;
15761 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15762 if ${ac_cv_lib_soname_gsm:+false} :; then :
15763 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15764 fi ;;
15765 esac
15766 else
15767 ac_cv_lib_soname_gsm=
15769 rm -f core conftest.err conftest.$ac_objext \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_soname_save_LIBS
15773 if ${ac_cv_lib_soname_gsm:+false} :; then :
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15775 $as_echo "not found" >&6; }
15777 else
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15779 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15781 cat >>confdefs.h <<_ACEOF
15782 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15783 _ACEOF
15788 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15789 case "x$with_gsm" in
15790 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15791 xno) ;;
15792 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15793 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15794 esac
15798 if test "x$with_krb5" != "xno"
15799 then
15800 if ${KRB5_CFLAGS:+false} :; then :
15801 if ${PKG_CONFIG+:} false; then :
15802 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15805 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15806 if ${KRB5_LIBS:+false} :; then :
15807 if ${PKG_CONFIG+:} false; then :
15808 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15811 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15813 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15814 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15815 ac_save_CPPFLAGS=$CPPFLAGS
15816 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15817 for ac_header in krb5/krb5.h
15818 do :
15819 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15820 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_KRB5_KRB5_H 1
15823 _ACEOF
15827 done
15829 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15830 then
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15832 $as_echo_n "checking for -lkrb5... " >&6; }
15833 if ${ac_cv_lib_soname_krb5+:} false; then :
15834 $as_echo_n "(cached) " >&6
15835 else
15836 ac_check_soname_save_LIBS=$LIBS
15837 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15841 /* Override any GCC internal prototype to avoid an error.
15842 Use char because int might match the return type of a GCC
15843 builtin and then its argument prototype would still apply. */
15844 #ifdef __cplusplus
15845 extern "C"
15846 #endif
15847 char krb5_is_config_principal ();
15849 main ()
15851 return krb5_is_config_principal ();
15853 return 0;
15855 _ACEOF
15856 if ac_fn_c_try_link "$LINENO"; then :
15857 case "$LIBEXT" in
15858 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15859 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'` ;;
15860 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15861 if ${ac_cv_lib_soname_krb5:+false} :; then :
15862 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15863 fi ;;
15864 esac
15865 else
15866 ac_cv_lib_soname_krb5=
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 LIBS=$ac_check_soname_save_LIBS
15872 if ${ac_cv_lib_soname_krb5:+false} :; then :
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15874 $as_echo "not found" >&6; }
15875 KRB5_CFLAGS=""
15876 else
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15878 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15880 cat >>confdefs.h <<_ACEOF
15881 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15882 _ACEOF
15886 else
15887 KRB5_CFLAGS=""
15889 CPPFLAGS=$ac_save_CPPFLAGS
15890 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15891 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15894 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15895 case "x$with_krb5" in
15896 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15897 xno) ;;
15898 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15899 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15900 esac
15903 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15905 if test "x$with_gssapi" != "xno"
15906 then
15907 if ${GSSAPI_CFLAGS:+false} :; then :
15908 if ${PKG_CONFIG+:} false; then :
15909 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15912 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15913 if ${GSSAPI_LIBS:+false} :; then :
15914 if ${PKG_CONFIG+:} false; then :
15915 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15918 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15920 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15921 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15922 ac_save_CPPFLAGS=$CPPFLAGS
15923 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15924 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15925 do :
15926 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15927 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15931 _ACEOF
15935 done
15937 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15938 then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15940 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15941 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 ac_check_soname_save_LIBS=$LIBS
15945 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15952 #ifdef __cplusplus
15953 extern "C"
15954 #endif
15955 char gss_init_sec_context ();
15957 main ()
15959 return gss_init_sec_context ();
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_link "$LINENO"; then :
15965 case "$LIBEXT" in
15966 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15967 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'` ;;
15968 *) 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'`
15969 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15970 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15971 fi ;;
15972 esac
15973 else
15974 ac_cv_lib_soname_gssapi_krb5=
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext conftest.$ac_ext
15978 LIBS=$ac_check_soname_save_LIBS
15980 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15982 $as_echo "not found" >&6; }
15983 GSSAPI_CFLAGS=""
15984 else
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15986 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15988 cat >>confdefs.h <<_ACEOF
15989 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15990 _ACEOF
15994 else
15995 GSSAPI_CFLAGS=""
15997 CPPFLAGS=$ac_save_CPPFLAGS
15998 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15999 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16002 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16003 case "x$with_gssapi" in
16004 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16005 xno) ;;
16006 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16007 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16008 esac
16012 if test "x$with_jpeg" != "xno"
16013 then
16014 if ${JPEG_CFLAGS:+false} :; then :
16015 if ${PKG_CONFIG+:} false; then :
16016 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16020 if ${JPEG_LIBS:+false} :; then :
16021 if ${PKG_CONFIG+:} false; then :
16022 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16027 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16028 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16029 ac_save_CPPFLAGS=$CPPFLAGS
16030 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16031 for ac_header in jpeglib.h
16032 do :
16033 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16034 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_JPEGLIB_H 1
16037 _ACEOF
16041 done
16043 if test "$ac_cv_header_jpeglib_h" = "yes"
16044 then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16046 $as_echo_n "checking for -ljpeg... " >&6; }
16047 if ${ac_cv_lib_soname_jpeg+:} false; then :
16048 $as_echo_n "(cached) " >&6
16049 else
16050 ac_check_soname_save_LIBS=$LIBS
16051 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16058 #ifdef __cplusplus
16059 extern "C"
16060 #endif
16061 char jpeg_start_decompress ();
16063 main ()
16065 return jpeg_start_decompress ();
16067 return 0;
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"; then :
16071 case "$LIBEXT" in
16072 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16073 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'` ;;
16074 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16075 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16076 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16077 fi ;;
16078 esac
16079 else
16080 ac_cv_lib_soname_jpeg=
16082 rm -f core conftest.err conftest.$ac_objext \
16083 conftest$ac_exeext conftest.$ac_ext
16084 LIBS=$ac_check_soname_save_LIBS
16086 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16088 $as_echo "not found" >&6; }
16089 JPEG_CFLAGS=""
16090 else
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16092 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16094 cat >>confdefs.h <<_ACEOF
16095 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16096 _ACEOF
16100 else
16101 JPEG_CFLAGS=""
16103 CPPFLAGS=$ac_save_CPPFLAGS
16104 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16105 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16108 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16109 case "x$with_jpeg" in
16110 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16111 xno) ;;
16112 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16113 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16114 esac
16118 if test "x$with_png" != "xno"
16119 then
16120 if ${PNG_CFLAGS:+false} :; then :
16121 if ${PKG_CONFIG+:} false; then :
16122 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16125 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16126 if ${PNG_LIBS:+false} :; then :
16127 if ${PKG_CONFIG+:} false; then :
16128 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16131 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16133 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16134 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16135 ac_save_CPPFLAGS=$CPPFLAGS
16136 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16137 for ac_header in png.h
16138 do :
16139 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16140 if test "x$ac_cv_header_png_h" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_PNG_H 1
16143 _ACEOF
16147 done
16149 if test "$ac_cv_header_png_h" = "yes"
16150 then
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16152 $as_echo_n "checking for -lpng... " >&6; }
16153 if ${ac_cv_lib_soname_png+:} false; then :
16154 $as_echo_n "(cached) " >&6
16155 else
16156 ac_check_soname_save_LIBS=$LIBS
16157 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16161 /* Override any GCC internal prototype to avoid an error.
16162 Use char because int might match the return type of a GCC
16163 builtin and then its argument prototype would still apply. */
16164 #ifdef __cplusplus
16165 extern "C"
16166 #endif
16167 char png_create_read_struct ();
16169 main ()
16171 return png_create_read_struct ();
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 case "$LIBEXT" in
16178 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16179 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'` ;;
16180 *) 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'`
16181 if ${ac_cv_lib_soname_png:+false} :; then :
16182 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16183 fi ;;
16184 esac
16185 else
16186 ac_cv_lib_soname_png=
16188 rm -f core conftest.err conftest.$ac_objext \
16189 conftest$ac_exeext conftest.$ac_ext
16190 LIBS=$ac_check_soname_save_LIBS
16192 if ${ac_cv_lib_soname_png:+false} :; then :
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16194 $as_echo "not found" >&6; }
16195 PNG_CFLAGS=""
16196 else
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16198 $as_echo "$ac_cv_lib_soname_png" >&6; }
16200 cat >>confdefs.h <<_ACEOF
16201 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16202 _ACEOF
16206 else
16207 PNG_CFLAGS=""
16209 CPPFLAGS=$ac_save_CPPFLAGS
16210 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16211 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16214 if test "x$ac_cv_lib_soname_png" = "x"; then :
16215 case "x$with_png" in
16216 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16217 xno) ;;
16218 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16219 This is an error since --with-png was requested." "$LINENO" 5 ;;
16220 esac
16224 if test "x$with_tiff" != "xno"
16225 then
16226 if ${TIFF_CFLAGS:+false} :; then :
16227 if ${PKG_CONFIG+:} false; then :
16228 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16232 if ${TIFF_LIBS:+false} :; then :
16233 if ${PKG_CONFIG+:} false; then :
16234 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16239 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16240 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16241 ac_save_CPPFLAGS=$CPPFLAGS
16242 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16243 for ac_header in tiffio.h
16244 do :
16245 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16246 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_TIFFIO_H 1
16249 _ACEOF
16253 done
16255 if test "$ac_cv_header_tiffio_h" = "yes"
16256 then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16258 $as_echo_n "checking for -ltiff... " >&6; }
16259 if ${ac_cv_lib_soname_tiff+:} false; then :
16260 $as_echo_n "(cached) " >&6
16261 else
16262 ac_check_soname_save_LIBS=$LIBS
16263 LIBS="-ltiff $TIFF_LIBS $LIBS"
16264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16265 /* end confdefs.h. */
16267 /* Override any GCC internal prototype to avoid an error.
16268 Use char because int might match the return type of a GCC
16269 builtin and then its argument prototype would still apply. */
16270 #ifdef __cplusplus
16271 extern "C"
16272 #endif
16273 char TIFFClientOpen ();
16275 main ()
16277 return TIFFClientOpen ();
16279 return 0;
16281 _ACEOF
16282 if ac_fn_c_try_link "$LINENO"; then :
16283 case "$LIBEXT" in
16284 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16285 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'` ;;
16286 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16287 if ${ac_cv_lib_soname_tiff:+false} :; then :
16288 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16289 fi ;;
16290 esac
16291 else
16292 ac_cv_lib_soname_tiff=
16294 rm -f core conftest.err conftest.$ac_objext \
16295 conftest$ac_exeext conftest.$ac_ext
16296 LIBS=$ac_check_soname_save_LIBS
16298 if ${ac_cv_lib_soname_tiff:+false} :; then :
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16300 $as_echo "not found" >&6; }
16302 else
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16304 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16306 cat >>confdefs.h <<_ACEOF
16307 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16308 _ACEOF
16313 CPPFLAGS=$ac_save_CPPFLAGS
16314 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16315 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16318 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16319 case "x$with_tiff" in
16320 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16321 xno) ;;
16322 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16323 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16324 esac
16328 if test "x$with_mpg123" != "xno"
16329 then
16330 if ${MPG123_CFLAGS:+false} :; then :
16331 if ${PKG_CONFIG+:} false; then :
16332 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16336 if ${MPG123_LIBS:+false} :; then :
16337 if ${PKG_CONFIG+:} false; then :
16338 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16342 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16343 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16344 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16345 ac_save_CPPFLAGS=$CPPFLAGS
16346 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16347 for ac_header in mpg123.h
16348 do :
16349 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16350 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_MPG123_H 1
16353 _ACEOF
16357 done
16359 if test "$ac_cv_header_mpg123_h" = "yes"
16360 then
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16362 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16363 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16364 $as_echo_n "(cached) " >&6
16365 else
16366 ac_check_lib_save_LIBS=$LIBS
16367 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16371 /* Override any GCC internal prototype to avoid an error.
16372 Use char because int might match the return type of a GCC
16373 builtin and then its argument prototype would still apply. */
16374 #ifdef __cplusplus
16375 extern "C"
16376 #endif
16377 char mpg123_feed ();
16379 main ()
16381 return mpg123_feed ();
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"; then :
16387 ac_cv_lib_mpg123_mpg123_feed=yes
16388 else
16389 ac_cv_lib_mpg123_mpg123_feed=no
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_lib_save_LIBS
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16396 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16397 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16399 else
16400 MPG123_LIBS=""
16403 else
16404 MPG123_CFLAGS=""
16405 MPG123_LIBS=""
16407 CPPFLAGS=$ac_save_CPPFLAGS
16408 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16409 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16412 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16413 case "x$with_mpg123" in
16414 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16415 xno) ;;
16416 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16417 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16418 esac
16419 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16421 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16423 if test "$ac_cv_header_AL_al_h" = "yes"
16424 then
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16426 $as_echo_n "checking for -lopenal... " >&6; }
16427 if ${ac_cv_lib_soname_openal+:} false; then :
16428 $as_echo_n "(cached) " >&6
16429 else
16430 ac_check_soname_save_LIBS=$LIBS
16431 LIBS="-lopenal $LIBS"
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16435 /* Override any GCC internal prototype to avoid an error.
16436 Use char because int might match the return type of a GCC
16437 builtin and then its argument prototype would still apply. */
16438 #ifdef __cplusplus
16439 extern "C"
16440 #endif
16441 char alGetSource3i ();
16443 main ()
16445 return alGetSource3i ();
16447 return 0;
16449 _ACEOF
16450 if ac_fn_c_try_link "$LINENO"; then :
16451 case "$LIBEXT" in
16452 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16453 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'` ;;
16454 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16455 if ${ac_cv_lib_soname_openal:+false} :; then :
16456 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16457 fi ;;
16458 esac
16459 else
16460 ac_cv_lib_soname_openal=
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16464 LIBS=$ac_check_soname_save_LIBS
16466 if ${ac_cv_lib_soname_openal:+false} :; then :
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16468 $as_echo "not found" >&6; }
16470 else
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16472 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16474 cat >>confdefs.h <<_ACEOF
16475 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16476 _ACEOF
16478 OPENAL_LIBS="-lopenal"
16480 ac_cv_lib_openal=yes
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_OPENAL 1
16484 _ACEOF
16488 if test "x$ac_cv_lib_openal" != xyes; then :
16489 case "x$with_openal" in
16490 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16491 xno) ;;
16492 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16493 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16494 esac
16495 enable_openal32=${enable_openal32:-no}
16498 if test "x$ac_cv_lib_soname_FAudio" = "x"
16499 then
16500 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16501 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16502 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16503 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16504 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16505 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16506 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16507 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16508 enable_xapofx1_1=${enable_xapofx1_1:-no}
16509 enable_xapofx1_2=${enable_xapofx1_2:-no}
16510 enable_xapofx1_3=${enable_xapofx1_3:-no}
16511 enable_xapofx1_4=${enable_xapofx1_4:-no}
16512 enable_xapofx1_5=${enable_xapofx1_5:-no}
16513 enable_xaudio2_0=${enable_xaudio2_0:-no}
16514 enable_xaudio2_1=${enable_xaudio2_1:-no}
16515 enable_xaudio2_2=${enable_xaudio2_2:-no}
16516 enable_xaudio2_3=${enable_xaudio2_3:-no}
16517 enable_xaudio2_4=${enable_xaudio2_4:-no}
16518 enable_xaudio2_5=${enable_xaudio2_5:-no}
16519 enable_xaudio2_6=${enable_xaudio2_6:-no}
16520 enable_xaudio2_7=${enable_xaudio2_7:-no}
16521 enable_xaudio2_8=${enable_xaudio2_8:-no}
16522 enable_xaudio2_9=${enable_xaudio2_9:-no}
16525 if test "$ac_cv_header_kstat_h" = "yes"
16526 then
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16528 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16529 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16532 ac_check_lib_save_LIBS=$LIBS
16533 LIBS="-lkstat $LIBS"
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16537 /* Override any GCC internal prototype to avoid an error.
16538 Use char because int might match the return type of a GCC
16539 builtin and then its argument prototype would still apply. */
16540 #ifdef __cplusplus
16541 extern "C"
16542 #endif
16543 char kstat_open ();
16545 main ()
16547 return kstat_open ();
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"; then :
16553 ac_cv_lib_kstat_kstat_open=yes
16554 else
16555 ac_cv_lib_kstat_kstat_open=no
16557 rm -f core conftest.err conftest.$ac_objext \
16558 conftest$ac_exeext conftest.$ac_ext
16559 LIBS=$ac_check_lib_save_LIBS
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16562 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16563 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16565 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16567 KSTAT_LIBS="-lkstat"
16573 if test "$ac_cv_header_libprocstat_h" = "yes"
16574 then
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16576 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16577 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16578 $as_echo_n "(cached) " >&6
16579 else
16580 ac_check_lib_save_LIBS=$LIBS
16581 LIBS="-lprocstat $LIBS"
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16585 /* Override any GCC internal prototype to avoid an error.
16586 Use char because int might match the return type of a GCC
16587 builtin and then its argument prototype would still apply. */
16588 #ifdef __cplusplus
16589 extern "C"
16590 #endif
16591 char procstat_open_sysctl ();
16593 main ()
16595 return procstat_open_sysctl ();
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_link "$LINENO"; then :
16601 ac_cv_lib_procstat_procstat_open_sysctl=yes
16602 else
16603 ac_cv_lib_procstat_procstat_open_sysctl=no
16605 rm -f core conftest.err conftest.$ac_objext \
16606 conftest$ac_exeext conftest.$ac_ext
16607 LIBS=$ac_check_lib_save_LIBS
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16610 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16611 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16613 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16615 PROCSTAT_LIBS="-lprocstat"
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16622 $as_echo_n "checking for -lodbc... " >&6; }
16623 if ${ac_cv_lib_soname_odbc+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 ac_check_soname_save_LIBS=$LIBS
16627 LIBS="-lodbc $LIBS"
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16631 /* Override any GCC internal prototype to avoid an error.
16632 Use char because int might match the return type of a GCC
16633 builtin and then its argument prototype would still apply. */
16634 #ifdef __cplusplus
16635 extern "C"
16636 #endif
16637 char SQLConnect ();
16639 main ()
16641 return SQLConnect ();
16643 return 0;
16645 _ACEOF
16646 if ac_fn_c_try_link "$LINENO"; then :
16647 case "$LIBEXT" in
16648 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16649 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'` ;;
16650 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16651 if ${ac_cv_lib_soname_odbc:+false} :; then :
16652 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16653 fi ;;
16654 esac
16655 else
16656 ac_cv_lib_soname_odbc=
16658 rm -f core conftest.err conftest.$ac_objext \
16659 conftest$ac_exeext conftest.$ac_ext
16660 LIBS=$ac_check_soname_save_LIBS
16662 if ${ac_cv_lib_soname_odbc:+false} :; then :
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16664 $as_echo "not found" >&6; }
16665 cat >>confdefs.h <<_ACEOF
16666 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16667 _ACEOF
16669 else
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16671 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16673 cat >>confdefs.h <<_ACEOF
16674 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16675 _ACEOF
16680 if test "x$with_netapi" != "xno"
16681 then
16682 if ${NETAPI_CFLAGS:+false} :; then :
16683 if ${PKG_CONFIG+:} false; then :
16684 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16688 if ${NETAPI_LIBS:+false} :; then :
16689 if ${PKG_CONFIG+:} false; then :
16690 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16695 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16696 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16697 ac_save_CPPFLAGS=$CPPFLAGS
16698 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16700 $as_echo_n "checking for -lnetapi... " >&6; }
16701 if ${ac_cv_lib_soname_netapi+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 ac_check_soname_save_LIBS=$LIBS
16705 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16709 /* Override any GCC internal prototype to avoid an error.
16710 Use char because int might match the return type of a GCC
16711 builtin and then its argument prototype would still apply. */
16712 #ifdef __cplusplus
16713 extern "C"
16714 #endif
16715 char libnetapi_init ();
16717 main ()
16719 return libnetapi_init ();
16721 return 0;
16723 _ACEOF
16724 if ac_fn_c_try_link "$LINENO"; then :
16725 case "$LIBEXT" in
16726 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16727 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'` ;;
16728 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16729 if ${ac_cv_lib_soname_netapi:+false} :; then :
16730 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16731 fi ;;
16732 esac
16733 else
16734 ac_cv_lib_soname_netapi=
16736 rm -f core conftest.err conftest.$ac_objext \
16737 conftest$ac_exeext conftest.$ac_ext
16738 LIBS=$ac_check_soname_save_LIBS
16740 if ${ac_cv_lib_soname_netapi:+false} :; then :
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16742 $as_echo "not found" >&6; }
16743 cat >>confdefs.h <<_ACEOF
16744 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16745 _ACEOF
16747 else
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16749 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16751 cat >>confdefs.h <<_ACEOF
16752 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16753 _ACEOF
16757 CPPFLAGS=$ac_save_CPPFLAGS
16758 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16759 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16763 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16764 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16765 then
16766 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16769 if test "x$with_vulkan" != "xno"
16770 then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16772 $as_echo_n "checking for -lvulkan... " >&6; }
16773 if ${ac_cv_lib_soname_vulkan+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 ac_check_soname_save_LIBS=$LIBS
16777 LIBS="-lvulkan $LIBS"
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16781 /* Override any GCC internal prototype to avoid an error.
16782 Use char because int might match the return type of a GCC
16783 builtin and then its argument prototype would still apply. */
16784 #ifdef __cplusplus
16785 extern "C"
16786 #endif
16787 char vkGetInstanceProcAddr ();
16789 main ()
16791 return vkGetInstanceProcAddr ();
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 case "$LIBEXT" in
16798 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16799 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'` ;;
16800 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16801 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16802 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16803 fi ;;
16804 esac
16805 else
16806 ac_cv_lib_soname_vulkan=
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 LIBS=$ac_check_soname_save_LIBS
16812 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16814 $as_echo "not found" >&6; }
16816 else
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16818 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16820 cat >>confdefs.h <<_ACEOF
16821 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16822 _ACEOF
16826 if test "x$ac_cv_lib_soname_vulkan" = "x"
16827 then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16829 $as_echo_n "checking for -lMoltenVK... " >&6; }
16830 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16831 $as_echo_n "(cached) " >&6
16832 else
16833 ac_check_soname_save_LIBS=$LIBS
16834 LIBS="-lMoltenVK $LIBS"
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16838 /* Override any GCC internal prototype to avoid an error.
16839 Use char because int might match the return type of a GCC
16840 builtin and then its argument prototype would still apply. */
16841 #ifdef __cplusplus
16842 extern "C"
16843 #endif
16844 char vkGetInstanceProcAddr ();
16846 main ()
16848 return vkGetInstanceProcAddr ();
16850 return 0;
16852 _ACEOF
16853 if ac_fn_c_try_link "$LINENO"; then :
16854 case "$LIBEXT" in
16855 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16856 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'` ;;
16857 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16858 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16859 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16860 fi ;;
16861 esac
16862 else
16863 ac_cv_lib_soname_MoltenVK=
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16867 LIBS=$ac_check_soname_save_LIBS
16869 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16871 $as_echo "not found" >&6; }
16873 else
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16875 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16877 cat >>confdefs.h <<_ACEOF
16878 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16879 _ACEOF
16885 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16886 case "x$with_vulkan" in
16887 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16888 xno) ;;
16889 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16890 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16891 esac
16895 if test "x$with_vkd3d" != "xno"
16896 then
16897 if ${VKD3D_CFLAGS:+false} :; then :
16898 if ${PKG_CONFIG+:} false; then :
16899 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16903 if ${VKD3D_LIBS:+false} :; then :
16904 if ${PKG_CONFIG+:} false; then :
16905 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16910 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16911 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16912 ac_save_CPPFLAGS=$CPPFLAGS
16913 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16915 $as_echo_n "checking for -lvkd3d... " >&6; }
16916 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16919 ac_check_soname_save_LIBS=$LIBS
16920 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16924 /* Override any GCC internal prototype to avoid an error.
16925 Use char because int might match the return type of a GCC
16926 builtin and then its argument prototype would still apply. */
16927 #ifdef __cplusplus
16928 extern "C"
16929 #endif
16930 char vkd3d_get_dxgi_format ();
16932 main ()
16934 return vkd3d_get_dxgi_format ();
16936 return 0;
16938 _ACEOF
16939 if ac_fn_c_try_link "$LINENO"; then :
16940 case "$LIBEXT" in
16941 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16942 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'` ;;
16943 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16944 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16945 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16946 fi ;;
16947 esac
16948 else
16949 ac_cv_lib_soname_vkd3d=
16951 rm -f core conftest.err conftest.$ac_objext \
16952 conftest$ac_exeext conftest.$ac_ext
16953 LIBS=$ac_check_soname_save_LIBS
16955 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16957 $as_echo "not found" >&6; }
16959 else
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16961 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16963 cat >>confdefs.h <<_ACEOF
16964 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16965 _ACEOF
16969 CPPFLAGS=$ac_save_CPPFLAGS
16970 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16971 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16974 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16975 case "x$with_vkd3d" in
16976 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16977 xno) ;;
16978 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16979 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16980 esac
16983 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16986 EXTRACFLAGS=""
16988 if test "x${GCC}" = "xyes"
16989 then
16990 EXTRACFLAGS="-Wall -pipe"
16992 saved_CFLAGS=$CFLAGS
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16994 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16995 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16996 $as_echo_n "(cached) " >&6
16997 else
16998 ac_wine_try_cflags_saved=$CFLAGS
16999 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 int main(int argc, char **argv) { return 0; }
17003 _ACEOF
17004 if ac_fn_c_try_link "$LINENO"; then :
17005 ac_cv_cflags__Werror_unknown_warning_option=yes
17006 else
17007 ac_cv_cflags__Werror_unknown_warning_option=no
17009 rm -f core conftest.err conftest.$ac_objext \
17010 conftest$ac_exeext conftest.$ac_ext
17011 CFLAGS=$ac_wine_try_cflags_saved
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17014 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17015 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17016 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17019 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17020 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17021 $as_echo_n "(cached) " >&6
17022 else
17023 ac_wine_try_cflags_saved=$CFLAGS
17024 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 int main(int argc, char **argv) { return 0; }
17028 _ACEOF
17029 if ac_fn_c_try_link "$LINENO"; then :
17030 ac_cv_cflags__Werror_unused_command_line_argument=yes
17031 else
17032 ac_cv_cflags__Werror_unused_command_line_argument=no
17034 rm -f core conftest.err conftest.$ac_objext \
17035 conftest$ac_exeext conftest.$ac_ext
17036 CFLAGS=$ac_wine_try_cflags_saved
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17039 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17040 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17041 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17044 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17045 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17046 $as_echo_n "(cached) " >&6
17047 else
17048 ac_wine_try_cflags_saved=$CFLAGS
17049 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 int main(int argc, char **argv) { return 0; }
17053 _ACEOF
17054 if ac_fn_c_try_link "$LINENO"; then :
17055 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17056 else
17057 ac_cv_cflags__Werror_ignored_optimization_argument=no
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17061 CFLAGS=$ac_wine_try_cflags_saved
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17064 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17065 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17066 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17069 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17070 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 ac_wine_try_cflags_saved=$CFLAGS
17074 CFLAGS="$CFLAGS -fcf-protection=none"
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 int main(int argc, char **argv) { return 0; }
17078 _ACEOF
17079 if ac_fn_c_try_link "$LINENO"; then :
17080 ac_cv_cflags__fcf_protection_none=yes
17081 else
17082 ac_cv_cflags__fcf_protection_none=no
17084 rm -f core conftest.err conftest.$ac_objext \
17085 conftest$ac_exeext conftest.$ac_ext
17086 CFLAGS=$ac_wine_try_cflags_saved
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17089 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17090 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17091 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17094 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17095 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17096 $as_echo_n "(cached) " >&6
17097 else
17098 ac_wine_try_cflags_saved=$CFLAGS
17099 CFLAGS="$CFLAGS -fno-stack-protector"
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17102 int main(int argc, char **argv) { return 0; }
17103 _ACEOF
17104 if ac_fn_c_try_link "$LINENO"; then :
17105 ac_cv_cflags__fno_stack_protector=yes
17106 else
17107 ac_cv_cflags__fno_stack_protector=no
17109 rm -f core conftest.err conftest.$ac_objext \
17110 conftest$ac_exeext conftest.$ac_ext
17111 CFLAGS=$ac_wine_try_cflags_saved
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17114 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17115 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17116 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17119 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17120 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17121 $as_echo_n "(cached) " >&6
17122 else
17123 ac_wine_try_cflags_saved=$CFLAGS
17124 CFLAGS="$CFLAGS -fno-strict-aliasing"
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 int main(int argc, char **argv) { return 0; }
17128 _ACEOF
17129 if ac_fn_c_try_link "$LINENO"; then :
17130 ac_cv_cflags__fno_strict_aliasing=yes
17131 else
17132 ac_cv_cflags__fno_strict_aliasing=no
17134 rm -f core conftest.err conftest.$ac_objext \
17135 conftest$ac_exeext conftest.$ac_ext
17136 CFLAGS=$ac_wine_try_cflags_saved
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17139 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17140 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17141 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17144 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17145 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 ac_wine_try_cflags_saved=$CFLAGS
17149 CFLAGS="$CFLAGS -fexcess-precision=standard"
17150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17151 /* end confdefs.h. */
17152 int main(int argc, char **argv) { return 0; }
17153 _ACEOF
17154 if ac_fn_c_try_link "$LINENO"; then :
17155 ac_cv_cflags__fexcess_precision_standard=yes
17156 else
17157 ac_cv_cflags__fexcess_precision_standard=no
17159 rm -f core conftest.err conftest.$ac_objext \
17160 conftest$ac_exeext conftest.$ac_ext
17161 CFLAGS=$ac_wine_try_cflags_saved
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17164 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17165 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17166 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17170 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17171 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 ac_wine_try_cflags_saved=$CFLAGS
17175 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 int main(int argc, char **argv) { return 0; }
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"; then :
17181 ac_cv_cflags__Wdeclaration_after_statement=yes
17182 else
17183 ac_cv_cflags__Wdeclaration_after_statement=no
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 CFLAGS=$ac_wine_try_cflags_saved
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17190 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17191 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17192 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17195 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17196 if ${ac_cv_cflags__Wempty_body+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 ac_wine_try_cflags_saved=$CFLAGS
17200 CFLAGS="$CFLAGS -Wempty-body"
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 int main(int argc, char **argv) { return 0; }
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"; then :
17206 ac_cv_cflags__Wempty_body=yes
17207 else
17208 ac_cv_cflags__Wempty_body=no
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17212 CFLAGS=$ac_wine_try_cflags_saved
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17215 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17216 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17217 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17220 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17221 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 ac_wine_try_cflags_saved=$CFLAGS
17225 CFLAGS="$CFLAGS -Wignored-qualifiers"
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 int main(int argc, char **argv) { return 0; }
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"; then :
17231 ac_cv_cflags__Wignored_qualifiers=yes
17232 else
17233 ac_cv_cflags__Wignored_qualifiers=no
17235 rm -f core conftest.err conftest.$ac_objext \
17236 conftest$ac_exeext conftest.$ac_ext
17237 CFLAGS=$ac_wine_try_cflags_saved
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17240 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17241 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17242 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17245 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17246 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 ac_wine_try_cflags_saved=$CFLAGS
17250 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 int main(int argc, char **argv) { return 0; }
17254 _ACEOF
17255 if ac_fn_c_try_link "$LINENO"; then :
17256 ac_cv_cflags__Wpacked_not_aligned=yes
17257 else
17258 ac_cv_cflags__Wpacked_not_aligned=no
17260 rm -f core conftest.err conftest.$ac_objext \
17261 conftest$ac_exeext conftest.$ac_ext
17262 CFLAGS=$ac_wine_try_cflags_saved
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17265 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17266 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17267 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17270 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17271 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 ac_wine_try_cflags_saved=$CFLAGS
17275 CFLAGS="$CFLAGS -Wpragma-pack"
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 int main(int argc, char **argv) { return 0; }
17279 _ACEOF
17280 if ac_fn_c_try_link "$LINENO"; then :
17281 ac_cv_cflags__Wpragma_pack=yes
17282 else
17283 ac_cv_cflags__Wpragma_pack=no
17285 rm -f core conftest.err conftest.$ac_objext \
17286 conftest$ac_exeext conftest.$ac_ext
17287 CFLAGS=$ac_wine_try_cflags_saved
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17290 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17291 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17292 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17295 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17296 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17297 $as_echo_n "(cached) " >&6
17298 else
17299 ac_wine_try_cflags_saved=$CFLAGS
17300 CFLAGS="$CFLAGS -Wshift-overflow=2"
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 int main(int argc, char **argv) { return 0; }
17304 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"; then :
17306 ac_cv_cflags__Wshift_overflow_2=yes
17307 else
17308 ac_cv_cflags__Wshift_overflow_2=no
17310 rm -f core conftest.err conftest.$ac_objext \
17311 conftest$ac_exeext conftest.$ac_ext
17312 CFLAGS=$ac_wine_try_cflags_saved
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17315 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17316 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17317 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17320 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17321 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17324 ac_wine_try_cflags_saved=$CFLAGS
17325 CFLAGS="$CFLAGS -Wstrict-prototypes"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 int main(int argc, char **argv) { return 0; }
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 ac_cv_cflags__Wstrict_prototypes=yes
17332 else
17333 ac_cv_cflags__Wstrict_prototypes=no
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17337 CFLAGS=$ac_wine_try_cflags_saved
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17340 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17341 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17342 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17345 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17346 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 ac_wine_try_cflags_saved=$CFLAGS
17350 CFLAGS="$CFLAGS -Wtype-limits"
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 int main(int argc, char **argv) { return 0; }
17354 _ACEOF
17355 if ac_fn_c_try_link "$LINENO"; then :
17356 ac_cv_cflags__Wtype_limits=yes
17357 else
17358 ac_cv_cflags__Wtype_limits=no
17360 rm -f core conftest.err conftest.$ac_objext \
17361 conftest$ac_exeext conftest.$ac_ext
17362 CFLAGS=$ac_wine_try_cflags_saved
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17365 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17366 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17367 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17370 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17371 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 ac_wine_try_cflags_saved=$CFLAGS
17375 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 int main(int argc, char **argv) { return 0; }
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_cflags__Wunused_but_set_parameter=yes
17382 else
17383 ac_cv_cflags__Wunused_but_set_parameter=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17387 CFLAGS=$ac_wine_try_cflags_saved
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17390 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17391 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17392 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17395 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17396 if ${ac_cv_cflags__Wvla+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 ac_wine_try_cflags_saved=$CFLAGS
17400 CFLAGS="$CFLAGS -Wvla"
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 int main(int argc, char **argv) { return 0; }
17404 _ACEOF
17405 if ac_fn_c_try_link "$LINENO"; then :
17406 ac_cv_cflags__Wvla=yes
17407 else
17408 ac_cv_cflags__Wvla=no
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 CFLAGS=$ac_wine_try_cflags_saved
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17415 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17416 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17417 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17420 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17421 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 ac_wine_try_cflags_saved=$CFLAGS
17425 CFLAGS="$CFLAGS -Wwrite-strings"
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 int main(int argc, char **argv) { return 0; }
17429 _ACEOF
17430 if ac_fn_c_try_link "$LINENO"; then :
17431 ac_cv_cflags__Wwrite_strings=yes
17432 else
17433 ac_cv_cflags__Wwrite_strings=no
17435 rm -f core conftest.err conftest.$ac_objext \
17436 conftest$ac_exeext conftest.$ac_ext
17437 CFLAGS=$ac_wine_try_cflags_saved
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17440 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17441 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17442 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17446 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17447 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 ac_wine_try_cflags_saved=$CFLAGS
17451 CFLAGS="$CFLAGS -Wpointer-arith"
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 int main(int argc, char **argv) { return 0; }
17455 _ACEOF
17456 if ac_fn_c_try_link "$LINENO"; then :
17457 ac_cv_cflags__Wpointer_arith=yes
17458 else
17459 ac_cv_cflags__Wpointer_arith=no
17461 rm -f core conftest.err conftest.$ac_objext \
17462 conftest$ac_exeext conftest.$ac_ext
17463 CFLAGS=$ac_wine_try_cflags_saved
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17466 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17467 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17468 saved_string_h_CFLAGS=$CFLAGS
17469 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17471 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17472 if ${ac_cv_c_string_h_warnings+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17477 #include <string.h>
17479 main ()
17483 return 0;
17485 _ACEOF
17486 if ac_fn_c_try_compile "$LINENO"; then :
17487 ac_cv_c_string_h_warnings=no
17488 else
17489 ac_cv_c_string_h_warnings=yes
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17494 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17495 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17496 CFLAGS=$saved_string_h_CFLAGS
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17500 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17501 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 ac_wine_try_cflags_saved=$CFLAGS
17505 CFLAGS="$CFLAGS -Wlogical-op"
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 int main(int argc, char **argv) { return 0; }
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"; then :
17511 ac_cv_cflags__Wlogical_op=yes
17512 else
17513 ac_cv_cflags__Wlogical_op=no
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17517 CFLAGS=$ac_wine_try_cflags_saved
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17520 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17521 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17522 saved_string_h_CFLAGS=$CFLAGS
17523 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17525 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17526 if ${ac_cv_c_logicalop_noisy+:} false; then :
17527 $as_echo_n "(cached) " >&6
17528 else
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <string.h>
17532 char*f(const char *h,char n) {return strchr(h,n);}
17534 main ()
17538 return 0;
17540 _ACEOF
17541 if ac_fn_c_try_compile "$LINENO"; then :
17542 ac_cv_c_logicalop_noisy=no
17543 else
17544 ac_cv_c_logicalop_noisy=yes
17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17549 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17550 CFLAGS=$saved_string_h_CFLAGS
17551 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17554 for ac_flag in $CFLAGS; do
17555 case $ac_flag in
17556 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17557 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17558 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561 ac_wine_try_cflags_saved=$CFLAGS
17562 CFLAGS="$CFLAGS -gdwarf-2"
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565 int main(int argc, char **argv) { return 0; }
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568 ac_cv_cflags__gdwarf_2=yes
17569 else
17570 ac_cv_cflags__gdwarf_2=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17574 CFLAGS=$ac_wine_try_cflags_saved
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17577 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17578 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17579 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17582 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17583 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 ac_wine_try_cflags_saved=$CFLAGS
17587 CFLAGS="$CFLAGS -gstrict-dwarf"
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 int main(int argc, char **argv) { return 0; }
17591 _ACEOF
17592 if ac_fn_c_try_link "$LINENO"; then :
17593 ac_cv_cflags__gstrict_dwarf=yes
17594 else
17595 ac_cv_cflags__gstrict_dwarf=no
17597 rm -f core conftest.err conftest.$ac_objext \
17598 conftest$ac_exeext conftest.$ac_ext
17599 CFLAGS=$ac_wine_try_cflags_saved
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17602 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17603 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17604 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17605 fi ;;
17606 esac
17607 done
17609 MSVCRTFLAGS=""
17611 case $host_os in
17612 mingw32*) ;;
17613 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17614 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17615 if ${ac_cv_cflags__fno_builtin+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 ac_wine_try_cflags_saved=$CFLAGS
17619 CFLAGS="$CFLAGS -fno-builtin"
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 int main(int argc, char **argv) { return 0; }
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"; then :
17625 ac_cv_cflags__fno_builtin=yes
17626 else
17627 ac_cv_cflags__fno_builtin=no
17629 rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631 CFLAGS=$ac_wine_try_cflags_saved
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17634 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17635 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17636 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17639 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17640 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 ac_wine_try_cflags_saved=$CFLAGS
17644 CFLAGS="$CFLAGS -fshort-wchar"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 int main(int argc, char **argv) { return 0; }
17648 _ACEOF
17649 if ac_fn_c_try_link "$LINENO"; then :
17650 ac_cv_cflags__fshort_wchar=yes
17651 else
17652 ac_cv_cflags__fshort_wchar=no
17654 rm -f core conftest.err conftest.$ac_objext \
17655 conftest$ac_exeext conftest.$ac_ext
17656 CFLAGS=$ac_wine_try_cflags_saved
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17659 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17660 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17661 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17662 fi ;;
17663 esac
17665 case $host_cpu in
17666 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17667 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17668 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671 ac_wine_try_cflags_saved=$CFLAGS
17672 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 int main(int argc, char **argv) { return 0; }
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"; then :
17678 ac_cv_cflags__fno_omit_frame_pointer=yes
17679 else
17680 ac_cv_cflags__fno_omit_frame_pointer=no
17682 rm -f core conftest.err conftest.$ac_objext \
17683 conftest$ac_exeext conftest.$ac_ext
17684 CFLAGS=$ac_wine_try_cflags_saved
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17687 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17688 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17689 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17690 fi ;;
17691 *x86_64*)
17692 case $host_os in
17693 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17694 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17695 if ${ac_cv_cflags__Wno_format+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 ac_wine_try_cflags_saved=$CFLAGS
17699 CFLAGS="$CFLAGS -Wno-format"
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 int main(int argc, char **argv) { return 0; }
17703 _ACEOF
17704 if ac_fn_c_try_link "$LINENO"; then :
17705 ac_cv_cflags__Wno_format=yes
17706 else
17707 ac_cv_cflags__Wno_format=no
17709 rm -f core conftest.err conftest.$ac_objext \
17710 conftest$ac_exeext conftest.$ac_ext
17711 CFLAGS=$ac_wine_try_cflags_saved
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17714 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17715 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17716 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17717 fi ;;
17718 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17719 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17720 if ${ac_cv_cflags__mabi_ms+:} false; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17723 ac_wine_try_cflags_saved=$CFLAGS
17724 CFLAGS="$CFLAGS -mabi=ms"
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 int main(int argc, char **argv) { return 0; }
17728 _ACEOF
17729 if ac_fn_c_try_link "$LINENO"; then :
17730 ac_cv_cflags__mabi_ms=yes
17731 else
17732 ac_cv_cflags__mabi_ms=no
17734 rm -f core conftest.err conftest.$ac_objext \
17735 conftest$ac_exeext conftest.$ac_ext
17736 CFLAGS=$ac_wine_try_cflags_saved
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17739 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17740 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17741 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17742 fi ;;
17743 esac ;;
17744 esac
17746 CFLAGS=$saved_CFLAGS
17748 if test "x$enable_werror" = "xyes"
17749 then
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17751 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17752 if ${ac_cv_cflags__Werror+:} false; then :
17753 $as_echo_n "(cached) " >&6
17754 else
17755 ac_wine_try_cflags_saved=$CFLAGS
17756 CFLAGS="$CFLAGS -Werror"
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 int main(int argc, char **argv) { return 0; }
17760 _ACEOF
17761 if ac_fn_c_try_link "$LINENO"; then :
17762 ac_cv_cflags__Werror=yes
17763 else
17764 ac_cv_cflags__Werror=no
17766 rm -f core conftest.err conftest.$ac_objext \
17767 conftest$ac_exeext conftest.$ac_ext
17768 CFLAGS=$ac_wine_try_cflags_saved
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17771 $as_echo "$ac_cv_cflags__Werror" >&6; }
17772 if test "x$ac_cv_cflags__Werror" = xyes; then :
17773 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17780 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17781 if ${ac_cv_c_fortify_enabled+:} false; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <string.h>
17788 main ()
17790 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17791 #error Fortify enabled
17792 #endif
17794 return 0;
17796 _ACEOF
17797 if ac_fn_c_try_compile "$LINENO"; then :
17798 ac_cv_c_fortify_enabled=no
17799 else
17800 ac_cv_c_fortify_enabled=yes
17802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17805 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17806 if test "$ac_cv_c_fortify_enabled" = yes
17807 then
17808 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17813 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17814 if ${ac_cv_c_cfi_support+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17818 /* end confdefs.h. */
17819 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17821 main ()
17825 return 0;
17827 _ACEOF
17828 if ac_fn_c_try_compile "$LINENO"; then :
17829 ac_cv_c_cfi_support="yes"
17830 else
17831 ac_cv_c_cfi_support="no"
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17836 $as_echo "$ac_cv_c_cfi_support" >&6; }
17837 if test "$ac_cv_c_cfi_support" = "yes"
17838 then
17839 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17840 else
17841 if test "x$enable_win64" = "xyes"
17842 then
17843 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17848 case $build_os in
17849 cygwin*|mingw32*) TOOLSEXT=".exe"
17851 esac
17853 case $host_os in
17854 linux*)
17855 case $host_cpu in
17856 *i[3456789]86*|x86_64*|*aarch64*)
17857 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17858 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17860 esac
17862 esac
17865 ac_save_CFLAGS="$CFLAGS"
17866 CFLAGS="$CFLAGS $BUILTINFLAG"
17867 for ac_func in \
17868 __res_get_state \
17869 __res_getservers \
17870 _spawnvp \
17871 epoll_create \
17872 ffs \
17873 finitef \
17874 fnmatch \
17875 fork \
17876 fpclass \
17877 fstatfs \
17878 fstatvfs \
17879 futimens \
17880 futimes \
17881 futimesat \
17882 getattrlist \
17883 getauxval \
17884 getifaddrs \
17885 getopt_long_only \
17886 kqueue \
17887 lstat \
17888 mach_continuous_time \
17889 pipe2 \
17890 poll \
17891 port_create \
17892 prctl \
17893 pread \
17894 proc_pidinfo \
17895 pwrite \
17896 readdir \
17897 readlink \
17898 sched_yield \
17899 select \
17900 setproctitle \
17901 setprogname \
17902 settimeofday \
17903 sigprocmask \
17904 statfs \
17905 statvfs \
17906 strnlen \
17907 strtold \
17908 symlink \
17909 sysinfo \
17910 tcdrain \
17911 thr_kill2 \
17912 timegm \
17913 usleep
17915 do :
17916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17919 cat >>confdefs.h <<_ACEOF
17920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17921 _ACEOF
17924 done
17926 CFLAGS="$ac_save_CFLAGS"
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17929 $as_echo_n "checking for library containing dlopen... " >&6; }
17930 if ${ac_cv_search_dlopen+:} false; then :
17931 $as_echo_n "(cached) " >&6
17932 else
17933 ac_func_search_save_LIBS=$LIBS
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17937 /* Override any GCC internal prototype to avoid an error.
17938 Use char because int might match the return type of a GCC
17939 builtin and then its argument prototype would still apply. */
17940 #ifdef __cplusplus
17941 extern "C"
17942 #endif
17943 char dlopen ();
17945 main ()
17947 return dlopen ();
17949 return 0;
17951 _ACEOF
17952 for ac_lib in '' dl; do
17953 if test -z "$ac_lib"; then
17954 ac_res="none required"
17955 else
17956 ac_res=-l$ac_lib
17957 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17959 if ac_fn_c_try_link "$LINENO"; then :
17960 ac_cv_search_dlopen=$ac_res
17962 rm -f core conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext
17964 if ${ac_cv_search_dlopen+:} false; then :
17965 break
17967 done
17968 if ${ac_cv_search_dlopen+:} false; then :
17970 else
17971 ac_cv_search_dlopen=no
17973 rm conftest.$ac_ext
17974 LIBS=$ac_func_search_save_LIBS
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17977 $as_echo "$ac_cv_search_dlopen" >&6; }
17978 ac_res=$ac_cv_search_dlopen
17979 if test "$ac_res" != no; then :
17980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17984 ac_wine_check_funcs_save_LIBS="$LIBS"
17985 LIBS="$LIBS $DL_LIBS"
17986 for ac_func in dladdr dlinfo
17987 do :
17988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17991 cat >>confdefs.h <<_ACEOF
17992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17993 _ACEOF
17996 done
17998 LIBS="$ac_wine_check_funcs_save_LIBS"
18000 if test "$ac_cv_func_poll" = no
18001 then
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18003 $as_echo_n "checking for poll in -lpoll... " >&6; }
18004 if ${ac_cv_lib_poll_poll+:} false; then :
18005 $as_echo_n "(cached) " >&6
18006 else
18007 ac_check_lib_save_LIBS=$LIBS
18008 LIBS="-lpoll $LIBS"
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18012 /* Override any GCC internal prototype to avoid an error.
18013 Use char because int might match the return type of a GCC
18014 builtin and then its argument prototype would still apply. */
18015 #ifdef __cplusplus
18016 extern "C"
18017 #endif
18018 char poll ();
18020 main ()
18022 return poll ();
18024 return 0;
18026 _ACEOF
18027 if ac_fn_c_try_link "$LINENO"; then :
18028 ac_cv_lib_poll_poll=yes
18029 else
18030 ac_cv_lib_poll_poll=no
18032 rm -f core conftest.err conftest.$ac_objext \
18033 conftest$ac_exeext conftest.$ac_ext
18034 LIBS=$ac_check_lib_save_LIBS
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18037 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18038 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18039 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18040 POLL_LIBS="-lpoll"
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18047 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18048 if ${ac_cv_search_gethostbyname+:} false; then :
18049 $as_echo_n "(cached) " >&6
18050 else
18051 ac_func_search_save_LIBS=$LIBS
18052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18055 /* Override any GCC internal prototype to avoid an error.
18056 Use char because int might match the return type of a GCC
18057 builtin and then its argument prototype would still apply. */
18058 #ifdef __cplusplus
18059 extern "C"
18060 #endif
18061 char gethostbyname ();
18063 main ()
18065 return gethostbyname ();
18067 return 0;
18069 _ACEOF
18070 for ac_lib in '' nsl; do
18071 if test -z "$ac_lib"; then
18072 ac_res="none required"
18073 else
18074 ac_res=-l$ac_lib
18075 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18077 if ac_fn_c_try_link "$LINENO"; then :
18078 ac_cv_search_gethostbyname=$ac_res
18080 rm -f core conftest.err conftest.$ac_objext \
18081 conftest$ac_exeext
18082 if ${ac_cv_search_gethostbyname+:} false; then :
18083 break
18085 done
18086 if ${ac_cv_search_gethostbyname+:} false; then :
18088 else
18089 ac_cv_search_gethostbyname=no
18091 rm conftest.$ac_ext
18092 LIBS=$ac_func_search_save_LIBS
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18095 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18096 ac_res=$ac_cv_search_gethostbyname
18097 if test "$ac_res" != no; then :
18098 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18104 $as_echo_n "checking for library containing connect... " >&6; }
18105 if ${ac_cv_search_connect+:} false; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18108 ac_func_search_save_LIBS=$LIBS
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18115 #ifdef __cplusplus
18116 extern "C"
18117 #endif
18118 char connect ();
18120 main ()
18122 return connect ();
18124 return 0;
18126 _ACEOF
18127 for ac_lib in '' socket; do
18128 if test -z "$ac_lib"; then
18129 ac_res="none required"
18130 else
18131 ac_res=-l$ac_lib
18132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18134 if ac_fn_c_try_link "$LINENO"; then :
18135 ac_cv_search_connect=$ac_res
18137 rm -f core conftest.err conftest.$ac_objext \
18138 conftest$ac_exeext
18139 if ${ac_cv_search_connect+:} false; then :
18140 break
18142 done
18143 if ${ac_cv_search_connect+:} false; then :
18145 else
18146 ac_cv_search_connect=no
18148 rm conftest.$ac_ext
18149 LIBS=$ac_func_search_save_LIBS
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18152 $as_echo "$ac_cv_search_connect" >&6; }
18153 ac_res=$ac_cv_search_connect
18154 if test "$ac_res" != no; then :
18155 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18161 $as_echo_n "checking for library containing inet_aton... " >&6; }
18162 if ${ac_cv_search_inet_aton+:} false; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 ac_func_search_save_LIBS=$LIBS
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18169 /* Override any GCC internal prototype to avoid an error.
18170 Use char because int might match the return type of a GCC
18171 builtin and then its argument prototype would still apply. */
18172 #ifdef __cplusplus
18173 extern "C"
18174 #endif
18175 char inet_aton ();
18177 main ()
18179 return inet_aton ();
18181 return 0;
18183 _ACEOF
18184 for ac_lib in '' resolv; do
18185 if test -z "$ac_lib"; then
18186 ac_res="none required"
18187 else
18188 ac_res=-l$ac_lib
18189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18191 if ac_fn_c_try_link "$LINENO"; then :
18192 ac_cv_search_inet_aton=$ac_res
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext
18196 if ${ac_cv_search_inet_aton+:} false; then :
18197 break
18199 done
18200 if ${ac_cv_search_inet_aton+:} false; then :
18202 else
18203 ac_cv_search_inet_aton=no
18205 rm conftest.$ac_ext
18206 LIBS=$ac_func_search_save_LIBS
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18209 $as_echo "$ac_cv_search_inet_aton" >&6; }
18210 ac_res=$ac_cv_search_inet_aton
18211 if test "$ac_res" != no; then :
18212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18217 for ac_func in \
18218 getaddrinfo \
18219 getnameinfo \
18220 getnetbyname \
18221 getprotobyname \
18222 getprotobynumber \
18223 getservbyport \
18224 inet_addr \
18225 inet_network \
18226 inet_ntop \
18227 inet_pton \
18229 do :
18230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18233 cat >>confdefs.h <<_ACEOF
18234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18235 _ACEOF
18238 done
18241 case $host_os in
18242 darwin*|macosx*) ;;
18243 *) ac_save_LIBS=$LIBS
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18245 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18246 if ${ac_cv_search_clock_gettime+:} false; then :
18247 $as_echo_n "(cached) " >&6
18248 else
18249 ac_func_search_save_LIBS=$LIBS
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18253 /* Override any GCC internal prototype to avoid an error.
18254 Use char because int might match the return type of a GCC
18255 builtin and then its argument prototype would still apply. */
18256 #ifdef __cplusplus
18257 extern "C"
18258 #endif
18259 char clock_gettime ();
18261 main ()
18263 return clock_gettime ();
18265 return 0;
18267 _ACEOF
18268 for ac_lib in '' rt; do
18269 if test -z "$ac_lib"; then
18270 ac_res="none required"
18271 else
18272 ac_res=-l$ac_lib
18273 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18275 if ac_fn_c_try_link "$LINENO"; then :
18276 ac_cv_search_clock_gettime=$ac_res
18278 rm -f core conftest.err conftest.$ac_objext \
18279 conftest$ac_exeext
18280 if ${ac_cv_search_clock_gettime+:} false; then :
18281 break
18283 done
18284 if ${ac_cv_search_clock_gettime+:} false; then :
18286 else
18287 ac_cv_search_clock_gettime=no
18289 rm conftest.$ac_ext
18290 LIBS=$ac_func_search_save_LIBS
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18293 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18294 ac_res=$ac_cv_search_clock_gettime
18295 if test "$ac_res" != no; then :
18296 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18298 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18300 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18304 LIBS=$ac_save_LIBS
18306 esac
18308 if test "x$with_ldap" != "xno"
18309 then
18310 if ${LDAP_CFLAGS:+false} :; then :
18311 if ${PKG_CONFIG+:} false; then :
18312 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18316 if ${LDAP_LIBS:+false} :; then :
18317 if ${PKG_CONFIG+:} false; then :
18318 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18322 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18323 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18324 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18325 ac_save_CPPFLAGS=$CPPFLAGS
18326 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18327 for ac_header in ldap.h lber.h
18328 do :
18329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18330 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18332 cat >>confdefs.h <<_ACEOF
18333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18334 _ACEOF
18338 done
18340 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18341 then
18342 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18344 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18346 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18347 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18348 $as_echo_n "(cached) " >&6
18349 else
18350 ac_check_lib_save_LIBS=$LIBS
18351 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18355 /* Override any GCC internal prototype to avoid an error.
18356 Use char because int might match the return type of a GCC
18357 builtin and then its argument prototype would still apply. */
18358 #ifdef __cplusplus
18359 extern "C"
18360 #endif
18361 char ldap_initialize ();
18363 main ()
18365 return ldap_initialize ();
18367 return 0;
18369 _ACEOF
18370 if ac_fn_c_try_link "$LINENO"; then :
18371 ac_cv_lib_ldap_r_ldap_initialize=yes
18372 else
18373 ac_cv_lib_ldap_r_ldap_initialize=no
18375 rm -f core conftest.err conftest.$ac_objext \
18376 conftest$ac_exeext conftest.$ac_ext
18377 LIBS=$ac_check_lib_save_LIBS
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18380 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18381 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18383 $as_echo_n "checking for ber_init in -llber... " >&6; }
18384 if ${ac_cv_lib_lber_ber_init+:} false; then :
18385 $as_echo_n "(cached) " >&6
18386 else
18387 ac_check_lib_save_LIBS=$LIBS
18388 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18392 /* Override any GCC internal prototype to avoid an error.
18393 Use char because int might match the return type of a GCC
18394 builtin and then its argument prototype would still apply. */
18395 #ifdef __cplusplus
18396 extern "C"
18397 #endif
18398 char ber_init ();
18400 main ()
18402 return ber_init ();
18404 return 0;
18406 _ACEOF
18407 if ac_fn_c_try_link "$LINENO"; then :
18408 ac_cv_lib_lber_ber_init=yes
18409 else
18410 ac_cv_lib_lber_ber_init=no
18412 rm -f core conftest.err conftest.$ac_objext \
18413 conftest$ac_exeext conftest.$ac_ext
18414 LIBS=$ac_check_lib_save_LIBS
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18417 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18418 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18420 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18422 else
18423 LDAP_LIBS=""
18426 else
18427 LDAP_LIBS=""
18430 else
18431 LDAP_LIBS=""
18434 ac_wine_check_funcs_save_LIBS="$LIBS"
18435 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18436 for ac_func in \
18437 ldap_count_references \
18438 ldap_first_reference \
18439 ldap_next_reference \
18440 ldap_parse_reference \
18441 ldap_parse_sort_control \
18442 ldap_parse_sortresponse_control \
18443 ldap_parse_vlv_control \
18444 ldap_parse_vlvresponse_control
18445 do :
18446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18448 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18449 cat >>confdefs.h <<_ACEOF
18450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18451 _ACEOF
18454 done
18456 LIBS="$ac_wine_check_funcs_save_LIBS"
18457 else
18458 LDAP_LIBS=""
18460 CPPFLAGS=$ac_save_CPPFLAGS
18461 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18462 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18465 if test "x$LDAP_LIBS" = "x"; then :
18466 case "x$with_ldap" in
18467 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18468 xno) ;;
18469 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18470 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18471 esac
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18476 $as_echo_n "checking for sched_setaffinity... " >&6; }
18477 if ${wine_cv_have_sched_setaffinity+:} false; then :
18478 $as_echo_n "(cached) " >&6
18479 else
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18482 #define _GNU_SOURCE
18483 #include <sched.h>
18485 main ()
18487 sched_setaffinity(0, 0, 0);
18489 return 0;
18491 _ACEOF
18492 if ac_fn_c_try_link "$LINENO"; then :
18493 wine_cv_have_sched_setaffinity=yes
18494 else
18495 wine_cv_have_sched_setaffinity=no
18497 rm -f core conftest.err conftest.$ac_objext \
18498 conftest$ac_exeext conftest.$ac_ext
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18501 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18502 if test "$wine_cv_have_sched_setaffinity" = "yes"
18503 then
18505 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18510 $as_echo_n "checking for fallocate... " >&6; }
18511 if ${wine_cv_have_fallocate+:} false; then :
18512 $as_echo_n "(cached) " >&6
18513 else
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 #define _GNU_SOURCE
18517 #include <fcntl.h>
18519 main ()
18521 fallocate(-1, 0, 0, 0);
18523 return 0;
18525 _ACEOF
18526 if ac_fn_c_try_link "$LINENO"; then :
18527 wine_cv_have_fallocate=yes
18528 else
18529 wine_cv_have_fallocate=no
18531 rm -f core conftest.err conftest.$ac_objext \
18532 conftest$ac_exeext conftest.$ac_ext
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18535 $as_echo "$wine_cv_have_fallocate" >&6; }
18536 if test "$wine_cv_have_fallocate" = "yes"
18537 then
18539 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18545 $as_echo_n "checking for inline... " >&6; }
18546 if ${ac_cv_c_inline+:} false; then :
18547 $as_echo_n "(cached) " >&6
18548 else
18549 ac_cv_c_inline=no
18550 for ac_kw in inline __inline__ __inline; do
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18553 #ifndef __cplusplus
18554 typedef int foo_t;
18555 static $ac_kw foo_t static_foo () {return 0; }
18556 $ac_kw foo_t foo () {return 0; }
18557 #endif
18559 _ACEOF
18560 if ac_fn_c_try_compile "$LINENO"; then :
18561 ac_cv_c_inline=$ac_kw
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 test "$ac_cv_c_inline" != no && break
18565 done
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18569 $as_echo "$ac_cv_c_inline" >&6; }
18571 case $ac_cv_c_inline in
18572 inline | yes) ;;
18574 case $ac_cv_c_inline in
18575 no) ac_val=;;
18576 *) ac_val=$ac_cv_c_inline;;
18577 esac
18578 cat >>confdefs.h <<_ACEOF
18579 #ifndef __cplusplus
18580 #define inline $ac_val
18581 #endif
18582 _ACEOF
18584 esac
18586 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18587 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_FSBLKCNT_T 1
18591 _ACEOF
18595 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18596 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18598 cat >>confdefs.h <<_ACEOF
18599 #define HAVE_FSFILCNT_T 1
18600 _ACEOF
18605 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18606 #include <signal.h>
18608 if test "x$ac_cv_type_sigset_t" = xyes; then :
18610 cat >>confdefs.h <<_ACEOF
18611 #define HAVE_SIGSET_T 1
18612 _ACEOF
18617 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18619 if test "x$ac_cv_type_request_sense" = xyes; then :
18621 cat >>confdefs.h <<_ACEOF
18622 #define HAVE_REQUEST_SENSE 1
18623 _ACEOF
18629 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18630 #ifdef HAVE_SYS_SOCKET_H
18631 #include <sys/socket.h>
18632 #endif
18633 #ifdef HAVE_SYS_SOCKETVAR_H
18634 #include <sys/socketvar.h>
18635 #endif
18636 #ifdef HAVE_NET_ROUTE_H
18637 #include <net/route.h>
18638 #endif
18639 #ifdef HAVE_NETINET_IN_H
18640 #include <netinet/in.h>
18641 #endif
18642 #ifdef HAVE_NETINET_IN_SYSTM_H
18643 #include <netinet/in_systm.h>
18644 #endif
18645 #ifdef HAVE_NETINET_IP_H
18646 #include <netinet/ip.h>
18647 #endif
18648 #ifdef HAVE_NETINET_IN_PCB_H
18649 #include <netinet/in_pcb.h>
18650 #endif
18652 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18654 cat >>confdefs.h <<_ACEOF
18655 #define HAVE_STRUCT_XINPGEN 1
18656 _ACEOF
18662 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18663 #include <linux/input.h>
18664 #endif
18666 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18670 _ACEOF
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18677 $as_echo_n "checking for if_nameindex... " >&6; }
18678 if ${wine_cv_have_if_nameindex+:} false; then :
18679 $as_echo_n "(cached) " >&6
18680 else
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #ifdef HAVE_SYS_TYPES_H
18684 #include <sys/types.h>
18685 #endif
18686 #ifdef HAVE_SYS_SOCKET_H
18687 #include <sys/socket.h>
18688 #endif
18689 #ifdef HAVE_NET_IF_H
18690 # include <net/if.h>
18691 #endif
18693 main ()
18695 struct if_nameindex *p = if_nameindex(); return p->if_index;
18697 return 0;
18699 _ACEOF
18700 if ac_fn_c_try_link "$LINENO"; then :
18701 wine_cv_have_if_nameindex=yes
18702 else
18703 wine_cv_have_if_nameindex=no
18705 rm -f core conftest.err conftest.$ac_objext \
18706 conftest$ac_exeext conftest.$ac_ext
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18709 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18710 if test "$wine_cv_have_if_nameindex" = "yes"
18711 then
18713 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18718 $as_echo_n "checking for sigaddset... " >&6; }
18719 if ${wine_cv_have_sigaddset+:} false; then :
18720 $as_echo_n "(cached) " >&6
18721 else
18722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 #include <signal.h>
18726 main ()
18728 sigset_t set; sigaddset(&set,SIGTERM);
18730 return 0;
18732 _ACEOF
18733 if ac_fn_c_try_link "$LINENO"; then :
18734 wine_cv_have_sigaddset=yes
18735 else
18736 wine_cv_have_sigaddset=no
18738 rm -f core conftest.err conftest.$ac_objext \
18739 conftest$ac_exeext conftest.$ac_ext
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18742 $as_echo "$wine_cv_have_sigaddset" >&6; }
18743 if test "$wine_cv_have_sigaddset" = "yes"
18744 then
18746 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18752 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18753 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18754 $as_echo_n "(cached) " >&6
18755 else
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 #include <netdb.h>
18760 main ()
18763 char *name=0;
18764 struct hostent he;
18765 struct hostent *result;
18766 char *buf=0;
18767 int bufsize=0;
18768 int errnr;
18769 char *addr=0;
18770 int addrlen=0;
18771 int addrtype=0;
18772 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18773 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18776 return 0;
18778 _ACEOF
18779 if ac_fn_c_try_link "$LINENO"; then :
18780 wine_cv_linux_gethostbyname_r_6=yes
18781 else
18782 wine_cv_linux_gethostbyname_r_6=no
18785 rm -f core conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18790 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18791 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18792 then
18794 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18798 if test "$ac_cv_header_linux_joystick_h" = "yes"
18799 then
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18801 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18802 if ${wine_cv_linux_joystick_22_api+:} false; then :
18803 $as_echo_n "(cached) " >&6
18804 else
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18808 #include <sys/ioctl.h>
18809 #include <sys/types.h>
18810 #include <linux/joystick.h>
18812 struct js_event blub;
18813 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18814 #error "no 2.2 header"
18815 #endif
18818 main ()
18820 /*empty*/
18822 return 0;
18824 _ACEOF
18825 if ac_fn_c_try_compile "$LINENO"; then :
18826 wine_cv_linux_joystick_22_api=yes
18827 else
18828 wine_cv_linux_joystick_22_api=no
18830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18834 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18835 if test "$wine_cv_linux_joystick_22_api" = "yes"
18836 then
18838 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18844 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18845 #ifdef HAVE_SYS_PARAM_H
18846 # include <sys/param.h>
18847 #endif
18848 #ifdef HAVE_SYS_MOUNT_H
18849 # include <sys/mount.h>
18850 #endif
18851 #ifdef HAVE_SYS_VFS_H
18852 # include <sys/vfs.h>
18853 #endif
18854 #ifdef HAVE_SYS_STATFS_H
18855 # include <sys/statfs.h>
18856 #endif
18858 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18860 cat >>confdefs.h <<_ACEOF
18861 #define HAVE_STRUCT_STATFS_F_BFREE 1
18862 _ACEOF
18866 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18867 #ifdef HAVE_SYS_PARAM_H
18868 # include <sys/param.h>
18869 #endif
18870 #ifdef HAVE_SYS_MOUNT_H
18871 # include <sys/mount.h>
18872 #endif
18873 #ifdef HAVE_SYS_VFS_H
18874 # include <sys/vfs.h>
18875 #endif
18876 #ifdef HAVE_SYS_STATFS_H
18877 # include <sys/statfs.h>
18878 #endif
18880 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18884 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18889 #ifdef HAVE_SYS_PARAM_H
18890 # include <sys/param.h>
18891 #endif
18892 #ifdef HAVE_SYS_MOUNT_H
18893 # include <sys/mount.h>
18894 #endif
18895 #ifdef HAVE_SYS_VFS_H
18896 # include <sys/vfs.h>
18897 #endif
18898 #ifdef HAVE_SYS_STATFS_H
18899 # include <sys/statfs.h>
18900 #endif
18902 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18904 cat >>confdefs.h <<_ACEOF
18905 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18906 _ACEOF
18910 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18911 #ifdef HAVE_SYS_PARAM_H
18912 # include <sys/param.h>
18913 #endif
18914 #ifdef HAVE_SYS_MOUNT_H
18915 # include <sys/mount.h>
18916 #endif
18917 #ifdef HAVE_SYS_VFS_H
18918 # include <sys/vfs.h>
18919 #endif
18920 #ifdef HAVE_SYS_STATFS_H
18921 # include <sys/statfs.h>
18922 #endif
18924 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_STRUCT_STATFS_F_FFREE 1
18928 _ACEOF
18932 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18933 #ifdef HAVE_SYS_PARAM_H
18934 # include <sys/param.h>
18935 #endif
18936 #ifdef HAVE_SYS_MOUNT_H
18937 # include <sys/mount.h>
18938 #endif
18939 #ifdef HAVE_SYS_VFS_H
18940 # include <sys/vfs.h>
18941 #endif
18942 #ifdef HAVE_SYS_STATFS_H
18943 # include <sys/statfs.h>
18944 #endif
18946 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18950 _ACEOF
18954 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18955 #ifdef HAVE_SYS_PARAM_H
18956 # include <sys/param.h>
18957 #endif
18958 #ifdef HAVE_SYS_MOUNT_H
18959 # include <sys/mount.h>
18960 #endif
18961 #ifdef HAVE_SYS_VFS_H
18962 # include <sys/vfs.h>
18963 #endif
18964 #ifdef HAVE_SYS_STATFS_H
18965 # include <sys/statfs.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18972 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18979 #include <sys/statvfs.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18986 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18993 #include <dirent.h>
18994 #endif
18996 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19007 #ifdef HAVE_SYS_SOCKET_H
19008 # include <sys/socket.h>
19009 #endif
19010 #ifdef HAVE_SYS_UN_H
19011 # include <sys/un.h>
19012 #endif
19014 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19018 _ACEOF
19022 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19023 #ifdef HAVE_SYS_SOCKET_H
19024 # include <sys/socket.h>
19025 #endif
19026 #ifdef HAVE_SYS_UN_H
19027 # include <sys/un.h>
19028 #endif
19030 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19034 _ACEOF
19038 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19039 #ifdef HAVE_SYS_SOCKET_H
19040 # include <sys/socket.h>
19041 #endif
19042 #ifdef HAVE_SYS_UN_H
19043 # include <sys/un.h>
19044 #endif
19046 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19050 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19057 #ifdef HAVE_SCSI_SG_H
19058 #include <scsi/sg.h>
19059 #endif
19061 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19063 cat >>confdefs.h <<_ACEOF
19064 #define HAVE_SCSIREQ_T_CMD 1
19065 _ACEOF
19069 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>
19070 #ifdef HAVE_SCSI_SG_H
19071 #include <scsi/sg.h>
19072 #endif
19074 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19078 _ACEOF
19084 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19086 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_SIGINFO_T_SI_FD 1
19090 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19097 #ifdef HAVE_SYS_MTIO_H
19098 #include <sys/mtio.h>
19099 #endif
19101 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19105 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19110 #ifdef HAVE_SYS_MTIO_H
19111 #include <sys/mtio.h>
19112 #endif
19114 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19118 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19123 #ifdef HAVE_SYS_MTIO_H
19124 #include <sys/mtio.h>
19125 #endif
19127 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19131 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19138 #include <getopt.h>
19139 #endif
19141 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_OPTION_NAME 1
19145 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT_ST_MTIM 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19174 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19179 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_STAT_ST_CTIM 1
19183 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19188 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19197 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_STAT_ST_ATIM 1
19201 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19206 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19210 _ACEOF
19214 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19215 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19219 _ACEOF
19223 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19224 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19228 _ACEOF
19232 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19233 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19237 _ACEOF
19241 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19242 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19244 cat >>confdefs.h <<_ACEOF
19245 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19246 _ACEOF
19250 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19251 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19253 cat >>confdefs.h <<_ACEOF
19254 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19255 _ACEOF
19261 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
19262 #include <sys/types.h>
19263 #endif
19264 #ifdef HAVE_NETINET_IN_H
19265 #include <netinet/in.h>
19266 #endif
19268 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19272 _ACEOF
19278 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19279 #include <sys/types.h>
19280 #endif
19281 #ifdef HAVE_NETINET_IN_H
19282 #include <netinet/in.h>
19283 #endif
19284 #ifdef HAVE_RESOLV_H
19285 #include <resolv.h>
19286 #endif
19288 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT___RES_STATE 1
19292 _ACEOF
19298 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
19299 #include <resolv.h>
19300 #endif
19302 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19306 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19313 #include <sys/types.h>
19314 #endif
19315 #ifdef HAVE_NETINET_IN_H
19316 # include <netinet/in.h>
19317 #endif
19318 #ifdef HAVE_ARPA_NAMESER_H
19319 # include <arpa/nameser.h>
19320 #endif
19322 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19324 cat >>confdefs.h <<_ACEOF
19325 #define HAVE_NS_MSG__MSG_PTR 1
19326 _ACEOF
19332 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19333 #include <sys/types.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IN_H
19336 #include <netinet/in.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IP_H
19339 #include <netinet/ip.h>
19340 #endif
19341 #ifdef HAVE_NETINET_IP_ICMP_H
19342 #include <netinet/ip_icmp.h>
19343 #endif
19344 #ifdef HAVE_NETINET_ICMP_VAR_H
19345 #include <netinet/icmp_var.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19352 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19359 #include <sys/types.h>
19360 #endif
19361 #ifdef HAVE_ALIAS_H
19362 #include <alias.h>
19363 #endif
19364 #ifdef HAVE_SYS_SOCKET_H
19365 #include <sys/socket.h>
19366 #endif
19367 #ifdef HAVE_SYS_SOCKETVAR_H
19368 #include <sys/socketvar.h>
19369 #endif
19370 #ifdef HAVE_SYS_TIMEOUT_H
19371 #include <sys/timeout.h>
19372 #endif
19373 #ifdef HAVE_NETINET_IN_H
19374 #include <netinet/in.h>
19375 #endif
19376 #ifdef HAVE_NETINET_IN_SYSTM_H
19377 #include <netinet/in_systm.h>
19378 #endif
19379 #ifdef HAVE_NETINET_IP_H
19380 #include <netinet/ip.h>
19381 #endif
19382 #ifdef HAVE_NETINET_IP_VAR_H
19383 #include <netinet/ip_var.h>
19384 #endif
19385 #ifdef HAVE_NETINET_IP_ICMP_H
19386 #include <netinet/ip_icmp.h>
19387 #endif
19388 #ifdef HAVE_NETINET_ICMP_VAR_H
19389 #include <netinet/icmp_var.h>
19390 #endif
19392 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19394 cat >>confdefs.h <<_ACEOF
19395 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19396 _ACEOF
19402 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19403 #include <sys/types.h>
19404 #endif
19405 #ifdef HAVE_SYS_SOCKETVAR_H
19406 #include <sys/socketvar.h>
19407 #endif
19408 #ifdef HAVE_NETINET_IN_H
19409 #include <netinet/in.h>
19410 #endif
19411 #ifdef HAVE_NETINET_IP_VAR_H
19412 #include <netinet/ip_var.h>
19413 #endif
19415 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19417 cat >>confdefs.h <<_ACEOF
19418 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19419 _ACEOF
19425 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
19426 #include <netinet/ip_var.h>
19427 #endif
19429 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19433 _ACEOF
19439 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19440 #include <sys/types.h>
19441 #endif
19442 #ifdef HAVE_SYS_SOCKETVAR_H
19443 #include <sys/socketvar.h>
19444 #endif
19445 #ifdef HAVE_NETINET_IN_H
19446 #include <netinet/in.h>
19447 #endif
19448 #ifdef HAVE_NETINET_TCP_H
19449 #include <netinet/tcp.h>
19450 #endif
19451 #ifdef HAVE_NETINET_TCP_VAR_H
19452 #include <netinet/tcp_var.h>
19453 #endif
19455 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19457 cat >>confdefs.h <<_ACEOF
19458 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19459 _ACEOF
19465 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
19466 #include <netinet/tcp_var.h>
19467 #endif
19469 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19473 _ACEOF
19479 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19480 #include <sys/types.h>
19481 #endif
19482 #ifdef HAVE_NETINET_IN_H
19483 #include <netinet/in.h>
19484 #endif
19485 #ifdef HAVE_NETINET_IP_VAR_H
19486 #include <netinet/ip_var.h>
19487 #endif
19488 #ifdef HAVE_NETINET_UDP_H
19489 #include <netinet/udp.h>
19490 #endif
19491 #ifdef HAVE_NETINET_UDP_VAR_H
19492 #include <netinet/udp_var.h>
19493 #endif
19495 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19497 cat >>confdefs.h <<_ACEOF
19498 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19499 _ACEOF
19505 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19506 #include <sys/types.h>
19507 #endif
19508 #ifdef HAVE_NET_IF_H
19509 # include <net/if.h>
19510 #endif
19512 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19514 cat >>confdefs.h <<_ACEOF
19515 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19516 _ACEOF
19522 ac_save_LIBS="$LIBS"
19523 LIBS="$LIBS -lm"
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19525 $as_echo_n "checking for isfinite... " >&6; }
19526 if ${ac_cv_have_isfinite+:} false; then :
19527 $as_echo_n "(cached) " >&6
19528 else
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #define _GNU_SOURCE
19532 #include <math.h>
19534 main ()
19536 float f = 0.0; return isfinite(f)
19538 return 0;
19540 _ACEOF
19541 if ac_fn_c_try_link "$LINENO"; then :
19542 ac_cv_have_isfinite="yes"
19543 else
19544 ac_cv_have_isfinite="no"
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19550 $as_echo "$ac_cv_have_isfinite" >&6; }
19551 if test "$ac_cv_have_isfinite" = "yes"
19552 then
19554 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19559 $as_echo_n "checking for isinf... " >&6; }
19560 if ${ac_cv_have_isinf+:} false; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19565 #include <math.h>
19567 main ()
19569 float f = 0.0; return isinf(f)
19571 return 0;
19573 _ACEOF
19574 if ac_fn_c_try_link "$LINENO"; then :
19575 ac_cv_have_isinf="yes"
19576 else
19577 ac_cv_have_isinf="no"
19579 rm -f core conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19583 $as_echo "$ac_cv_have_isinf" >&6; }
19584 if test "$ac_cv_have_isinf" = "yes"
19585 then
19587 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19592 $as_echo_n "checking for isnan... " >&6; }
19593 if ${ac_cv_have_isnan+:} false; then :
19594 $as_echo_n "(cached) " >&6
19595 else
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19598 #include <math.h>
19600 main ()
19602 float f = 0.0; return isnan(f)
19604 return 0;
19606 _ACEOF
19607 if ac_fn_c_try_link "$LINENO"; then :
19608 ac_cv_have_isnan="yes"
19609 else
19610 ac_cv_have_isnan="no"
19612 rm -f core conftest.err conftest.$ac_objext \
19613 conftest$ac_exeext conftest.$ac_ext
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19616 $as_echo "$ac_cv_have_isnan" >&6; }
19617 if test "$ac_cv_have_isnan" = "yes"
19618 then
19620 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19624 for ac_func in \
19625 acosh \
19626 acoshf \
19627 asinh \
19628 asinhf \
19629 atanh \
19630 atanhf \
19631 cbrt \
19632 cbrtf \
19633 erf \
19634 erfc \
19635 erfcf \
19636 erff \
19637 exp2 \
19638 exp2f \
19639 expm1 \
19640 expm1f \
19641 fma \
19642 fmaf \
19643 ilogb \
19644 ilogbf \
19645 j0 \
19646 j1 \
19647 jn \
19648 lgamma \
19649 lgammaf \
19650 llrint \
19651 llrintf \
19652 llround \
19653 llroundf \
19654 log1p \
19655 log1pf \
19656 log2 \
19657 log2f \
19658 lrint \
19659 lrintf \
19660 lround \
19661 lroundf \
19662 nearbyint \
19663 nearbyintf \
19664 nexttoward \
19665 nexttowardf \
19666 remainder \
19667 remainderf \
19668 remquo \
19669 remquof \
19670 rint \
19671 rintf \
19672 round \
19673 roundf \
19674 tgamma \
19675 tgammaf \
19676 trunc \
19677 truncf \
19678 y0 \
19679 y1 \
19682 do :
19683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19685 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19686 cat >>confdefs.h <<_ACEOF
19687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19688 _ACEOF
19691 done
19693 LIBS="$ac_save_LIBS"
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19696 $as_echo_n "checking for __builtin_popcount... " >&6; }
19697 if ${ac_cv_have___builtin_popcount+:} false; then :
19698 $as_echo_n "(cached) " >&6
19699 else
19700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701 /* end confdefs.h. */
19704 main ()
19706 return __builtin_popcount(1)
19708 return 0;
19710 _ACEOF
19711 if ac_fn_c_try_link "$LINENO"; then :
19712 ac_cv_have___builtin_popcount="yes"
19713 else
19714 ac_cv_have___builtin_popcount="no"
19716 rm -f core conftest.err conftest.$ac_objext \
19717 conftest$ac_exeext conftest.$ac_ext
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19720 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19721 if test "$ac_cv_have___builtin_popcount" = "yes"
19722 then
19724 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19729 $as_echo_n "checking for __clear_cache... " >&6; }
19730 if ${ac_cv_have___clear_cache+:} false; then :
19731 $as_echo_n "(cached) " >&6
19732 else
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19737 main ()
19739 __clear_cache((void*)0, (void*)0); return 0;
19741 return 0;
19743 _ACEOF
19744 if ac_fn_c_try_link "$LINENO"; then :
19745 ac_cv_have___clear_cache="yes"
19746 else
19747 ac_cv_have___clear_cache="no"
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19753 $as_echo "$ac_cv_have___clear_cache" >&6; }
19754 if test "$ac_cv_have___clear_cache" = "yes"
19755 then
19757 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19762 case $host_cpu in
19763 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19764 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19765 if ${ac_cv_cpp_def___i386__+:} false; then :
19766 $as_echo_n "(cached) " >&6
19767 else
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #ifndef __i386__
19772 #endif
19773 _ACEOF
19774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19775 $EGREP "yes" >/dev/null 2>&1; then :
19776 ac_cv_cpp_def___i386__=yes
19777 else
19778 ac_cv_cpp_def___i386__=no
19780 rm -f conftest*
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19784 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19785 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19786 CFLAGS="$CFLAGS -D__i386__"
19787 LINTFLAGS="$LINTFLAGS -D__i386__"
19788 fi ;;
19789 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19790 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19791 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19792 $as_echo_n "(cached) " >&6
19793 else
19794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19795 /* end confdefs.h. */
19796 #ifndef __x86_64__
19798 #endif
19799 _ACEOF
19800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19801 $EGREP "yes" >/dev/null 2>&1; then :
19802 ac_cv_cpp_def___x86_64__=yes
19803 else
19804 ac_cv_cpp_def___x86_64__=no
19806 rm -f conftest*
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19810 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19811 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19812 CFLAGS="$CFLAGS -D__x86_64__"
19813 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19814 fi ;;
19815 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19816 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19817 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19818 $as_echo_n "(cached) " >&6
19819 else
19820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19821 /* end confdefs.h. */
19822 #ifndef __sparc64__
19824 #endif
19825 _ACEOF
19826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19827 $EGREP "yes" >/dev/null 2>&1; then :
19828 ac_cv_cpp_def___sparc64__=yes
19829 else
19830 ac_cv_cpp_def___sparc64__=no
19832 rm -f conftest*
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19836 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19837 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19838 CFLAGS="$CFLAGS -D__sparc64__"
19839 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19840 fi ;;
19841 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19842 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19843 if ${ac_cv_cpp_def___sparc__+:} false; then :
19844 $as_echo_n "(cached) " >&6
19845 else
19846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19847 /* end confdefs.h. */
19848 #ifndef __sparc__
19850 #endif
19851 _ACEOF
19852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19853 $EGREP "yes" >/dev/null 2>&1; then :
19854 ac_cv_cpp_def___sparc__=yes
19855 else
19856 ac_cv_cpp_def___sparc__=no
19858 rm -f conftest*
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19862 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19863 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19864 CFLAGS="$CFLAGS -D__sparc__"
19865 LINTFLAGS="$LINTFLAGS -D__sparc__"
19866 fi ;;
19867 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19868 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19869 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19870 $as_echo_n "(cached) " >&6
19871 else
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #ifndef __powerpc64__
19876 #endif
19877 _ACEOF
19878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19879 $EGREP "yes" >/dev/null 2>&1; then :
19880 ac_cv_cpp_def___powerpc64__=yes
19881 else
19882 ac_cv_cpp_def___powerpc64__=no
19884 rm -f conftest*
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19888 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19889 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19890 CFLAGS="$CFLAGS -D__powerpc64__"
19891 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19892 fi ;;
19893 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19894 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19895 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19896 $as_echo_n "(cached) " >&6
19897 else
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #ifndef __powerpc__
19902 #endif
19903 _ACEOF
19904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19905 $EGREP "yes" >/dev/null 2>&1; then :
19906 ac_cv_cpp_def___powerpc__=yes
19907 else
19908 ac_cv_cpp_def___powerpc__=no
19910 rm -f conftest*
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19914 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19915 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19916 CFLAGS="$CFLAGS -D__powerpc__"
19917 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19918 fi ;;
19919 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19920 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19921 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19922 $as_echo_n "(cached) " >&6
19923 else
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #ifndef __aarch64__
19928 #endif
19929 _ACEOF
19930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19931 $EGREP "yes" >/dev/null 2>&1; then :
19932 ac_cv_cpp_def___aarch64__=yes
19933 else
19934 ac_cv_cpp_def___aarch64__=no
19936 rm -f conftest*
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19940 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19941 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19942 CFLAGS="$CFLAGS -D__aarch64__"
19943 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19944 fi ;;
19945 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19946 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19947 if ${ac_cv_cpp_def___arm__+:} false; then :
19948 $as_echo_n "(cached) " >&6
19949 else
19950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19951 /* end confdefs.h. */
19952 #ifndef __arm__
19954 #endif
19955 _ACEOF
19956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19957 $EGREP "yes" >/dev/null 2>&1; then :
19958 ac_cv_cpp_def___arm__=yes
19959 else
19960 ac_cv_cpp_def___arm__=no
19962 rm -f conftest*
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19966 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19967 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19968 CFLAGS="$CFLAGS -D__arm__"
19969 LINTFLAGS="$LINTFLAGS -D__arm__"
19970 fi ;;
19971 esac
19973 case $host_vendor in
19974 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19975 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19976 if ${ac_cv_cpp_def___sun__+:} false; then :
19977 $as_echo_n "(cached) " >&6
19978 else
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19981 #ifndef __sun__
19983 #endif
19984 _ACEOF
19985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19986 $EGREP "yes" >/dev/null 2>&1; then :
19987 ac_cv_cpp_def___sun__=yes
19988 else
19989 ac_cv_cpp_def___sun__=no
19991 rm -f conftest*
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19995 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19996 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19997 CFLAGS="$CFLAGS -D__sun__"
19998 LINTFLAGS="$LINTFLAGS -D__sun__"
19999 fi ;;
20000 esac
20006 ac_config_commands="$ac_config_commands include/stamp-h"
20008 $as_echo_n "creating Makefile rules..." >&6
20010 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20011 OPENGL_LIBS = $OPENGL_LIBS
20012 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20013 IOKIT_LIBS = $IOKIT_LIBS
20014 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20015 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20016 CORESERVICES_LIBS = $CORESERVICES_LIBS
20017 APPKIT_LIBS = $APPKIT_LIBS
20018 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20019 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20020 SECURITY_LIBS = $SECURITY_LIBS
20021 COREAUDIO_LIBS = $COREAUDIO_LIBS
20022 OPENAL_LIBS = $OPENAL_LIBS
20023 OPENCL_LIBS = $OPENCL_LIBS
20024 QUICKTIME_LIBS = $QUICKTIME_LIBS
20025 CARBON_LIBS = $CARBON_LIBS
20026 METAL_LIBS = $METAL_LIBS
20027 PTHREAD_LIBS = $PTHREAD_LIBS
20028 X_CFLAGS = $X_CFLAGS
20029 X_PRE_LIBS = $X_PRE_LIBS
20030 X_LIBS = $X_LIBS
20031 X_EXTRA_LIBS = $X_EXTRA_LIBS
20032 PCAP_LIBS = $PCAP_LIBS
20033 XML2_CFLAGS = $XML2_CFLAGS
20034 XML2_LIBS = $XML2_LIBS
20035 XSLT_CFLAGS = $XSLT_CFLAGS
20036 XSLT_LIBS = $XSLT_LIBS
20037 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20038 INOTIFY_LIBS = $INOTIFY_LIBS
20039 DBUS_CFLAGS = $DBUS_CFLAGS
20040 DBUS_LIBS = $DBUS_LIBS
20041 HAL_CFLAGS = $HAL_CFLAGS
20042 HAL_LIBS = $HAL_LIBS
20043 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20044 GNUTLS_LIBS = $GNUTLS_LIBS
20045 SANE_CFLAGS = $SANE_CFLAGS
20046 SANE_LIBS = $SANE_LIBS
20047 USB_CFLAGS = $USB_CFLAGS
20048 USB_LIBS = $USB_LIBS
20049 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20050 GPHOTO2_LIBS = $GPHOTO2_LIBS
20051 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20052 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20053 RESOLV_LIBS = $RESOLV_LIBS
20054 LCMS2_CFLAGS = $LCMS2_CFLAGS
20055 LCMS2_LIBS = $LCMS2_LIBS
20056 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20057 FREETYPE_LIBS = $FREETYPE_LIBS
20058 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20059 PULSE_CFLAGS = $PULSE_CFLAGS
20060 PULSE_LIBS = $PULSE_LIBS
20061 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20062 GSTREAMER_LIBS = $GSTREAMER_LIBS
20063 ALSA_LIBS = $ALSA_LIBS
20064 OSS4_CFLAGS = $OSS4_CFLAGS
20065 OSS4_LIBS = $OSS4_LIBS
20066 UDEV_CFLAGS = $UDEV_CFLAGS
20067 UDEV_LIBS = $UDEV_LIBS
20068 UNWIND_CFLAGS = $UNWIND_CFLAGS
20069 UNWIND_LIBS = $UNWIND_LIBS
20070 SDL2_CFLAGS = $SDL2_CFLAGS
20071 SDL2_LIBS = $SDL2_LIBS
20072 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20073 FAUDIO_LIBS = $FAUDIO_LIBS
20074 CAPI20_CFLAGS = $CAPI20_CFLAGS
20075 CAPI20_LIBS = $CAPI20_LIBS
20076 CUPS_CFLAGS = $CUPS_CFLAGS
20077 CUPS_LIBS = $CUPS_LIBS
20078 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20079 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20080 KRB5_CFLAGS = $KRB5_CFLAGS
20081 KRB5_LIBS = $KRB5_LIBS
20082 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20083 GSSAPI_LIBS = $GSSAPI_LIBS
20084 JPEG_CFLAGS = $JPEG_CFLAGS
20085 JPEG_LIBS = $JPEG_LIBS
20086 PNG_CFLAGS = $PNG_CFLAGS
20087 PNG_LIBS = $PNG_LIBS
20088 TIFF_CFLAGS = $TIFF_CFLAGS
20089 TIFF_LIBS = $TIFF_LIBS
20090 MPG123_CFLAGS = $MPG123_CFLAGS
20091 MPG123_LIBS = $MPG123_LIBS
20092 KSTAT_LIBS = $KSTAT_LIBS
20093 PROCSTAT_LIBS = $PROCSTAT_LIBS
20094 NETAPI_CFLAGS = $NETAPI_CFLAGS
20095 NETAPI_LIBS = $NETAPI_LIBS
20096 VKD3D_CFLAGS = $VKD3D_CFLAGS
20097 VKD3D_LIBS = $VKD3D_LIBS
20098 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20099 POLL_LIBS = $POLL_LIBS
20100 RT_LIBS = $RT_LIBS
20101 LDAP_CFLAGS = $LDAP_CFLAGS
20102 LDAP_LIBS = $LDAP_LIBS
20107 wine_fn_append_rule "
20108 # Rules automatically generated by configure
20110 .INIT: Makefile
20111 .MAKEFILEDEPS:
20112 all: Makefile
20113 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20114 @./config.status Make.tmp Makefile
20115 depend: \$(MAKEDEP) dummy
20116 \$(MAKEDEP)"
20118 ac_config_links="$ac_config_links wine:tools/winewrapper"
20119 wine_fn_config_symlink wine
20120 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20121 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20122 wine_fn_config_symlink wine64
20125 wine_fn_config_makefile dlls/acledit enable_acledit
20126 wine_fn_config_makefile dlls/aclui enable_aclui
20127 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20128 wine_fn_config_makefile dlls/activeds enable_activeds
20129 wine_fn_config_makefile dlls/activeds/tests enable_tests
20130 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20131 wine_fn_config_makefile dlls/adsiid enable_adsiid
20132 wine_fn_config_makefile dlls/adsldp enable_adsldp
20133 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20134 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20135 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20136 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20137 wine_fn_config_makefile dlls/advpack enable_advpack
20138 wine_fn_config_makefile dlls/advpack/tests enable_tests
20139 wine_fn_config_makefile dlls/amsi enable_amsi
20140 wine_fn_config_makefile dlls/amstream enable_amstream
20141 wine_fn_config_makefile dlls/amstream/tests enable_tests
20142 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20145 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20167 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20168 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20174 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20177 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20196 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20197 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20209 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20216 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20220 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20221 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20222 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20245 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20249 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20252 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20275 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20294 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20314 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20329 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20334 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20339 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20350 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20354 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20358 wine_fn_config_makefile dlls/apphelp enable_apphelp
20359 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20360 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20361 wine_fn_config_makefile dlls/atl enable_atl
20362 wine_fn_config_makefile dlls/atl/tests enable_tests
20363 wine_fn_config_makefile dlls/atl100 enable_atl100
20364 wine_fn_config_makefile dlls/atl100/tests enable_tests
20365 wine_fn_config_makefile dlls/atl110 enable_atl110
20366 wine_fn_config_makefile dlls/atl80 enable_atl80
20367 wine_fn_config_makefile dlls/atl80/tests enable_tests
20368 wine_fn_config_makefile dlls/atl90 enable_atl90
20369 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20370 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20371 wine_fn_config_makefile dlls/atmlib enable_atmlib
20372 wine_fn_config_makefile dlls/authz enable_authz
20373 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20374 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20375 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20376 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20377 wine_fn_config_makefile dlls/avrt enable_avrt
20378 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20379 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20380 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20381 wine_fn_config_makefile dlls/browseui enable_browseui
20382 wine_fn_config_makefile dlls/browseui/tests enable_tests
20383 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20384 wine_fn_config_makefile dlls/cabinet enable_cabinet
20385 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20386 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20387 wine_fn_config_makefile dlls/cards enable_cards
20388 wine_fn_config_makefile dlls/cdosys enable_cdosys
20389 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20390 wine_fn_config_makefile dlls/clusapi enable_clusapi
20391 wine_fn_config_makefile dlls/combase enable_combase
20392 wine_fn_config_makefile dlls/combase/tests enable_tests
20393 wine_fn_config_makefile dlls/comcat enable_comcat
20394 wine_fn_config_makefile dlls/comcat/tests enable_tests
20395 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20396 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20397 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20398 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20399 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20400 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20401 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20402 wine_fn_config_makefile dlls/compstui enable_compstui
20403 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20404 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20405 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20406 wine_fn_config_makefile dlls/connect enable_connect
20407 wine_fn_config_makefile dlls/credui enable_credui
20408 wine_fn_config_makefile dlls/credui/tests enable_tests
20409 wine_fn_config_makefile dlls/crtdll enable_crtdll
20410 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20411 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20412 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20413 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20414 wine_fn_config_makefile dlls/cryptext enable_cryptext
20415 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20416 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20417 wine_fn_config_makefile dlls/cryptui enable_cryptui
20418 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20419 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20420 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20421 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20422 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20423 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20424 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20425 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20426 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20427 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20428 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20430 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20432 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20434 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20435 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20436 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20437 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20438 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20439 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20440 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20441 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20442 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20443 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20444 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20445 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20446 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20447 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20448 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20449 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20450 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20452 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20453 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20454 wine_fn_config_makefile dlls/d3dim enable_d3dim
20455 wine_fn_config_makefile dlls/d3drm enable_d3drm
20456 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20457 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20458 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20459 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20460 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20461 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20462 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20463 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20464 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20465 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20466 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20467 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20468 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20469 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20470 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20471 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20472 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20473 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20474 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20475 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20476 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20477 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20478 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20479 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20480 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20481 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20482 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20483 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20484 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20485 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20486 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20487 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20488 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20489 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20490 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20491 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20492 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20493 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20494 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20495 wine_fn_config_makefile dlls/davclnt enable_davclnt
20496 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20497 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20498 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20499 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20500 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20501 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20502 wine_fn_config_makefile dlls/ddraw enable_ddraw
20503 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20504 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20505 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20506 wine_fn_config_makefile dlls/devenum enable_devenum
20507 wine_fn_config_makefile dlls/devenum/tests enable_tests
20508 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20509 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20510 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20511 wine_fn_config_makefile dlls/difxapi enable_difxapi
20512 wine_fn_config_makefile dlls/dinput enable_dinput
20513 wine_fn_config_makefile dlls/dinput/tests enable_tests
20514 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20515 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20516 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20517 wine_fn_config_makefile dlls/dispex enable_dispex
20518 wine_fn_config_makefile dlls/dispex/tests enable_tests
20519 wine_fn_config_makefile dlls/display.drv16 enable_win16
20520 wine_fn_config_makefile dlls/dmband enable_dmband
20521 wine_fn_config_makefile dlls/dmband/tests enable_tests
20522 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20523 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20524 wine_fn_config_makefile dlls/dmime enable_dmime
20525 wine_fn_config_makefile dlls/dmime/tests enable_tests
20526 wine_fn_config_makefile dlls/dmloader enable_dmloader
20527 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20528 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20529 wine_fn_config_makefile dlls/dmscript enable_dmscript
20530 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20531 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20532 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20533 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20534 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20535 wine_fn_config_makefile dlls/dmusic enable_dmusic
20536 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20537 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20538 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20539 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20540 wine_fn_config_makefile dlls/dplay enable_dplay
20541 wine_fn_config_makefile dlls/dplayx enable_dplayx
20542 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20543 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20544 wine_fn_config_makefile dlls/dpnet enable_dpnet
20545 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20546 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20547 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20548 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20549 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20550 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20551 wine_fn_config_makefile dlls/drmclien enable_drmclien
20552 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20553 wine_fn_config_makefile dlls/dsound enable_dsound
20554 wine_fn_config_makefile dlls/dsound/tests enable_tests
20555 wine_fn_config_makefile dlls/dsquery enable_dsquery
20556 wine_fn_config_makefile dlls/dssenh enable_dssenh
20557 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20558 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20559 wine_fn_config_makefile dlls/dswave enable_dswave
20560 wine_fn_config_makefile dlls/dswave/tests enable_tests
20561 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20562 wine_fn_config_makefile dlls/dwrite enable_dwrite
20563 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20564 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20565 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20566 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20567 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20568 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20569 wine_fn_config_makefile dlls/dxgi enable_dxgi
20570 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20571 wine_fn_config_makefile dlls/dxguid enable_dxguid
20572 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20573 wine_fn_config_makefile dlls/esent enable_esent
20574 wine_fn_config_makefile dlls/evr enable_evr
20575 wine_fn_config_makefile dlls/evr/tests enable_tests
20576 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20577 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20578 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20583 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20584 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20597 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20612 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20618 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
20619 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20629 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20630 wine_fn_config_makefile dlls/faultrep enable_faultrep
20631 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20632 wine_fn_config_makefile dlls/feclient enable_feclient
20633 wine_fn_config_makefile dlls/fltlib enable_fltlib
20634 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20635 wine_fn_config_makefile dlls/fntcache enable_fntcache
20636 wine_fn_config_makefile dlls/fontsub enable_fontsub
20637 wine_fn_config_makefile dlls/fusion enable_fusion
20638 wine_fn_config_makefile dlls/fusion/tests enable_tests
20639 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20640 wine_fn_config_makefile dlls/gameux enable_gameux
20641 wine_fn_config_makefile dlls/gameux/tests enable_tests
20642 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20643 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20644 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20645 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20646 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20647 wine_fn_config_makefile dlls/glu32 enable_glu32
20648 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20649 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20650 wine_fn_config_makefile dlls/hal enable_hal
20651 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20652 wine_fn_config_makefile dlls/hid enable_hid
20653 wine_fn_config_makefile dlls/hid/tests enable_tests
20654 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20655 wine_fn_config_makefile dlls/hlink enable_hlink
20656 wine_fn_config_makefile dlls/hlink/tests enable_tests
20657 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20658 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20659 wine_fn_config_makefile dlls/http.sys enable_http_sys
20660 wine_fn_config_makefile dlls/httpapi enable_httpapi
20661 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20662 wine_fn_config_makefile dlls/iccvid enable_iccvid
20663 wine_fn_config_makefile dlls/icmp enable_icmp
20664 wine_fn_config_makefile dlls/ieframe enable_ieframe
20665 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20666 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20667 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20668 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20669 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20670 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20671 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20672 wine_fn_config_makefile dlls/imm32 enable_imm32
20673 wine_fn_config_makefile dlls/imm32/tests enable_tests
20674 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20675 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20676 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20677 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20678 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20679 wine_fn_config_makefile dlls/infosoft enable_infosoft
20680 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20681 wine_fn_config_makefile dlls/initpki enable_initpki
20682 wine_fn_config_makefile dlls/inkobj enable_inkobj
20683 wine_fn_config_makefile dlls/inseng enable_inseng
20684 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20685 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20686 wine_fn_config_makefile dlls/iprop enable_iprop
20687 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20688 wine_fn_config_makefile dlls/itircl enable_itircl
20689 wine_fn_config_makefile dlls/itss enable_itss
20690 wine_fn_config_makefile dlls/itss/tests enable_tests
20691 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20692 wine_fn_config_makefile dlls/jscript enable_jscript
20693 wine_fn_config_makefile dlls/jscript/tests enable_tests
20694 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20695 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20696 wine_fn_config_makefile dlls/kerberos enable_kerberos
20697 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20698 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20699 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20700 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20701 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20702 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20703 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20704 wine_fn_config_makefile dlls/ksuser enable_ksuser
20705 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20706 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20707 wine_fn_config_makefile dlls/loadperf enable_loadperf
20708 wine_fn_config_makefile dlls/localspl enable_localspl
20709 wine_fn_config_makefile dlls/localspl/tests enable_tests
20710 wine_fn_config_makefile dlls/localui enable_localui
20711 wine_fn_config_makefile dlls/localui/tests enable_tests
20712 wine_fn_config_makefile dlls/lz32 enable_lz32
20713 wine_fn_config_makefile dlls/lz32/tests enable_tests
20714 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20715 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20716 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20717 wine_fn_config_makefile dlls/mapistub enable_mapistub
20718 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20719 wine_fn_config_makefile dlls/mcicda enable_mcicda
20720 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20721 wine_fn_config_makefile dlls/mciseq enable_mciseq
20722 wine_fn_config_makefile dlls/mciwave enable_mciwave
20723 wine_fn_config_makefile dlls/mf enable_mf
20724 wine_fn_config_makefile dlls/mf/tests enable_tests
20725 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20726 wine_fn_config_makefile dlls/mferror enable_mferror
20727 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20728 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20729 wine_fn_config_makefile dlls/mfplat enable_mfplat
20730 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20731 wine_fn_config_makefile dlls/mfplay enable_mfplay
20732 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20733 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20734 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20735 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20736 wine_fn_config_makefile dlls/midimap enable_midimap
20737 wine_fn_config_makefile dlls/mlang enable_mlang
20738 wine_fn_config_makefile dlls/mlang/tests enable_tests
20739 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20740 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20741 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20742 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20743 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20744 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20745 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20746 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20747 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20748 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20749 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20750 wine_fn_config_makefile dlls/mpr enable_mpr
20751 wine_fn_config_makefile dlls/mpr/tests enable_tests
20752 wine_fn_config_makefile dlls/mprapi enable_mprapi
20753 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20754 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20755 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20756 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20757 wine_fn_config_makefile dlls/msado15 enable_msado15
20758 wine_fn_config_makefile dlls/msado15/tests enable_tests
20759 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20760 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20761 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20762 wine_fn_config_makefile dlls/mscms enable_mscms
20763 wine_fn_config_makefile dlls/mscms/tests enable_tests
20764 wine_fn_config_makefile dlls/mscoree enable_mscoree
20765 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20766 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20767 wine_fn_config_makefile dlls/msctf enable_msctf
20768 wine_fn_config_makefile dlls/msctf/tests enable_tests
20769 wine_fn_config_makefile dlls/msctfp enable_msctfp
20770 wine_fn_config_makefile dlls/msdaps enable_msdaps
20771 wine_fn_config_makefile dlls/msdelta enable_msdelta
20772 wine_fn_config_makefile dlls/msdmo enable_msdmo
20773 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20774 wine_fn_config_makefile dlls/msdrm enable_msdrm
20775 wine_fn_config_makefile dlls/msftedit enable_msftedit
20776 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20777 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20778 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20779 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20780 wine_fn_config_makefile dlls/mshtml enable_mshtml
20781 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20782 wine_fn_config_makefile dlls/msi enable_msi
20783 wine_fn_config_makefile dlls/msi/tests enable_tests
20784 wine_fn_config_makefile dlls/msident enable_msident
20785 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20786 wine_fn_config_makefile dlls/msimsg enable_msimsg
20787 wine_fn_config_makefile dlls/msimtf enable_msimtf
20788 wine_fn_config_makefile dlls/msisip enable_msisip
20789 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20790 wine_fn_config_makefile dlls/msls31 enable_msls31
20791 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20792 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20793 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20794 wine_fn_config_makefile dlls/msports enable_msports
20795 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20796 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20797 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20798 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20799 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20800 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20801 wine_fn_config_makefile dlls/mstask enable_mstask
20802 wine_fn_config_makefile dlls/mstask/tests enable_tests
20803 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20804 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20805 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20806 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20807 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20808 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20809 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20810 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20812 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20813 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20814 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20815 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20817 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20819 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20820 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20821 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20822 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20823 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20824 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20826 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20828 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20830 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20831 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20832 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20833 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20834 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20835 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20836 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20838 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20839 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20840 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20841 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20842 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20843 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20844 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20845 wine_fn_config_makefile dlls/mswsock enable_mswsock
20846 wine_fn_config_makefile dlls/msxml enable_msxml
20847 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20848 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20849 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20850 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20851 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20852 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20853 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20854 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20855 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20856 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20857 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20858 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20859 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20860 wine_fn_config_makefile dlls/netprofm enable_netprofm
20861 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20862 wine_fn_config_makefile dlls/newdev enable_newdev
20863 wine_fn_config_makefile dlls/ninput enable_ninput
20864 wine_fn_config_makefile dlls/ninput/tests enable_tests
20865 wine_fn_config_makefile dlls/normaliz enable_normaliz
20866 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20867 wine_fn_config_makefile dlls/npptools enable_npptools
20868 wine_fn_config_makefile dlls/ntdll enable_ntdll
20869 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20870 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20871 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20872 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20873 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20874 wine_fn_config_makefile dlls/ntprint enable_ntprint
20875 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20876 wine_fn_config_makefile dlls/objsel enable_objsel
20877 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20878 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20879 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20880 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20881 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20882 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20883 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20884 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20885 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20886 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20887 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20888 wine_fn_config_makefile dlls/ole32 enable_ole32
20889 wine_fn_config_makefile dlls/ole32/tests enable_tests
20890 wine_fn_config_makefile dlls/oleacc enable_oleacc
20891 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20892 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20893 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20894 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20895 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20896 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20897 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20898 wine_fn_config_makefile dlls/oledlg enable_oledlg
20899 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20900 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20901 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20902 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20903 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20904 wine_fn_config_makefile dlls/opcservices enable_opcservices
20905 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20906 wine_fn_config_makefile dlls/openal32 enable_openal32
20907 wine_fn_config_makefile dlls/opencl enable_opencl
20908 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20909 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20910 wine_fn_config_makefile dlls/packager enable_packager
20911 wine_fn_config_makefile dlls/packager/tests enable_tests
20912 wine_fn_config_makefile dlls/pdh enable_pdh
20913 wine_fn_config_makefile dlls/pdh/tests enable_tests
20914 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20915 wine_fn_config_makefile dlls/pidgen enable_pidgen
20916 wine_fn_config_makefile dlls/powrprof enable_powrprof
20917 wine_fn_config_makefile dlls/printui enable_printui
20918 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20919 wine_fn_config_makefile dlls/propsys enable_propsys
20920 wine_fn_config_makefile dlls/propsys/tests enable_tests
20921 wine_fn_config_makefile dlls/psapi enable_psapi
20922 wine_fn_config_makefile dlls/psapi/tests enable_tests
20923 wine_fn_config_makefile dlls/pstorec enable_pstorec
20924 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20925 wine_fn_config_makefile dlls/qasf enable_qasf
20926 wine_fn_config_makefile dlls/qasf/tests enable_tests
20927 wine_fn_config_makefile dlls/qcap enable_qcap
20928 wine_fn_config_makefile dlls/qcap/tests enable_tests
20929 wine_fn_config_makefile dlls/qdvd enable_qdvd
20930 wine_fn_config_makefile dlls/qedit enable_qedit
20931 wine_fn_config_makefile dlls/qedit/tests enable_tests
20932 wine_fn_config_makefile dlls/qmgr enable_qmgr
20933 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20934 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20935 wine_fn_config_makefile dlls/quartz enable_quartz
20936 wine_fn_config_makefile dlls/quartz/tests enable_tests
20937 wine_fn_config_makefile dlls/query enable_query
20938 wine_fn_config_makefile dlls/qwave enable_qwave
20939 wine_fn_config_makefile dlls/qwave/tests enable_tests
20940 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20941 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20942 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20943 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20944 wine_fn_config_makefile dlls/regapi enable_regapi
20945 wine_fn_config_makefile dlls/resutils enable_resutils
20946 wine_fn_config_makefile dlls/riched20 enable_riched20
20947 wine_fn_config_makefile dlls/riched20/tests enable_tests
20948 wine_fn_config_makefile dlls/riched32 enable_riched32
20949 wine_fn_config_makefile dlls/riched32/tests enable_tests
20950 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20951 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20952 wine_fn_config_makefile dlls/rsabase enable_rsabase
20953 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20954 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20955 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20956 wine_fn_config_makefile dlls/rtutils enable_rtutils
20957 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20958 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20959 wine_fn_config_makefile dlls/samlib enable_samlib
20960 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20961 wine_fn_config_makefile dlls/sapi enable_sapi
20962 wine_fn_config_makefile dlls/sapi/tests enable_tests
20963 wine_fn_config_makefile dlls/sas enable_sas
20964 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20965 wine_fn_config_makefile dlls/sccbase enable_sccbase
20966 wine_fn_config_makefile dlls/schannel enable_schannel
20967 wine_fn_config_makefile dlls/schannel/tests enable_tests
20968 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20969 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20970 wine_fn_config_makefile dlls/scrobj enable_scrobj
20971 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20972 wine_fn_config_makefile dlls/scrrun enable_scrrun
20973 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20974 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20975 wine_fn_config_makefile dlls/sechost enable_sechost
20976 wine_fn_config_makefile dlls/secur32 enable_secur32
20977 wine_fn_config_makefile dlls/secur32/tests enable_tests
20978 wine_fn_config_makefile dlls/security enable_security
20979 wine_fn_config_makefile dlls/sensapi enable_sensapi
20980 wine_fn_config_makefile dlls/serialui enable_serialui
20981 wine_fn_config_makefile dlls/serialui/tests enable_tests
20982 wine_fn_config_makefile dlls/setupapi enable_setupapi
20983 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20984 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20985 wine_fn_config_makefile dlls/sfc enable_sfc
20986 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20987 wine_fn_config_makefile dlls/shcore enable_shcore
20988 wine_fn_config_makefile dlls/shcore/tests enable_tests
20989 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20990 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20991 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20992 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20993 wine_fn_config_makefile dlls/shell32 enable_shell32
20994 wine_fn_config_makefile dlls/shell32/tests enable_tests
20995 wine_fn_config_makefile dlls/shfolder enable_shfolder
20996 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20997 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20998 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20999 wine_fn_config_makefile dlls/slc enable_slc
21000 wine_fn_config_makefile dlls/slc/tests enable_tests
21001 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21002 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21003 wine_fn_config_makefile dlls/softpub enable_softpub
21004 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21005 wine_fn_config_makefile dlls/spoolss enable_spoolss
21006 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21007 wine_fn_config_makefile dlls/srclient enable_srclient
21008 wine_fn_config_makefile dlls/sspicli enable_sspicli
21009 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21010 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21011 wine_fn_config_makefile dlls/sti enable_sti
21012 wine_fn_config_makefile dlls/sti/tests enable_tests
21013 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21014 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21015 wine_fn_config_makefile dlls/strmbase enable_strmbase
21016 wine_fn_config_makefile dlls/strmdll enable_strmdll
21017 wine_fn_config_makefile dlls/strmiids enable_strmiids
21018 wine_fn_config_makefile dlls/svrapi enable_svrapi
21019 wine_fn_config_makefile dlls/sxs enable_sxs
21020 wine_fn_config_makefile dlls/sxs/tests enable_tests
21021 wine_fn_config_makefile dlls/system.drv16 enable_win16
21022 wine_fn_config_makefile dlls/t2embed enable_t2embed
21023 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21024 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21025 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21026 wine_fn_config_makefile dlls/taskschd enable_taskschd
21027 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21028 wine_fn_config_makefile dlls/tdh enable_tdh
21029 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21030 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21031 wine_fn_config_makefile dlls/traffic enable_traffic
21032 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21033 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21034 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21035 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21036 wine_fn_config_makefile dlls/tzres enable_tzres
21037 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21038 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21039 wine_fn_config_makefile dlls/uianimation enable_uianimation
21040 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21041 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21042 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21043 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21044 wine_fn_config_makefile dlls/unicows enable_unicows
21045 wine_fn_config_makefile dlls/updspapi enable_updspapi
21046 wine_fn_config_makefile dlls/url enable_url
21047 wine_fn_config_makefile dlls/urlmon enable_urlmon
21048 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21049 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21050 wine_fn_config_makefile dlls/user.exe16 enable_win16
21051 wine_fn_config_makefile dlls/user32 enable_user32
21052 wine_fn_config_makefile dlls/user32/tests enable_tests
21053 wine_fn_config_makefile dlls/userenv enable_userenv
21054 wine_fn_config_makefile dlls/userenv/tests enable_tests
21055 wine_fn_config_makefile dlls/usp10 enable_usp10
21056 wine_fn_config_makefile dlls/usp10/tests enable_tests
21057 wine_fn_config_makefile dlls/utildll enable_utildll
21058 wine_fn_config_makefile dlls/uuid enable_uuid
21059 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21060 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21061 wine_fn_config_makefile dlls/vbscript enable_vbscript
21062 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21063 wine_fn_config_makefile dlls/vcomp enable_vcomp
21064 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21065 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21066 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21067 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21068 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21069 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21070 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21071 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21072 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21073 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21074 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21075 wine_fn_config_makefile dlls/version enable_version
21076 wine_fn_config_makefile dlls/version/tests enable_tests
21077 wine_fn_config_makefile dlls/vga enable_vga
21078 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21079 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21080 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21081 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21082 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21083 wine_fn_config_makefile dlls/vssapi enable_vssapi
21084 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21085 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21086 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21087 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21088 wine_fn_config_makefile dlls/w32skrnl enable_win16
21089 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21090 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21091 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21092 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21093 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21094 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21095 wine_fn_config_makefile dlls/wdscore enable_wdscore
21096 wine_fn_config_makefile dlls/webservices enable_webservices
21097 wine_fn_config_makefile dlls/webservices/tests enable_tests
21098 wine_fn_config_makefile dlls/wer enable_wer
21099 wine_fn_config_makefile dlls/wer/tests enable_tests
21100 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21101 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21102 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21103 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21104 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21105 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21106 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21107 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21108 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21109 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21110 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21111 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21112 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21113 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21114 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21115 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21116 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21117 wine_fn_config_makefile dlls/wined3d enable_wined3d
21118 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21119 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21120 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21121 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21122 wine_fn_config_makefile dlls/winemapi enable_winemapi
21123 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21124 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21125 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21126 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21127 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21128 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21129 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21130 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21131 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21132 wine_fn_config_makefile dlls/wing32 enable_wing32
21133 wine_fn_config_makefile dlls/winhttp enable_winhttp
21134 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21135 wine_fn_config_makefile dlls/wininet enable_wininet
21136 wine_fn_config_makefile dlls/wininet/tests enable_tests
21137 wine_fn_config_makefile dlls/winmm enable_winmm
21138 wine_fn_config_makefile dlls/winmm/tests enable_tests
21139 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21140 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21141 wine_fn_config_makefile dlls/winscard enable_winscard
21142 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21143 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21144 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21145 wine_fn_config_makefile dlls/winsta enable_winsta
21146 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21147 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21148 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21149 wine_fn_config_makefile dlls/wintrust enable_wintrust
21150 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21151 wine_fn_config_makefile dlls/winusb enable_winusb
21152 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21153 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21154 wine_fn_config_makefile dlls/wlanui enable_wlanui
21155 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21156 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21157 wine_fn_config_makefile dlls/wmasf enable_wmasf
21158 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21159 wine_fn_config_makefile dlls/wmi enable_wmi
21160 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21161 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21162 wine_fn_config_makefile dlls/wmp enable_wmp
21163 wine_fn_config_makefile dlls/wmp/tests enable_tests
21164 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21165 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21166 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21167 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21168 wine_fn_config_makefile dlls/wow32 enable_win16
21169 wine_fn_config_makefile dlls/wpc enable_wpc
21170 wine_fn_config_makefile dlls/wpc/tests enable_tests
21171 wine_fn_config_makefile dlls/wpcap enable_wpcap
21172 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21173 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21174 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21175 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21176 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21177 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21178 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21179 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21180 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21181 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21182 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21183 wine_fn_config_makefile dlls/wuapi enable_wuapi
21184 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21185 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21186 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21187 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21188 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21189 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21190 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21191 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21192 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21193 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21194 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21195 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21196 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21197 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21198 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21199 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21200 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21201 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21202 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21203 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21204 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21205 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21206 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21207 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21208 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21209 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21210 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21211 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21212 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21213 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21214 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21215 wine_fn_config_makefile dlls/xmllite enable_xmllite
21216 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21217 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21218 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21219 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21220 wine_fn_config_makefile fonts enable_fonts
21221 wine_fn_config_makefile include enable_include
21222 wine_fn_config_makefile libs/port enable_port
21223 wine_fn_config_makefile libs/wine enable_wine
21224 wine_fn_config_makefile libs/wpp enable_wpp
21225 wine_fn_config_makefile loader enable_loader
21226 wine_fn_config_makefile nls enable_nls
21227 wine_fn_config_makefile po enable_po
21228 wine_fn_config_makefile programs/arp enable_arp
21229 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21230 wine_fn_config_makefile programs/attrib enable_attrib
21231 wine_fn_config_makefile programs/cabarc enable_cabarc
21232 wine_fn_config_makefile programs/cacls enable_cacls
21233 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21234 wine_fn_config_makefile programs/clock enable_clock
21235 wine_fn_config_makefile programs/cmd enable_cmd
21236 wine_fn_config_makefile programs/cmd/tests enable_tests
21237 wine_fn_config_makefile programs/conhost enable_conhost
21238 wine_fn_config_makefile programs/control enable_control
21239 wine_fn_config_makefile programs/cscript enable_cscript
21240 wine_fn_config_makefile programs/dism enable_dism
21241 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21242 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21243 wine_fn_config_makefile programs/eject enable_eject
21244 wine_fn_config_makefile programs/expand enable_expand
21245 wine_fn_config_makefile programs/explorer enable_explorer
21246 wine_fn_config_makefile programs/extrac32 enable_extrac32
21247 wine_fn_config_makefile programs/fc enable_fc
21248 wine_fn_config_makefile programs/find enable_find
21249 wine_fn_config_makefile programs/find/tests enable_tests
21250 wine_fn_config_makefile programs/findstr enable_findstr
21251 wine_fn_config_makefile programs/fsutil enable_fsutil
21252 wine_fn_config_makefile programs/hh enable_hh
21253 wine_fn_config_makefile programs/hostname enable_hostname
21254 wine_fn_config_makefile programs/icacls enable_icacls
21255 wine_fn_config_makefile programs/icinfo enable_icinfo
21256 wine_fn_config_makefile programs/iexplore enable_iexplore
21257 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21258 wine_fn_config_makefile programs/lodctr enable_lodctr
21259 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21260 wine_fn_config_makefile programs/mshta enable_mshta
21261 wine_fn_config_makefile programs/msidb enable_msidb
21262 wine_fn_config_makefile programs/msiexec enable_msiexec
21263 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21264 wine_fn_config_makefile programs/net enable_net
21265 wine_fn_config_makefile programs/netsh enable_netsh
21266 wine_fn_config_makefile programs/netstat enable_netstat
21267 wine_fn_config_makefile programs/ngen enable_ngen
21268 wine_fn_config_makefile programs/notepad enable_notepad
21269 wine_fn_config_makefile programs/oleview enable_oleview
21270 wine_fn_config_makefile programs/ping enable_ping
21271 wine_fn_config_makefile programs/plugplay enable_plugplay
21272 wine_fn_config_makefile programs/powershell enable_powershell
21273 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21274 wine_fn_config_makefile programs/progman enable_progman
21275 wine_fn_config_makefile programs/reg enable_reg
21276 wine_fn_config_makefile programs/reg/tests enable_tests
21277 wine_fn_config_makefile programs/regasm enable_regasm
21278 wine_fn_config_makefile programs/regedit enable_regedit
21279 wine_fn_config_makefile programs/regedit/tests enable_tests
21280 wine_fn_config_makefile programs/regini enable_regini
21281 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21282 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21283 wine_fn_config_makefile programs/rpcss enable_rpcss
21284 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21285 wine_fn_config_makefile programs/rundll32 enable_rundll32
21286 wine_fn_config_makefile programs/sc enable_sc
21287 wine_fn_config_makefile programs/schtasks enable_schtasks
21288 wine_fn_config_makefile programs/schtasks/tests enable_tests
21289 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21290 wine_fn_config_makefile programs/secedit enable_secedit
21291 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21292 wine_fn_config_makefile programs/services enable_services
21293 wine_fn_config_makefile programs/services/tests enable_tests
21294 wine_fn_config_makefile programs/shutdown enable_shutdown
21295 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21296 wine_fn_config_makefile programs/start enable_start
21297 wine_fn_config_makefile programs/subst enable_subst
21298 wine_fn_config_makefile programs/svchost enable_svchost
21299 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21300 wine_fn_config_makefile programs/taskkill enable_taskkill
21301 wine_fn_config_makefile programs/tasklist enable_tasklist
21302 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21303 wine_fn_config_makefile programs/termsv enable_termsv
21304 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21305 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21306 wine_fn_config_makefile programs/view enable_view
21307 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21308 wine_fn_config_makefile programs/whoami enable_whoami
21309 wine_fn_config_makefile programs/wineboot enable_wineboot
21310 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21311 wine_fn_config_makefile programs/winecfg enable_winecfg
21312 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21313 wine_fn_config_makefile programs/winedbg enable_winedbg
21314 wine_fn_config_makefile programs/winedevice enable_winedevice
21315 wine_fn_config_makefile programs/winefile enable_winefile
21316 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21317 wine_fn_config_makefile programs/winemine enable_winemine
21318 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21319 wine_fn_config_makefile programs/winepath enable_winepath
21320 wine_fn_config_makefile programs/winetest enable_winetest
21321 wine_fn_config_makefile programs/winevdm enable_win16
21322 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21323 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21324 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21325 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21326 wine_fn_config_makefile programs/winver enable_winver
21327 wine_fn_config_makefile programs/wmic enable_wmic
21328 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21329 wine_fn_config_makefile programs/wordpad enable_wordpad
21330 wine_fn_config_makefile programs/write enable_write
21331 wine_fn_config_makefile programs/wscript enable_wscript
21332 wine_fn_config_makefile programs/wscript/tests enable_tests
21333 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21334 wine_fn_config_makefile programs/wusa enable_wusa
21335 wine_fn_config_makefile programs/xcopy enable_xcopy
21336 wine_fn_config_makefile programs/xcopy/tests enable_tests
21337 wine_fn_config_makefile server enable_server
21338 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21339 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21340 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21341 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21342 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21343 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21344 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21345 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21346 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21349 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21350 wine_fn_append_file CONFIGURE_TARGETS "tags"
21351 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21352 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21353 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21354 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21355 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21356 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21358 if test "x$enable_tools" != xno
21359 then
21360 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21361 ac_config_commands="$ac_config_commands tools/makedep"
21365 ac_config_commands="$ac_config_commands Makefile"
21368 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21372 if test "x$enable_maintainer_mode" = xyes
21373 then
21374 wine_fn_append_rule "configure: configure.ac aclocal.m4
21375 autoconf --warnings=all
21376 include/config.h.in: include/stamp-h.in
21377 include/stamp-h.in: configure.ac aclocal.m4
21378 autoheader --warnings=all
21379 @echo timestamp > \$@"
21382 if test "x$enable_tools" != xno
21383 then
21384 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21385 @./config.status tools/makedep
21386 Makefile: tools/makedep$ac_exeext
21387 fonts: tools/sfnt2fon
21388 include: tools tools/widl"
21389 else
21390 wine_fn_append_rule "\$(MAKEDEP):
21391 @echo \"You need to run make in $TOOLSDIR first\" && false"
21394 if test -n "$with_wine64"
21395 then
21396 case "$with_wine64" in
21397 /*) reldir="" ;;
21398 *) reldir="../" ;;
21399 esac
21400 rm -f fonts server 2>/dev/null
21401 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21402 loader/wine64 loader/wine64-preloader:
21403 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21404 $with_wine64/loader/wine:
21405 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21406 $with_wine64/loader/wine-preloader:
21407 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21408 clean::
21409 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21410 else
21411 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21412 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21413 fonts \
21414 loader/wine.inf \
21415 loader/winebus.inf \
21416 loader/winehid.inf \
21417 loader/wineusb.inf \
21418 nls \
21419 programs/msidb/msidb \
21420 programs/msiexec/msiexec \
21421 programs/notepad/notepad \
21422 programs/regedit/regedit \
21423 programs/regsvr32/regsvr32 \
21424 programs/wineboot/wineboot \
21425 programs/winecfg/winecfg \
21426 programs/wineconsole/wineconsole \
21427 programs/winedbg/winedbg \
21428 programs/winefile/winefile \
21429 programs/winemine/winemine \
21430 programs/winepath/winepath \
21431 server/wineserver"
21433 case $host_os in
21434 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21435 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21436 esac
21439 $as_echo " done" >&6
21440 cat >confcache <<\_ACEOF
21441 # This file is a shell script that caches the results of configure
21442 # tests run on this system so they can be shared between configure
21443 # scripts and configure runs, see configure's option --config-cache.
21444 # It is not useful on other systems. If it contains results you don't
21445 # want to keep, you may remove or edit it.
21447 # config.status only pays attention to the cache file if you give it
21448 # the --recheck option to rerun configure.
21450 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21451 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21452 # following values.
21454 _ACEOF
21456 # The following way of writing the cache mishandles newlines in values,
21457 # but we know of no workaround that is simple, portable, and efficient.
21458 # So, we kill variables containing newlines.
21459 # Ultrix sh set writes to stderr and can't be redirected directly,
21460 # and sets the high bit in the cache file unless we assign to the vars.
21462 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21463 eval ac_val=\$$ac_var
21464 case $ac_val in #(
21465 *${as_nl}*)
21466 case $ac_var in #(
21467 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21468 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21469 esac
21470 case $ac_var in #(
21471 _ | IFS | as_nl) ;; #(
21472 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21473 *) { eval $ac_var=; unset $ac_var;} ;;
21474 esac ;;
21475 esac
21476 done
21478 (set) 2>&1 |
21479 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21480 *${as_nl}ac_space=\ *)
21481 # `set' does not quote correctly, so add quotes: double-quote
21482 # substitution turns \\\\ into \\, and sed turns \\ into \.
21483 sed -n \
21484 "s/'/'\\\\''/g;
21485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21486 ;; #(
21488 # `set' quotes correctly as required by POSIX, so do not add quotes.
21489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21491 esac |
21492 sort
21494 sed '
21495 /^ac_cv_env_/b end
21496 t clear
21497 :clear
21498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21499 t end
21500 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21501 :end' >>confcache
21502 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21503 if test -w "$cache_file"; then
21504 if test "x$cache_file" != "x/dev/null"; then
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21506 $as_echo "$as_me: updating cache $cache_file" >&6;}
21507 if test ! -f "$cache_file" || test -h "$cache_file"; then
21508 cat confcache >"$cache_file"
21509 else
21510 case $cache_file in #(
21511 */* | ?:*)
21512 mv -f confcache "$cache_file"$$ &&
21513 mv -f "$cache_file"$$ "$cache_file" ;; #(
21515 mv -f confcache "$cache_file" ;;
21516 esac
21519 else
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21521 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21524 rm -f confcache
21526 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21527 # Let make expand exec_prefix.
21528 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21530 DEFS=-DHAVE_CONFIG_H
21532 ac_libobjs=
21533 ac_ltlibobjs=
21535 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21536 # 1. Remove the extension, and $U if already installed.
21537 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21538 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21539 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21540 # will be set to the directory where LIBOBJS objects are built.
21541 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21542 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21543 done
21544 LIBOBJS=$ac_libobjs
21546 LTLIBOBJS=$ac_ltlibobjs
21550 : "${CONFIG_STATUS=./config.status}"
21551 ac_write_fail=0
21552 ac_clean_files_save=$ac_clean_files
21553 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21555 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21556 as_write_fail=0
21557 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21558 #! $SHELL
21559 # Generated by $as_me.
21560 # Run this file to recreate the current configuration.
21561 # Compiler output produced by configure, useful for debugging
21562 # configure, is in config.log if it exists.
21564 debug=false
21565 ac_cs_recheck=false
21566 ac_cs_silent=false
21568 SHELL=\${CONFIG_SHELL-$SHELL}
21569 export SHELL
21570 _ASEOF
21571 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21572 ## -------------------- ##
21573 ## M4sh Initialization. ##
21574 ## -------------------- ##
21576 # Be more Bourne compatible
21577 DUALCASE=1; export DUALCASE # for MKS sh
21578 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21579 emulate sh
21580 NULLCMD=:
21581 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21582 # is contrary to our usage. Disable this feature.
21583 alias -g '${1+"$@"}'='"$@"'
21584 setopt NO_GLOB_SUBST
21585 else
21586 case `(set -o) 2>/dev/null` in #(
21587 *posix*) :
21588 set -o posix ;; #(
21589 *) :
21591 esac
21595 as_nl='
21597 export as_nl
21598 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21599 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21600 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21601 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21602 # Prefer a ksh shell builtin over an external printf program on Solaris,
21603 # but without wasting forks for bash or zsh.
21604 if test -z "$BASH_VERSION$ZSH_VERSION" \
21605 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21606 as_echo='print -r --'
21607 as_echo_n='print -rn --'
21608 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21609 as_echo='printf %s\n'
21610 as_echo_n='printf %s'
21611 else
21612 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21613 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21614 as_echo_n='/usr/ucb/echo -n'
21615 else
21616 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21617 as_echo_n_body='eval
21618 arg=$1;
21619 case $arg in #(
21620 *"$as_nl"*)
21621 expr "X$arg" : "X\\(.*\\)$as_nl";
21622 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21623 esac;
21624 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21626 export as_echo_n_body
21627 as_echo_n='sh -c $as_echo_n_body as_echo'
21629 export as_echo_body
21630 as_echo='sh -c $as_echo_body as_echo'
21633 # The user is always right.
21634 if test "${PATH_SEPARATOR+set}" != set; then
21635 PATH_SEPARATOR=:
21636 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21637 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21638 PATH_SEPARATOR=';'
21643 # IFS
21644 # We need space, tab and new line, in precisely that order. Quoting is
21645 # there to prevent editors from complaining about space-tab.
21646 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21647 # splitting by setting IFS to empty value.)
21648 IFS=" "" $as_nl"
21650 # Find who we are. Look in the path if we contain no directory separator.
21651 as_myself=
21652 case $0 in #((
21653 *[\\/]* ) as_myself=$0 ;;
21654 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21655 for as_dir in $PATH
21657 IFS=$as_save_IFS
21658 test -z "$as_dir" && as_dir=.
21659 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21660 done
21661 IFS=$as_save_IFS
21664 esac
21665 # We did not find ourselves, most probably we were run as `sh COMMAND'
21666 # in which case we are not to be found in the path.
21667 if test "x$as_myself" = x; then
21668 as_myself=$0
21670 if test ! -f "$as_myself"; then
21671 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21672 exit 1
21675 # Unset variables that we do not need and which cause bugs (e.g. in
21676 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21677 # suppresses any "Segmentation fault" message there. '((' could
21678 # trigger a bug in pdksh 5.2.14.
21679 for as_var in BASH_ENV ENV MAIL MAILPATH
21680 do eval test x\${$as_var+set} = xset \
21681 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21682 done
21683 PS1='$ '
21684 PS2='> '
21685 PS4='+ '
21687 # NLS nuisances.
21688 LC_ALL=C
21689 export LC_ALL
21690 LANGUAGE=C
21691 export LANGUAGE
21693 # CDPATH.
21694 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21697 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21698 # ----------------------------------------
21699 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21700 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21701 # script with STATUS, using 1 if that was 0.
21702 as_fn_error ()
21704 as_status=$1; test $as_status -eq 0 && as_status=1
21705 if test "$4"; then
21706 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21707 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21709 $as_echo "$as_me: error: $2" >&2
21710 as_fn_exit $as_status
21711 } # as_fn_error
21714 # as_fn_set_status STATUS
21715 # -----------------------
21716 # Set $? to STATUS, without forking.
21717 as_fn_set_status ()
21719 return $1
21720 } # as_fn_set_status
21722 # as_fn_exit STATUS
21723 # -----------------
21724 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21725 as_fn_exit ()
21727 set +e
21728 as_fn_set_status $1
21729 exit $1
21730 } # as_fn_exit
21732 # as_fn_unset VAR
21733 # ---------------
21734 # Portably unset VAR.
21735 as_fn_unset ()
21737 { eval $1=; unset $1;}
21739 as_unset=as_fn_unset
21740 # as_fn_append VAR VALUE
21741 # ----------------------
21742 # Append the text in VALUE to the end of the definition contained in VAR. Take
21743 # advantage of any shell optimizations that allow amortized linear growth over
21744 # repeated appends, instead of the typical quadratic growth present in naive
21745 # implementations.
21746 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21747 eval 'as_fn_append ()
21749 eval $1+=\$2
21751 else
21752 as_fn_append ()
21754 eval $1=\$$1\$2
21756 fi # as_fn_append
21758 # as_fn_arith ARG...
21759 # ------------------
21760 # Perform arithmetic evaluation on the ARGs, and store the result in the
21761 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21762 # must be portable across $(()) and expr.
21763 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21764 eval 'as_fn_arith ()
21766 as_val=$(( $* ))
21768 else
21769 as_fn_arith ()
21771 as_val=`expr "$@" || test $? -eq 1`
21773 fi # as_fn_arith
21776 if expr a : '\(a\)' >/dev/null 2>&1 &&
21777 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21778 as_expr=expr
21779 else
21780 as_expr=false
21783 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21784 as_basename=basename
21785 else
21786 as_basename=false
21789 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21790 as_dirname=dirname
21791 else
21792 as_dirname=false
21795 as_me=`$as_basename -- "$0" ||
21796 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21797 X"$0" : 'X\(//\)$' \| \
21798 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21799 $as_echo X/"$0" |
21800 sed '/^.*\/\([^/][^/]*\)\/*$/{
21801 s//\1/
21804 /^X\/\(\/\/\)$/{
21805 s//\1/
21808 /^X\/\(\/\).*/{
21809 s//\1/
21812 s/.*/./; q'`
21814 # Avoid depending upon Character Ranges.
21815 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21816 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21817 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21818 as_cr_digits='0123456789'
21819 as_cr_alnum=$as_cr_Letters$as_cr_digits
21821 ECHO_C= ECHO_N= ECHO_T=
21822 case `echo -n x` in #(((((
21823 -n*)
21824 case `echo 'xy\c'` in
21825 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21826 xy) ECHO_C='\c';;
21827 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21828 ECHO_T=' ';;
21829 esac;;
21831 ECHO_N='-n';;
21832 esac
21834 rm -f conf$$ conf$$.exe conf$$.file
21835 if test -d conf$$.dir; then
21836 rm -f conf$$.dir/conf$$.file
21837 else
21838 rm -f conf$$.dir
21839 mkdir conf$$.dir 2>/dev/null
21841 if (echo >conf$$.file) 2>/dev/null; then
21842 if ln -s conf$$.file conf$$ 2>/dev/null; then
21843 as_ln_s='ln -s'
21844 # ... but there are two gotchas:
21845 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21846 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21847 # In both cases, we have to default to `cp -pR'.
21848 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21849 as_ln_s='cp -pR'
21850 elif ln conf$$.file conf$$ 2>/dev/null; then
21851 as_ln_s=ln
21852 else
21853 as_ln_s='cp -pR'
21855 else
21856 as_ln_s='cp -pR'
21858 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21859 rmdir conf$$.dir 2>/dev/null
21862 # as_fn_mkdir_p
21863 # -------------
21864 # Create "$as_dir" as a directory, including parents if necessary.
21865 as_fn_mkdir_p ()
21868 case $as_dir in #(
21869 -*) as_dir=./$as_dir;;
21870 esac
21871 test -d "$as_dir" || eval $as_mkdir_p || {
21872 as_dirs=
21873 while :; do
21874 case $as_dir in #(
21875 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21876 *) as_qdir=$as_dir;;
21877 esac
21878 as_dirs="'$as_qdir' $as_dirs"
21879 as_dir=`$as_dirname -- "$as_dir" ||
21880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21881 X"$as_dir" : 'X\(//\)[^/]' \| \
21882 X"$as_dir" : 'X\(//\)$' \| \
21883 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21884 $as_echo X"$as_dir" |
21885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21886 s//\1/
21889 /^X\(\/\/\)[^/].*/{
21890 s//\1/
21893 /^X\(\/\/\)$/{
21894 s//\1/
21897 /^X\(\/\).*/{
21898 s//\1/
21901 s/.*/./; q'`
21902 test -d "$as_dir" && break
21903 done
21904 test -z "$as_dirs" || eval "mkdir $as_dirs"
21905 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21908 } # as_fn_mkdir_p
21909 if mkdir -p . 2>/dev/null; then
21910 as_mkdir_p='mkdir -p "$as_dir"'
21911 else
21912 test -d ./-p && rmdir ./-p
21913 as_mkdir_p=false
21917 # as_fn_executable_p FILE
21918 # -----------------------
21919 # Test if FILE is an executable regular file.
21920 as_fn_executable_p ()
21922 test -f "$1" && test -x "$1"
21923 } # as_fn_executable_p
21924 as_test_x='test -x'
21925 as_executable_p=as_fn_executable_p
21927 # Sed expression to map a string onto a valid CPP name.
21928 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21930 # Sed expression to map a string onto a valid variable name.
21931 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21934 exec 6>&1
21935 ## ----------------------------------- ##
21936 ## Main body of $CONFIG_STATUS script. ##
21937 ## ----------------------------------- ##
21938 _ASEOF
21939 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21942 # Save the log message, to keep $0 and so on meaningful, and to
21943 # report actual input values of CONFIG_FILES etc. instead of their
21944 # values after options handling.
21945 ac_log="
21946 This file was extended by Wine $as_me 5.7, which was
21947 generated by GNU Autoconf 2.69. Invocation command line was
21949 CONFIG_FILES = $CONFIG_FILES
21950 CONFIG_HEADERS = $CONFIG_HEADERS
21951 CONFIG_LINKS = $CONFIG_LINKS
21952 CONFIG_COMMANDS = $CONFIG_COMMANDS
21953 $ $0 $@
21955 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21958 _ACEOF
21960 case $ac_config_files in *"
21961 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21962 esac
21964 case $ac_config_headers in *"
21965 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21966 esac
21969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21970 # Files that config.status was made for.
21971 config_files="$ac_config_files"
21972 config_headers="$ac_config_headers"
21973 config_links="$ac_config_links"
21974 config_commands="$ac_config_commands"
21976 _ACEOF
21978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21979 ac_cs_usage="\
21980 \`$as_me' instantiates files and other configuration actions
21981 from templates according to the current configuration. Unless the files
21982 and actions are specified as TAGs, all are instantiated by default.
21984 Usage: $0 [OPTION]... [TAG]...
21986 -h, --help print this help, then exit
21987 -V, --version print version number and configuration settings, then exit
21988 --config print configuration, then exit
21989 -q, --quiet, --silent
21990 do not print progress messages
21991 -d, --debug don't remove temporary files
21992 --recheck update $as_me by reconfiguring in the same conditions
21993 --file=FILE[:TEMPLATE]
21994 instantiate the configuration file FILE
21995 --header=FILE[:TEMPLATE]
21996 instantiate the configuration header FILE
21998 Configuration files:
21999 $config_files
22001 Configuration headers:
22002 $config_headers
22004 Configuration links:
22005 $config_links
22007 Configuration commands:
22008 $config_commands
22010 Report bugs to <wine-devel@winehq.org>.
22011 Wine home page: <https://www.winehq.org>."
22013 _ACEOF
22014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22015 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22016 ac_cs_version="\\
22017 Wine config.status 5.7
22018 configured by $0, generated by GNU Autoconf 2.69,
22019 with options \\"\$ac_cs_config\\"
22021 Copyright (C) 2012 Free Software Foundation, Inc.
22022 This config.status script is free software; the Free Software Foundation
22023 gives unlimited permission to copy, distribute and modify it."
22025 ac_pwd='$ac_pwd'
22026 srcdir='$srcdir'
22027 test -n "\$AWK" || AWK=awk
22028 _ACEOF
22030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22031 # The default lists apply if the user does not specify any file.
22032 ac_need_defaults=:
22033 while test $# != 0
22035 case $1 in
22036 --*=?*)
22037 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22038 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22039 ac_shift=:
22041 --*=)
22042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22043 ac_optarg=
22044 ac_shift=:
22047 ac_option=$1
22048 ac_optarg=$2
22049 ac_shift=shift
22051 esac
22053 case $ac_option in
22054 # Handling of the options.
22055 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22056 ac_cs_recheck=: ;;
22057 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22058 $as_echo "$ac_cs_version"; exit ;;
22059 --config | --confi | --conf | --con | --co | --c )
22060 $as_echo "$ac_cs_config"; exit ;;
22061 --debug | --debu | --deb | --de | --d | -d )
22062 debug=: ;;
22063 --file | --fil | --fi | --f )
22064 $ac_shift
22065 case $ac_optarg in
22066 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22067 '') as_fn_error $? "missing file argument" ;;
22068 esac
22069 as_fn_append CONFIG_FILES " '$ac_optarg'"
22070 ac_need_defaults=false;;
22071 --header | --heade | --head | --hea )
22072 $ac_shift
22073 case $ac_optarg in
22074 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22075 esac
22076 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22077 ac_need_defaults=false;;
22078 --he | --h)
22079 # Conflict between --help and --header
22080 as_fn_error $? "ambiguous option: \`$1'
22081 Try \`$0 --help' for more information.";;
22082 --help | --hel | -h )
22083 $as_echo "$ac_cs_usage"; exit ;;
22084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22085 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22086 ac_cs_silent=: ;;
22088 # This is an error.
22089 -*) as_fn_error $? "unrecognized option: \`$1'
22090 Try \`$0 --help' for more information." ;;
22092 *) as_fn_append ac_config_targets " $1"
22093 ac_need_defaults=false ;;
22095 esac
22096 shift
22097 done
22099 ac_configure_extra_args=
22101 if $ac_cs_silent; then
22102 exec 6>/dev/null
22103 ac_configure_extra_args="$ac_configure_extra_args --silent"
22106 _ACEOF
22107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22108 if \$ac_cs_recheck; then
22109 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22110 shift
22111 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22112 CONFIG_SHELL='$SHELL'
22113 export CONFIG_SHELL
22114 exec "\$@"
22117 _ACEOF
22118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22119 exec 5>>config.log
22121 echo
22122 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22123 ## Running $as_me. ##
22124 _ASBOX
22125 $as_echo "$ac_log"
22126 } >&5
22128 _ACEOF
22129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22131 # INIT-COMMANDS
22133 wine_fn_output_makedep ()
22135 as_dir=tools; as_fn_mkdir_p
22136 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22138 wine_fn_output_makefile ()
22140 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22141 `cat $wine_rules_file`
22142 _WINE_EOF
22143 as_fn_error $? "could not create Makefile" "$LINENO" 5
22146 _ACEOF
22148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22150 # Handling of arguments.
22151 for ac_config_target in $ac_config_targets
22153 case $ac_config_target in
22154 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22155 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22156 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22157 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22158 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22159 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22160 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22162 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22163 esac
22164 done
22167 # If the user did not use the arguments to specify the items to instantiate,
22168 # then the envvar interface is used. Set only those that are not.
22169 # We use the long form for the default assignment because of an extremely
22170 # bizarre bug on SunOS 4.1.3.
22171 if $ac_need_defaults; then
22172 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22173 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22174 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22175 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22178 # Have a temporary directory for convenience. Make it in the build tree
22179 # simply because there is no reason against having it here, and in addition,
22180 # creating and moving files from /tmp can sometimes cause problems.
22181 # Hook for its removal unless debugging.
22182 # Note that there is a small window in which the directory will not be cleaned:
22183 # after its creation but before its name has been assigned to `$tmp'.
22184 $debug ||
22186 tmp= ac_tmp=
22187 trap 'exit_status=$?
22188 : "${ac_tmp:=$tmp}"
22189 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22191 trap 'as_fn_exit 1' 1 2 13 15
22193 # Create a (secure) tmp directory for tmp files.
22196 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22197 test -d "$tmp"
22198 } ||
22200 tmp=./conf$$-$RANDOM
22201 (umask 077 && mkdir "$tmp")
22202 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22203 ac_tmp=$tmp
22205 # Set up the scripts for CONFIG_FILES section.
22206 # No need to generate them if there are no CONFIG_FILES.
22207 # This happens for instance with `./config.status config.h'.
22208 if test -n "$CONFIG_FILES"; then
22211 ac_cr=`echo X | tr X '\015'`
22212 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22213 # But we know of no other shell where ac_cr would be empty at this
22214 # point, so we can use a bashism as a fallback.
22215 if test "x$ac_cr" = x; then
22216 eval ac_cr=\$\'\\r\'
22218 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22219 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22220 ac_cs_awk_cr='\\r'
22221 else
22222 ac_cs_awk_cr=$ac_cr
22225 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22226 _ACEOF
22230 echo "cat >conf$$subs.awk <<_ACEOF" &&
22231 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22232 echo "_ACEOF"
22233 } >conf$$subs.sh ||
22234 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22235 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22236 ac_delim='%!_!# '
22237 for ac_last_try in false false false false false :; do
22238 . ./conf$$subs.sh ||
22239 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22241 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22242 if test $ac_delim_n = $ac_delim_num; then
22243 break
22244 elif $ac_last_try; then
22245 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22246 else
22247 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22249 done
22250 rm -f conf$$subs.sh
22252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22253 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22254 _ACEOF
22255 sed -n '
22257 s/^/S["/; s/!.*/"]=/
22260 s/^[^!]*!//
22261 :repl
22262 t repl
22263 s/'"$ac_delim"'$//
22264 t delim
22267 s/\(.\{148\}\)..*/\1/
22268 t more1
22269 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22272 b repl
22273 :more1
22274 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22277 s/.\{148\}//
22278 t nl
22279 :delim
22281 s/\(.\{148\}\)..*/\1/
22282 t more2
22283 s/["\\]/\\&/g; s/^/"/; s/$/"/
22286 :more2
22287 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22290 s/.\{148\}//
22291 t delim
22292 ' <conf$$subs.awk | sed '
22293 /^[^""]/{
22295 s/\n//
22297 ' >>$CONFIG_STATUS || ac_write_fail=1
22298 rm -f conf$$subs.awk
22299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22300 _ACAWK
22301 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22302 for (key in S) S_is_set[key] = 1
22303 FS = "\a"
22307 line = $ 0
22308 nfields = split(line, field, "@")
22309 substed = 0
22310 len = length(field[1])
22311 for (i = 2; i < nfields; i++) {
22312 key = field[i]
22313 keylen = length(key)
22314 if (S_is_set[key]) {
22315 value = S[key]
22316 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22317 len += length(value) + length(field[++i])
22318 substed = 1
22319 } else
22320 len += 1 + keylen
22323 print line
22326 _ACAWK
22327 _ACEOF
22328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22329 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22330 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22331 else
22333 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22334 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22335 _ACEOF
22337 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22338 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22339 # trailing colons and then remove the whole line if VPATH becomes empty
22340 # (actually we leave an empty line to preserve line numbers).
22341 if test "x$srcdir" = x.; then
22342 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22344 s///
22345 s/^/:/
22346 s/[ ]*$/:/
22347 s/:\$(srcdir):/:/g
22348 s/:\${srcdir}:/:/g
22349 s/:@srcdir@:/:/g
22350 s/^:*//
22351 s/:*$//
22353 s/\(=[ ]*\).*/\1/
22355 s/\n//
22356 s/^[^=]*=[ ]*$//
22360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22361 fi # test -n "$CONFIG_FILES"
22363 # Set up the scripts for CONFIG_HEADERS section.
22364 # No need to generate them if there are no CONFIG_HEADERS.
22365 # This happens for instance with `./config.status Makefile'.
22366 if test -n "$CONFIG_HEADERS"; then
22367 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22368 BEGIN {
22369 _ACEOF
22371 # Transform confdefs.h into an awk script `defines.awk', embedded as
22372 # here-document in config.status, that substitutes the proper values into
22373 # config.h.in to produce config.h.
22375 # Create a delimiter string that does not exist in confdefs.h, to ease
22376 # handling of long lines.
22377 ac_delim='%!_!# '
22378 for ac_last_try in false false :; do
22379 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22380 if test -z "$ac_tt"; then
22381 break
22382 elif $ac_last_try; then
22383 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22384 else
22385 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22387 done
22389 # For the awk script, D is an array of macro values keyed by name,
22390 # likewise P contains macro parameters if any. Preserve backslash
22391 # newline sequences.
22393 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22394 sed -n '
22395 s/.\{148\}/&'"$ac_delim"'/g
22396 t rset
22397 :rset
22398 s/^[ ]*#[ ]*define[ ][ ]*/ /
22399 t def
22401 :def
22402 s/\\$//
22403 t bsnl
22404 s/["\\]/\\&/g
22405 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22406 D["\1"]=" \3"/p
22407 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22409 :bsnl
22410 s/["\\]/\\&/g
22411 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22412 D["\1"]=" \3\\\\\\n"\\/p
22413 t cont
22414 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22415 t cont
22417 :cont
22419 s/.\{148\}/&'"$ac_delim"'/g
22420 t clear
22421 :clear
22422 s/\\$//
22423 t bsnlc
22424 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22426 :bsnlc
22427 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22428 b cont
22429 ' <confdefs.h | sed '
22430 s/'"$ac_delim"'/"\\\
22431 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22434 for (key in D) D_is_set[key] = 1
22435 FS = "\a"
22437 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22438 line = \$ 0
22439 split(line, arg, " ")
22440 if (arg[1] == "#") {
22441 defundef = arg[2]
22442 mac1 = arg[3]
22443 } else {
22444 defundef = substr(arg[1], 2)
22445 mac1 = arg[2]
22447 split(mac1, mac2, "(") #)
22448 macro = mac2[1]
22449 prefix = substr(line, 1, index(line, defundef) - 1)
22450 if (D_is_set[macro]) {
22451 # Preserve the white space surrounding the "#".
22452 print prefix "define", macro P[macro] D[macro]
22453 next
22454 } else {
22455 # Replace #undef with comments. This is necessary, for example,
22456 # in the case of _POSIX_SOURCE, which is predefined and required
22457 # on some systems where configure will not decide to define it.
22458 if (defundef == "undef") {
22459 print "/*", prefix defundef, macro, "*/"
22460 next
22464 { print }
22465 _ACAWK
22466 _ACEOF
22467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22468 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22469 fi # test -n "$CONFIG_HEADERS"
22472 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22473 shift
22474 for ac_tag
22476 case $ac_tag in
22477 :[FHLC]) ac_mode=$ac_tag; continue;;
22478 esac
22479 case $ac_mode$ac_tag in
22480 :[FHL]*:*);;
22481 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22482 :[FH]-) ac_tag=-:-;;
22483 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22484 esac
22485 ac_save_IFS=$IFS
22486 IFS=:
22487 set x $ac_tag
22488 IFS=$ac_save_IFS
22489 shift
22490 ac_file=$1
22491 shift
22493 case $ac_mode in
22494 :L) ac_source=$1;;
22495 :[FH])
22496 ac_file_inputs=
22497 for ac_f
22499 case $ac_f in
22500 -) ac_f="$ac_tmp/stdin";;
22501 *) # Look for the file first in the build tree, then in the source tree
22502 # (if the path is not absolute). The absolute path cannot be DOS-style,
22503 # because $ac_f cannot contain `:'.
22504 test -f "$ac_f" ||
22505 case $ac_f in
22506 [\\/$]*) false;;
22507 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22508 esac ||
22509 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22510 esac
22511 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22512 as_fn_append ac_file_inputs " '$ac_f'"
22513 done
22515 # Let's still pretend it is `configure' which instantiates (i.e., don't
22516 # use $as_me), people would be surprised to read:
22517 # /* config.h. Generated by config.status. */
22518 configure_input='Generated from '`
22519 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22520 `' by configure.'
22521 if test x"$ac_file" != x-; then
22522 configure_input="$ac_file. $configure_input"
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22524 $as_echo "$as_me: creating $ac_file" >&6;}
22526 # Neutralize special characters interpreted by sed in replacement strings.
22527 case $configure_input in #(
22528 *\&* | *\|* | *\\* )
22529 ac_sed_conf_input=`$as_echo "$configure_input" |
22530 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22531 *) ac_sed_conf_input=$configure_input;;
22532 esac
22534 case $ac_tag in
22535 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22537 esac
22539 esac
22541 ac_dir=`$as_dirname -- "$ac_file" ||
22542 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22543 X"$ac_file" : 'X\(//\)[^/]' \| \
22544 X"$ac_file" : 'X\(//\)$' \| \
22545 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22546 $as_echo X"$ac_file" |
22547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22548 s//\1/
22551 /^X\(\/\/\)[^/].*/{
22552 s//\1/
22555 /^X\(\/\/\)$/{
22556 s//\1/
22559 /^X\(\/\).*/{
22560 s//\1/
22563 s/.*/./; q'`
22564 as_dir="$ac_dir"; as_fn_mkdir_p
22565 ac_builddir=.
22567 case "$ac_dir" in
22568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22570 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22571 # A ".." for each directory in $ac_dir_suffix.
22572 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22573 case $ac_top_builddir_sub in
22574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22576 esac ;;
22577 esac
22578 ac_abs_top_builddir=$ac_pwd
22579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22580 # for backward compatibility:
22581 ac_top_builddir=$ac_top_build_prefix
22583 case $srcdir in
22584 .) # We are building in place.
22585 ac_srcdir=.
22586 ac_top_srcdir=$ac_top_builddir_sub
22587 ac_abs_top_srcdir=$ac_pwd ;;
22588 [\\/]* | ?:[\\/]* ) # Absolute name.
22589 ac_srcdir=$srcdir$ac_dir_suffix;
22590 ac_top_srcdir=$srcdir
22591 ac_abs_top_srcdir=$srcdir ;;
22592 *) # Relative name.
22593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22594 ac_top_srcdir=$ac_top_build_prefix$srcdir
22595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22596 esac
22597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22600 case $ac_mode in
22603 # CONFIG_FILE
22606 _ACEOF
22608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22609 # If the template does not know about datarootdir, expand it.
22610 # FIXME: This hack should be removed a few years after 2.60.
22611 ac_datarootdir_hack=; ac_datarootdir_seen=
22612 ac_sed_dataroot='
22613 /datarootdir/ {
22617 /@datadir@/p
22618 /@docdir@/p
22619 /@infodir@/p
22620 /@localedir@/p
22621 /@mandir@/p'
22622 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22623 *datarootdir*) ac_datarootdir_seen=yes;;
22624 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22626 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22627 _ACEOF
22628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22629 ac_datarootdir_hack='
22630 s&@datadir@&$datadir&g
22631 s&@docdir@&$docdir&g
22632 s&@infodir@&$infodir&g
22633 s&@localedir@&$localedir&g
22634 s&@mandir@&$mandir&g
22635 s&\\\${datarootdir}&$datarootdir&g' ;;
22636 esac
22637 _ACEOF
22639 # Neutralize VPATH when `$srcdir' = `.'.
22640 # Shell code in configure.ac might set extrasub.
22641 # FIXME: do we really want to maintain this feature?
22642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22643 ac_sed_extra="$ac_vpsub
22644 $extrasub
22645 _ACEOF
22646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22648 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22649 s|@configure_input@|$ac_sed_conf_input|;t t
22650 s&@top_builddir@&$ac_top_builddir_sub&;t t
22651 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22652 s&@srcdir@&$ac_srcdir&;t t
22653 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22654 s&@top_srcdir@&$ac_top_srcdir&;t t
22655 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22656 s&@builddir@&$ac_builddir&;t t
22657 s&@abs_builddir@&$ac_abs_builddir&;t t
22658 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22659 $ac_datarootdir_hack
22661 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22662 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22664 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22665 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22666 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22667 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22669 which seems to be undefined. Please make sure it is defined" >&5
22670 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22671 which seems to be undefined. Please make sure it is defined" >&2;}
22673 rm -f "$ac_tmp/stdin"
22674 case $ac_file in
22675 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22676 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22677 esac \
22678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22682 # CONFIG_HEADER
22684 if test x"$ac_file" != x-; then
22686 $as_echo "/* $configure_input */" \
22687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22688 } >"$ac_tmp/config.h" \
22689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22690 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22692 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22693 else
22694 rm -f "$ac_file"
22695 mv "$ac_tmp/config.h" "$ac_file" \
22696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22698 else
22699 $as_echo "/* $configure_input */" \
22700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22701 || as_fn_error $? "could not create -" "$LINENO" 5
22706 # CONFIG_LINK
22709 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22711 else
22712 # Prefer the file from the source tree if names are identical.
22713 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22714 ac_source=$srcdir/$ac_source
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22718 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22720 if test ! -r "$ac_source"; then
22721 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22723 rm -f "$ac_file"
22725 # Try a relative symlink, then a hard link, then a copy.
22726 case $ac_source in
22727 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22728 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22729 esac
22730 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22731 ln "$ac_source" "$ac_file" 2>/dev/null ||
22732 cp -p "$ac_source" "$ac_file" ||
22733 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22736 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22737 $as_echo "$as_me: executing $ac_file commands" >&6;}
22739 esac
22742 case $ac_file$ac_mode in
22743 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22744 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22745 "Makefile":C) wine_fn_output_makefile Makefile ;;
22747 esac
22748 done # for ac_tag
22751 as_fn_exit 0
22752 _ACEOF
22753 ac_clean_files=$ac_clean_files_save
22755 test $ac_write_fail = 0 ||
22756 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22759 # configure is writing to config.log, and then calls config.status.
22760 # config.status does its own redirection, appending to config.log.
22761 # Unfortunately, on DOS this fails, as config.log is still kept open
22762 # by configure, so config.status won't be able to write to it; its
22763 # output is simply discarded. So we exec the FD to /dev/null,
22764 # effectively closing config.log, so it can be properly (re)opened and
22765 # appended to by config.status. When coming back to configure, we
22766 # need to make the FD available again.
22767 if test "$no_create" != yes; then
22768 ac_cs_success=:
22769 ac_config_status_args=
22770 test "$silent" = yes &&
22771 ac_config_status_args="$ac_config_status_args --quiet"
22772 exec 5>/dev/null
22773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22774 exec 5>>config.log
22775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22776 # would make configure fail if this is the last instruction.
22777 $ac_cs_success || as_fn_exit 1
22779 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22781 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22785 if test "$no_create" = "yes"
22786 then
22787 exit 0
22790 ac_save_IFS="$IFS"
22791 if test "x$wine_notices" != x; then
22792 echo >&6
22793 IFS="|"
22794 for msg in $wine_notices; do
22795 IFS="$ac_save_IFS"
22796 if ${msg:+false} :; then :
22798 else
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22800 $as_echo "$as_me: $msg" >&6;}
22802 done
22804 IFS="|"
22805 for msg in $wine_warnings; do
22806 IFS="$ac_save_IFS"
22807 if ${msg:+false} :; then :
22809 else
22810 echo >&2
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22812 $as_echo "$as_me: WARNING: $msg" >&2;}
22814 done
22815 IFS="$ac_save_IFS"
22817 $as_echo "
22818 $as_me: Finished. Do '${ac_make}' to compile Wine.
22819 " >&6