ntdll: Change master/slave to more neutral words.
[wine.git] / configure
blob3e28ac28cb42bd97e088007765b934b4bb9b4b00
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.10.
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.10'
584 PACKAGE_STRING='Wine 5.10'
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 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_libraryloader_l2_1_0
975 enable_api_ms_win_core_localization_l1_1_0
976 enable_api_ms_win_core_localization_l1_2_0
977 enable_api_ms_win_core_localization_l1_2_1
978 enable_api_ms_win_core_localization_l1_2_2
979 enable_api_ms_win_core_localization_l2_1_0
980 enable_api_ms_win_core_localization_obsolete_l1_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_2_0
982 enable_api_ms_win_core_localization_obsolete_l1_3_0
983 enable_api_ms_win_core_localization_private_l1_1_0
984 enable_api_ms_win_core_localregistry_l1_1_0
985 enable_api_ms_win_core_memory_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_1
987 enable_api_ms_win_core_memory_l1_1_2
988 enable_api_ms_win_core_memory_l1_1_4
989 enable_api_ms_win_core_misc_l1_1_0
990 enable_api_ms_win_core_namedpipe_l1_1_0
991 enable_api_ms_win_core_namedpipe_l1_2_0
992 enable_api_ms_win_core_namespace_l1_1_0
993 enable_api_ms_win_core_normalization_l1_1_0
994 enable_api_ms_win_core_path_l1_1_0
995 enable_api_ms_win_core_privateprofile_l1_1_1
996 enable_api_ms_win_core_processenvironment_l1_1_0
997 enable_api_ms_win_core_processenvironment_l1_2_0
998 enable_api_ms_win_core_processthreads_l1_1_0
999 enable_api_ms_win_core_processthreads_l1_1_1
1000 enable_api_ms_win_core_processthreads_l1_1_2
1001 enable_api_ms_win_core_processthreads_l1_1_3
1002 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1003 enable_api_ms_win_core_profile_l1_1_0
1004 enable_api_ms_win_core_psapi_ansi_l1_1_0
1005 enable_api_ms_win_core_psapi_l1_1_0
1006 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1007 enable_api_ms_win_core_quirks_l1_1_0
1008 enable_api_ms_win_core_realtime_l1_1_0
1009 enable_api_ms_win_core_registry_l1_1_0
1010 enable_api_ms_win_core_registry_l2_1_0
1011 enable_api_ms_win_core_registry_l2_2_0
1012 enable_api_ms_win_core_registryuserspecific_l1_1_0
1013 enable_api_ms_win_core_rtlsupport_l1_1_0
1014 enable_api_ms_win_core_rtlsupport_l1_2_0
1015 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1016 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1017 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1018 enable_api_ms_win_core_shutdown_l1_1_0
1019 enable_api_ms_win_core_sidebyside_l1_1_0
1020 enable_api_ms_win_core_string_l1_1_0
1021 enable_api_ms_win_core_string_l2_1_0
1022 enable_api_ms_win_core_string_obsolete_l1_1_0
1023 enable_api_ms_win_core_stringansi_l1_1_0
1024 enable_api_ms_win_core_stringloader_l1_1_1
1025 enable_api_ms_win_core_synch_ansi_l1_1_0
1026 enable_api_ms_win_core_synch_l1_1_0
1027 enable_api_ms_win_core_synch_l1_2_0
1028 enable_api_ms_win_core_synch_l1_2_1
1029 enable_api_ms_win_core_sysinfo_l1_1_0
1030 enable_api_ms_win_core_sysinfo_l1_2_0
1031 enable_api_ms_win_core_sysinfo_l1_2_1
1032 enable_api_ms_win_core_threadpool_l1_1_0
1033 enable_api_ms_win_core_threadpool_l1_2_0
1034 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1035 enable_api_ms_win_core_threadpool_private_l1_1_0
1036 enable_api_ms_win_core_timezone_l1_1_0
1037 enable_api_ms_win_core_toolhelp_l1_1_0
1038 enable_api_ms_win_core_url_l1_1_0
1039 enable_api_ms_win_core_util_l1_1_0
1040 enable_api_ms_win_core_version_l1_1_0
1041 enable_api_ms_win_core_version_l1_1_1
1042 enable_api_ms_win_core_version_private_l1_1_0
1043 enable_api_ms_win_core_versionansi_l1_1_0
1044 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1045 enable_api_ms_win_core_winrt_error_l1_1_0
1046 enable_api_ms_win_core_winrt_error_l1_1_1
1047 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1048 enable_api_ms_win_core_winrt_l1_1_0
1049 enable_api_ms_win_core_winrt_registration_l1_1_0
1050 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1051 enable_api_ms_win_core_winrt_string_l1_1_0
1052 enable_api_ms_win_core_winrt_string_l1_1_1
1053 enable_api_ms_win_core_wow64_l1_1_0
1054 enable_api_ms_win_core_wow64_l1_1_1
1055 enable_api_ms_win_core_xstate_l1_1_0
1056 enable_api_ms_win_core_xstate_l2_1_0
1057 enable_api_ms_win_crt_conio_l1_1_0
1058 enable_api_ms_win_crt_convert_l1_1_0
1059 enable_api_ms_win_crt_environment_l1_1_0
1060 enable_api_ms_win_crt_filesystem_l1_1_0
1061 enable_api_ms_win_crt_heap_l1_1_0
1062 enable_api_ms_win_crt_locale_l1_1_0
1063 enable_api_ms_win_crt_math_l1_1_0
1064 enable_api_ms_win_crt_multibyte_l1_1_0
1065 enable_api_ms_win_crt_private_l1_1_0
1066 enable_api_ms_win_crt_process_l1_1_0
1067 enable_api_ms_win_crt_runtime_l1_1_0
1068 enable_api_ms_win_crt_stdio_l1_1_0
1069 enable_api_ms_win_crt_string_l1_1_0
1070 enable_api_ms_win_crt_time_l1_1_0
1071 enable_api_ms_win_crt_utility_l1_1_0
1072 enable_api_ms_win_devices_config_l1_1_0
1073 enable_api_ms_win_devices_config_l1_1_1
1074 enable_api_ms_win_devices_query_l1_1_1
1075 enable_api_ms_win_downlevel_advapi32_l1_1_0
1076 enable_api_ms_win_downlevel_advapi32_l2_1_0
1077 enable_api_ms_win_downlevel_kernel32_l2_1_0
1078 enable_api_ms_win_downlevel_normaliz_l1_1_0
1079 enable_api_ms_win_downlevel_ole32_l1_1_0
1080 enable_api_ms_win_downlevel_shell32_l1_1_0
1081 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1082 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1083 enable_api_ms_win_downlevel_user32_l1_1_0
1084 enable_api_ms_win_downlevel_version_l1_1_0
1085 enable_api_ms_win_dx_d3dkmt_l1_1_0
1086 enable_api_ms_win_eventing_classicprovider_l1_1_0
1087 enable_api_ms_win_eventing_consumer_l1_1_0
1088 enable_api_ms_win_eventing_controller_l1_1_0
1089 enable_api_ms_win_eventing_legacy_l1_1_0
1090 enable_api_ms_win_eventing_provider_l1_1_0
1091 enable_api_ms_win_eventlog_legacy_l1_1_0
1092 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1093 enable_api_ms_win_mm_joystick_l1_1_0
1094 enable_api_ms_win_mm_misc_l1_1_1
1095 enable_api_ms_win_mm_mme_l1_1_0
1096 enable_api_ms_win_mm_time_l1_1_0
1097 enable_api_ms_win_ntuser_dc_access_l1_1_0
1098 enable_api_ms_win_ntuser_rectangle_l1_1_0
1099 enable_api_ms_win_ntuser_sysparams_l1_1_0
1100 enable_api_ms_win_perf_legacy_l1_1_0
1101 enable_api_ms_win_power_base_l1_1_0
1102 enable_api_ms_win_power_setting_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1106 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1110 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1111 enable_api_ms_win_security_audit_l1_1_1
1112 enable_api_ms_win_security_base_l1_1_0
1113 enable_api_ms_win_security_base_l1_2_0
1114 enable_api_ms_win_security_base_private_l1_1_1
1115 enable_api_ms_win_security_credentials_l1_1_0
1116 enable_api_ms_win_security_cryptoapi_l1_1_0
1117 enable_api_ms_win_security_grouppolicy_l1_1_0
1118 enable_api_ms_win_security_lsalookup_l1_1_0
1119 enable_api_ms_win_security_lsalookup_l1_1_1
1120 enable_api_ms_win_security_lsalookup_l2_1_0
1121 enable_api_ms_win_security_lsalookup_l2_1_1
1122 enable_api_ms_win_security_lsapolicy_l1_1_0
1123 enable_api_ms_win_security_provider_l1_1_0
1124 enable_api_ms_win_security_sddl_l1_1_0
1125 enable_api_ms_win_security_systemfunctions_l1_1_0
1126 enable_api_ms_win_service_core_l1_1_0
1127 enable_api_ms_win_service_core_l1_1_1
1128 enable_api_ms_win_service_management_l1_1_0
1129 enable_api_ms_win_service_management_l2_1_0
1130 enable_api_ms_win_service_private_l1_1_1
1131 enable_api_ms_win_service_winsvc_l1_1_0
1132 enable_api_ms_win_service_winsvc_l1_2_0
1133 enable_api_ms_win_shcore_obsolete_l1_1_0
1134 enable_api_ms_win_shcore_scaling_l1_1_1
1135 enable_api_ms_win_shcore_stream_l1_1_0
1136 enable_api_ms_win_shcore_thread_l1_1_0
1137 enable_api_ms_win_shell_shellcom_l1_1_0
1138 enable_api_ms_win_shell_shellfolders_l1_1_0
1139 enable_apphelp
1140 enable_appwiz_cpl
1141 enable_atl
1142 enable_atl100
1143 enable_atl110
1144 enable_atl80
1145 enable_atl90
1146 enable_atlthunk
1147 enable_atmlib
1148 enable_authz
1149 enable_avicap32
1150 enable_avifil32
1151 enable_avrt
1152 enable_bcrypt
1153 enable_bluetoothapis
1154 enable_browseui
1155 enable_bthprops_cpl
1156 enable_cabinet
1157 enable_capi2032
1158 enable_cards
1159 enable_cdosys
1160 enable_cfgmgr32
1161 enable_clusapi
1162 enable_combase
1163 enable_comcat
1164 enable_comctl32
1165 enable_comdlg32
1166 enable_compstui
1167 enable_comsvcs
1168 enable_concrt140
1169 enable_connect
1170 enable_credui
1171 enable_crtdll
1172 enable_crypt32
1173 enable_cryptdlg
1174 enable_cryptdll
1175 enable_cryptext
1176 enable_cryptnet
1177 enable_cryptui
1178 enable_ctapi32
1179 enable_ctl3d32
1180 enable_d2d1
1181 enable_d3d10
1182 enable_d3d10_1
1183 enable_d3d10core
1184 enable_d3d11
1185 enable_d3d12
1186 enable_d3d8
1187 enable_d3d9
1188 enable_d3dcompiler_33
1189 enable_d3dcompiler_34
1190 enable_d3dcompiler_35
1191 enable_d3dcompiler_36
1192 enable_d3dcompiler_37
1193 enable_d3dcompiler_38
1194 enable_d3dcompiler_39
1195 enable_d3dcompiler_40
1196 enable_d3dcompiler_41
1197 enable_d3dcompiler_42
1198 enable_d3dcompiler_43
1199 enable_d3dcompiler_46
1200 enable_d3dcompiler_47
1201 enable_d3dim
1202 enable_d3drm
1203 enable_d3dx10_33
1204 enable_d3dx10_34
1205 enable_d3dx10_35
1206 enable_d3dx10_36
1207 enable_d3dx10_37
1208 enable_d3dx10_38
1209 enable_d3dx10_39
1210 enable_d3dx10_40
1211 enable_d3dx10_41
1212 enable_d3dx10_42
1213 enable_d3dx10_43
1214 enable_d3dx11_42
1215 enable_d3dx11_43
1216 enable_d3dx9_24
1217 enable_d3dx9_25
1218 enable_d3dx9_26
1219 enable_d3dx9_27
1220 enable_d3dx9_28
1221 enable_d3dx9_29
1222 enable_d3dx9_30
1223 enable_d3dx9_31
1224 enable_d3dx9_32
1225 enable_d3dx9_33
1226 enable_d3dx9_34
1227 enable_d3dx9_35
1228 enable_d3dx9_36
1229 enable_d3dx9_37
1230 enable_d3dx9_38
1231 enable_d3dx9_39
1232 enable_d3dx9_40
1233 enable_d3dx9_41
1234 enable_d3dx9_42
1235 enable_d3dx9_43
1236 enable_d3dxof
1237 enable_davclnt
1238 enable_dbgeng
1239 enable_dbghelp
1240 enable_dciman32
1241 enable_ddraw
1242 enable_ddrawex
1243 enable_devenum
1244 enable_dhcpcsvc
1245 enable_dhtmled_ocx
1246 enable_difxapi
1247 enable_dinput
1248 enable_dinput8
1249 enable_directmanipulation
1250 enable_dispex
1251 enable_dmband
1252 enable_dmcompos
1253 enable_dmime
1254 enable_dmloader
1255 enable_dmoguids
1256 enable_dmscript
1257 enable_dmstyle
1258 enable_dmsynth
1259 enable_dmusic
1260 enable_dmusic32
1261 enable_dnsapi
1262 enable_dplay
1263 enable_dplayx
1264 enable_dpnaddr
1265 enable_dpnet
1266 enable_dpnhpast
1267 enable_dpnlobby
1268 enable_dpvoice
1269 enable_dpwsockx
1270 enable_drmclien
1271 enable_dsdmo
1272 enable_dsound
1273 enable_dsquery
1274 enable_dssenh
1275 enable_dsuiext
1276 enable_dswave
1277 enable_dwmapi
1278 enable_dwrite
1279 enable_dx8vb
1280 enable_dxdiagn
1281 enable_dxerr8
1282 enable_dxerr9
1283 enable_dxgi
1284 enable_dxguid
1285 enable_dxva2
1286 enable_esent
1287 enable_evr
1288 enable_explorerframe
1289 enable_ext_ms_win_authz_context_l1_1_0
1290 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1291 enable_ext_ms_win_dwmapi_ext_l1_1_0
1292 enable_ext_ms_win_gdi_dc_create_l1_1_0
1293 enable_ext_ms_win_gdi_dc_create_l1_1_1
1294 enable_ext_ms_win_gdi_dc_l1_2_0
1295 enable_ext_ms_win_gdi_devcaps_l1_1_0
1296 enable_ext_ms_win_gdi_draw_l1_1_0
1297 enable_ext_ms_win_gdi_draw_l1_1_1
1298 enable_ext_ms_win_gdi_font_l1_1_0
1299 enable_ext_ms_win_gdi_font_l1_1_1
1300 enable_ext_ms_win_gdi_render_l1_1_0
1301 enable_ext_ms_win_kernel32_package_current_l1_1_0
1302 enable_ext_ms_win_kernel32_package_l1_1_1
1303 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1304 enable_ext_ms_win_ntuser_draw_l1_1_0
1305 enable_ext_ms_win_ntuser_gui_l1_1_0
1306 enable_ext_ms_win_ntuser_gui_l1_3_0
1307 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1308 enable_ext_ms_win_ntuser_message_l1_1_0
1309 enable_ext_ms_win_ntuser_message_l1_1_1
1310 enable_ext_ms_win_ntuser_misc_l1_1_0
1311 enable_ext_ms_win_ntuser_misc_l1_2_0
1312 enable_ext_ms_win_ntuser_misc_l1_5_1
1313 enable_ext_ms_win_ntuser_mouse_l1_1_0
1314 enable_ext_ms_win_ntuser_private_l1_1_1
1315 enable_ext_ms_win_ntuser_private_l1_3_1
1316 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1317 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1318 enable_ext_ms_win_ntuser_window_l1_1_0
1319 enable_ext_ms_win_ntuser_window_l1_1_1
1320 enable_ext_ms_win_ntuser_window_l1_1_4
1321 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1322 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1323 enable_ext_ms_win_oleacc_l1_1_0
1324 enable_ext_ms_win_ras_rasapi32_l1_1_0
1325 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1326 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1327 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1330 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1331 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1332 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1335 enable_ext_ms_win_security_credui_l1_1_0
1336 enable_ext_ms_win_security_cryptui_l1_1_0
1337 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1338 enable_ext_ms_win_shell_comdlg32_l1_1_0
1339 enable_ext_ms_win_shell_shell32_l1_2_0
1340 enable_ext_ms_win_uxtheme_themes_l1_1_0
1341 enable_faultrep
1342 enable_feclient
1343 enable_fltlib
1344 enable_fltmgr_sys
1345 enable_fntcache
1346 enable_fontsub
1347 enable_fusion
1348 enable_fwpuclnt
1349 enable_gameux
1350 enable_gdi32
1351 enable_gdiplus
1352 enable_glu32
1353 enable_gphoto2_ds
1354 enable_gpkcsp
1355 enable_hal
1356 enable_hhctrl_ocx
1357 enable_hid
1358 enable_hidclass_sys
1359 enable_hlink
1360 enable_hnetcfg
1361 enable_http_sys
1362 enable_httpapi
1363 enable_iccvid
1364 enable_icmp
1365 enable_ieframe
1366 enable_ieproxy
1367 enable_imaadp32_acm
1368 enable_imagehlp
1369 enable_imm32
1370 enable_inetcomm
1371 enable_inetcpl_cpl
1372 enable_inetmib1
1373 enable_infosoft
1374 enable_initpki
1375 enable_inkobj
1376 enable_inseng
1377 enable_iphlpapi
1378 enable_iprop
1379 enable_irprops_cpl
1380 enable_itircl
1381 enable_itss
1382 enable_joy_cpl
1383 enable_jscript
1384 enable_jsproxy
1385 enable_kerberos
1386 enable_kernel32
1387 enable_kernelbase
1388 enable_ksecdd_sys
1389 enable_ksproxy_ax
1390 enable_ksuser
1391 enable_ktmw32
1392 enable_l3codeca_acm
1393 enable_loadperf
1394 enable_localspl
1395 enable_localui
1396 enable_lz32
1397 enable_mapi32
1398 enable_mapistub
1399 enable_mciavi32
1400 enable_mcicda
1401 enable_mciqtz32
1402 enable_mciseq
1403 enable_mciwave
1404 enable_mf
1405 enable_mf3216
1406 enable_mferror
1407 enable_mfmediaengine
1408 enable_mfplat
1409 enable_mfplay
1410 enable_mfreadwrite
1411 enable_mfuuid
1412 enable_mgmtapi
1413 enable_midimap
1414 enable_mlang
1415 enable_mmcndmgr
1416 enable_mmdevapi
1417 enable_mountmgr_sys
1418 enable_mp3dmod
1419 enable_mpr
1420 enable_mprapi
1421 enable_msacm32_drv
1422 enable_msacm32
1423 enable_msado15
1424 enable_msadp32_acm
1425 enable_msasn1
1426 enable_mscat32
1427 enable_mscms
1428 enable_mscoree
1429 enable_mscorwks
1430 enable_msctf
1431 enable_msctfp
1432 enable_msdaps
1433 enable_msdelta
1434 enable_msdmo
1435 enable_msdrm
1436 enable_msftedit
1437 enable_msg711_acm
1438 enable_msgsm32_acm
1439 enable_mshtml_tlb
1440 enable_mshtml
1441 enable_msi
1442 enable_msident
1443 enable_msimg32
1444 enable_msimsg
1445 enable_msimtf
1446 enable_msisip
1447 enable_msisys_ocx
1448 enable_msls31
1449 enable_msnet32
1450 enable_mspatcha
1451 enable_msports
1452 enable_msrle32
1453 enable_msscript_ocx
1454 enable_mssign32
1455 enable_mssip32
1456 enable_mstask
1457 enable_msvcirt
1458 enable_msvcm80
1459 enable_msvcm90
1460 enable_msvcp100
1461 enable_msvcp110
1462 enable_msvcp120
1463 enable_msvcp120_app
1464 enable_msvcp140
1465 enable_msvcp60
1466 enable_msvcp70
1467 enable_msvcp71
1468 enable_msvcp80
1469 enable_msvcp90
1470 enable_msvcr100
1471 enable_msvcr110
1472 enable_msvcr120
1473 enable_msvcr120_app
1474 enable_msvcr70
1475 enable_msvcr71
1476 enable_msvcr80
1477 enable_msvcr90
1478 enable_msvcrt
1479 enable_msvcrt20
1480 enable_msvcrt40
1481 enable_msvcrtd
1482 enable_msvfw32
1483 enable_msvidc32
1484 enable_mswsock
1485 enable_msxml
1486 enable_msxml2
1487 enable_msxml3
1488 enable_msxml4
1489 enable_msxml6
1490 enable_mtxdm
1491 enable_ncrypt
1492 enable_nddeapi
1493 enable_ndis_sys
1494 enable_netapi32
1495 enable_netcfgx
1496 enable_netio_sys
1497 enable_netprofm
1498 enable_newdev
1499 enable_ninput
1500 enable_normaliz
1501 enable_npmshtml
1502 enable_npptools
1503 enable_ntdll
1504 enable_ntdsapi
1505 enable_ntoskrnl_exe
1506 enable_ntprint
1507 enable_objsel
1508 enable_odbc32
1509 enable_odbcbcp
1510 enable_odbccp32
1511 enable_odbccu32
1512 enable_ole32
1513 enable_oleacc
1514 enable_oleaut32
1515 enable_olecli32
1516 enable_oledb32
1517 enable_oledlg
1518 enable_olepro32
1519 enable_olesvr32
1520 enable_olethk32
1521 enable_opcservices
1522 enable_openal32
1523 enable_opencl
1524 enable_opengl32
1525 enable_packager
1526 enable_pdh
1527 enable_photometadatahandler
1528 enable_pidgen
1529 enable_powrprof
1530 enable_printui
1531 enable_prntvpt
1532 enable_propsys
1533 enable_psapi
1534 enable_pstorec
1535 enable_pwrshplugin
1536 enable_qasf
1537 enable_qcap
1538 enable_qdvd
1539 enable_qedit
1540 enable_qmgr
1541 enable_qmgrprxy
1542 enable_quartz
1543 enable_query
1544 enable_qwave
1545 enable_rasapi32
1546 enable_rasdlg
1547 enable_regapi
1548 enable_resutils
1549 enable_riched20
1550 enable_riched32
1551 enable_rpcrt4
1552 enable_rsabase
1553 enable_rsaenh
1554 enable_rstrtmgr
1555 enable_rtutils
1556 enable_rtworkq
1557 enable_samlib
1558 enable_sane_ds
1559 enable_sapi
1560 enable_sas
1561 enable_scarddlg
1562 enable_sccbase
1563 enable_schannel
1564 enable_schedsvc
1565 enable_scrobj
1566 enable_scrrun
1567 enable_scsiport_sys
1568 enable_sechost
1569 enable_secur32
1570 enable_security
1571 enable_sensapi
1572 enable_serialui
1573 enable_setupapi
1574 enable_sfc
1575 enable_sfc_os
1576 enable_shcore
1577 enable_shdoclc
1578 enable_shdocvw
1579 enable_shell32
1580 enable_shfolder
1581 enable_shlwapi
1582 enable_slbcsp
1583 enable_slc
1584 enable_snmpapi
1585 enable_softpub
1586 enable_spoolss
1587 enable_srclient
1588 enable_sspicli
1589 enable_stdole2_tlb
1590 enable_stdole32_tlb
1591 enable_sti
1592 enable_strmbase
1593 enable_strmdll
1594 enable_strmiids
1595 enable_svrapi
1596 enable_sxs
1597 enable_t2embed
1598 enable_tapi32
1599 enable_taskschd
1600 enable_tdh
1601 enable_tdi_sys
1602 enable_traffic
1603 enable_twain_32
1604 enable_tzres
1605 enable_ucrtbase
1606 enable_uianimation
1607 enable_uiautomationcore
1608 enable_uiribbon
1609 enable_unicows
1610 enable_updspapi
1611 enable_url
1612 enable_urlmon
1613 enable_usbd_sys
1614 enable_user32
1615 enable_userenv
1616 enable_usp10
1617 enable_utildll
1618 enable_uuid
1619 enable_uxtheme
1620 enable_vbscript
1621 enable_vcomp
1622 enable_vcomp100
1623 enable_vcomp110
1624 enable_vcomp120
1625 enable_vcomp140
1626 enable_vcomp90
1627 enable_vcruntime140
1628 enable_vcruntime140_1
1629 enable_vdmdbg
1630 enable_version
1631 enable_vga
1632 enable_virtdisk
1633 enable_vssapi
1634 enable_vulkan_1
1635 enable_wbemdisp
1636 enable_wbemprox
1637 enable_wbemuuid
1638 enable_wdscore
1639 enable_webservices
1640 enable_wer
1641 enable_wevtapi
1642 enable_wiaservc
1643 enable_wimgapi
1644 enable_windowscodecs
1645 enable_windowscodecsext
1646 enable_winealsa_drv
1647 enable_wineandroid_drv
1648 enable_winebus_sys
1649 enable_winecoreaudio_drv
1650 enable_winecrt0
1651 enable_wined3d
1652 enable_winegstreamer
1653 enable_winehid_sys
1654 enable_winejoystick_drv
1655 enable_winemac_drv
1656 enable_winemapi
1657 enable_wineoss_drv
1658 enable_wineps_drv
1659 enable_winepulse_drv
1660 enable_wineqtdecoder
1661 enable_wineusb_sys
1662 enable_winevulkan
1663 enable_winex11_drv
1664 enable_wing32
1665 enable_winhttp
1666 enable_wininet
1667 enable_winmm
1668 enable_winnls32
1669 enable_winscard
1670 enable_winspool_drv
1671 enable_winsta
1672 enable_wintab32
1673 enable_wintrust
1674 enable_winusb
1675 enable_wlanapi
1676 enable_wlanui
1677 enable_wldap32
1678 enable_wmasf
1679 enable_wmcodecdspuuid
1680 enable_wmi
1681 enable_wmiutils
1682 enable_wmp
1683 enable_wmphoto
1684 enable_wmvcore
1685 enable_wnaspi32
1686 enable_wpc
1687 enable_wpcap
1688 enable_ws2_32
1689 enable_wsdapi
1690 enable_wshom_ocx
1691 enable_wsnmp32
1692 enable_wsock32
1693 enable_wtsapi32
1694 enable_wuapi
1695 enable_wuaueng
1696 enable_x3daudio1_0
1697 enable_x3daudio1_1
1698 enable_x3daudio1_2
1699 enable_x3daudio1_3
1700 enable_x3daudio1_4
1701 enable_x3daudio1_5
1702 enable_x3daudio1_6
1703 enable_x3daudio1_7
1704 enable_xapofx1_1
1705 enable_xapofx1_2
1706 enable_xapofx1_3
1707 enable_xapofx1_4
1708 enable_xapofx1_5
1709 enable_xaudio2_0
1710 enable_xaudio2_1
1711 enable_xaudio2_2
1712 enable_xaudio2_3
1713 enable_xaudio2_4
1714 enable_xaudio2_5
1715 enable_xaudio2_6
1716 enable_xaudio2_7
1717 enable_xaudio2_8
1718 enable_xaudio2_9
1719 enable_xinput1_1
1720 enable_xinput1_2
1721 enable_xinput1_3
1722 enable_xinput1_4
1723 enable_xinput9_1_0
1724 enable_xmllite
1725 enable_xolehlp
1726 enable_xpsprint
1727 enable_xpssvcs
1728 enable_fonts
1729 enable_include
1730 enable_port
1731 enable_wine
1732 enable_wpp
1733 enable_loader
1734 enable_nls
1735 enable_po
1736 enable_arp
1737 enable_aspnet_regiis
1738 enable_attrib
1739 enable_cabarc
1740 enable_cacls
1741 enable_chcp_com
1742 enable_clock
1743 enable_cmd
1744 enable_conhost
1745 enable_control
1746 enable_cscript
1747 enable_dism
1748 enable_dpnsvr
1749 enable_dxdiag
1750 enable_eject
1751 enable_expand
1752 enable_explorer
1753 enable_extrac32
1754 enable_fc
1755 enable_find
1756 enable_findstr
1757 enable_fsutil
1758 enable_hh
1759 enable_hostname
1760 enable_icacls
1761 enable_icinfo
1762 enable_iexplore
1763 enable_ipconfig
1764 enable_lodctr
1765 enable_mofcomp
1766 enable_mshta
1767 enable_msidb
1768 enable_msiexec
1769 enable_msinfo32
1770 enable_net
1771 enable_netsh
1772 enable_netstat
1773 enable_ngen
1774 enable_notepad
1775 enable_oleview
1776 enable_ping
1777 enable_plugplay
1778 enable_powershell
1779 enable_presentationfontcache
1780 enable_progman
1781 enable_reg
1782 enable_regasm
1783 enable_regedit
1784 enable_regini
1785 enable_regsvcs
1786 enable_regsvr32
1787 enable_rpcss
1788 enable_rundll32
1789 enable_sc
1790 enable_schtasks
1791 enable_sdbinst
1792 enable_secedit
1793 enable_servicemodelreg
1794 enable_services
1795 enable_shutdown
1796 enable_spoolsv
1797 enable_start
1798 enable_subst
1799 enable_svchost
1800 enable_systeminfo
1801 enable_taskkill
1802 enable_tasklist
1803 enable_taskmgr
1804 enable_termsv
1805 enable_uninstaller
1806 enable_unlodctr
1807 enable_view
1808 enable_wevtutil
1809 enable_whoami
1810 enable_wineboot
1811 enable_winebrowser
1812 enable_winecfg
1813 enable_wineconsole
1814 enable_winedbg
1815 enable_winedevice
1816 enable_winefile
1817 enable_winemenubuilder
1818 enable_winemine
1819 enable_winemsibuilder
1820 enable_winepath
1821 enable_winetest
1822 enable_winhlp32
1823 enable_winmgmt
1824 enable_winver
1825 enable_wmic
1826 enable_wmplayer
1827 enable_wordpad
1828 enable_write
1829 enable_wscript
1830 enable_wuauserv
1831 enable_wusa
1832 enable_xcopy
1833 enable_server
1834 enable_tools
1835 enable_sfnt2fon
1836 enable_widl
1837 enable_winebuild
1838 enable_winedump
1839 enable_winegcc
1840 enable_winemaker
1841 enable_wmc
1842 enable_wrc
1844 ac_precious_vars='build_alias
1845 host_alias
1846 target_alias
1848 CFLAGS
1849 LDFLAGS
1850 LIBS
1851 CPPFLAGS
1853 CXXFLAGS
1856 OBJC
1857 OBJCFLAGS
1858 OBJCPP
1859 XMKMF
1860 XML2_CFLAGS
1861 XML2_LIBS
1862 XSLT_CFLAGS
1863 XSLT_LIBS
1864 INOTIFY_CFLAGS
1865 INOTIFY_LIBS
1866 DBUS_CFLAGS
1867 DBUS_LIBS
1868 HAL_CFLAGS
1869 HAL_LIBS
1870 GNUTLS_CFLAGS
1871 GNUTLS_LIBS
1872 SANE_CFLAGS
1873 SANE_LIBS
1874 USB_CFLAGS
1875 USB_LIBS
1876 GPHOTO2_CFLAGS
1877 GPHOTO2_LIBS
1878 GPHOTO2_PORT_CFLAGS
1879 GPHOTO2_PORT_LIBS
1880 LCMS2_CFLAGS
1881 LCMS2_LIBS
1882 FREETYPE_CFLAGS
1883 FREETYPE_LIBS
1884 PULSE_CFLAGS
1885 PULSE_LIBS
1886 GSTREAMER_CFLAGS
1887 GSTREAMER_LIBS
1888 UDEV_CFLAGS
1889 UDEV_LIBS
1890 UNWIND_CFLAGS
1891 UNWIND_LIBS
1892 SDL2_CFLAGS
1893 SDL2_LIBS
1894 FAUDIO_CFLAGS
1895 FAUDIO_LIBS
1896 CAPI20_CFLAGS
1897 CAPI20_LIBS
1898 CUPS_CFLAGS
1899 CUPS_LIBS
1900 FONTCONFIG_CFLAGS
1901 FONTCONFIG_LIBS
1902 KRB5_CFLAGS
1903 KRB5_LIBS
1904 GSSAPI_CFLAGS
1905 GSSAPI_LIBS
1906 JPEG_CFLAGS
1907 JPEG_LIBS
1908 PNG_CFLAGS
1909 PNG_LIBS
1910 TIFF_CFLAGS
1911 TIFF_LIBS
1912 MPG123_CFLAGS
1913 MPG123_LIBS
1914 NETAPI_CFLAGS
1915 NETAPI_LIBS
1916 VKD3D_CFLAGS
1917 VKD3D_LIBS
1918 LDAP_CFLAGS
1919 LDAP_LIBS'
1922 # Initialize some variables set by options.
1923 ac_init_help=
1924 ac_init_version=false
1925 ac_unrecognized_opts=
1926 ac_unrecognized_sep=
1927 # The variables have the same names as the options, with
1928 # dashes changed to underlines.
1929 cache_file=/dev/null
1930 exec_prefix=NONE
1931 no_create=
1932 no_recursion=
1933 prefix=NONE
1934 program_prefix=NONE
1935 program_suffix=NONE
1936 program_transform_name=s,x,x,
1937 silent=
1938 site=
1939 srcdir=
1940 verbose=
1941 x_includes=NONE
1942 x_libraries=NONE
1944 # Installation directory options.
1945 # These are left unexpanded so users can "make install exec_prefix=/foo"
1946 # and all the variables that are supposed to be based on exec_prefix
1947 # by default will actually change.
1948 # Use braces instead of parens because sh, perl, etc. also accept them.
1949 # (The list follows the same order as the GNU Coding Standards.)
1950 bindir='${exec_prefix}/bin'
1951 sbindir='${exec_prefix}/sbin'
1952 libexecdir='${exec_prefix}/libexec'
1953 datarootdir='${prefix}/share'
1954 datadir='${datarootdir}'
1955 sysconfdir='${prefix}/etc'
1956 sharedstatedir='${prefix}/com'
1957 localstatedir='${prefix}/var'
1958 runstatedir='${localstatedir}/run'
1959 includedir='${prefix}/include'
1960 oldincludedir='/usr/include'
1961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1962 infodir='${datarootdir}/info'
1963 htmldir='${docdir}'
1964 dvidir='${docdir}'
1965 pdfdir='${docdir}'
1966 psdir='${docdir}'
1967 libdir='${exec_prefix}/lib'
1968 localedir='${datarootdir}/locale'
1969 mandir='${datarootdir}/man'
1971 ac_prev=
1972 ac_dashdash=
1973 for ac_option
1975 # If the previous option needs an argument, assign it.
1976 if test -n "$ac_prev"; then
1977 eval $ac_prev=\$ac_option
1978 ac_prev=
1979 continue
1982 case $ac_option in
1983 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1984 *=) ac_optarg= ;;
1985 *) ac_optarg=yes ;;
1986 esac
1988 # Accept the important Cygnus configure options, so we can diagnose typos.
1990 case $ac_dashdash$ac_option in
1992 ac_dashdash=yes ;;
1994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1995 ac_prev=bindir ;;
1996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1997 bindir=$ac_optarg ;;
1999 -build | --build | --buil | --bui | --bu)
2000 ac_prev=build_alias ;;
2001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2002 build_alias=$ac_optarg ;;
2004 -cache-file | --cache-file | --cache-fil | --cache-fi \
2005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2006 ac_prev=cache_file ;;
2007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2009 cache_file=$ac_optarg ;;
2011 --config-cache | -C)
2012 cache_file=config.cache ;;
2014 -datadir | --datadir | --datadi | --datad)
2015 ac_prev=datadir ;;
2016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2017 datadir=$ac_optarg ;;
2019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2020 | --dataroo | --dataro | --datar)
2021 ac_prev=datarootdir ;;
2022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2024 datarootdir=$ac_optarg ;;
2026 -disable-* | --disable-*)
2027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2028 # Reject names that are not valid shell variable names.
2029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2030 as_fn_error $? "invalid feature name: $ac_useropt"
2031 ac_useropt_orig=$ac_useropt
2032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2033 case $ac_user_opts in
2035 "enable_$ac_useropt"
2036 "*) ;;
2037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2038 ac_unrecognized_sep=', ';;
2039 esac
2040 eval enable_$ac_useropt=no ;;
2042 -docdir | --docdir | --docdi | --doc | --do)
2043 ac_prev=docdir ;;
2044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2045 docdir=$ac_optarg ;;
2047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2048 ac_prev=dvidir ;;
2049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2050 dvidir=$ac_optarg ;;
2052 -enable-* | --enable-*)
2053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2054 # Reject names that are not valid shell variable names.
2055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2056 as_fn_error $? "invalid feature name: $ac_useropt"
2057 ac_useropt_orig=$ac_useropt
2058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2059 case $ac_user_opts in
2061 "enable_$ac_useropt"
2062 "*) ;;
2063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2064 ac_unrecognized_sep=', ';;
2065 esac
2066 eval enable_$ac_useropt=\$ac_optarg ;;
2068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2070 | --exec | --exe | --ex)
2071 ac_prev=exec_prefix ;;
2072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2074 | --exec=* | --exe=* | --ex=*)
2075 exec_prefix=$ac_optarg ;;
2077 -gas | --gas | --ga | --g)
2078 # Obsolete; use --with-gas.
2079 with_gas=yes ;;
2081 -help | --help | --hel | --he | -h)
2082 ac_init_help=long ;;
2083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2084 ac_init_help=recursive ;;
2085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2086 ac_init_help=short ;;
2088 -host | --host | --hos | --ho)
2089 ac_prev=host_alias ;;
2090 -host=* | --host=* | --hos=* | --ho=*)
2091 host_alias=$ac_optarg ;;
2093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2094 ac_prev=htmldir ;;
2095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2096 | --ht=*)
2097 htmldir=$ac_optarg ;;
2099 -includedir | --includedir | --includedi | --included | --include \
2100 | --includ | --inclu | --incl | --inc)
2101 ac_prev=includedir ;;
2102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2103 | --includ=* | --inclu=* | --incl=* | --inc=*)
2104 includedir=$ac_optarg ;;
2106 -infodir | --infodir | --infodi | --infod | --info | --inf)
2107 ac_prev=infodir ;;
2108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2109 infodir=$ac_optarg ;;
2111 -libdir | --libdir | --libdi | --libd)
2112 ac_prev=libdir ;;
2113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2114 libdir=$ac_optarg ;;
2116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2117 | --libexe | --libex | --libe)
2118 ac_prev=libexecdir ;;
2119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2120 | --libexe=* | --libex=* | --libe=*)
2121 libexecdir=$ac_optarg ;;
2123 -localedir | --localedir | --localedi | --localed | --locale)
2124 ac_prev=localedir ;;
2125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2126 localedir=$ac_optarg ;;
2128 -localstatedir | --localstatedir | --localstatedi | --localstated \
2129 | --localstate | --localstat | --localsta | --localst | --locals)
2130 ac_prev=localstatedir ;;
2131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2133 localstatedir=$ac_optarg ;;
2135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2136 ac_prev=mandir ;;
2137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2138 mandir=$ac_optarg ;;
2140 -nfp | --nfp | --nf)
2141 # Obsolete; use --without-fp.
2142 with_fp=no ;;
2144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2145 | --no-cr | --no-c | -n)
2146 no_create=yes ;;
2148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2150 no_recursion=yes ;;
2152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2154 | --oldin | --oldi | --old | --ol | --o)
2155 ac_prev=oldincludedir ;;
2156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2159 oldincludedir=$ac_optarg ;;
2161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2162 ac_prev=prefix ;;
2163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2164 prefix=$ac_optarg ;;
2166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2167 | --program-pre | --program-pr | --program-p)
2168 ac_prev=program_prefix ;;
2169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2171 program_prefix=$ac_optarg ;;
2173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2174 | --program-suf | --program-su | --program-s)
2175 ac_prev=program_suffix ;;
2176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2178 program_suffix=$ac_optarg ;;
2180 -program-transform-name | --program-transform-name \
2181 | --program-transform-nam | --program-transform-na \
2182 | --program-transform-n | --program-transform- \
2183 | --program-transform | --program-transfor \
2184 | --program-transfo | --program-transf \
2185 | --program-trans | --program-tran \
2186 | --progr-tra | --program-tr | --program-t)
2187 ac_prev=program_transform_name ;;
2188 -program-transform-name=* | --program-transform-name=* \
2189 | --program-transform-nam=* | --program-transform-na=* \
2190 | --program-transform-n=* | --program-transform-=* \
2191 | --program-transform=* | --program-transfor=* \
2192 | --program-transfo=* | --program-transf=* \
2193 | --program-trans=* | --program-tran=* \
2194 | --progr-tra=* | --program-tr=* | --program-t=*)
2195 program_transform_name=$ac_optarg ;;
2197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2198 ac_prev=pdfdir ;;
2199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2200 pdfdir=$ac_optarg ;;
2202 -psdir | --psdir | --psdi | --psd | --ps)
2203 ac_prev=psdir ;;
2204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2205 psdir=$ac_optarg ;;
2207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208 | -silent | --silent | --silen | --sile | --sil)
2209 silent=yes ;;
2211 -runstatedir | --runstatedir | --runstatedi | --runstated \
2212 | --runstate | --runstat | --runsta | --runst | --runs \
2213 | --run | --ru | --r)
2214 ac_prev=runstatedir ;;
2215 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2216 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2217 | --run=* | --ru=* | --r=*)
2218 runstatedir=$ac_optarg ;;
2220 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2221 ac_prev=sbindir ;;
2222 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2223 | --sbi=* | --sb=*)
2224 sbindir=$ac_optarg ;;
2226 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2227 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2228 | --sharedst | --shareds | --shared | --share | --shar \
2229 | --sha | --sh)
2230 ac_prev=sharedstatedir ;;
2231 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2232 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2233 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2234 | --sha=* | --sh=*)
2235 sharedstatedir=$ac_optarg ;;
2237 -site | --site | --sit)
2238 ac_prev=site ;;
2239 -site=* | --site=* | --sit=*)
2240 site=$ac_optarg ;;
2242 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2243 ac_prev=srcdir ;;
2244 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2245 srcdir=$ac_optarg ;;
2247 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2248 | --syscon | --sysco | --sysc | --sys | --sy)
2249 ac_prev=sysconfdir ;;
2250 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2251 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2252 sysconfdir=$ac_optarg ;;
2254 -target | --target | --targe | --targ | --tar | --ta | --t)
2255 ac_prev=target_alias ;;
2256 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2257 target_alias=$ac_optarg ;;
2259 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2260 verbose=yes ;;
2262 -version | --version | --versio | --versi | --vers | -V)
2263 ac_init_version=: ;;
2265 -with-* | --with-*)
2266 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2267 # Reject names that are not valid shell variable names.
2268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2269 as_fn_error $? "invalid package name: $ac_useropt"
2270 ac_useropt_orig=$ac_useropt
2271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2272 case $ac_user_opts in
2274 "with_$ac_useropt"
2275 "*) ;;
2276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2277 ac_unrecognized_sep=', ';;
2278 esac
2279 eval with_$ac_useropt=\$ac_optarg ;;
2281 -without-* | --without-*)
2282 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2283 # Reject names that are not valid shell variable names.
2284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2285 as_fn_error $? "invalid package name: $ac_useropt"
2286 ac_useropt_orig=$ac_useropt
2287 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2288 case $ac_user_opts in
2290 "with_$ac_useropt"
2291 "*) ;;
2292 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2293 ac_unrecognized_sep=', ';;
2294 esac
2295 eval with_$ac_useropt=no ;;
2297 --x)
2298 # Obsolete; use --with-x.
2299 with_x=yes ;;
2301 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2302 | --x-incl | --x-inc | --x-in | --x-i)
2303 ac_prev=x_includes ;;
2304 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2305 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2306 x_includes=$ac_optarg ;;
2308 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2309 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2310 ac_prev=x_libraries ;;
2311 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2312 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2313 x_libraries=$ac_optarg ;;
2315 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2316 Try \`$0 --help' for more information"
2319 *=*)
2320 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2321 # Reject names that are not valid shell variable names.
2322 case $ac_envvar in #(
2323 '' | [0-9]* | *[!_$as_cr_alnum]* )
2324 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2325 esac
2326 eval $ac_envvar=\$ac_optarg
2327 export $ac_envvar ;;
2330 # FIXME: should be removed in autoconf 3.0.
2331 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2332 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2333 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2334 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2337 esac
2338 done
2340 if test -n "$ac_prev"; then
2341 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2342 as_fn_error $? "missing argument to $ac_option"
2345 if test -n "$ac_unrecognized_opts"; then
2346 case $enable_option_checking in
2347 no) ;;
2348 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2349 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2350 esac
2353 # Check all directory arguments for consistency.
2354 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2355 datadir sysconfdir sharedstatedir localstatedir includedir \
2356 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2357 libdir localedir mandir runstatedir
2359 eval ac_val=\$$ac_var
2360 # Remove trailing slashes.
2361 case $ac_val in
2362 */ )
2363 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2364 eval $ac_var=\$ac_val;;
2365 esac
2366 # Be sure to have absolute directory names.
2367 case $ac_val in
2368 [\\/$]* | ?:[\\/]* ) continue;;
2369 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2370 esac
2371 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2372 done
2374 # There might be people who depend on the old broken behavior: `$host'
2375 # used to hold the argument of --host etc.
2376 # FIXME: To remove some day.
2377 build=$build_alias
2378 host=$host_alias
2379 target=$target_alias
2381 # FIXME: To remove some day.
2382 if test "x$host_alias" != x; then
2383 if test "x$build_alias" = x; then
2384 cross_compiling=maybe
2385 elif test "x$build_alias" != "x$host_alias"; then
2386 cross_compiling=yes
2390 ac_tool_prefix=
2391 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2393 test "$silent" = yes && exec 6>/dev/null
2396 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2397 ac_ls_di=`ls -di .` &&
2398 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2399 as_fn_error $? "working directory cannot be determined"
2400 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2401 as_fn_error $? "pwd does not report name of working directory"
2404 # Find the source files, if location was not specified.
2405 if test -z "$srcdir"; then
2406 ac_srcdir_defaulted=yes
2407 # Try the directory containing this script, then the parent directory.
2408 ac_confdir=`$as_dirname -- "$as_myself" ||
2409 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2410 X"$as_myself" : 'X\(//\)[^/]' \| \
2411 X"$as_myself" : 'X\(//\)$' \| \
2412 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2413 $as_echo X"$as_myself" |
2414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2415 s//\1/
2418 /^X\(\/\/\)[^/].*/{
2419 s//\1/
2422 /^X\(\/\/\)$/{
2423 s//\1/
2426 /^X\(\/\).*/{
2427 s//\1/
2430 s/.*/./; q'`
2431 srcdir=$ac_confdir
2432 if test ! -r "$srcdir/$ac_unique_file"; then
2433 srcdir=..
2435 else
2436 ac_srcdir_defaulted=no
2438 if test ! -r "$srcdir/$ac_unique_file"; then
2439 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2440 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2442 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2443 ac_abs_confdir=`(
2444 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2445 pwd)`
2446 # When building in place, set srcdir=.
2447 if test "$ac_abs_confdir" = "$ac_pwd"; then
2448 srcdir=.
2450 # Remove unnecessary trailing slashes from srcdir.
2451 # Double slashes in file names in object file debugging info
2452 # mess up M-x gdb in Emacs.
2453 case $srcdir in
2454 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2455 esac
2456 for ac_var in $ac_precious_vars; do
2457 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2458 eval ac_env_${ac_var}_value=\$${ac_var}
2459 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2460 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2461 done
2464 # Report the --help message.
2466 if test "$ac_init_help" = "long"; then
2467 # Omit some internal or obsolete options to make the list less imposing.
2468 # This message is too long to be a string in the A/UX 3.1 sh.
2469 cat <<_ACEOF
2470 \`configure' configures Wine 5.10 to adapt to many kinds of systems.
2472 Usage: $0 [OPTION]... [VAR=VALUE]...
2474 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2475 VAR=VALUE. See below for descriptions of some of the useful variables.
2477 Defaults for the options are specified in brackets.
2479 Configuration:
2480 -h, --help display this help and exit
2481 --help=short display options specific to this package
2482 --help=recursive display the short help of all the included packages
2483 -V, --version display version information and exit
2484 -q, --quiet, --silent do not print \`checking ...' messages
2485 --cache-file=FILE cache test results in FILE [disabled]
2486 -C, --config-cache alias for \`--cache-file=config.cache'
2487 -n, --no-create do not create output files
2488 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2490 Installation directories:
2491 --prefix=PREFIX install architecture-independent files in PREFIX
2492 [$ac_default_prefix]
2493 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2494 [PREFIX]
2496 By default, \`make install' will install all the files in
2497 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2498 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2499 for instance \`--prefix=\$HOME'.
2501 For better control, use the options below.
2503 Fine tuning of the installation directories:
2504 --bindir=DIR user executables [EPREFIX/bin]
2505 --sbindir=DIR system admin executables [EPREFIX/sbin]
2506 --libexecdir=DIR program executables [EPREFIX/libexec]
2507 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2508 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2509 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2510 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2511 --libdir=DIR object code libraries [EPREFIX/lib]
2512 --includedir=DIR C header files [PREFIX/include]
2513 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2514 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2515 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2516 --infodir=DIR info documentation [DATAROOTDIR/info]
2517 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2518 --mandir=DIR man documentation [DATAROOTDIR/man]
2519 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2520 --htmldir=DIR html documentation [DOCDIR]
2521 --dvidir=DIR dvi documentation [DOCDIR]
2522 --pdfdir=DIR pdf documentation [DOCDIR]
2523 --psdir=DIR ps documentation [DOCDIR]
2524 _ACEOF
2526 cat <<\_ACEOF
2528 X features:
2529 --x-includes=DIR X include files are in DIR
2530 --x-libraries=DIR X library files are in DIR
2532 System types:
2533 --build=BUILD configure for building on BUILD [guessed]
2534 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2535 _ACEOF
2538 if test -n "$ac_init_help"; then
2539 case $ac_init_help in
2540 short | recursive ) echo "Configuration of Wine 5.10:";;
2541 esac
2542 cat <<\_ACEOF
2544 Optional Features:
2545 --disable-option-checking ignore unrecognized --enable/--with options
2546 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2547 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2548 --disable-win16 do not include Win16 support
2549 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2550 binaries)
2551 --disable-tests do not build the regression tests
2552 --enable-maintainer-mode
2553 enable maintainer-specific build rules
2554 --enable-werror treat compilation warnings as errors
2555 --disable-largefile omit support for large files
2557 Optional Packages:
2558 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2559 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2560 --without-alsa do not use the Alsa sound support
2561 --without-capi do not use CAPI (ISDN support)
2562 --without-cms do not use CMS (color management support)
2563 --without-coreaudio do not use the CoreAudio sound support
2564 --without-cups do not use CUPS
2565 --without-curses do not use (n)curses
2566 --without-dbus do not use DBus (dynamic device support)
2567 --without-faudio do not use FAudio (XAudio2 support)
2568 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2569 --without-fontconfig do not use fontconfig
2570 --without-freetype do not use the FreeType library
2571 --without-gettext do not use gettext
2572 --with-gettextpo use the GetTextPO library to rebuild po files
2573 --without-gphoto do not use gphoto (Digital Camera support)
2574 --without-glu do not use the GLU library
2575 --without-gnutls do not use GnuTLS (schannel support)
2576 --without-gsm do not use libgsm (GSM 06.10 codec support)
2577 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2578 --without-gstreamer do not use GStreamer (codecs support)
2579 --without-hal do not use HAL (dynamic device support)
2580 --without-inotify do not use inotify (filesystem change notifications)
2581 --without-jpeg do not use JPEG
2582 --without-krb5 do not use krb5 (Kerberos)
2583 --without-ldap do not use LDAP
2584 --without-mingw do not use the MinGW cross-compiler
2585 --without-mpg123 do not use the mpg123 library
2586 --without-netapi do not use the Samba NetAPI library
2587 --without-openal do not use OpenAL
2588 --without-opencl do not use OpenCL
2589 --without-opengl do not use OpenGL
2590 --without-osmesa do not use the OSMesa library
2591 --without-oss do not use the OSS sound support
2592 --without-pcap do not use the Packet Capture library
2593 --without-png do not use PNG
2594 --without-pthread do not use the pthread library
2595 --without-pulse do not use PulseAudio sound support
2596 --without-sane do not use SANE (scanner support)
2597 --without-sdl do not use SDL
2598 --without-tiff do not use TIFF
2599 --without-udev do not use udev (plug and play support)
2600 --without-unwind do not use the libunwind library (exception
2601 handling)
2602 --without-usb do not use the libusb library
2603 --without-v4l2 do not use v4l2 (video capture)
2604 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2605 --without-vulkan do not use Vulkan
2606 --without-xcomposite do not use the Xcomposite extension
2607 --without-xcursor do not use the Xcursor extension
2608 --without-xfixes do not use Xfixes for clipboard change notifications
2609 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2610 --without-xinput do not use the Xinput extension
2611 --without-xinput2 do not use the Xinput 2 extension
2612 --without-xml do not use XML
2613 --without-xrandr do not use Xrandr (multi-monitor support)
2614 --without-xrender do not use the Xrender extension
2615 --without-xshape do not use the Xshape extension
2616 --without-xshm do not use XShm (shared memory extension)
2617 --without-xslt do not use XSLT
2618 --without-xxf86vm do not use XFree video mode extension
2619 --with-wine-tools=DIR use Wine tools from directory DIR
2620 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2621 --with-x use the X Window System
2623 Some influential environment variables:
2624 CC C compiler command
2625 CFLAGS C compiler flags
2626 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2627 nonstandard directory <lib dir>
2628 LIBS libraries to pass to the linker, e.g. -l<library>
2629 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2630 you have headers in a nonstandard directory <include dir>
2631 CXX C++ compiler command
2632 CXXFLAGS C++ compiler flags
2633 CPP C preprocessor
2634 OBJC Objective C compiler command
2635 OBJCFLAGS Objective C compiler flags
2636 OBJCPP Objective C preprocessor
2637 XMKMF Path to xmkmf, Makefile generator for X Window System
2638 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2639 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2640 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2641 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2642 INOTIFY_CFLAGS
2643 C compiler flags for libinotify, overriding pkg-config
2644 INOTIFY_LIBS
2645 Linker flags for libinotify, overriding pkg-config
2646 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2647 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2648 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2649 HAL_LIBS Linker flags for hal, overriding pkg-config
2650 GNUTLS_CFLAGS
2651 C compiler flags for gnutls, overriding pkg-config
2652 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2653 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2654 SANE_LIBS Linker flags for libsane, overriding pkg-config
2655 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2656 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2657 GPHOTO2_CFLAGS
2658 C compiler flags for libgphoto2, overriding pkg-config
2659 GPHOTO2_LIBS
2660 Linker flags for libgphoto2, overriding pkg-config
2661 GPHOTO2_PORT_CFLAGS
2662 C compiler flags for libgphoto2_port, overriding pkg-config
2663 GPHOTO2_PORT_LIBS
2664 Linker flags for libgphoto2_port, overriding pkg-config
2665 LCMS2_CFLAGS
2666 C compiler flags for lcms2, overriding pkg-config
2667 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2668 FREETYPE_CFLAGS
2669 C compiler flags for freetype2, overriding pkg-config
2670 FREETYPE_LIBS
2671 Linker flags for freetype2, overriding pkg-config
2672 PULSE_CFLAGS
2673 C compiler flags for libpulse, overriding pkg-config
2674 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2675 GSTREAMER_CFLAGS
2676 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2677 gstreamer-audio-1.0, overriding pkg-config
2678 GSTREAMER_LIBS
2679 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2680 gstreamer-audio-1.0, overriding pkg-config
2681 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2682 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2683 UNWIND_CFLAGS
2684 C compiler flags for libunwind, overriding pkg-config
2685 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2686 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2687 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2688 FAUDIO_CFLAGS
2689 C compiler flags for faudio, overriding pkg-config
2690 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2691 CAPI20_CFLAGS
2692 C compiler flags for capi20, overriding pkg-config
2693 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2694 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2695 CUPS_LIBS Linker flags for cups, overriding pkg-config
2696 FONTCONFIG_CFLAGS
2697 C compiler flags for fontconfig, overriding pkg-config
2698 FONTCONFIG_LIBS
2699 Linker flags for fontconfig, overriding pkg-config
2700 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2701 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2702 GSSAPI_CFLAGS
2703 C compiler flags for krb5-gssapi, overriding pkg-config
2704 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2705 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2706 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2707 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2708 PNG_LIBS Linker flags for libpng, overriding pkg-config
2709 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2710 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2711 MPG123_CFLAGS
2712 C compiler flags for libmpg123, overriding pkg-config
2713 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2714 NETAPI_CFLAGS
2715 C compiler flags for netapi, overriding pkg-config
2716 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2717 VKD3D_CFLAGS
2718 C compiler flags for libvkd3d, overriding pkg-config
2719 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2720 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2721 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2723 Use these variables to override the choices made by `configure' or to help
2724 it to find libraries and programs with nonstandard names/locations.
2726 Report bugs to <wine-devel@winehq.org>.
2727 Wine home page: <https://www.winehq.org>.
2728 _ACEOF
2729 ac_status=$?
2732 if test "$ac_init_help" = "recursive"; then
2733 # If there are subdirs, report their specific --help.
2734 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2735 test -d "$ac_dir" ||
2736 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2737 continue
2738 ac_builddir=.
2740 case "$ac_dir" in
2741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2743 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2744 # A ".." for each directory in $ac_dir_suffix.
2745 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2746 case $ac_top_builddir_sub in
2747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2749 esac ;;
2750 esac
2751 ac_abs_top_builddir=$ac_pwd
2752 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2753 # for backward compatibility:
2754 ac_top_builddir=$ac_top_build_prefix
2756 case $srcdir in
2757 .) # We are building in place.
2758 ac_srcdir=.
2759 ac_top_srcdir=$ac_top_builddir_sub
2760 ac_abs_top_srcdir=$ac_pwd ;;
2761 [\\/]* | ?:[\\/]* ) # Absolute name.
2762 ac_srcdir=$srcdir$ac_dir_suffix;
2763 ac_top_srcdir=$srcdir
2764 ac_abs_top_srcdir=$srcdir ;;
2765 *) # Relative name.
2766 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2767 ac_top_srcdir=$ac_top_build_prefix$srcdir
2768 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2769 esac
2770 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2772 cd "$ac_dir" || { ac_status=$?; continue; }
2773 # Check for guested configure.
2774 if test -f "$ac_srcdir/configure.gnu"; then
2775 echo &&
2776 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2777 elif test -f "$ac_srcdir/configure"; then
2778 echo &&
2779 $SHELL "$ac_srcdir/configure" --help=recursive
2780 else
2781 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2782 fi || ac_status=$?
2783 cd "$ac_pwd" || { ac_status=$?; break; }
2784 done
2787 test -n "$ac_init_help" && exit $ac_status
2788 if $ac_init_version; then
2789 cat <<\_ACEOF
2790 Wine configure 5.10
2791 generated by GNU Autoconf 2.69
2793 Copyright (C) 2012 Free Software Foundation, Inc.
2794 This configure script is free software; the Free Software Foundation
2795 gives unlimited permission to copy, distribute and modify it.
2796 _ACEOF
2797 exit
2800 ## ------------------------ ##
2801 ## Autoconf initialization. ##
2802 ## ------------------------ ##
2804 # ac_fn_c_try_compile LINENO
2805 # --------------------------
2806 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2807 ac_fn_c_try_compile ()
2809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2810 rm -f conftest.$ac_objext
2811 if { { ac_try="$ac_compile"
2812 case "(($ac_try" in
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2815 esac
2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817 $as_echo "$ac_try_echo"; } >&5
2818 (eval "$ac_compile") 2>conftest.err
2819 ac_status=$?
2820 if test -s conftest.err; then
2821 grep -v '^ *+' conftest.err >conftest.er1
2822 cat conftest.er1 >&5
2823 mv -f conftest.er1 conftest.err
2825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2826 test $ac_status = 0; } && {
2827 test -z "$ac_c_werror_flag" ||
2828 test ! -s conftest.err
2829 } && test -s conftest.$ac_objext; then :
2830 ac_retval=0
2831 else
2832 $as_echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2835 ac_retval=1
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 as_fn_set_status $ac_retval
2840 } # ac_fn_c_try_compile
2842 # ac_fn_cxx_try_compile LINENO
2843 # ----------------------------
2844 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_cxx_try_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 rm -f conftest.$ac_objext
2849 if { { ac_try="$ac_compile"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 $as_echo "$ac_try_echo"; } >&5
2856 (eval "$ac_compile") 2>conftest.err
2857 ac_status=$?
2858 if test -s conftest.err; then
2859 grep -v '^ *+' conftest.err >conftest.er1
2860 cat conftest.er1 >&5
2861 mv -f conftest.er1 conftest.err
2863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && {
2865 test -z "$ac_cxx_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext; then :
2868 ac_retval=0
2869 else
2870 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 ac_retval=1
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval
2878 } # ac_fn_cxx_try_compile
2880 # ac_fn_c_try_link LINENO
2881 # -----------------------
2882 # Try to link conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_c_try_link ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 rm -f conftest.$ac_objext conftest$ac_exeext
2887 if { { ac_try="$ac_link"
2888 case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891 esac
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_link") 2>conftest.err
2895 ac_status=$?
2896 if test -s conftest.err; then
2897 grep -v '^ *+' conftest.err >conftest.er1
2898 cat conftest.er1 >&5
2899 mv -f conftest.er1 conftest.err
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; } && {
2903 test -z "$ac_c_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest$ac_exeext && {
2906 test "$cross_compiling" = yes ||
2907 test -x conftest$ac_exeext
2908 }; then :
2909 ac_retval=0
2910 else
2911 $as_echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 ac_retval=1
2916 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2917 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2918 # interfere with the next link command; also delete a directory that is
2919 # left behind by Apple's compiler. We do this before executing the actions.
2920 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2922 as_fn_set_status $ac_retval
2924 } # ac_fn_c_try_link
2926 # ac_fn_c_try_cpp LINENO
2927 # ----------------------
2928 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2929 ac_fn_c_try_cpp ()
2931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2932 if { { ac_try="$ac_cpp conftest.$ac_ext"
2933 case "(($ac_try" in
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2936 esac
2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2938 $as_echo "$ac_try_echo"; } >&5
2939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2940 ac_status=$?
2941 if test -s conftest.err; then
2942 grep -v '^ *+' conftest.err >conftest.er1
2943 cat conftest.er1 >&5
2944 mv -f conftest.er1 conftest.err
2946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947 test $ac_status = 0; } > conftest.i && {
2948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2949 test ! -s conftest.err
2950 }; then :
2951 ac_retval=0
2952 else
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.$ac_ext >&5
2956 ac_retval=1
2958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2959 as_fn_set_status $ac_retval
2961 } # ac_fn_c_try_cpp
2963 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2964 # -------------------------------------------------------
2965 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2966 # the include files in INCLUDES and setting the cache variable VAR
2967 # accordingly.
2968 ac_fn_c_check_header_mongrel ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 if eval \${$3+:} false; then :
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2977 eval ac_res=\$$3
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2980 else
2981 # Is the header compilable?
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2983 $as_echo_n "checking $2 usability... " >&6; }
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2987 #include <$2>
2988 _ACEOF
2989 if ac_fn_c_try_compile "$LINENO"; then :
2990 ac_header_compiler=yes
2991 else
2992 ac_header_compiler=no
2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2996 $as_echo "$ac_header_compiler" >&6; }
2998 # Is the header present?
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3000 $as_echo_n "checking $2 presence... " >&6; }
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3003 #include <$2>
3004 _ACEOF
3005 if ac_fn_c_try_cpp "$LINENO"; then :
3006 ac_header_preproc=yes
3007 else
3008 ac_header_preproc=no
3010 rm -f conftest.err conftest.i conftest.$ac_ext
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3012 $as_echo "$ac_header_preproc" >&6; }
3014 # So? What about this header?
3015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3016 yes:no: )
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3018 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3022 no:yes:* )
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3024 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3026 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3028 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3030 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3033 ( $as_echo "## ------------------------------------ ##
3034 ## Report this to wine-devel@winehq.org ##
3035 ## ------------------------------------ ##"
3036 ) | sed "s/^/$as_me: WARNING: /" >&2
3038 esac
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3040 $as_echo_n "checking for $2... " >&6; }
3041 if eval \${$3+:} false; then :
3042 $as_echo_n "(cached) " >&6
3043 else
3044 eval "$3=\$ac_header_compiler"
3046 eval ac_res=\$$3
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3048 $as_echo "$ac_res" >&6; }
3050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3052 } # ac_fn_c_check_header_mongrel
3054 # ac_fn_c_try_run LINENO
3055 # ----------------------
3056 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3057 # that executables *can* be run.
3058 ac_fn_c_try_run ()
3060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3061 if { { ac_try="$ac_link"
3062 case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_link") 2>&5
3069 ac_status=$?
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3072 { { case "(($ac_try" in
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3075 esac
3076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3077 $as_echo "$ac_try_echo"; } >&5
3078 (eval "$ac_try") 2>&5
3079 ac_status=$?
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }; }; then :
3082 ac_retval=0
3083 else
3084 $as_echo "$as_me: program exited with status $ac_status" >&5
3085 $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3088 ac_retval=$ac_status
3090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3092 as_fn_set_status $ac_retval
3094 } # ac_fn_c_try_run
3096 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3097 # -------------------------------------------------------
3098 # Tests whether HEADER exists and can be compiled using the include files in
3099 # INCLUDES, setting the cache variable VAR accordingly.
3100 ac_fn_c_check_header_compile ()
3102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3104 $as_echo_n "checking for $2... " >&6; }
3105 if eval \${$3+:} false; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3111 #include <$2>
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"; then :
3114 eval "$3=yes"
3115 else
3116 eval "$3=no"
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 eval ac_res=\$$3
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3125 } # ac_fn_c_check_header_compile
3127 # ac_fn_objc_try_compile LINENO
3128 # -----------------------------
3129 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3130 ac_fn_objc_try_compile ()
3132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3133 rm -f conftest.$ac_objext
3134 if { { ac_try="$ac_compile"
3135 case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138 esac
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_compile") 2>conftest.err
3142 ac_status=$?
3143 if test -s conftest.err; then
3144 grep -v '^ *+' conftest.err >conftest.er1
3145 cat conftest.er1 >&5
3146 mv -f conftest.er1 conftest.err
3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 test $ac_status = 0; } && {
3150 test -z "$ac_objc_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then :
3153 ac_retval=0
3154 else
3155 $as_echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3158 ac_retval=1
3160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3161 as_fn_set_status $ac_retval
3163 } # ac_fn_objc_try_compile
3165 # ac_fn_objc_try_cpp LINENO
3166 # -------------------------
3167 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3168 ac_fn_objc_try_cpp ()
3170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3171 if { { ac_try="$ac_cpp conftest.$ac_ext"
3172 case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3175 esac
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3179 ac_status=$?
3180 if test -s conftest.err; then
3181 grep -v '^ *+' conftest.err >conftest.er1
3182 cat conftest.er1 >&5
3183 mv -f conftest.er1 conftest.err
3185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3186 test $ac_status = 0; } > conftest.i && {
3187 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3188 test ! -s conftest.err
3189 }; then :
3190 ac_retval=0
3191 else
3192 $as_echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3195 ac_retval=1
3197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3198 as_fn_set_status $ac_retval
3200 } # ac_fn_objc_try_cpp
3202 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3203 # ----------------------------------------------------------
3204 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3205 # the include files in INCLUDES and setting the cache variable VAR
3206 # accordingly.
3207 ac_fn_objc_check_header_mongrel ()
3209 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3210 if eval \${$3+:} false; then :
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3212 $as_echo_n "checking for $2... " >&6; }
3213 if eval \${$3+:} false; then :
3214 $as_echo_n "(cached) " >&6
3216 eval ac_res=\$$3
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3218 $as_echo "$ac_res" >&6; }
3219 else
3220 # Is the header compilable?
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3222 $as_echo_n "checking $2 usability... " >&6; }
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3226 #include <$2>
3227 _ACEOF
3228 if ac_fn_objc_try_compile "$LINENO"; then :
3229 ac_header_compiler=yes
3230 else
3231 ac_header_compiler=no
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3235 $as_echo "$ac_header_compiler" >&6; }
3237 # Is the header present?
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3239 $as_echo_n "checking $2 presence... " >&6; }
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3242 #include <$2>
3243 _ACEOF
3244 if ac_fn_objc_try_cpp "$LINENO"; then :
3245 ac_header_preproc=yes
3246 else
3247 ac_header_preproc=no
3249 rm -f conftest.err conftest.i conftest.$ac_ext
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3251 $as_echo "$ac_header_preproc" >&6; }
3253 # So? What about this header?
3254 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3255 yes:no: )
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3257 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3259 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3261 no:yes:* )
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3263 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3265 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3267 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3269 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3271 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3272 ( $as_echo "## ------------------------------------ ##
3273 ## Report this to wine-devel@winehq.org ##
3274 ## ------------------------------------ ##"
3275 ) | sed "s/^/$as_me: WARNING: /" >&2
3277 esac
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3279 $as_echo_n "checking for $2... " >&6; }
3280 if eval \${$3+:} false; then :
3281 $as_echo_n "(cached) " >&6
3282 else
3283 eval "$3=\$ac_header_compiler"
3285 eval ac_res=\$$3
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3287 $as_echo "$ac_res" >&6; }
3289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3291 } # ac_fn_objc_check_header_mongrel
3293 # ac_fn_c_check_func LINENO FUNC VAR
3294 # ----------------------------------
3295 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3296 ac_fn_c_check_func ()
3298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3300 $as_echo_n "checking for $2... " >&6; }
3301 if eval \${$3+:} false; then :
3302 $as_echo_n "(cached) " >&6
3303 else
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3306 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3308 #define $2 innocuous_$2
3310 /* System header to define __stub macros and hopefully few prototypes,
3311 which can conflict with char $2 (); below.
3312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3313 <limits.h> exists even on freestanding compilers. */
3315 #ifdef __STDC__
3316 # include <limits.h>
3317 #else
3318 # include <assert.h>
3319 #endif
3321 #undef $2
3323 /* Override any GCC internal prototype to avoid an error.
3324 Use char because int might match the return type of a GCC
3325 builtin and then its argument prototype would still apply. */
3326 #ifdef __cplusplus
3327 extern "C"
3328 #endif
3329 char $2 ();
3330 /* The GNU C library defines this for functions which it implements
3331 to always fail with ENOSYS. Some functions are actually named
3332 something starting with __ and the normal name is an alias. */
3333 #if defined __stub_$2 || defined __stub___$2
3334 choke me
3335 #endif
3338 main ()
3340 return $2 ();
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_link "$LINENO"; then :
3346 eval "$3=yes"
3347 else
3348 eval "$3=no"
3350 rm -f core conftest.err conftest.$ac_objext \
3351 conftest$ac_exeext conftest.$ac_ext
3353 eval ac_res=\$$3
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3355 $as_echo "$ac_res" >&6; }
3356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3358 } # ac_fn_c_check_func
3360 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3361 # ----------------------------------------------------
3362 # Tries to find if the field MEMBER exists in type AGGR, after including
3363 # INCLUDES, setting cache variable VAR accordingly.
3364 ac_fn_c_check_member ()
3366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3368 $as_echo_n "checking for $2.$3... " >&6; }
3369 if eval \${$4+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3376 main ()
3378 static $2 ac_aggr;
3379 if (ac_aggr.$3)
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 eval "$4=yes"
3387 else
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3392 main ()
3394 static $2 ac_aggr;
3395 if (sizeof ac_aggr.$3)
3396 return 0;
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 eval "$4=yes"
3403 else
3404 eval "$4=no"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 eval ac_res=\$$4
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3412 $as_echo "$ac_res" >&6; }
3413 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3415 } # ac_fn_c_check_member
3417 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3418 # -------------------------------------------
3419 # Tests whether TYPE exists after having included INCLUDES, setting cache
3420 # variable VAR accordingly.
3421 ac_fn_c_check_type ()
3423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3425 $as_echo_n "checking for $2... " >&6; }
3426 if eval \${$3+:} false; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 eval "$3=no"
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3434 main ()
3436 if (sizeof ($2))
3437 return 0;
3439 return 0;
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3447 main ()
3449 if (sizeof (($2)))
3450 return 0;
3452 return 0;
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3457 else
3458 eval "$3=yes"
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 eval ac_res=\$$3
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3466 $as_echo "$ac_res" >&6; }
3467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3469 } # ac_fn_c_check_type
3470 cat >config.log <<_ACEOF
3471 This file contains any messages produced by compilers while
3472 running configure, to aid debugging if configure makes a mistake.
3474 It was created by Wine $as_me 5.10, which was
3475 generated by GNU Autoconf 2.69. Invocation command line was
3477 $ $0 $@
3479 _ACEOF
3480 exec 5>>config.log
3482 cat <<_ASUNAME
3483 ## --------- ##
3484 ## Platform. ##
3485 ## --------- ##
3487 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3488 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3489 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3490 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3491 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3493 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3494 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3496 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3497 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3498 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3499 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3500 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3501 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3502 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3504 _ASUNAME
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 $as_echo "PATH: $as_dir"
3512 done
3513 IFS=$as_save_IFS
3515 } >&5
3517 cat >&5 <<_ACEOF
3520 ## ----------- ##
3521 ## Core tests. ##
3522 ## ----------- ##
3524 _ACEOF
3527 # Keep a trace of the command line.
3528 # Strip out --no-create and --no-recursion so they do not pile up.
3529 # Strip out --silent because we don't want to record it for future runs.
3530 # Also quote any args containing shell meta-characters.
3531 # Make two passes to allow for proper duplicate-argument suppression.
3532 ac_configure_args=
3533 ac_configure_args0=
3534 ac_configure_args1=
3535 ac_must_keep_next=false
3536 for ac_pass in 1 2
3538 for ac_arg
3540 case $ac_arg in
3541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3543 | -silent | --silent | --silen | --sile | --sil)
3544 continue ;;
3545 *\'*)
3546 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3547 esac
3548 case $ac_pass in
3549 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3551 as_fn_append ac_configure_args1 " '$ac_arg'"
3552 if test $ac_must_keep_next = true; then
3553 ac_must_keep_next=false # Got value, back to normal.
3554 else
3555 case $ac_arg in
3556 *=* | --config-cache | -C | -disable-* | --disable-* \
3557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3559 | -with-* | --with-* | -without-* | --without-* | --x)
3560 case "$ac_configure_args0 " in
3561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3562 esac
3564 -* ) ac_must_keep_next=true ;;
3565 esac
3567 as_fn_append ac_configure_args " '$ac_arg'"
3569 esac
3570 done
3571 done
3572 { ac_configure_args0=; unset ac_configure_args0;}
3573 { ac_configure_args1=; unset ac_configure_args1;}
3575 # When interrupted or exit'd, cleanup temporary files, and complete
3576 # config.log. We remove comments because anyway the quotes in there
3577 # would cause problems or look ugly.
3578 # WARNING: Use '\'' to represent an apostrophe within the trap.
3579 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3580 trap 'exit_status=$?
3581 # Save into config.log some information that might help in debugging.
3583 echo
3585 $as_echo "## ---------------- ##
3586 ## Cache variables. ##
3587 ## ---------------- ##"
3588 echo
3589 # The following way of writing the cache mishandles newlines in values,
3591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3592 eval ac_val=\$$ac_var
3593 case $ac_val in #(
3594 *${as_nl}*)
3595 case $ac_var in #(
3596 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3597 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3598 esac
3599 case $ac_var in #(
3600 _ | IFS | as_nl) ;; #(
3601 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3602 *) { eval $ac_var=; unset $ac_var;} ;;
3603 esac ;;
3604 esac
3605 done
3606 (set) 2>&1 |
3607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3608 *${as_nl}ac_space=\ *)
3609 sed -n \
3610 "s/'\''/'\''\\\\'\'''\''/g;
3611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3612 ;; #(
3614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3616 esac |
3617 sort
3619 echo
3621 $as_echo "## ----------------- ##
3622 ## Output variables. ##
3623 ## ----------------- ##"
3624 echo
3625 for ac_var in $ac_subst_vars
3627 eval ac_val=\$$ac_var
3628 case $ac_val in
3629 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3630 esac
3631 $as_echo "$ac_var='\''$ac_val'\''"
3632 done | sort
3633 echo
3635 if test -n "$ac_subst_files"; then
3636 $as_echo "## ------------------- ##
3637 ## File substitutions. ##
3638 ## ------------------- ##"
3639 echo
3640 for ac_var in $ac_subst_files
3642 eval ac_val=\$$ac_var
3643 case $ac_val in
3644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3645 esac
3646 $as_echo "$ac_var='\''$ac_val'\''"
3647 done | sort
3648 echo
3651 if test -s confdefs.h; then
3652 $as_echo "## ----------- ##
3653 ## confdefs.h. ##
3654 ## ----------- ##"
3655 echo
3656 cat confdefs.h
3657 echo
3659 test "$ac_signal" != 0 &&
3660 $as_echo "$as_me: caught signal $ac_signal"
3661 $as_echo "$as_me: exit $exit_status"
3662 } >&5
3663 rm -f core *.core core.conftest.* &&
3664 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3665 exit $exit_status
3667 for ac_signal in 1 2 13 15; do
3668 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3669 done
3670 ac_signal=0
3672 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3673 rm -f -r conftest* confdefs.h
3675 $as_echo "/* confdefs.h */" > confdefs.h
3677 # Predefined preprocessor variables.
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_NAME "$PACKAGE_NAME"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3685 _ACEOF
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3689 _ACEOF
3691 cat >>confdefs.h <<_ACEOF
3692 #define PACKAGE_STRING "$PACKAGE_STRING"
3693 _ACEOF
3695 cat >>confdefs.h <<_ACEOF
3696 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3697 _ACEOF
3699 cat >>confdefs.h <<_ACEOF
3700 #define PACKAGE_URL "$PACKAGE_URL"
3701 _ACEOF
3704 # Let the site file select an alternate cache file if it wants to.
3705 # Prefer an explicitly selected file to automatically selected ones.
3706 ac_site_file1=NONE
3707 ac_site_file2=NONE
3708 if test -n "$CONFIG_SITE"; then
3709 # We do not want a PATH search for config.site.
3710 case $CONFIG_SITE in #((
3711 -*) ac_site_file1=./$CONFIG_SITE;;
3712 */*) ac_site_file1=$CONFIG_SITE;;
3713 *) ac_site_file1=./$CONFIG_SITE;;
3714 esac
3715 elif test "x$prefix" != xNONE; then
3716 ac_site_file1=$prefix/share/config.site
3717 ac_site_file2=$prefix/etc/config.site
3718 else
3719 ac_site_file1=$ac_default_prefix/share/config.site
3720 ac_site_file2=$ac_default_prefix/etc/config.site
3722 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3724 test "x$ac_site_file" = xNONE && continue
3725 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3727 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3728 sed 's/^/| /' "$ac_site_file" >&5
3729 . "$ac_site_file" \
3730 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732 as_fn_error $? "failed to load site script $ac_site_file
3733 See \`config.log' for more details" "$LINENO" 5; }
3735 done
3737 if test -r "$cache_file"; then
3738 # Some versions of bash will fail to source /dev/null (special files
3739 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3740 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3742 $as_echo "$as_me: loading cache $cache_file" >&6;}
3743 case $cache_file in
3744 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3745 *) . "./$cache_file";;
3746 esac
3748 else
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3750 $as_echo "$as_me: creating cache $cache_file" >&6;}
3751 >$cache_file
3754 # Check that the precious variables saved in the cache have kept the same
3755 # value.
3756 ac_cache_corrupted=false
3757 for ac_var in $ac_precious_vars; do
3758 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3759 eval ac_new_set=\$ac_env_${ac_var}_set
3760 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3761 eval ac_new_val=\$ac_env_${ac_var}_value
3762 case $ac_old_set,$ac_new_set in
3763 set,)
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3765 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3766 ac_cache_corrupted=: ;;
3767 ,set)
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3769 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3770 ac_cache_corrupted=: ;;
3771 ,);;
3773 if test "x$ac_old_val" != "x$ac_new_val"; then
3774 # differences in whitespace do not lead to failure.
3775 ac_old_val_w=`echo x $ac_old_val`
3776 ac_new_val_w=`echo x $ac_new_val`
3777 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3779 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3780 ac_cache_corrupted=:
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3783 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3784 eval $ac_var=\$ac_old_val
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3787 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3789 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3790 fi;;
3791 esac
3792 # Pass precious variables to config.status.
3793 if test "$ac_new_set" = set; then
3794 case $ac_new_val in
3795 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3796 *) ac_arg=$ac_var=$ac_new_val ;;
3797 esac
3798 case " $ac_configure_args " in
3799 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3800 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3801 esac
3803 done
3804 if $ac_cache_corrupted; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3808 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3809 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3811 ## -------------------- ##
3812 ## Main body of script. ##
3813 ## -------------------- ##
3815 ac_ext=c
3816 ac_cpp='$CPP $CPPFLAGS'
3817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3823 ac_config_headers="$ac_config_headers include/config.h"
3825 ac_aux_dir=
3826 for ac_dir in tools "$srcdir"/tools; do
3827 if test -f "$ac_dir/install-sh"; then
3828 ac_aux_dir=$ac_dir
3829 ac_install_sh="$ac_aux_dir/install-sh -c"
3830 break
3831 elif test -f "$ac_dir/install.sh"; then
3832 ac_aux_dir=$ac_dir
3833 ac_install_sh="$ac_aux_dir/install.sh -c"
3834 break
3835 elif test -f "$ac_dir/shtool"; then
3836 ac_aux_dir=$ac_dir
3837 ac_install_sh="$ac_aux_dir/shtool install -c"
3838 break
3840 done
3841 if test -z "$ac_aux_dir"; then
3842 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3845 # These three variables are undocumented and unsupported,
3846 # and are intended to be withdrawn in a future Autoconf release.
3847 # They can cause serious problems if a builder's source tree is in a directory
3848 # whose full name contains unusual characters.
3849 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3850 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3851 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3855 libwine_version="1.0"
3859 # Check whether --enable-win16 was given.
3860 if test "${enable_win16+set}" = set; then :
3861 enableval=$enable_win16;
3864 # Check whether --enable-win64 was given.
3865 if test "${enable_win64+set}" = set; then :
3866 enableval=$enable_win64;
3869 # Check whether --enable-tests was given.
3870 if test "${enable_tests+set}" = set; then :
3871 enableval=$enable_tests;
3874 # Check whether --enable-maintainer-mode was given.
3875 if test "${enable_maintainer_mode+set}" = set; then :
3876 enableval=$enable_maintainer_mode;
3879 # Check whether --enable-werror was given.
3880 if test "${enable_werror+set}" = set; then :
3881 enableval=$enable_werror;
3886 # Check whether --with-alsa was given.
3887 if test "${with_alsa+set}" = set; then :
3888 withval=$with_alsa;
3892 # Check whether --with-capi was given.
3893 if test "${with_capi+set}" = set; then :
3894 withval=$with_capi;
3898 # Check whether --with-cms was given.
3899 if test "${with_cms+set}" = set; then :
3900 withval=$with_cms;
3904 # Check whether --with-coreaudio was given.
3905 if test "${with_coreaudio+set}" = set; then :
3906 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3910 # Check whether --with-cups was given.
3911 if test "${with_cups+set}" = set; then :
3912 withval=$with_cups;
3916 # Check whether --with-curses was given.
3917 if test "${with_curses+set}" = set; then :
3918 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3922 # Check whether --with-dbus was given.
3923 if test "${with_dbus+set}" = set; then :
3924 withval=$with_dbus;
3928 # Check whether --with-faudio was given.
3929 if test "${with_faudio+set}" = set; then :
3930 withval=$with_faudio;
3934 # Check whether --with-float-abi was given.
3935 if test "${with_float_abi+set}" = set; then :
3936 withval=$with_float_abi;
3940 # Check whether --with-fontconfig was given.
3941 if test "${with_fontconfig+set}" = set; then :
3942 withval=$with_fontconfig;
3946 # Check whether --with-freetype was given.
3947 if test "${with_freetype+set}" = set; then :
3948 withval=$with_freetype;
3952 # Check whether --with-gettext was given.
3953 if test "${with_gettext+set}" = set; then :
3954 withval=$with_gettext;
3958 # Check whether --with-gettextpo was given.
3959 if test "${with_gettextpo+set}" = set; then :
3960 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3964 # Check whether --with-gphoto was given.
3965 if test "${with_gphoto+set}" = set; then :
3966 withval=$with_gphoto;
3970 # Check whether --with-glu was given.
3971 if test "${with_glu+set}" = set; then :
3972 withval=$with_glu;
3976 # Check whether --with-gnutls was given.
3977 if test "${with_gnutls+set}" = set; then :
3978 withval=$with_gnutls;
3982 # Check whether --with-gsm was given.
3983 if test "${with_gsm+set}" = set; then :
3984 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3988 # Check whether --with-gssapi was given.
3989 if test "${with_gssapi+set}" = set; then :
3990 withval=$with_gssapi;
3994 # Check whether --with-gstreamer was given.
3995 if test "${with_gstreamer+set}" = set; then :
3996 withval=$with_gstreamer;
4000 # Check whether --with-hal was given.
4001 if test "${with_hal+set}" = set; then :
4002 withval=$with_hal;
4006 # Check whether --with-inotify was given.
4007 if test "${with_inotify+set}" = set; then :
4008 withval=$with_inotify;
4012 # Check whether --with-jpeg was given.
4013 if test "${with_jpeg+set}" = set; then :
4014 withval=$with_jpeg;
4018 # Check whether --with-krb5 was given.
4019 if test "${with_krb5+set}" = set; then :
4020 withval=$with_krb5;
4024 # Check whether --with-ldap was given.
4025 if test "${with_ldap+set}" = set; then :
4026 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4030 # Check whether --with-mingw was given.
4031 if test "${with_mingw+set}" = set; then :
4032 withval=$with_mingw;
4036 # Check whether --with-mpg123 was given.
4037 if test "${with_mpg123+set}" = set; then :
4038 withval=$with_mpg123;
4042 # Check whether --with-netapi was given.
4043 if test "${with_netapi+set}" = set; then :
4044 withval=$with_netapi;
4048 # Check whether --with-openal was given.
4049 if test "${with_openal+set}" = set; then :
4050 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4054 # Check whether --with-opencl was given.
4055 if test "${with_opencl+set}" = set; then :
4056 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4060 # Check whether --with-opengl was given.
4061 if test "${with_opengl+set}" = set; then :
4062 withval=$with_opengl;
4066 # Check whether --with-osmesa was given.
4067 if test "${with_osmesa+set}" = set; then :
4068 withval=$with_osmesa;
4072 # Check whether --with-oss was given.
4073 if test "${with_oss+set}" = set; then :
4074 withval=$with_oss;
4078 # Check whether --with-pcap was given.
4079 if test "${with_pcap+set}" = set; then :
4080 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4084 # Check whether --with-png was given.
4085 if test "${with_png+set}" = set; then :
4086 withval=$with_png;
4090 # Check whether --with-pthread was given.
4091 if test "${with_pthread+set}" = set; then :
4092 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4096 # Check whether --with-pulse was given.
4097 if test "${with_pulse+set}" = set; then :
4098 withval=$with_pulse;
4102 # Check whether --with-sane was given.
4103 if test "${with_sane+set}" = set; then :
4104 withval=$with_sane;
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then :
4110 withval=$with_sdl;
4114 # Check whether --with-tiff was given.
4115 if test "${with_tiff+set}" = set; then :
4116 withval=$with_tiff;
4120 # Check whether --with-udev was given.
4121 if test "${with_udev+set}" = set; then :
4122 withval=$with_udev;
4126 # Check whether --with-unwind was given.
4127 if test "${with_unwind+set}" = set; then :
4128 withval=$with_unwind;
4132 # Check whether --with-usb was given.
4133 if test "${with_usb+set}" = set; then :
4134 withval=$with_usb;
4138 # Check whether --with-v4l2 was given.
4139 if test "${with_v4l2+set}" = set; then :
4140 withval=$with_v4l2;
4144 # Check whether --with-vkd3d was given.
4145 if test "${with_vkd3d+set}" = set; then :
4146 withval=$with_vkd3d;
4150 # Check whether --with-vulkan was given.
4151 if test "${with_vulkan+set}" = set; then :
4152 withval=$with_vulkan;
4156 # Check whether --with-xcomposite was given.
4157 if test "${with_xcomposite+set}" = set; then :
4158 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4162 # Check whether --with-xcursor was given.
4163 if test "${with_xcursor+set}" = set; then :
4164 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4168 # Check whether --with-xfixes was given.
4169 if test "${with_xfixes+set}" = set; then :
4170 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4174 # Check whether --with-xinerama was given.
4175 if test "${with_xinerama+set}" = set; then :
4176 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4180 # Check whether --with-xinput was given.
4181 if test "${with_xinput+set}" = set; then :
4182 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4186 # Check whether --with-xinput2 was given.
4187 if test "${with_xinput2+set}" = set; then :
4188 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4192 # Check whether --with-xml was given.
4193 if test "${with_xml+set}" = set; then :
4194 withval=$with_xml;
4198 # Check whether --with-xrandr was given.
4199 if test "${with_xrandr+set}" = set; then :
4200 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4204 # Check whether --with-xrender was given.
4205 if test "${with_xrender+set}" = set; then :
4206 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4210 # Check whether --with-xshape was given.
4211 if test "${with_xshape+set}" = set; then :
4212 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4216 # Check whether --with-xshm was given.
4217 if test "${with_xshm+set}" = set; then :
4218 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4222 # Check whether --with-xslt was given.
4223 if test "${with_xslt+set}" = set; then :
4224 withval=$with_xslt;
4228 # Check whether --with-xxf86vm was given.
4229 if test "${with_xxf86vm+set}" = set; then :
4230 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
4235 # Check whether --with-wine-tools was given.
4236 if test "${with_wine_tools+set}" = set; then :
4237 withval=$with_wine_tools;
4241 # Check whether --with-wine64 was given.
4242 if test "${with_wine64+set}" = set; then :
4243 withval=$with_wine64;
4247 # Make sure we can run config.sub.
4248 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4249 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4252 $as_echo_n "checking build system type... " >&6; }
4253 if ${ac_cv_build+:} false; then :
4254 $as_echo_n "(cached) " >&6
4255 else
4256 ac_build_alias=$build_alias
4257 test "x$ac_build_alias" = x &&
4258 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4259 test "x$ac_build_alias" = x &&
4260 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4261 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4262 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4266 $as_echo "$ac_cv_build" >&6; }
4267 case $ac_cv_build in
4268 *-*-*) ;;
4269 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4270 esac
4271 build=$ac_cv_build
4272 ac_save_IFS=$IFS; IFS='-'
4273 set x $ac_cv_build
4274 shift
4275 build_cpu=$1
4276 build_vendor=$2
4277 shift; shift
4278 # Remember, the first character of IFS is used to create $*,
4279 # except with old shells:
4280 build_os=$*
4281 IFS=$ac_save_IFS
4282 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4286 $as_echo_n "checking host system type... " >&6; }
4287 if ${ac_cv_host+:} false; then :
4288 $as_echo_n "(cached) " >&6
4289 else
4290 if test "x$host_alias" = x; then
4291 ac_cv_host=$ac_cv_build
4292 else
4293 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4294 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4299 $as_echo "$ac_cv_host" >&6; }
4300 case $ac_cv_host in
4301 *-*-*) ;;
4302 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4303 esac
4304 host=$ac_cv_host
4305 ac_save_IFS=$IFS; IFS='-'
4306 set x $ac_cv_host
4307 shift
4308 host_cpu=$1
4309 host_vendor=$2
4310 shift; shift
4311 # Remember, the first character of IFS is used to create $*,
4312 # except with old shells:
4313 host_os=$*
4314 IFS=$ac_save_IFS
4315 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4321 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4322 set x ${MAKE-make}
4323 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4324 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 cat >conftest.make <<\_ACEOF
4328 SHELL = /bin/sh
4329 all:
4330 @echo '@@@%%%=$(MAKE)=@@@%%%'
4331 _ACEOF
4332 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4333 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4334 *@@@%%%=?*=@@@%%%*)
4335 eval ac_cv_prog_make_${ac_make}_set=yes;;
4337 eval ac_cv_prog_make_${ac_make}_set=no;;
4338 esac
4339 rm -f conftest.make
4341 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4343 $as_echo "yes" >&6; }
4344 SET_MAKE=
4345 else
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4348 SET_MAKE="MAKE=${MAKE-make}"
4351 ac_ext=c
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4356 if test -n "$ac_tool_prefix"; then
4357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4358 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_prog_CC+:} false; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CC"; then
4365 ac_cv_prog_CC="$CC" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CC=$ac_cv_prog_CC
4385 if test -n "$CC"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4387 $as_echo "$CC" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4395 if test -z "$ac_cv_prog_CC"; then
4396 ac_ct_CC=$CC
4397 # Extract the first word of "gcc", so it can be a program name with args.
4398 set dummy gcc; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4402 $as_echo_n "(cached) " >&6
4403 else
4404 if test -n "$ac_ct_CC"; then
4405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4406 else
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 for as_dir in $PATH
4410 IFS=$as_save_IFS
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_ac_ct_CC="gcc"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 break 2
4418 done
4419 done
4420 IFS=$as_save_IFS
4424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4425 if test -n "$ac_ct_CC"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4427 $as_echo "$ac_ct_CC" >&6; }
4428 else
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4433 if test "x$ac_ct_CC" = x; then
4434 CC=""
4435 else
4436 case $cross_compiling:$ac_tool_warned in
4437 yes:)
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4440 ac_tool_warned=yes ;;
4441 esac
4442 CC=$ac_ct_CC
4444 else
4445 CC="$ac_cv_prog_CC"
4448 if test -z "$CC"; then
4449 if test -n "$ac_tool_prefix"; then
4450 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4451 set dummy ${ac_tool_prefix}cc; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_CC+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$CC"; then
4458 ac_cv_prog_CC="$CC" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_CC="${ac_tool_prefix}cc"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4471 done
4472 done
4473 IFS=$as_save_IFS
4477 CC=$ac_cv_prog_CC
4478 if test -n "$CC"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480 $as_echo "$CC" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4489 if test -z "$CC"; then
4490 # Extract the first word of "cc", so it can be a program name with args.
4491 set dummy cc; ac_word=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if ${ac_cv_prog_CC+:} false; then :
4495 $as_echo_n "(cached) " >&6
4496 else
4497 if test -n "$CC"; then
4498 ac_cv_prog_CC="$CC" # Let the user override the test.
4499 else
4500 ac_prog_rejected=no
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH
4504 IFS=$as_save_IFS
4505 test -z "$as_dir" && as_dir=.
4506 for ac_exec_ext in '' $ac_executable_extensions; do
4507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4508 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4509 ac_prog_rejected=yes
4510 continue
4512 ac_cv_prog_CC="cc"
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 break 2
4516 done
4517 done
4518 IFS=$as_save_IFS
4520 if test $ac_prog_rejected = yes; then
4521 # We found a bogon in the path, so make sure we never use it.
4522 set dummy $ac_cv_prog_CC
4523 shift
4524 if test $# != 0; then
4525 # We chose a different compiler from the bogus one.
4526 # However, it has the same basename, so the bogon will be chosen
4527 # first if we set CC to just the basename; use the full file name.
4528 shift
4529 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4534 CC=$ac_cv_prog_CC
4535 if test -n "$CC"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4537 $as_echo "$CC" >&6; }
4538 else
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4545 if test -z "$CC"; then
4546 if test -n "$ac_tool_prefix"; then
4547 for ac_prog in cl.exe
4549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4550 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_CC+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 if test -n "$CC"; then
4557 ac_cv_prog_CC="$CC" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4572 IFS=$as_save_IFS
4576 CC=$ac_cv_prog_CC
4577 if test -n "$CC"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4579 $as_echo "$CC" >&6; }
4580 else
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4586 test -n "$CC" && break
4587 done
4589 if test -z "$CC"; then
4590 ac_ct_CC=$CC
4591 for ac_prog in cl.exe
4593 # Extract the first word of "$ac_prog", so it can be a program name with args.
4594 set dummy $ac_prog; ac_word=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 if test -n "$ac_ct_CC"; then
4601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4602 else
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 for as_dir in $PATH
4606 IFS=$as_save_IFS
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_ac_ct_CC="$ac_prog"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 break 2
4614 done
4615 done
4616 IFS=$as_save_IFS
4620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4621 if test -n "$ac_ct_CC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4623 $as_echo "$ac_ct_CC" >&6; }
4624 else
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4630 test -n "$ac_ct_CC" && break
4631 done
4633 if test "x$ac_ct_CC" = x; then
4634 CC=""
4635 else
4636 case $cross_compiling:$ac_tool_warned in
4637 yes:)
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4640 ac_tool_warned=yes ;;
4641 esac
4642 CC=$ac_ct_CC
4649 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4651 as_fn_error $? "no acceptable C compiler found in \$PATH
4652 See \`config.log' for more details" "$LINENO" 5; }
4654 # Provide some information about the compiler.
4655 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4656 set X $ac_compile
4657 ac_compiler=$2
4658 for ac_option in --version -v -V -qversion; do
4659 { { ac_try="$ac_compiler $ac_option >&5"
4660 case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4663 esac
4664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4665 $as_echo "$ac_try_echo"; } >&5
4666 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4667 ac_status=$?
4668 if test -s conftest.err; then
4669 sed '10a\
4670 ... rest of stderr output deleted ...
4671 10q' conftest.err >conftest.er1
4672 cat conftest.er1 >&5
4674 rm -f conftest.er1 conftest.err
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }
4677 done
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4683 main ()
4687 return 0;
4689 _ACEOF
4690 ac_clean_files_save=$ac_clean_files
4691 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4692 # Try to create an executable without -o first, disregard a.out.
4693 # It will help us diagnose broken compilers, and finding out an intuition
4694 # of exeext.
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4696 $as_echo_n "checking whether the C compiler works... " >&6; }
4697 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4699 # The possible output files:
4700 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4702 ac_rmfiles=
4703 for ac_file in $ac_files
4705 case $ac_file in
4706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4707 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4708 esac
4709 done
4710 rm -f $ac_rmfiles
4712 if { { ac_try="$ac_link_default"
4713 case "(($ac_try" in
4714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4715 *) ac_try_echo=$ac_try;;
4716 esac
4717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4718 $as_echo "$ac_try_echo"; } >&5
4719 (eval "$ac_link_default") 2>&5
4720 ac_status=$?
4721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4722 test $ac_status = 0; }; then :
4723 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4724 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4725 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4726 # so that the user can short-circuit this test for compilers unknown to
4727 # Autoconf.
4728 for ac_file in $ac_files ''
4730 test -f "$ac_file" || continue
4731 case $ac_file in
4732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4734 [ab].out )
4735 # We found the default executable, but exeext='' is most
4736 # certainly right.
4737 break;;
4738 *.* )
4739 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4740 then :; else
4741 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4743 # We set ac_cv_exeext here because the later test for it is not
4744 # safe: cross compilers may not add the suffix if given an `-o'
4745 # argument, so we may need to know it at that point already.
4746 # Even if this section looks crufty: it has the advantage of
4747 # actually working.
4748 break;;
4750 break;;
4751 esac
4752 done
4753 test "$ac_cv_exeext" = no && ac_cv_exeext=
4755 else
4756 ac_file=''
4758 if test -z "$ac_file"; then :
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 $as_echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.$ac_ext >&5
4764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4766 as_fn_error 77 "C compiler cannot create executables
4767 See \`config.log' for more details" "$LINENO" 5; }
4768 else
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770 $as_echo "yes" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4773 $as_echo_n "checking for C compiler default output file name... " >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4775 $as_echo "$ac_file" >&6; }
4776 ac_exeext=$ac_cv_exeext
4778 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4779 ac_clean_files=$ac_clean_files_save
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4781 $as_echo_n "checking for suffix of executables... " >&6; }
4782 if { { ac_try="$ac_link"
4783 case "(($ac_try" in
4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4785 *) ac_try_echo=$ac_try;;
4786 esac
4787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4788 $as_echo "$ac_try_echo"; } >&5
4789 (eval "$ac_link") 2>&5
4790 ac_status=$?
4791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4792 test $ac_status = 0; }; then :
4793 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4794 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4795 # work properly (i.e., refer to `conftest.exe'), while it won't with
4796 # `rm'.
4797 for ac_file in conftest.exe conftest conftest.*; do
4798 test -f "$ac_file" || continue
4799 case $ac_file in
4800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4801 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4802 break;;
4803 * ) break;;
4804 esac
4805 done
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4810 See \`config.log' for more details" "$LINENO" 5; }
4812 rm -f conftest conftest$ac_cv_exeext
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4814 $as_echo "$ac_cv_exeext" >&6; }
4816 rm -f conftest.$ac_ext
4817 EXEEXT=$ac_cv_exeext
4818 ac_exeext=$EXEEXT
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 #include <stdio.h>
4823 main ()
4825 FILE *f = fopen ("conftest.out", "w");
4826 return ferror (f) || fclose (f) != 0;
4829 return 0;
4831 _ACEOF
4832 ac_clean_files="$ac_clean_files conftest.out"
4833 # Check that the compiler produces executables we can run. If not, either
4834 # the compiler is broken, or we cross compile.
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4836 $as_echo_n "checking whether we are cross compiling... " >&6; }
4837 if test "$cross_compiling" != yes; then
4838 { { ac_try="$ac_link"
4839 case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4844 $as_echo "$ac_try_echo"; } >&5
4845 (eval "$ac_link") 2>&5
4846 ac_status=$?
4847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4848 test $ac_status = 0; }
4849 if { ac_try='./conftest$ac_cv_exeext'
4850 { { case "(($ac_try" in
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4853 esac
4854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4855 $as_echo "$ac_try_echo"; } >&5
4856 (eval "$ac_try") 2>&5
4857 ac_status=$?
4858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4859 test $ac_status = 0; }; }; then
4860 cross_compiling=no
4861 else
4862 if test "$cross_compiling" = maybe; then
4863 cross_compiling=yes
4864 else
4865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4867 as_fn_error $? "cannot run C compiled programs.
4868 If you meant to cross compile, use \`--host'.
4869 See \`config.log' for more details" "$LINENO" 5; }
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4874 $as_echo "$cross_compiling" >&6; }
4876 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4877 ac_clean_files=$ac_clean_files_save
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4879 $as_echo_n "checking for suffix of object files... " >&6; }
4880 if ${ac_cv_objext+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4887 main ()
4891 return 0;
4893 _ACEOF
4894 rm -f conftest.o conftest.obj
4895 if { { ac_try="$ac_compile"
4896 case "(($ac_try" in
4897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4898 *) ac_try_echo=$ac_try;;
4899 esac
4900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4901 $as_echo "$ac_try_echo"; } >&5
4902 (eval "$ac_compile") 2>&5
4903 ac_status=$?
4904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4905 test $ac_status = 0; }; then :
4906 for ac_file in conftest.o conftest.obj conftest.*; do
4907 test -f "$ac_file" || continue;
4908 case $ac_file in
4909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4910 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4911 break;;
4912 esac
4913 done
4914 else
4915 $as_echo "$as_me: failed program was:" >&5
4916 sed 's/^/| /' conftest.$ac_ext >&5
4918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4920 as_fn_error $? "cannot compute suffix of object files: cannot compile
4921 See \`config.log' for more details" "$LINENO" 5; }
4923 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4926 $as_echo "$ac_cv_objext" >&6; }
4927 OBJEXT=$ac_cv_objext
4928 ac_objext=$OBJEXT
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4930 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4931 if ${ac_cv_c_compiler_gnu+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4938 main ()
4940 #ifndef __GNUC__
4941 choke me
4942 #endif
4945 return 0;
4947 _ACEOF
4948 if ac_fn_c_try_compile "$LINENO"; then :
4949 ac_compiler_gnu=yes
4950 else
4951 ac_compiler_gnu=no
4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4958 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4959 if test $ac_compiler_gnu = yes; then
4960 GCC=yes
4961 else
4962 GCC=
4964 ac_test_CFLAGS=${CFLAGS+set}
4965 ac_save_CFLAGS=$CFLAGS
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4967 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4968 if ${ac_cv_prog_cc_g+:} false; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 ac_save_c_werror_flag=$ac_c_werror_flag
4972 ac_c_werror_flag=yes
4973 ac_cv_prog_cc_g=no
4974 CFLAGS="-g"
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4979 main ()
4983 return 0;
4985 _ACEOF
4986 if ac_fn_c_try_compile "$LINENO"; then :
4987 ac_cv_prog_cc_g=yes
4988 else
4989 CFLAGS=""
4990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4994 main ()
4998 return 0;
5000 _ACEOF
5001 if ac_fn_c_try_compile "$LINENO"; then :
5003 else
5004 ac_c_werror_flag=$ac_save_c_werror_flag
5005 CFLAGS="-g"
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5010 main ()
5014 return 0;
5016 _ACEOF
5017 if ac_fn_c_try_compile "$LINENO"; then :
5018 ac_cv_prog_cc_g=yes
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 ac_c_werror_flag=$ac_save_c_werror_flag
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5028 $as_echo "$ac_cv_prog_cc_g" >&6; }
5029 if test "$ac_test_CFLAGS" = set; then
5030 CFLAGS=$ac_save_CFLAGS
5031 elif test $ac_cv_prog_cc_g = yes; then
5032 if test "$GCC" = yes; then
5033 CFLAGS="-g -O2"
5034 else
5035 CFLAGS="-g"
5037 else
5038 if test "$GCC" = yes; then
5039 CFLAGS="-O2"
5040 else
5041 CFLAGS=
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5045 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5046 if ${ac_cv_prog_cc_c89+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 ac_cv_prog_cc_c89=no
5050 ac_save_CC=$CC
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5053 #include <stdarg.h>
5054 #include <stdio.h>
5055 struct stat;
5056 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5057 struct buf { int x; };
5058 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5059 static char *e (p, i)
5060 char **p;
5061 int i;
5063 return p[i];
5065 static char *f (char * (*g) (char **, int), char **p, ...)
5067 char *s;
5068 va_list v;
5069 va_start (v,p);
5070 s = g (p, va_arg (v,int));
5071 va_end (v);
5072 return s;
5075 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5076 function prototypes and stuff, but not '\xHH' hex character constants.
5077 These don't provoke an error unfortunately, instead are silently treated
5078 as 'x'. The following induces an error, until -std is added to get
5079 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5080 array size at least. It's necessary to write '\x00'==0 to get something
5081 that's true only with -std. */
5082 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5084 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5085 inside strings and character constants. */
5086 #define FOO(x) 'x'
5087 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5089 int test (int i, double x);
5090 struct s1 {int (*f) (int a);};
5091 struct s2 {int (*f) (double a);};
5092 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5093 int argc;
5094 char **argv;
5096 main ()
5098 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5100 return 0;
5102 _ACEOF
5103 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5104 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5106 CC="$ac_save_CC $ac_arg"
5107 if ac_fn_c_try_compile "$LINENO"; then :
5108 ac_cv_prog_cc_c89=$ac_arg
5110 rm -f core conftest.err conftest.$ac_objext
5111 test "x$ac_cv_prog_cc_c89" != "xno" && break
5112 done
5113 rm -f conftest.$ac_ext
5114 CC=$ac_save_CC
5117 # AC_CACHE_VAL
5118 case "x$ac_cv_prog_cc_c89" in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5121 $as_echo "none needed" >&6; } ;;
5122 xno)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5124 $as_echo "unsupported" >&6; } ;;
5126 CC="$CC $ac_cv_prog_cc_c89"
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5128 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5129 esac
5130 if test "x$ac_cv_prog_cc_c89" != xno; then :
5134 ac_ext=c
5135 ac_cpp='$CPP $CPPFLAGS'
5136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5140 ac_ext=cpp
5141 ac_cpp='$CXXCPP $CPPFLAGS'
5142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5145 if test -z "$CXX"; then
5146 if test -n "$CCC"; then
5147 CXX=$CCC
5148 else
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_CXX+:} false; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 if test -n "$CXX"; then
5160 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5161 else
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 for as_dir in $PATH
5165 IFS=$as_save_IFS
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 break 2
5173 done
5174 done
5175 IFS=$as_save_IFS
5179 CXX=$ac_cv_prog_CXX
5180 if test -n "$CXX"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5182 $as_echo "$CXX" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$CXX" && break
5190 done
5192 if test -z "$CXX"; then
5193 ac_ct_CXX=$CXX
5194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 if test -n "$ac_ct_CXX"; then
5204 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5205 else
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5209 IFS=$as_save_IFS
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_ac_ct_CXX="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 break 2
5217 done
5218 done
5219 IFS=$as_save_IFS
5223 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5224 if test -n "$ac_ct_CXX"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5226 $as_echo "$ac_ct_CXX" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$ac_ct_CXX" && break
5234 done
5236 if test "x$ac_ct_CXX" = x; then
5237 CXX="g++"
5238 else
5239 case $cross_compiling:$ac_tool_warned in
5240 yes:)
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned=yes ;;
5244 esac
5245 CXX=$ac_ct_CXX
5251 # Provide some information about the compiler.
5252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5253 set X $ac_compile
5254 ac_compiler=$2
5255 for ac_option in --version -v -V -qversion; do
5256 { { ac_try="$ac_compiler $ac_option >&5"
5257 case "(($ac_try" in
5258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5259 *) ac_try_echo=$ac_try;;
5260 esac
5261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5262 $as_echo "$ac_try_echo"; } >&5
5263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5264 ac_status=$?
5265 if test -s conftest.err; then
5266 sed '10a\
5267 ... rest of stderr output deleted ...
5268 10q' conftest.err >conftest.er1
5269 cat conftest.er1 >&5
5271 rm -f conftest.er1 conftest.err
5272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5273 test $ac_status = 0; }
5274 done
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5278 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5285 main ()
5287 #ifndef __GNUC__
5288 choke me
5289 #endif
5292 return 0;
5294 _ACEOF
5295 if ac_fn_cxx_try_compile "$LINENO"; then :
5296 ac_compiler_gnu=yes
5297 else
5298 ac_compiler_gnu=no
5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5301 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5306 if test $ac_compiler_gnu = yes; then
5307 GXX=yes
5308 else
5309 GXX=
5311 ac_test_CXXFLAGS=${CXXFLAGS+set}
5312 ac_save_CXXFLAGS=$CXXFLAGS
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5315 if ${ac_cv_prog_cxx_g+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5319 ac_cxx_werror_flag=yes
5320 ac_cv_prog_cxx_g=no
5321 CXXFLAGS="-g"
5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5326 main ()
5330 return 0;
5332 _ACEOF
5333 if ac_fn_cxx_try_compile "$LINENO"; then :
5334 ac_cv_prog_cxx_g=yes
5335 else
5336 CXXFLAGS=""
5337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5341 main ()
5345 return 0;
5347 _ACEOF
5348 if ac_fn_cxx_try_compile "$LINENO"; then :
5350 else
5351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5352 CXXFLAGS="-g"
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5357 main ()
5361 return 0;
5363 _ACEOF
5364 if ac_fn_cxx_try_compile "$LINENO"; then :
5365 ac_cv_prog_cxx_g=yes
5367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5376 if test "$ac_test_CXXFLAGS" = set; then
5377 CXXFLAGS=$ac_save_CXXFLAGS
5378 elif test $ac_cv_prog_cxx_g = yes; then
5379 if test "$GXX" = yes; then
5380 CXXFLAGS="-g -O2"
5381 else
5382 CXXFLAGS="-g"
5384 else
5385 if test "$GXX" = yes; then
5386 CXXFLAGS="-O2"
5387 else
5388 CXXFLAGS=
5391 ac_ext=c
5392 ac_cpp='$CPP $CPPFLAGS'
5393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 if test -n "$ac_tool_prefix"; then
5398 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5399 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_CPPBIN+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$CPPBIN"; then
5406 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5419 done
5420 done
5421 IFS=$as_save_IFS
5425 CPPBIN=$ac_cv_prog_CPPBIN
5426 if test -n "$CPPBIN"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5428 $as_echo "$CPPBIN" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5436 if test -z "$ac_cv_prog_CPPBIN"; then
5437 ac_ct_CPPBIN=$CPPBIN
5438 # Extract the first word of "cpp", so it can be a program name with args.
5439 set dummy cpp; ac_word=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5443 $as_echo_n "(cached) " >&6
5444 else
5445 if test -n "$ac_ct_CPPBIN"; then
5446 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5447 else
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in $PATH
5451 IFS=$as_save_IFS
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455 ac_cv_prog_ac_ct_CPPBIN="cpp"
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 break 2
5459 done
5460 done
5461 IFS=$as_save_IFS
5465 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5466 if test -n "$ac_ct_CPPBIN"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5468 $as_echo "$ac_ct_CPPBIN" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5474 if test "x$ac_ct_CPPBIN" = x; then
5475 CPPBIN="cpp"
5476 else
5477 case $cross_compiling:$ac_tool_warned in
5478 yes:)
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5481 ac_tool_warned=yes ;;
5482 esac
5483 CPPBIN=$ac_ct_CPPBIN
5485 else
5486 CPPBIN="$ac_cv_prog_CPPBIN"
5490 cat >>confdefs.h <<_ACEOF
5491 #define EXEEXT "$ac_exeext"
5492 _ACEOF
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5496 set dummy ${ac_tool_prefix}ld; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_LD+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$LD"; then
5503 ac_cv_prog_LD="$LD" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_LD="${ac_tool_prefix}ld"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 LD=$ac_cv_prog_LD
5523 if test -n "$LD"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5525 $as_echo "$LD" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5533 if test -z "$ac_cv_prog_LD"; then
5534 ac_ct_LD=$LD
5535 # Extract the first word of "ld", so it can be a program name with args.
5536 set dummy ld; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -n "$ac_ct_LD"; then
5543 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5544 else
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_LD="ld"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 break 2
5556 done
5557 done
5558 IFS=$as_save_IFS
5562 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5563 if test -n "$ac_ct_LD"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5565 $as_echo "$ac_ct_LD" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5571 if test "x$ac_ct_LD" = x; then
5572 LD=""
5573 else
5574 case $cross_compiling:$ac_tool_warned in
5575 yes:)
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5578 ac_tool_warned=yes ;;
5579 esac
5580 LD=$ac_ct_LD
5582 else
5583 LD="$ac_cv_prog_LD"
5587 case $host in
5588 *-darwin*)
5589 with_fontconfig=${with_fontconfig:-no}
5591 *-mingw32*|*-cygwin*)
5592 enable_win16=${enable_win16:-no}
5593 with_mingw=${with_mingw:-no}
5594 CFLAGS="$CFLAGS -D_WIN32"
5596 esac
5598 case $host in
5599 x86_64*|amd64*)
5600 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5601 then
5602 CC="$CC -m32"
5603 CXX="$CXX -m32"
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5606 $as_echo_n "checking whether $CC works... " >&6; }
5607 if ${wine_cv_cc_m32+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5611 /* end confdefs.h. */
5614 main ()
5618 return 0;
5620 _ACEOF
5621 if ac_fn_c_try_link "$LINENO"; then :
5622 wine_cv_cc_m32=yes
5623 else
5624 wine_cv_cc_m32=no
5626 rm -f core conftest.err conftest.$ac_objext \
5627 conftest$ac_exeext conftest.$ac_ext
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5630 $as_echo "$wine_cv_cc_m32" >&6; }
5631 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
5632 host_cpu="i386"
5633 notice_platform="32-bit "
5634 TARGETFLAGS="-m32"
5636 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5637 export PKG_CONFIG_PATH
5638 enable_win16=${enable_win16:-yes}
5639 with_unwind=${with_unwind:-no}
5640 else
5641 if test "x${GCC}" = "xyes"
5642 then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5644 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5645 if ${wine_cv_builtin_ms_va_list+:} false; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5650 #include <stdarg.h>
5652 main ()
5654 void func(__builtin_ms_va_list *args);
5656 return 0;
5658 _ACEOF
5659 if ac_fn_c_try_compile "$LINENO"; then :
5660 wine_cv_builtin_ms_va_list=yes
5661 else
5662 wine_cv_builtin_ms_va_list=no
5664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5667 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5668 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
5670 CC="$CC -m64"
5671 CXX="$CXX -m64"
5672 host_cpu="x86_64"
5673 notice_platform="64-bit "
5674 TARGETFLAGS="-m64"
5678 arm*)
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5680 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5681 if ${wine_cv_thumb+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5686 int ac_test(int i) { return i; }
5688 main ()
5690 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5692 return 0;
5694 _ACEOF
5695 if ac_fn_c_try_link "$LINENO"; then :
5696 wine_cv_thumb=yes
5697 else
5698 wine_cv_thumb=no
5700 rm -f core conftest.err conftest.$ac_objext \
5701 conftest$ac_exeext conftest.$ac_ext
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5704 $as_echo "$wine_cv_thumb" >&6; }
5705 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5706 case $with_float_abi in
5707 soft|softfp|hard)
5708 float_abi=$with_float_abi ;;
5710 case $host_os in
5711 *eabihf)
5712 float_abi=hard ;;
5714 float_abi=softfp
5715 saved_CFLAGS=$CFLAGS
5716 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5718 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5719 if ${wine_cv_float_abi+:} false; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5726 main ()
5728 asm("vmrs r2,fpscr");
5730 return 0;
5732 _ACEOF
5733 if ac_fn_c_try_link "$LINENO"; then :
5734 wine_cv_float_abi=yes
5735 else
5736 wine_cv_float_abi=no
5738 rm -f core conftest.err conftest.$ac_objext \
5739 conftest$ac_exeext conftest.$ac_ext
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5742 $as_echo "$wine_cv_float_abi" >&6; }
5743 if test $wine_cv_float_abi = no
5744 then
5745 float_abi=soft
5746 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5748 CFLAGS=$saved_CFLAGS
5749 esac
5751 esac
5752 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5753 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5756 aarch64*)
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5758 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5759 if ${wine_cv_builtin_ms_va_list+:} false; then :
5760 $as_echo_n "(cached) " >&6
5761 else
5762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5763 /* end confdefs.h. */
5764 #include <stdarg.h>
5766 main ()
5768 void func(__builtin_ms_va_list *args);
5770 return 0;
5772 _ACEOF
5773 if ac_fn_c_try_compile "$LINENO"; then :
5774 wine_cv_builtin_ms_va_list=yes
5775 else
5776 wine_cv_builtin_ms_va_list=no
5778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5781 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5782 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5784 i[3456789]86*)
5785 enable_win16=${enable_win16:-yes}
5786 with_unwind=${with_unwind:-no}
5788 esac
5790 enable_win16=${enable_win16:-no}
5791 enable_win64=${enable_win64:-no}
5793 enable_winetest=${enable_winetest:-$enable_tests}
5795 if test "x$enable_win64" = "xyes"
5796 then
5797 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5798 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5799 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5803 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5804 if ${wine_cv_toolsdir+:} false; then :
5805 $as_echo_n "(cached) " >&6
5806 else
5807 wine_cv_toolsdir="$with_wine_tools"
5808 if test -z "$with_wine_tools"; then
5809 if test "$cross_compiling" = "yes"; then
5810 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5811 elif test -n "$with_wine64"; then
5812 wine_cv_toolsdir="$with_wine64"
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5817 $as_echo "$wine_cv_toolsdir" >&6; }
5818 if test -z "$wine_cv_toolsdir"; then
5819 wine_makedep=tools/makedep
5820 TOOLSDIR="\$(top_builddir)"
5822 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5823 wine_makedep=$wine_cv_toolsdir/tools/makedep
5824 case "$wine_cv_toolsdir" in
5825 /*) TOOLSDIR=$wine_cv_toolsdir
5827 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5829 esac
5830 enable_tools=${enable_tools:-no}
5831 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5832 else
5833 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5835 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5836 then
5837 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5841 for ac_prog in flex
5843 # Extract the first word of "$ac_prog", so it can be a program name with args.
5844 set dummy $ac_prog; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if ${ac_cv_prog_FLEX+:} false; then :
5848 $as_echo_n "(cached) " >&6
5849 else
5850 if test -n "$FLEX"; then
5851 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5852 else
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 for as_dir in $PATH
5856 IFS=$as_save_IFS
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_FLEX="$ac_prog"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 break 2
5864 done
5865 done
5866 IFS=$as_save_IFS
5870 FLEX=$ac_cv_prog_FLEX
5871 if test -n "$FLEX"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5873 $as_echo "$FLEX" >&6; }
5874 else
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5880 test -n "$FLEX" && break
5881 done
5882 test -n "$FLEX" || FLEX="none"
5884 if test "$FLEX" = "none"
5885 then
5886 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5889 $as_echo_n "checking whether flex is recent enough... " >&6; }
5890 if ${wine_cv_recent_flex+:} false; then :
5891 $as_echo_n "(cached) " >&6
5892 else
5893 cat >conftest.l <<EOF
5894 %top{
5895 #include "prediluvian.h"
5899 if $FLEX -t conftest.l >/dev/null 2>&5
5900 then
5901 wine_cv_recent_flex=yes
5902 else
5903 wine_cv_recent_flex=no
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5907 $as_echo "$wine_cv_recent_flex" >&6; }
5908 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
5910 for ac_prog in bison
5912 # Extract the first word of "$ac_prog", so it can be a program name with args.
5913 set dummy $ac_prog; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_BISON+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$BISON"; then
5920 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_BISON="$ac_prog"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5933 done
5934 done
5935 IFS=$as_save_IFS
5939 BISON=$ac_cv_prog_BISON
5940 if test -n "$BISON"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5942 $as_echo "$BISON" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5949 test -n "$BISON" && break
5950 done
5951 test -n "$BISON" || BISON="none"
5953 if test "$BISON" = "none"
5954 then
5955 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5958 $as_echo_n "checking whether bison is recent enough... " >&6; }
5959 if ${wine_cv_recent_bison+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 cat >conftest.y <<EOF
5963 %define parse.error verbose
5965 empty: ;
5967 if $BISON conftest.y >/dev/null 2>&5
5968 then
5969 wine_cv_recent_bison=yes
5970 else
5971 wine_cv_recent_bison=no
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5975 $as_echo "$wine_cv_recent_bison" >&6; }
5976 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
5978 if test -n "$ac_tool_prefix"; then
5979 for ac_prog in ar gar
5981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_AR+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 if test -n "$AR"; then
5989 ac_cv_prog_AR="$AR" # Let the user override the test.
5990 else
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 for as_dir in $PATH
5994 IFS=$as_save_IFS
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 break 2
6002 done
6003 done
6004 IFS=$as_save_IFS
6008 AR=$ac_cv_prog_AR
6009 if test -n "$AR"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6011 $as_echo "$AR" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6018 test -n "$AR" && break
6019 done
6021 if test -z "$AR"; then
6022 ac_ct_AR=$AR
6023 for ac_prog in ar gar
6025 # Extract the first word of "$ac_prog", so it can be a program name with args.
6026 set dummy $ac_prog; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$ac_ct_AR"; then
6033 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_ac_ct_AR="$ac_prog"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6053 if test -n "$ac_ct_AR"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6055 $as_echo "$ac_ct_AR" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6062 test -n "$ac_ct_AR" && break
6063 done
6065 if test "x$ac_ct_AR" = x; then
6066 AR="ar"
6067 else
6068 case $cross_compiling:$ac_tool_warned in
6069 yes:)
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072 ac_tool_warned=yes ;;
6073 esac
6074 AR=$ac_ct_AR
6078 if test -n "$ac_tool_prefix"; then
6079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}strip; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_STRIP+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$STRIP"; then
6087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 STRIP=$ac_cv_prog_STRIP
6107 if test -n "$STRIP"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6109 $as_echo "$STRIP" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6117 if test -z "$ac_cv_prog_STRIP"; then
6118 ac_ct_STRIP=$STRIP
6119 # Extract the first word of "strip", so it can be a program name with args.
6120 set dummy strip; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if test -n "$ac_ct_STRIP"; then
6127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6132 IFS=$as_save_IFS
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_ac_ct_STRIP="strip"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6147 if test -n "$ac_ct_STRIP"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6149 $as_echo "$ac_ct_STRIP" >&6; }
6150 else
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6155 if test "x$ac_ct_STRIP" = x; then
6156 STRIP="strip"
6157 else
6158 case $cross_compiling:$ac_tool_warned in
6159 yes:)
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6163 esac
6164 STRIP=$ac_ct_STRIP
6166 else
6167 STRIP="$ac_cv_prog_STRIP"
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_RANLIB+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 if test -n "$RANLIB"; then
6179 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6184 IFS=$as_save_IFS
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 break 2
6192 done
6193 done
6194 IFS=$as_save_IFS
6198 RANLIB=$ac_cv_prog_RANLIB
6199 if test -n "$RANLIB"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6201 $as_echo "$RANLIB" >&6; }
6202 else
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6209 if test -z "$ac_cv_prog_RANLIB"; then
6210 ac_ct_RANLIB=$RANLIB
6211 # Extract the first word of "ranlib", so it can be a program name with args.
6212 set dummy ranlib; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 if test -n "$ac_ct_RANLIB"; then
6219 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228 ac_cv_prog_ac_ct_RANLIB="ranlib"
6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 break 2
6232 done
6233 done
6234 IFS=$as_save_IFS
6238 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6239 if test -n "$ac_ct_RANLIB"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6241 $as_echo "$ac_ct_RANLIB" >&6; }
6242 else
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6247 if test "x$ac_ct_RANLIB" = x; then
6248 RANLIB=":"
6249 else
6250 case $cross_compiling:$ac_tool_warned in
6251 yes:)
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6254 ac_tool_warned=yes ;;
6255 esac
6256 RANLIB=$ac_ct_RANLIB
6258 else
6259 RANLIB="$ac_cv_prog_RANLIB"
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6263 $as_echo_n "checking whether ln -s works... " >&6; }
6264 LN_S=$as_ln_s
6265 if test "$LN_S" = "ln -s"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6267 $as_echo "yes" >&6; }
6268 else
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6270 $as_echo "no, using $LN_S" >&6; }
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6274 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6275 if ${ac_cv_path_GREP+:} false; then :
6276 $as_echo_n "(cached) " >&6
6277 else
6278 if test -z "$GREP"; then
6279 ac_path_GREP_found=false
6280 # Loop through the user's path and test for each of PROGNAME-LIST
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6284 IFS=$as_save_IFS
6285 test -z "$as_dir" && as_dir=.
6286 for ac_prog in grep ggrep; do
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6289 as_fn_executable_p "$ac_path_GREP" || continue
6290 # Check for GNU ac_path_GREP and select it if it is found.
6291 # Check for GNU $ac_path_GREP
6292 case `"$ac_path_GREP" --version 2>&1` in
6293 *GNU*)
6294 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6296 ac_count=0
6297 $as_echo_n 0123456789 >"conftest.in"
6298 while :
6300 cat "conftest.in" "conftest.in" >"conftest.tmp"
6301 mv "conftest.tmp" "conftest.in"
6302 cp "conftest.in" "conftest.nl"
6303 $as_echo 'GREP' >> "conftest.nl"
6304 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6306 as_fn_arith $ac_count + 1 && ac_count=$as_val
6307 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6308 # Best one so far, save it but keep looking for a better one
6309 ac_cv_path_GREP="$ac_path_GREP"
6310 ac_path_GREP_max=$ac_count
6312 # 10*(2^10) chars as input seems more than enough
6313 test $ac_count -gt 10 && break
6314 done
6315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6316 esac
6318 $ac_path_GREP_found && break 3
6319 done
6320 done
6321 done
6322 IFS=$as_save_IFS
6323 if test -z "$ac_cv_path_GREP"; then
6324 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6326 else
6327 ac_cv_path_GREP=$GREP
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6332 $as_echo "$ac_cv_path_GREP" >&6; }
6333 GREP="$ac_cv_path_GREP"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6337 $as_echo_n "checking for egrep... " >&6; }
6338 if ${ac_cv_path_EGREP+:} false; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6342 then ac_cv_path_EGREP="$GREP -E"
6343 else
6344 if test -z "$EGREP"; then
6345 ac_path_EGREP_found=false
6346 # Loop through the user's path and test for each of PROGNAME-LIST
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_prog in egrep; do
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6355 as_fn_executable_p "$ac_path_EGREP" || continue
6356 # Check for GNU ac_path_EGREP and select it if it is found.
6357 # Check for GNU $ac_path_EGREP
6358 case `"$ac_path_EGREP" --version 2>&1` in
6359 *GNU*)
6360 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6362 ac_count=0
6363 $as_echo_n 0123456789 >"conftest.in"
6364 while :
6366 cat "conftest.in" "conftest.in" >"conftest.tmp"
6367 mv "conftest.tmp" "conftest.in"
6368 cp "conftest.in" "conftest.nl"
6369 $as_echo 'EGREP' >> "conftest.nl"
6370 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6372 as_fn_arith $ac_count + 1 && ac_count=$as_val
6373 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6374 # Best one so far, save it but keep looking for a better one
6375 ac_cv_path_EGREP="$ac_path_EGREP"
6376 ac_path_EGREP_max=$ac_count
6378 # 10*(2^10) chars as input seems more than enough
6379 test $ac_count -gt 10 && break
6380 done
6381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6382 esac
6384 $ac_path_EGREP_found && break 3
6385 done
6386 done
6387 done
6388 IFS=$as_save_IFS
6389 if test -z "$ac_cv_path_EGREP"; then
6390 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6392 else
6393 ac_cv_path_EGREP=$EGREP
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6399 $as_echo "$ac_cv_path_EGREP" >&6; }
6400 EGREP="$ac_cv_path_EGREP"
6403 # Extract the first word of "ldconfig", so it can be a program name with args.
6404 set dummy ldconfig; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if ${ac_cv_path_LDCONFIG+:} false; then :
6408 $as_echo_n "(cached) " >&6
6409 else
6410 case $LDCONFIG in
6411 [\\/]* | ?:[\\/]*)
6412 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in /sbin /usr/sbin $PATH
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6426 done
6427 done
6428 IFS=$as_save_IFS
6430 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6432 esac
6434 LDCONFIG=$ac_cv_path_LDCONFIG
6435 if test -n "$LDCONFIG"; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6437 $as_echo "$LDCONFIG" >&6; }
6438 else
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6440 $as_echo "no" >&6; }
6444 for ac_prog in msgfmt
6446 # Extract the first word of "$ac_prog", so it can be a program name with args.
6447 set dummy $ac_prog; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if ${ac_cv_prog_MSGFMT+:} false; then :
6451 $as_echo_n "(cached) " >&6
6452 else
6453 if test -n "$MSGFMT"; then
6454 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6459 IFS=$as_save_IFS
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6463 ac_cv_prog_MSGFMT="$ac_prog"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 break 2
6467 done
6468 done
6469 IFS=$as_save_IFS
6473 MSGFMT=$ac_cv_prog_MSGFMT
6474 if test -n "$MSGFMT"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6476 $as_echo "$MSGFMT" >&6; }
6477 else
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6483 test -n "$MSGFMT" && break
6484 done
6485 test -n "$MSGFMT" || MSGFMT="false"
6487 if ${ac_tool_prefix+:} false; then :
6488 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6489 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491 $as_echo_n "checking for $ac_word... " >&6; }
6492 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6493 $as_echo_n "(cached) " >&6
6494 else
6495 if test -n "$PKG_CONFIG"; then
6496 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6497 else
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 for as_dir in $PATH
6501 IFS=$as_save_IFS
6502 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 break 2
6509 done
6510 done
6511 IFS=$as_save_IFS
6515 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6516 if test -n "$PKG_CONFIG"; then
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6518 $as_echo "$PKG_CONFIG" >&6; }
6519 else
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6521 $as_echo "no" >&6; }
6526 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6527 if test "x$cross_compiling" = xyes; then :
6529 else
6530 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6531 # Extract the first word of "pkg-config", so it can be a program name with args.
6532 set dummy pkg-config; ac_word=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 if test -n "$PKG_CONFIG"; then
6539 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6540 else
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 for as_dir in $PATH
6544 IFS=$as_save_IFS
6545 test -z "$as_dir" && as_dir=.
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_PKG_CONFIG="pkg-config"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 break 2
6552 done
6553 done
6554 IFS=$as_save_IFS
6558 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6559 if test -n "$PKG_CONFIG"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6561 $as_echo "$PKG_CONFIG" >&6; }
6562 else
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6569 else
6570 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6573 if test "x$enable_maintainer_mode" != "xyes"
6574 then
6575 FONTFORGE=""
6576 RSVG=""
6577 CONVERT=""
6578 ICOTOOL=""
6579 else
6580 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6581 for ac_prog in fontforge
6583 # Extract the first word of "$ac_prog", so it can be a program name with args.
6584 set dummy $ac_prog; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_FONTFORGE+:} false; then :
6588 $as_echo_n "(cached) " >&6
6589 else
6590 if test -n "$FONTFORGE"; then
6591 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6592 else
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 for as_dir in $PATH
6596 IFS=$as_save_IFS
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_FONTFORGE="$ac_prog"
6601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602 break 2
6604 done
6605 done
6606 IFS=$as_save_IFS
6610 FONTFORGE=$ac_cv_prog_FONTFORGE
6611 if test -n "$FONTFORGE"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6613 $as_echo "$FONTFORGE" >&6; }
6614 else
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6620 test -n "$FONTFORGE" && break
6621 done
6622 test -n "$FONTFORGE" || FONTFORGE="false"
6624 for ac_prog in rsvg-convert rsvg
6626 # Extract the first word of "$ac_prog", so it can be a program name with args.
6627 set dummy $ac_prog; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 $as_echo_n "checking for $ac_word... " >&6; }
6630 if ${ac_cv_prog_RSVG+:} false; then :
6631 $as_echo_n "(cached) " >&6
6632 else
6633 if test -n "$RSVG"; then
6634 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_RSVG="$ac_prog"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 break 2
6647 done
6648 done
6649 IFS=$as_save_IFS
6653 RSVG=$ac_cv_prog_RSVG
6654 if test -n "$RSVG"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6656 $as_echo "$RSVG" >&6; }
6657 else
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6663 test -n "$RSVG" && break
6664 done
6665 test -n "$RSVG" || RSVG="false"
6667 for ac_prog in convert
6669 # Extract the first word of "$ac_prog", so it can be a program name with args.
6670 set dummy $ac_prog; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_CONVERT+:} false; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$CONVERT"; then
6677 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686 ac_cv_prog_CONVERT="$ac_prog"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 CONVERT=$ac_cv_prog_CONVERT
6697 if test -n "$CONVERT"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6699 $as_echo "$CONVERT" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6706 test -n "$CONVERT" && break
6707 done
6708 test -n "$CONVERT" || CONVERT="false"
6710 for ac_prog in icotool
6712 # Extract the first word of "$ac_prog", so it can be a program name with args.
6713 set dummy $ac_prog; ac_word=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if ${ac_cv_prog_ICOTOOL+:} false; then :
6717 $as_echo_n "(cached) " >&6
6718 else
6719 if test -n "$ICOTOOL"; then
6720 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6721 else
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 for as_dir in $PATH
6725 IFS=$as_save_IFS
6726 test -z "$as_dir" && as_dir=.
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_ICOTOOL="$ac_prog"
6730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 break 2
6733 done
6734 done
6735 IFS=$as_save_IFS
6739 ICOTOOL=$ac_cv_prog_ICOTOOL
6740 if test -n "$ICOTOOL"; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6742 $as_echo "$ICOTOOL" >&6; }
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6749 test -n "$ICOTOOL" && break
6750 done
6751 test -n "$ICOTOOL" || ICOTOOL="false"
6753 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6754 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6756 if test "$CONVERT" = false
6757 then
6758 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6761 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6762 convert_version=`convert --version | head -n1`
6763 if test "x$convert_version" != "x"
6764 then
6765 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6766 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6767 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6768 then
6769 CONVERT=false
6772 if test "$CONVERT" = false
6773 then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6775 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6776 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6779 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6783 if test "$ICOTOOL" = false
6784 then
6785 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6788 $as_echo_n "checking for recent enough icotool... " >&6; }
6789 icotool_version=`icotool --version | head -n1`
6790 if test "x$icotool_version" != "x"
6791 then
6792 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6793 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6794 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6795 then
6796 ICOTOOL=false
6797 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6800 if test "$ICOTOOL" = false
6801 then
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6803 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6804 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6805 else
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6807 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6811 with_gettext=yes
6812 with_gettextpo=yes
6814 enable_werror=yes
6817 test "x$with_gettext" != xno || MSGFMT=false
6818 if test "$MSGFMT" != "false"
6819 then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6821 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6822 if ${wine_cv_msgfmt_contexts+:} false; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6825 cat >conftest.po <<EOF
6826 # comment
6827 msgctxt "ctxt"
6828 msgid "id"
6829 msgstr "str"
6831 if $MSGFMT -o /dev/null conftest.po 2>&5
6832 then
6833 wine_cv_msgfmt_contexts=yes
6834 else
6835 wine_cv_msgfmt_contexts=no
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6839 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6840 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6842 if test "$MSGFMT" = false; then :
6843 case "x$with_gettext" in
6844 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6845 xno) ;;
6846 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6847 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6848 esac
6849 enable_po=${enable_po:-no}
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6854 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6855 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6856 $as_echo_n "(cached) " >&6
6857 else
6858 ac_check_lib_save_LIBS=$LIBS
6859 LIBS="-li386 $LIBS"
6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861 /* end confdefs.h. */
6863 /* Override any GCC internal prototype to avoid an error.
6864 Use char because int might match the return type of a GCC
6865 builtin and then its argument prototype would still apply. */
6866 #ifdef __cplusplus
6867 extern "C"
6868 #endif
6869 char i386_set_ldt ();
6871 main ()
6873 return i386_set_ldt ();
6875 return 0;
6877 _ACEOF
6878 if ac_fn_c_try_link "$LINENO"; then :
6879 ac_cv_lib_i386_i386_set_ldt=yes
6880 else
6881 ac_cv_lib_i386_i386_set_ldt=no
6883 rm -f core conftest.err conftest.$ac_objext \
6884 conftest$ac_exeext conftest.$ac_ext
6885 LIBS=$ac_check_lib_save_LIBS
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6888 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6889 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6890 I386_LIBS="-li386"
6895 OPENGL_LIBS=""
6899 # Check whether --enable-largefile was given.
6900 if test "${enable_largefile+set}" = set; then :
6901 enableval=$enable_largefile;
6904 if test "$enable_largefile" != no; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6907 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6908 if ${ac_cv_sys_largefile_CC+:} false; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 ac_cv_sys_largefile_CC=no
6912 if test "$GCC" != yes; then
6913 ac_save_CC=$CC
6914 while :; do
6915 # IRIX 6.2 and later do not support large files by default,
6916 # so use the C compiler's -n32 option if that helps.
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6919 #include <sys/types.h>
6920 /* Check that off_t can represent 2**63 - 1 correctly.
6921 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6922 since some C++ compilers masquerading as C compilers
6923 incorrectly reject 9223372036854775807. */
6924 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6925 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6926 && LARGE_OFF_T % 2147483647 == 1)
6927 ? 1 : -1];
6929 main ()
6933 return 0;
6935 _ACEOF
6936 if ac_fn_c_try_compile "$LINENO"; then :
6937 break
6939 rm -f core conftest.err conftest.$ac_objext
6940 CC="$CC -n32"
6941 if ac_fn_c_try_compile "$LINENO"; then :
6942 ac_cv_sys_largefile_CC=' -n32'; break
6944 rm -f core conftest.err conftest.$ac_objext
6945 break
6946 done
6947 CC=$ac_save_CC
6948 rm -f conftest.$ac_ext
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6952 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6953 if test "$ac_cv_sys_largefile_CC" != no; then
6954 CC=$CC$ac_cv_sys_largefile_CC
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6958 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6959 if ${ac_cv_sys_file_offset_bits+:} false; then :
6960 $as_echo_n "(cached) " >&6
6961 else
6962 while :; do
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #include <sys/types.h>
6966 /* Check that off_t can represent 2**63 - 1 correctly.
6967 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6968 since some C++ compilers masquerading as C compilers
6969 incorrectly reject 9223372036854775807. */
6970 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6971 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6972 && LARGE_OFF_T % 2147483647 == 1)
6973 ? 1 : -1];
6975 main ()
6979 return 0;
6981 _ACEOF
6982 if ac_fn_c_try_compile "$LINENO"; then :
6983 ac_cv_sys_file_offset_bits=no; break
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6987 /* end confdefs.h. */
6988 #define _FILE_OFFSET_BITS 64
6989 #include <sys/types.h>
6990 /* Check that off_t can represent 2**63 - 1 correctly.
6991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6992 since some C++ compilers masquerading as C compilers
6993 incorrectly reject 9223372036854775807. */
6994 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6996 && LARGE_OFF_T % 2147483647 == 1)
6997 ? 1 : -1];
6999 main ()
7003 return 0;
7005 _ACEOF
7006 if ac_fn_c_try_compile "$LINENO"; then :
7007 ac_cv_sys_file_offset_bits=64; break
7009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7010 ac_cv_sys_file_offset_bits=unknown
7011 break
7012 done
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7015 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7016 case $ac_cv_sys_file_offset_bits in #(
7017 no | unknown) ;;
7019 cat >>confdefs.h <<_ACEOF
7020 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7021 _ACEOF
7023 esac
7024 rm -rf conftest*
7025 if test $ac_cv_sys_file_offset_bits = unknown; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7027 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7028 if ${ac_cv_sys_large_files+:} false; then :
7029 $as_echo_n "(cached) " >&6
7030 else
7031 while :; do
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #include <sys/types.h>
7035 /* Check that off_t can represent 2**63 - 1 correctly.
7036 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7037 since some C++ compilers masquerading as C compilers
7038 incorrectly reject 9223372036854775807. */
7039 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7040 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7041 && LARGE_OFF_T % 2147483647 == 1)
7042 ? 1 : -1];
7044 main ()
7048 return 0;
7050 _ACEOF
7051 if ac_fn_c_try_compile "$LINENO"; then :
7052 ac_cv_sys_large_files=no; break
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 #define _LARGE_FILES 1
7058 #include <sys/types.h>
7059 /* Check that off_t can represent 2**63 - 1 correctly.
7060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7061 since some C++ compilers masquerading as C compilers
7062 incorrectly reject 9223372036854775807. */
7063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7065 && LARGE_OFF_T % 2147483647 == 1)
7066 ? 1 : -1];
7068 main ()
7072 return 0;
7074 _ACEOF
7075 if ac_fn_c_try_compile "$LINENO"; then :
7076 ac_cv_sys_large_files=1; break
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 ac_cv_sys_large_files=unknown
7080 break
7081 done
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7084 $as_echo "$ac_cv_sys_large_files" >&6; }
7085 case $ac_cv_sys_large_files in #(
7086 no | unknown) ;;
7088 cat >>confdefs.h <<_ACEOF
7089 #define _LARGE_FILES $ac_cv_sys_large_files
7090 _ACEOF
7092 esac
7093 rm -rf conftest*
7100 ac_ext=c
7101 ac_cpp='$CPP $CPPFLAGS'
7102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7106 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7107 # On Suns, sometimes $CPP names a directory.
7108 if test -n "$CPP" && test -d "$CPP"; then
7109 CPP=
7111 if test -z "$CPP"; then
7112 if ${ac_cv_prog_CPP+:} false; then :
7113 $as_echo_n "(cached) " >&6
7114 else
7115 # Double quotes because CPP needs to be expanded
7116 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7118 ac_preproc_ok=false
7119 for ac_c_preproc_warn_flag in '' yes
7121 # Use a header file that comes with gcc, so configuring glibc
7122 # with a fresh cross-compiler works.
7123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7124 # <limits.h> exists even on freestanding compilers.
7125 # On the NeXT, cc -E runs the code through the compiler's parser,
7126 # not just through cpp. "Syntax error" is here to catch this case.
7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7128 /* end confdefs.h. */
7129 #ifdef __STDC__
7130 # include <limits.h>
7131 #else
7132 # include <assert.h>
7133 #endif
7134 Syntax error
7135 _ACEOF
7136 if ac_fn_c_try_cpp "$LINENO"; then :
7138 else
7139 # Broken: fails on valid input.
7140 continue
7142 rm -f conftest.err conftest.i conftest.$ac_ext
7144 # OK, works on sane cases. Now check whether nonexistent headers
7145 # can be detected and how.
7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7148 #include <ac_nonexistent.h>
7149 _ACEOF
7150 if ac_fn_c_try_cpp "$LINENO"; then :
7151 # Broken: success on invalid input.
7152 continue
7153 else
7154 # Passes both tests.
7155 ac_preproc_ok=:
7156 break
7158 rm -f conftest.err conftest.i conftest.$ac_ext
7160 done
7161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7162 rm -f conftest.i conftest.err conftest.$ac_ext
7163 if $ac_preproc_ok; then :
7164 break
7167 done
7168 ac_cv_prog_CPP=$CPP
7171 CPP=$ac_cv_prog_CPP
7172 else
7173 ac_cv_prog_CPP=$CPP
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7176 $as_echo "$CPP" >&6; }
7177 ac_preproc_ok=false
7178 for ac_c_preproc_warn_flag in '' yes
7180 # Use a header file that comes with gcc, so configuring glibc
7181 # with a fresh cross-compiler works.
7182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 # <limits.h> exists even on freestanding compilers.
7184 # On the NeXT, cc -E runs the code through the compiler's parser,
7185 # not just through cpp. "Syntax error" is here to catch this case.
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7188 #ifdef __STDC__
7189 # include <limits.h>
7190 #else
7191 # include <assert.h>
7192 #endif
7193 Syntax error
7194 _ACEOF
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7197 else
7198 # Broken: fails on valid input.
7199 continue
7201 rm -f conftest.err conftest.i conftest.$ac_ext
7203 # OK, works on sane cases. Now check whether nonexistent headers
7204 # can be detected and how.
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207 #include <ac_nonexistent.h>
7208 _ACEOF
7209 if ac_fn_c_try_cpp "$LINENO"; then :
7210 # Broken: success on invalid input.
7211 continue
7212 else
7213 # Passes both tests.
7214 ac_preproc_ok=:
7215 break
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7219 done
7220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7221 rm -f conftest.i conftest.err conftest.$ac_ext
7222 if $ac_preproc_ok; then :
7224 else
7225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7227 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7228 See \`config.log' for more details" "$LINENO" 5; }
7231 ac_ext=c
7232 ac_cpp='$CPP $CPPFLAGS'
7233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7239 $as_echo_n "checking for ANSI C header files... " >&6; }
7240 if ${ac_cv_header_stdc+:} false; then :
7241 $as_echo_n "(cached) " >&6
7242 else
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7245 #include <stdlib.h>
7246 #include <stdarg.h>
7247 #include <string.h>
7248 #include <float.h>
7251 main ()
7255 return 0;
7257 _ACEOF
7258 if ac_fn_c_try_compile "$LINENO"; then :
7259 ac_cv_header_stdc=yes
7260 else
7261 ac_cv_header_stdc=no
7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265 if test $ac_cv_header_stdc = yes; then
7266 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7269 #include <string.h>
7271 _ACEOF
7272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7273 $EGREP "memchr" >/dev/null 2>&1; then :
7275 else
7276 ac_cv_header_stdc=no
7278 rm -f conftest*
7282 if test $ac_cv_header_stdc = yes; then
7283 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7286 #include <stdlib.h>
7288 _ACEOF
7289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7290 $EGREP "free" >/dev/null 2>&1; then :
7292 else
7293 ac_cv_header_stdc=no
7295 rm -f conftest*
7299 if test $ac_cv_header_stdc = yes; then
7300 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7301 if test "$cross_compiling" = yes; then :
7303 else
7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7306 #include <ctype.h>
7307 #include <stdlib.h>
7308 #if ((' ' & 0x0FF) == 0x020)
7309 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7310 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7311 #else
7312 # define ISLOWER(c) \
7313 (('a' <= (c) && (c) <= 'i') \
7314 || ('j' <= (c) && (c) <= 'r') \
7315 || ('s' <= (c) && (c) <= 'z'))
7316 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7317 #endif
7319 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7321 main ()
7323 int i;
7324 for (i = 0; i < 256; i++)
7325 if (XOR (islower (i), ISLOWER (i))
7326 || toupper (i) != TOUPPER (i))
7327 return 2;
7328 return 0;
7330 _ACEOF
7331 if ac_fn_c_try_run "$LINENO"; then :
7333 else
7334 ac_cv_header_stdc=no
7336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7337 conftest.$ac_objext conftest.beam conftest.$ac_ext
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7343 $as_echo "$ac_cv_header_stdc" >&6; }
7344 if test $ac_cv_header_stdc = yes; then
7346 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7350 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7351 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7352 inttypes.h stdint.h unistd.h
7353 do :
7354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7355 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7357 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7358 cat >>confdefs.h <<_ACEOF
7359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360 _ACEOF
7364 done
7367 for ac_header in \
7368 AL/al.h \
7369 ApplicationServices/ApplicationServices.h \
7370 AudioToolbox/AudioConverter.h \
7371 AudioUnit/AudioUnit.h \
7372 AudioUnit/AudioComponent.h \
7373 CL/cl.h \
7374 Carbon/Carbon.h \
7375 CommonCrypto/CommonCryptor.h \
7376 CoreAudio/CoreAudio.h \
7377 CoreServices/CoreServices.h \
7378 DiskArbitration/DiskArbitration.h \
7379 EGL/egl.h \
7380 IOKit/IOKitLib.h \
7381 IOKit/hid/IOHIDLib.h \
7382 OpenAL/al.h \
7383 OpenCL/opencl.h \
7384 QuickTime/ImageCompression.h \
7385 Security/Security.h \
7386 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7387 SystemConfiguration/SCNetworkConfiguration.h \
7388 alias.h \
7389 arpa/inet.h \
7390 arpa/nameser.h \
7391 asm/types.h \
7392 asm/user.h \
7393 curses.h \
7394 dirent.h \
7395 dlfcn.h \
7396 elf.h \
7397 float.h \
7398 fnmatch.h \
7399 getopt.h \
7400 gettext-po.h \
7401 grp.h \
7402 gsm.h \
7403 gsm/gsm.h \
7404 ieeefp.h \
7405 inet/mib2.h \
7406 kstat.h \
7407 libproc.h \
7408 link.h \
7409 linux/cdrom.h \
7410 linux/compiler.h \
7411 linux/filter.h \
7412 linux/hdreg.h \
7413 linux/hidraw.h \
7414 linux/input.h \
7415 linux/ioctl.h \
7416 linux/joystick.h \
7417 linux/major.h \
7418 linux/param.h \
7419 linux/serial.h \
7420 linux/types.h \
7421 linux/ucdrom.h \
7422 lwp.h \
7423 mach-o/nlist.h \
7424 mach-o/loader.h \
7425 mach/mach.h \
7426 mach/machine.h \
7427 machine/cpu.h \
7428 machine/sysarch.h \
7429 mntent.h \
7430 ncurses.h \
7431 netdb.h \
7432 netinet/in.h \
7433 netinet/in_systm.h \
7434 netinet/tcp.h \
7435 netinet/tcp_fsm.h \
7436 pcap/pcap.h \
7437 poll.h \
7438 port.h \
7439 pthread.h \
7440 pwd.h \
7441 sasl/sasl.h \
7442 sched.h \
7443 scsi/scsi.h \
7444 scsi/scsi_ioctl.h \
7445 scsi/sg.h \
7446 stdbool.h \
7447 stdint.h \
7448 stropts.h \
7449 sys/attr.h \
7450 sys/auxv.h \
7451 sys/cdio.h \
7452 sys/epoll.h \
7453 sys/event.h \
7454 sys/filio.h \
7455 sys/ioctl.h \
7456 sys/ipc.h \
7457 sys/link.h \
7458 sys/mman.h \
7459 sys/modem.h \
7460 sys/msg.h \
7461 sys/mtio.h \
7462 sys/param.h \
7463 sys/poll.h \
7464 sys/prctl.h \
7465 sys/protosw.h \
7466 sys/ptrace.h \
7467 sys/queue.h \
7468 sys/resource.h \
7469 sys/scsiio.h \
7470 sys/shm.h \
7471 sys/signal.h \
7472 sys/socket.h \
7473 sys/socketvar.h \
7474 sys/sockio.h \
7475 sys/statvfs.h \
7476 sys/strtio.h \
7477 sys/syscall.h \
7478 sys/sysinfo.h \
7479 sys/tihdr.h \
7480 sys/time.h \
7481 sys/timeout.h \
7482 sys/times.h \
7483 sys/uio.h \
7484 sys/user.h \
7485 sys/utsname.h \
7486 sys/vnode.h \
7487 sys/wait.h \
7488 syscall.h \
7489 termios.h \
7490 unistd.h \
7491 utime.h \
7492 valgrind/memcheck.h \
7493 valgrind/valgrind.h
7495 do :
7496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7497 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7499 cat >>confdefs.h <<_ACEOF
7500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7501 _ACEOF
7505 done
7507 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7508 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7510 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7515 if test $ac_cv_header_sys_mkdev_h = no; then
7516 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7517 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7519 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7526 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7527 if ${ac_cv_header_stat_broken+:} false; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7532 #include <sys/types.h>
7533 #include <sys/stat.h>
7535 #if defined S_ISBLK && defined S_IFDIR
7536 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7537 #endif
7539 #if defined S_ISBLK && defined S_IFCHR
7540 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7541 #endif
7543 #if defined S_ISLNK && defined S_IFREG
7544 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7545 #endif
7547 #if defined S_ISSOCK && defined S_IFREG
7548 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7549 #endif
7551 _ACEOF
7552 if ac_fn_c_try_compile "$LINENO"; then :
7553 ac_cv_header_stat_broken=no
7554 else
7555 ac_cv_header_stat_broken=yes
7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7560 $as_echo "$ac_cv_header_stat_broken" >&6; }
7561 if test $ac_cv_header_stat_broken = yes; then
7563 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7569 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7570 do :
7571 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7572 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7573 #ifdef HAVE_SYS_PARAM_H
7574 # include <sys/param.h>
7575 #endif
7577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7578 cat >>confdefs.h <<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 _ACEOF
7584 done
7587 saved_sysctl_h_CFLAGS=$CFLAGS
7588 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7589 for ac_header in sys/sysctl.h
7590 do :
7591 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7592 #ifdef HAVE_SYS_PARAM_H
7593 # include <sys/param.h>
7594 #endif
7596 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7597 cat >>confdefs.h <<_ACEOF
7598 #define HAVE_SYS_SYSCTL_H 1
7599 _ACEOF
7603 done
7605 CFLAGS=$saved_sysctl_h_CFLAGS
7607 for ac_header in \
7608 netinet/ip.h \
7609 net/if.h \
7610 net/if_arp.h \
7611 net/if_dl.h \
7612 net/if_types.h \
7613 net/route.h \
7614 netinet/if_ether.h \
7615 netinet/if_inarp.h \
7616 netinet/in_pcb.h \
7617 netinet/ip_icmp.h \
7618 netinet/ip_var.h \
7619 netinet/udp.h \
7620 netipx/ipx.h \
7621 sys/un.h \
7623 do :
7624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7626 #ifdef HAVE_SYS_SOCKET_H
7627 # include <sys/socket.h>
7628 #endif
7629 #ifdef HAVE_SYS_SOCKETVAR_H
7630 # include <sys/socketvar.h>
7631 #endif
7632 #ifdef HAVE_NET_ROUTE_H
7633 # include <net/route.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IN_H
7636 # include <netinet/in.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IN_SYSTM_H
7639 # include <netinet/in_systm.h>
7640 #endif
7641 #ifdef HAVE_NET_IF_H
7642 # include <net/if.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IP_H
7645 # include <netinet/ip.h>
7646 #endif
7648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7649 cat >>confdefs.h <<_ACEOF
7650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7658 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7659 do :
7660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7661 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7662 #ifdef HAVE_ALIAS_H
7663 # include <alias.h>
7664 #endif
7665 #ifdef HAVE_SYS_SOCKET_H
7666 # include <sys/socket.h>
7667 #endif
7668 #ifdef HAVE_SYS_SOCKETVAR_H
7669 # include <sys/socketvar.h>
7670 #endif
7671 #ifdef HAVE_SYS_TIMEOUT_H
7672 # include <sys/timeout.h>
7673 #endif
7674 #ifdef HAVE_NETINET_IN_H
7675 # include <netinet/in.h>
7676 #endif
7677 #ifdef HAVE_NETINET_IN_SYSTM_H
7678 # include <netinet/in_systm.h>
7679 #endif
7680 #ifdef HAVE_NETINET_IP_H
7681 # include <netinet/ip.h>
7682 #endif
7683 #ifdef HAVE_NETINET_IP_VAR_H
7684 # include <netinet/ip_var.h>
7685 #endif
7686 #ifdef HAVE_NETINET_IP_ICMP_H
7687 # include <netinet/ip_icmp.h>
7688 #endif
7689 #ifdef HAVE_NETINET_UDP_H
7690 # include <netinet/udp.h>
7691 #endif
7692 #ifdef HAVE_NETINET_TCP_H
7693 # include <netinet/tcp.h>
7694 #endif
7695 #ifdef HAVE_NETINET_TCP_TIMER_H
7696 #include <netinet/tcp_timer.h>
7697 #endif
7699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7702 _ACEOF
7706 done
7709 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7710 do :
7711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7713 #ifdef HAVE_ASM_TYPES_H
7714 # include <asm/types.h>
7715 #endif
7716 #ifdef HAVE_SYS_SOCKET_H
7717 # include <sys/socket.h>
7718 #endif
7719 #ifdef HAVE_LINUX_TYPES_H
7720 # include <linux/types.h>
7721 #endif
7723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7724 cat >>confdefs.h <<_ACEOF
7725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7726 _ACEOF
7730 done
7733 for ac_header in resolv.h
7734 do :
7735 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7736 #ifdef HAVE_SYS_SOCKET_H
7737 # include <sys/socket.h>
7738 #endif
7739 #ifdef HAVE_NETINET_IN_H
7740 # include <netinet/in.h>
7741 #endif
7742 #ifdef HAVE_ARPA_NAMESER_H
7743 # include <arpa/nameser.h>
7744 #endif
7746 if test "x$ac_cv_header_resolv_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_RESOLV_H 1
7749 _ACEOF
7753 done
7756 for ac_header in ifaddrs.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7760 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_IFADDRS_H 1
7763 _ACEOF
7767 done
7770 for ac_header in sys/ucontext.h
7771 do :
7772 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7774 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7775 cat >>confdefs.h <<_ACEOF
7776 #define HAVE_SYS_UCONTEXT_H 1
7777 _ACEOF
7781 done
7784 for ac_header in sys/thr.h
7785 do :
7786 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7787 #ifdef HAVE_SYS_UCONTEXT_H
7788 #include <sys/ucontext.h>
7789 #endif
7791 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7792 cat >>confdefs.h <<_ACEOF
7793 #define HAVE_SYS_THR_H 1
7794 _ACEOF
7798 done
7801 for ac_header in pthread_np.h
7802 do :
7803 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7804 #include <pthread.h>
7805 #endif
7807 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7808 cat >>confdefs.h <<_ACEOF
7809 #define HAVE_PTHREAD_NP_H 1
7810 _ACEOF
7814 done
7817 for ac_header in linux/videodev2.h
7818 do :
7819 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7820 #include <sys/time.h>
7821 #endif
7822 #include <sys/types.h>
7823 #ifdef HAVE_ASM_TYPES_H
7824 #include <asm/types.h>
7825 #endif
7827 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_LINUX_VIDEODEV2_H 1
7830 _ACEOF
7834 done
7837 for ac_header in libprocstat.h
7838 do :
7839 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7840 #include <sys/param.h>
7841 #endif
7842 #ifdef HAVE_SYS_QUEUE_H
7843 #include <sys/queue.h>
7844 #endif
7845 #ifdef HAVE_SYS_SOCKET_H
7846 #include <sys/socket.h>
7847 #endif
7849 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7850 cat >>confdefs.h <<_ACEOF
7851 #define HAVE_LIBPROCSTAT_H 1
7852 _ACEOF
7856 done
7860 DLLFLAGS="-D_REENTRANT"
7862 LDRPATH_INSTALL=""
7864 LDRPATH_LOCAL=""
7866 LDDLLFLAGS=""
7868 LDEXECFLAGS=""
7870 TOP_INSTALL_LIB=""
7872 TOP_INSTALL_DEV=""
7874 WINELOADER_LDFLAGS=""
7876 WINEPRELOADER_LDFLAGS=""
7878 LIBEXT="so"
7879 DLLEXT=".so"
7880 # Extract the first word of "ldd", so it can be a program name with args.
7881 set dummy ldd; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_path_LDD+:} false; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 case $LDD in
7888 [\\/]* | ?:[\\/]*)
7889 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 as_dummy="/sbin:/usr/sbin:$PATH"
7894 for as_dir in $as_dummy
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7908 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7910 esac
7912 LDD=$ac_cv_path_LDD
7913 if test -n "$LDD"; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7915 $as_echo "$LDD" >&6; }
7916 else
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918 $as_echo "no" >&6; }
7922 if test -n "$ac_tool_prefix"; then
7923 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7924 set dummy ${ac_tool_prefix}otool; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_OTOOL+:} false; then :
7928 $as_echo_n "(cached) " >&6
7929 else
7930 if test -n "$OTOOL"; then
7931 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7932 else
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 for as_dir in $PATH
7936 IFS=$as_save_IFS
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7944 done
7945 done
7946 IFS=$as_save_IFS
7950 OTOOL=$ac_cv_prog_OTOOL
7951 if test -n "$OTOOL"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7953 $as_echo "$OTOOL" >&6; }
7954 else
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7961 if test -z "$ac_cv_prog_OTOOL"; then
7962 ac_ct_OTOOL=$OTOOL
7963 # Extract the first word of "otool", so it can be a program name with args.
7964 set dummy otool; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966 $as_echo_n "checking for $ac_word... " >&6; }
7967 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7968 $as_echo_n "(cached) " >&6
7969 else
7970 if test -n "$ac_ct_OTOOL"; then
7971 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7972 else
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 for as_dir in $PATH
7976 IFS=$as_save_IFS
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980 ac_cv_prog_ac_ct_OTOOL="otool"
7981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 break 2
7984 done
7985 done
7986 IFS=$as_save_IFS
7990 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7991 if test -n "$ac_ct_OTOOL"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7993 $as_echo "$ac_ct_OTOOL" >&6; }
7994 else
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
7999 if test "x$ac_ct_OTOOL" = x; then
8000 OTOOL="otool"
8001 else
8002 case $cross_compiling:$ac_tool_warned in
8003 yes:)
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8006 ac_tool_warned=yes ;;
8007 esac
8008 OTOOL=$ac_ct_OTOOL
8010 else
8011 OTOOL="$ac_cv_prog_OTOOL"
8014 if test -n "$ac_tool_prefix"; then
8015 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8016 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_READELF+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$READELF"; then
8023 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 READELF=$ac_cv_prog_READELF
8043 if test -n "$READELF"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8045 $as_echo "$READELF" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8053 if test -z "$ac_cv_prog_READELF"; then
8054 ac_ct_READELF=$READELF
8055 # Extract the first word of "readelf", so it can be a program name with args.
8056 set dummy readelf; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8060 $as_echo_n "(cached) " >&6
8061 else
8062 if test -n "$ac_ct_READELF"; then
8063 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8064 else
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 for as_dir in $PATH
8068 IFS=$as_save_IFS
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_ac_ct_READELF="readelf"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074 break 2
8076 done
8077 done
8078 IFS=$as_save_IFS
8082 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8083 if test -n "$ac_ct_READELF"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8085 $as_echo "$ac_ct_READELF" >&6; }
8086 else
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8091 if test "x$ac_ct_READELF" = x; then
8092 READELF="true"
8093 else
8094 case $cross_compiling:$ac_tool_warned in
8095 yes:)
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned=yes ;;
8099 esac
8100 READELF=$ac_ct_READELF
8102 else
8103 READELF="$ac_cv_prog_READELF"
8106 wine_rules_file=conf$$rules.make
8107 rm -f $wine_rules_file
8108 SUBDIRS=""
8110 DISABLED_SUBDIRS=""
8112 CONFIGURE_TARGETS=""
8115 wine_fn_append_file ()
8117 as_fn_append $1 " \\$as_nl $2"
8120 wine_fn_append_rule ()
8122 $as_echo "$1" >>$wine_rules_file
8125 wine_fn_config_makefile ()
8127 wine_fn_append_file SUBDIRS $1
8128 if eval test \"x\$"$2"\" = x"no"; then :
8129 wine_fn_append_file DISABLED_SUBDIRS $1
8133 wine_fn_config_symlink ()
8135 ac_links=$@
8136 wine_fn_append_rule \
8137 "$ac_links:
8138 @./config.status \$@"
8139 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8142 wine_binary="wine"
8143 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8144 WINELOADER_PROGRAMS="$wine_binary"
8146 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8148 case $host_os in
8149 cygwin*|mingw32*)
8150 if test -n "$ac_tool_prefix"; then
8151 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8152 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_DLLTOOL+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 if test -n "$DLLTOOL"; then
8159 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8164 IFS=$as_save_IFS
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8168 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 break 2
8172 done
8173 done
8174 IFS=$as_save_IFS
8178 DLLTOOL=$ac_cv_prog_DLLTOOL
8179 if test -n "$DLLTOOL"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8181 $as_echo "$DLLTOOL" >&6; }
8182 else
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8189 if test -z "$ac_cv_prog_DLLTOOL"; then
8190 ac_ct_DLLTOOL=$DLLTOOL
8191 # Extract the first word of "dlltool", so it can be a program name with args.
8192 set dummy dlltool; ac_word=$2
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194 $as_echo_n "checking for $ac_word... " >&6; }
8195 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 if test -n "$ac_ct_DLLTOOL"; then
8199 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8200 else
8201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 for as_dir in $PATH
8204 IFS=$as_save_IFS
8205 test -z "$as_dir" && as_dir=.
8206 for ac_exec_ext in '' $ac_executable_extensions; do
8207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8208 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8210 break 2
8212 done
8213 done
8214 IFS=$as_save_IFS
8218 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8219 if test -n "$ac_ct_DLLTOOL"; then
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8221 $as_echo "$ac_ct_DLLTOOL" >&6; }
8222 else
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8227 if test "x$ac_ct_DLLTOOL" = x; then
8228 DLLTOOL="false"
8229 else
8230 case $cross_compiling:$ac_tool_warned in
8231 yes:)
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8234 ac_tool_warned=yes ;;
8235 esac
8236 DLLTOOL=$ac_ct_DLLTOOL
8238 else
8239 DLLTOOL="$ac_cv_prog_DLLTOOL"
8242 LIBEXT="dll"
8243 DLLEXT=""
8244 case $host_cpu in
8245 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8246 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8247 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8258 else
8259 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 CFLAGS=$ac_wine_try_cflags_saved
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8266 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8267 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8268 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8269 fi ;;
8270 esac
8271 enable_iphlpapi=${enable_iphlpapi:-no}
8272 enable_kernel32=${enable_kernel32:-no}
8273 enable_ntdll=${enable_ntdll:-no}
8274 enable_ws2_32=${enable_ws2_32:-no}
8275 enable_loader=${enable_loader:-no}
8276 enable_server=${enable_server:-no}
8277 with_x=${with_x:-no}
8278 with_pthread=${with_pthread:-no}
8281 darwin*|macosx*)
8282 ac_ext=m
8283 ac_cpp='$OBJCPP $CPPFLAGS'
8284 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8285 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8286 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8288 ac_ext=m
8289 ac_cpp='$OBJCPP $CPPFLAGS'
8290 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8293 if test -n "$ac_tool_prefix"; then
8294 for ac_prog in gcc objcc objc cc CC
8296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8299 $as_echo_n "checking for $ac_word... " >&6; }
8300 if ${ac_cv_prog_OBJC+:} false; then :
8301 $as_echo_n "(cached) " >&6
8302 else
8303 if test -n "$OBJC"; then
8304 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8305 else
8306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8307 for as_dir in $PATH
8309 IFS=$as_save_IFS
8310 test -z "$as_dir" && as_dir=.
8311 for ac_exec_ext in '' $ac_executable_extensions; do
8312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8313 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8315 break 2
8317 done
8318 done
8319 IFS=$as_save_IFS
8323 OBJC=$ac_cv_prog_OBJC
8324 if test -n "$OBJC"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8326 $as_echo "$OBJC" >&6; }
8327 else
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8333 test -n "$OBJC" && break
8334 done
8336 if test -z "$OBJC"; then
8337 ac_ct_OBJC=$OBJC
8338 for ac_prog in gcc objcc objc cc CC
8340 # Extract the first word of "$ac_prog", so it can be a program name with args.
8341 set dummy $ac_prog; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 if test -n "$ac_ct_OBJC"; then
8348 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8349 else
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 for as_dir in $PATH
8353 IFS=$as_save_IFS
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 break 2
8361 done
8362 done
8363 IFS=$as_save_IFS
8367 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8368 if test -n "$ac_ct_OBJC"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8370 $as_echo "$ac_ct_OBJC" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8377 test -n "$ac_ct_OBJC" && break
8378 done
8380 if test "x$ac_ct_OBJC" = x; then
8381 OBJC="gcc"
8382 else
8383 case $cross_compiling:$ac_tool_warned in
8384 yes:)
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8387 ac_tool_warned=yes ;;
8388 esac
8389 OBJC=$ac_ct_OBJC
8393 # Provide some information about the compiler.
8394 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8395 set X $ac_compile
8396 ac_compiler=$2
8397 for ac_option in --version -v -V -qversion; do
8398 { { ac_try="$ac_compiler $ac_option >&5"
8399 case "(($ac_try" in
8400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8401 *) ac_try_echo=$ac_try;;
8402 esac
8403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8404 $as_echo "$ac_try_echo"; } >&5
8405 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8406 ac_status=$?
8407 if test -s conftest.err; then
8408 sed '10a\
8409 ... rest of stderr output deleted ...
8410 10q' conftest.err >conftest.er1
8411 cat conftest.er1 >&5
8413 rm -f conftest.er1 conftest.err
8414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8415 test $ac_status = 0; }
8416 done
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8419 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8420 if ${ac_cv_objc_compiler_gnu+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8427 main ()
8429 #ifndef __GNUC__
8430 choke me
8431 #endif
8434 return 0;
8436 _ACEOF
8437 if ac_fn_objc_try_compile "$LINENO"; then :
8438 ac_compiler_gnu=yes
8439 else
8440 ac_compiler_gnu=no
8442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8447 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8448 if test $ac_compiler_gnu = yes; then
8449 GOBJC=yes
8450 else
8451 GOBJC=
8453 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8454 ac_save_OBJCFLAGS=$OBJCFLAGS
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8456 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8457 if ${ac_cv_prog_objc_g+:} false; then :
8458 $as_echo_n "(cached) " >&6
8459 else
8460 ac_save_objc_werror_flag=$ac_objc_werror_flag
8461 ac_objc_werror_flag=yes
8462 ac_cv_prog_objc_g=no
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
8477 else
8478 OBJCFLAGS=""
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8483 main ()
8487 return 0;
8489 _ACEOF
8490 if ac_fn_objc_try_compile "$LINENO"; then :
8492 else
8493 ac_objc_werror_flag=$ac_save_objc_werror_flag
8494 OBJCFLAGS="-g"
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8499 main ()
8503 return 0;
8505 _ACEOF
8506 if ac_fn_objc_try_compile "$LINENO"; then :
8507 ac_cv_prog_objc_g=yes
8509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 ac_objc_werror_flag=$ac_save_objc_werror_flag
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8517 $as_echo "$ac_cv_prog_objc_g" >&6; }
8518 if test "$ac_test_OBJCFLAGS" = set; then
8519 OBJCFLAGS=$ac_save_OBJCFLAGS
8520 elif test $ac_cv_prog_objc_g = yes; then
8521 if test "$GOBJC" = yes; then
8522 OBJCFLAGS="-g -O2"
8523 else
8524 OBJCFLAGS="-g"
8526 else
8527 if test "$GOBJC" = yes; then
8528 OBJCFLAGS="-O2"
8529 else
8530 OBJCFLAGS=
8533 ac_ext=m
8534 ac_cpp='$OBJCPP $CPPFLAGS'
8535 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8536 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8537 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8540 ac_ext=m
8541 ac_cpp='$OBJCPP $CPPFLAGS'
8542 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8543 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8544 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8546 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8547 if test -z "$OBJCPP"; then
8548 if ${ac_cv_prog_OBJCPP+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 # Double quotes because OBJCPP needs to be expanded
8552 for OBJCPP in "$OBJC -E" "/lib/cpp"
8554 ac_preproc_ok=false
8555 for ac_objc_preproc_warn_flag in '' yes
8557 # Use a header file that comes with gcc, so configuring glibc
8558 # with a fresh cross-compiler works.
8559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8560 # <limits.h> exists even on freestanding compilers.
8561 # On the NeXT, cc -E runs the code through the compiler's parser,
8562 # not just through cpp. "Syntax error" is here to catch this case.
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 #ifdef __STDC__
8566 # include <limits.h>
8567 #else
8568 # include <assert.h>
8569 #endif
8570 Syntax error
8571 _ACEOF
8572 if ac_fn_objc_try_cpp "$LINENO"; then :
8574 else
8575 # Broken: fails on valid input.
8576 continue
8578 rm -f conftest.err conftest.i conftest.$ac_ext
8580 # OK, works on sane cases. Now check whether nonexistent headers
8581 # can be detected and how.
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 #include <ac_nonexistent.h>
8585 _ACEOF
8586 if ac_fn_objc_try_cpp "$LINENO"; then :
8587 # Broken: success on invalid input.
8588 continue
8589 else
8590 # Passes both tests.
8591 ac_preproc_ok=:
8592 break
8594 rm -f conftest.err conftest.i conftest.$ac_ext
8596 done
8597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8598 rm -f conftest.i conftest.err conftest.$ac_ext
8599 if $ac_preproc_ok; then :
8600 break
8603 done
8604 ac_cv_prog_OBJCPP=$OBJCPP
8607 OBJCPP=$ac_cv_prog_OBJCPP
8608 else
8609 ac_cv_prog_OBJCPP=$OBJCPP
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8612 $as_echo "$OBJCPP" >&6; }
8613 ac_preproc_ok=false
8614 for ac_objc_preproc_warn_flag in '' yes
8616 # Use a header file that comes with gcc, so configuring glibc
8617 # with a fresh cross-compiler works.
8618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8619 # <limits.h> exists even on freestanding compilers.
8620 # On the NeXT, cc -E runs the code through the compiler's parser,
8621 # not just through cpp. "Syntax error" is here to catch this case.
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 #ifdef __STDC__
8625 # include <limits.h>
8626 #else
8627 # include <assert.h>
8628 #endif
8629 Syntax error
8630 _ACEOF
8631 if ac_fn_objc_try_cpp "$LINENO"; then :
8633 else
8634 # Broken: fails on valid input.
8635 continue
8637 rm -f conftest.err conftest.i conftest.$ac_ext
8639 # OK, works on sane cases. Now check whether nonexistent headers
8640 # can be detected and how.
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 #include <ac_nonexistent.h>
8644 _ACEOF
8645 if ac_fn_objc_try_cpp "$LINENO"; then :
8646 # Broken: success on invalid input.
8647 continue
8648 else
8649 # Passes both tests.
8650 ac_preproc_ok=:
8651 break
8653 rm -f conftest.err conftest.i conftest.$ac_ext
8655 done
8656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8657 rm -f conftest.i conftest.err conftest.$ac_ext
8658 if $ac_preproc_ok; then :
8660 else
8661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8663 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8664 See \`config.log' for more details" "$LINENO" 5; }
8667 ac_ext=m
8668 ac_cpp='$OBJCPP $CPPFLAGS'
8669 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8670 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8671 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8674 for ac_header in Metal/Metal.h
8675 do :
8676 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8677 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8678 cat >>confdefs.h <<_ACEOF
8679 #define HAVE_METAL_METAL_H 1
8680 _ACEOF
8684 done
8686 ac_ext=c
8687 ac_cpp='$CPP $CPPFLAGS'
8688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8692 LIBEXT="dylib"
8693 DLLFLAGS="$DLLFLAGS -fPIC"
8694 LDDLLFLAGS="-fPIC"
8695 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8696 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8697 COREFOUNDATION_LIBS="-framework CoreFoundation"
8699 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8701 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8703 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8705 CORESERVICES_LIBS="-framework CoreServices"
8707 APPKIT_LIBS="-framework AppKit"
8709 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8712 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8714 wine_can_build_preloader=yes
8715 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8717 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8718 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 int main(int argc, char **argv) { return 0; }
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_cflags__Wl__no_new_main__e__main=yes
8729 else
8730 ac_cv_cflags__Wl__no_new_main__e__main=no
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8737 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8738 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8739 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8741 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8742 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8753 else
8754 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8761 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8762 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8763 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8764 else
8765 { $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
8766 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8767 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8778 else
8779 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $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
8786 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8787 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8788 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8789 else
8790 wine_can_build_preloader=no
8793 else
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8795 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8796 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8797 $as_echo_n "(cached) " >&6
8798 else
8799 ac_wine_try_cflags_saved=$CFLAGS
8800 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 int main(int argc, char **argv) { return 0; }
8804 _ACEOF
8805 if ac_fn_c_try_link "$LINENO"; then :
8806 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8807 else
8808 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8810 rm -f core conftest.err conftest.$ac_objext \
8811 conftest$ac_exeext conftest.$ac_ext
8812 CFLAGS=$ac_wine_try_cflags_saved
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8815 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8816 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8817 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8818 else
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8820 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8821 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_wine_try_cflags_saved=$CFLAGS
8825 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8832 else
8833 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8840 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8841 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8842 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8843 else
8844 wine_can_build_preloader=no
8848 if test "$wine_can_build_preloader" = "yes"
8849 then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8851 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8852 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_wine_try_cflags_saved=$CFLAGS
8856 CFLAGS="$CFLAGS -Wl,-no_pie"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 ac_cv_cflags__Wl__no_pie=yes
8863 else
8864 ac_cv_cflags__Wl__no_pie=no
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8871 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8872 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8873 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8875 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8876 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8877 else
8878 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8881 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8882 then
8883 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8886 if test "$ac_cv_header_Security_Security_h" = "yes"
8887 then
8888 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8890 ac_save_LIBS="$LIBS"
8891 LIBS="$LIBS $SECURITY_LIBS"
8892 for ac_func in SSLCopyPeerCertificates
8893 do :
8894 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8895 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8896 cat >>confdefs.h <<_ACEOF
8897 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8898 _ACEOF
8901 done
8903 LIBS="$ac_save_LIBS"
8905 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8906 then
8907 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8908 then
8909 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8911 else
8912 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8915 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8916 ac_save_LIBS="$LIBS"
8917 LIBS="$LIBS $COREAUDIO_LIBS"
8918 for ac_func in AUGraphAddNode
8919 do :
8920 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8921 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8922 cat >>confdefs.h <<_ACEOF
8923 #define HAVE_AUGRAPHADDNODE 1
8924 _ACEOF
8927 done
8929 LIBS="$ac_save_LIBS"
8931 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8932 then
8933 OPENAL_LIBS="-framework OpenAL"
8936 cat >>confdefs.h <<_ACEOF
8937 #define HAVE_OPENAL 1
8938 _ACEOF
8940 ac_cv_lib_openal=yes
8942 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8943 then
8944 OPENCL_LIBS="-framework OpenCL"
8946 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8948 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8949 then
8950 ac_save_LIBS="$LIBS"
8951 LIBS="$LIBS $IOKIT_LIBS"
8952 for ac_func in IOHIDManagerCreate
8953 do :
8954 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8955 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8956 cat >>confdefs.h <<_ACEOF
8957 #define HAVE_IOHIDMANAGERCREATE 1
8958 _ACEOF
8961 done
8963 LIBS="$ac_save_LIBS"
8965 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8966 then
8967 ac_save_LIBS="$LIBS"
8968 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8970 $as_echo_n "checking for the QuickTime framework... " >&6; }
8971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8972 /* end confdefs.h. */
8973 #include <QuickTime/ImageCompression.h>
8975 main ()
8977 CodecManagerVersion(NULL);
8979 return 0;
8981 _ACEOF
8982 if ac_fn_c_try_link "$LINENO"; then :
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8984 $as_echo "yes" >&6; }
8985 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8987 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8988 else
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8991 ac_cv_header_QuickTime_ImageCompression_h=no
8993 rm -f core conftest.err conftest.$ac_objext \
8994 conftest$ac_exeext conftest.$ac_ext
8995 LIBS="$ac_save_LIBS"
8997 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8998 then
8999 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
9001 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9002 then
9003 CARBON_LIBS="-framework Carbon"
9006 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9007 then
9008 METAL_LIBS="-framework Metal -framework QuartzCore"
9012 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9013 then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9015 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9016 ac_ext=m
9017 ac_cpp='$OBJCPP $CPPFLAGS'
9018 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9019 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9020 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9024 #include <Metal/Metal.h>
9026 main ()
9028 id<MTLDevice> device; device.registryID;
9030 return 0;
9032 _ACEOF
9033 if ac_fn_objc_try_compile "$LINENO"; then :
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9035 $as_echo "yes" >&6; }
9037 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9039 else
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041 $as_echo "no" >&6; }
9043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9044 ac_ext=c
9045 ac_cpp='$CPP $CPPFLAGS'
9046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9052 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9053 then
9054 ac_save_LIBS="$LIBS"
9055 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9056 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9057 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9058 enable_winemac_drv=${enable_winemac_drv:-yes}
9061 LIBS="$ac_save_LIBS"
9064 if test "x$enable_win16" = "xyes"
9065 then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9067 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9068 if test "$cross_compiling" = yes; then :
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9070 $as_echo "cross-compiling, assuming yes" >&6; }
9071 else
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 asm(".text\n"
9075 "bad:\tnop;nop\n"
9076 "good:\tnop;nop\n\t"
9077 ".globl _testfunc\n"
9078 "_testfunc:\tcallw good");
9079 extern void testfunc();
9081 main ()
9083 unsigned short *p = (unsigned short *)testfunc;
9084 return p[0] != 0xe866 || p[1] != 0xfffa
9086 return 0;
9088 _ACEOF
9089 if ac_fn_c_try_run "$LINENO"; then :
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9091 $as_echo "yes" >&6; }
9092 else
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9094 $as_echo "no" >&6; }
9095 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
9097 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9098 conftest.$ac_objext conftest.beam conftest.$ac_ext
9103 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9105 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9107 WINELOADER_DEPENDS="wine_info.plist"
9109 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9110 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9113 linux-android*)
9114 DLLFLAGS="$DLLFLAGS -fPIC"
9115 LDDLLFLAGS="-fPIC"
9116 LDEXECFLAGS="-Wl,-pie"
9117 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9120 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_wine_try_cflags_saved=$CFLAGS
9124 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 int main(int argc, char **argv) { return 0; }
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9131 else
9132 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9139 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9140 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9141 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9143 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9144 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9146 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9147 if eval \${$as_ac_var+:} false; then :
9148 $as_echo_n "(cached) " >&6
9149 else
9150 ac_wine_try_cflags_saved=$CFLAGS
9151 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9154 int main(int argc, char **argv) { return 0; }
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 eval "$as_ac_var=yes"
9158 else
9159 eval "$as_ac_var=no"
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 CFLAGS=$ac_wine_try_cflags_saved
9165 eval ac_res=\$$as_ac_var
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9167 $as_echo "$ac_res" >&6; }
9168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9169 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9170 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9171 else
9172 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9174 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9175 if eval \${$as_ac_var+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_wine_try_cflags_saved=$CFLAGS
9179 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9182 int main(int argc, char **argv) { return 0; }
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 eval "$as_ac_var=yes"
9186 else
9187 eval "$as_ac_var=no"
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 CFLAGS=$ac_wine_try_cflags_saved
9193 eval ac_res=\$$as_ac_var
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9195 $as_echo "$ac_res" >&6; }
9196 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9197 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9198 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9202 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9203 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9204 $as_echo_n "(cached) " >&6
9205 else
9206 ac_wine_try_cflags_saved=$CFLAGS
9207 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9210 int main(int argc, char **argv) { return 0; }
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 ac_cv_cflags__Wl___enable_new_dtags=yes
9214 else
9215 ac_cv_cflags__Wl___enable_new_dtags=no
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 CFLAGS=$ac_wine_try_cflags_saved
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9222 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9223 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9224 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9227 LIBWINE_SHAREDLIB="libwine.so"
9229 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9231 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9234 $as_echo_n "checking for -lEGL... " >&6; }
9235 if ${ac_cv_lib_soname_EGL+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_soname_save_LIBS=$LIBS
9239 LIBS="-lEGL $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char eglGetProcAddress ();
9251 main ()
9253 return eglGetProcAddress ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 case "$LIBEXT" in
9260 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9261 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'` ;;
9262 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9263 if ${ac_cv_lib_soname_EGL:+false} :; then :
9264 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9265 fi ;;
9266 esac
9267 else
9268 ac_cv_lib_soname_EGL=
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LIBS=$ac_check_soname_save_LIBS
9274 if ${ac_cv_lib_soname_EGL:+false} :; then :
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9276 $as_echo "not found" >&6; }
9278 else
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9280 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9282 cat >>confdefs.h <<_ACEOF
9283 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9284 _ACEOF
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9289 $as_echo_n "checking for -lGLESv2... " >&6; }
9290 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_check_soname_save_LIBS=$LIBS
9294 LIBS="-lGLESv2 $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 char glFlush ();
9306 main ()
9308 return glFlush ();
9310 return 0;
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 case "$LIBEXT" in
9315 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9316 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'` ;;
9317 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9318 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9319 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9320 fi ;;
9321 esac
9322 else
9323 ac_cv_lib_soname_GLESv2=
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 LIBS=$ac_check_soname_save_LIBS
9329 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9331 $as_echo "not found" >&6; }
9333 else
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9335 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9337 cat >>confdefs.h <<_ACEOF
9338 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9339 _ACEOF
9344 if test "x$exec_prefix" = xNONE
9345 then
9346 case $host_cpu in
9347 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9348 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9349 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9350 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9351 esac
9356 case $host_cpu in
9357 *i[3456789]86*)
9358 DLLFLAGS="$DLLFLAGS -fno-PIC"
9359 LDDLLFLAGS="-fno-PIC" ;;
9361 DLLFLAGS="$DLLFLAGS -fPIC"
9362 LDDLLFLAGS="-fPIC" ;;
9363 esac
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9365 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9366 if ${ac_cv_c_dll_gnuelf+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 void myfunc() {}
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9377 else
9378 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9383 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9384 ac_cv_c_dll_gnuelf="yes"
9385 else
9386 ac_cv_c_dll_gnuelf="no"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9390 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9391 if test "$ac_cv_c_dll_gnuelf" = "yes"
9392 then
9393 LIBWINE_LDFLAGS="-shared"
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9395 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9396 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9397 $as_echo_n "(cached) " >&6
9398 else
9399 ac_wine_try_cflags_saved=$CFLAGS
9400 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9407 else
9408 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 CFLAGS=$ac_wine_try_cflags_saved
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9415 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9416 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9417 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9418 else
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9420 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9421 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9428 int main(int argc, char **argv) { return 0; }
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9432 else
9433 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 CFLAGS=$ac_wine_try_cflags_saved
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9440 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9441 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9442 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9446 echo '{ global: *; };' >conftest.map
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9448 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9449 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9460 else
9461 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9468 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9469 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9470 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9472 rm -f conftest.map
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9475 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9476 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 ac_wine_try_cflags_saved=$CFLAGS
9480 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9483 int main(int argc, char **argv) { return 0; }
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 ac_cv_cflags__Wl___export_dynamic=yes
9487 else
9488 ac_cv_cflags__Wl___export_dynamic=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 CFLAGS=$ac_wine_try_cflags_saved
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9495 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9496 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9497 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9499 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9501 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9503 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9504 if eval \${$as_ac_var+:} false; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9507 ac_wine_try_cflags_saved=$CFLAGS
9508 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9511 int main(int argc, char **argv) { return 0; }
9512 _ACEOF
9513 if ac_fn_c_try_link "$LINENO"; then :
9514 eval "$as_ac_var=yes"
9515 else
9516 eval "$as_ac_var=no"
9518 rm -f core conftest.err conftest.$ac_objext \
9519 conftest$ac_exeext conftest.$ac_ext
9520 CFLAGS=$ac_wine_try_cflags_saved
9522 eval ac_res=\$$as_ac_var
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9524 $as_echo "$ac_res" >&6; }
9525 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9526 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9527 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9528 else
9529 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9531 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9532 if eval \${$as_ac_var+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_wine_try_cflags_saved=$CFLAGS
9536 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9539 int main(int argc, char **argv) { return 0; }
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 eval "$as_ac_var=yes"
9543 else
9544 eval "$as_ac_var=no"
9546 rm -f core conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 CFLAGS=$ac_wine_try_cflags_saved
9550 eval ac_res=\$$as_ac_var
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9552 $as_echo "$ac_res" >&6; }
9553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9554 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9555 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9560 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9561 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_wine_try_cflags_saved=$CFLAGS
9565 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9568 int main(int argc, char **argv) { return 0; }
9569 _ACEOF
9570 if ac_fn_c_try_link "$LINENO"; then :
9571 ac_cv_cflags__Wl___enable_new_dtags=yes
9572 else
9573 ac_cv_cflags__Wl___enable_new_dtags=no
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 CFLAGS=$ac_wine_try_cflags_saved
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9580 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9581 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9582 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9585 case $host_cpu in
9586 *i[3456789]86* | x86_64 | *aarch64*)
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9588 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9589 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9590 $as_echo_n "(cached) " >&6
9591 else
9592 ac_wine_try_cflags_saved=$CFLAGS
9593 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9596 int main(int argc, char **argv) { return 0; }
9597 _ACEOF
9598 if ac_fn_c_try_link "$LINENO"; then :
9599 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9600 else
9601 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9603 rm -f core conftest.err conftest.$ac_objext \
9604 conftest$ac_exeext conftest.$ac_ext
9605 CFLAGS=$ac_wine_try_cflags_saved
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9608 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9609 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9610 case $host_os in
9611 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9612 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9613 esac
9614 else
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9616 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9617 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 ac_wine_try_cflags_saved=$CFLAGS
9621 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9624 int main(int argc, char **argv) { return 0; }
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9628 else
9629 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 CFLAGS=$ac_wine_try_cflags_saved
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9636 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9637 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9638 case $host_os in
9639 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9640 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9641 esac
9643 # Extract the first word of "prelink", so it can be a program name with args.
9644 set dummy prelink; ac_word=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if ${ac_cv_path_PRELINK+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 case $PRELINK in
9651 [\\/]* | ?:[\\/]*)
9652 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9656 for as_dir in /sbin /usr/sbin $PATH
9658 IFS=$as_save_IFS
9659 test -z "$as_dir" && as_dir=.
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9662 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 break 2
9666 done
9667 done
9668 IFS=$as_save_IFS
9670 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9672 esac
9674 PRELINK=$ac_cv_path_PRELINK
9675 if test -n "$PRELINK"; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9677 $as_echo "$PRELINK" >&6; }
9678 else
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9680 $as_echo "no" >&6; }
9684 if test "x$PRELINK" = xfalse
9685 then
9686 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9690 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9691 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9692 $as_echo_n "(cached) " >&6
9693 else
9694 ac_wine_try_cflags_saved=$CFLAGS
9695 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9698 int main(int argc, char **argv) { return 0; }
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9702 else
9703 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 CFLAGS=$ac_wine_try_cflags_saved
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9710 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9711 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9712 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9715 esac
9717 else
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9719 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9720 if ${ac_cv_c_dll_unixware+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 ac_wine_try_cflags_saved=$CFLAGS
9724 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9727 void myfunc() {}
9728 _ACEOF
9729 if ac_fn_c_try_link "$LINENO"; then :
9730 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9731 else
9732 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9734 rm -f core conftest.err conftest.$ac_objext \
9735 conftest$ac_exeext conftest.$ac_ext
9736 CFLAGS=$ac_wine_try_cflags_saved
9737 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9738 ac_cv_c_dll_unixware="yes"
9739 else
9740 ac_cv_c_dll_unixware="no"
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9744 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9745 if test "$ac_cv_c_dll_unixware" = "yes"
9746 then
9747 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9750 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9752 LIBWINE_DEPENDS="wine.map"
9754 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9755 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9757 esac
9759 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9760 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9761 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9762 enable_winemac_drv=${enable_winemac_drv:-no}
9763 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9766 if test "x$with_mingw" != xno
9767 then
9768 case "x$with_mingw" in
9769 x|xyes) case "$host_cpu" in
9770 aarch64*)
9771 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9772 arm*)
9773 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9774 i[3456789]86*)
9775 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
9776 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9777 mingw32-gcc" ;;
9778 x86_64)
9779 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
9780 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9782 ac_prefix_list="" ;;
9783 esac
9784 for ac_prog in $ac_prefix_list
9786 # Extract the first word of "$ac_prog", so it can be a program name with args.
9787 set dummy $ac_prog; ac_word=$2
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9789 $as_echo_n "checking for $ac_word... " >&6; }
9790 if ${ac_cv_prog_CROSSCC+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 if test -n "$CROSSCC"; then
9794 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9795 else
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9797 for as_dir in $PATH
9799 IFS=$as_save_IFS
9800 test -z "$as_dir" && as_dir=.
9801 for ac_exec_ext in '' $ac_executable_extensions; do
9802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9803 ac_cv_prog_CROSSCC="$ac_prog"
9804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9805 break 2
9807 done
9808 done
9809 IFS=$as_save_IFS
9813 CROSSCC=$ac_cv_prog_CROSSCC
9814 if test -n "$CROSSCC"; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9816 $as_echo "$CROSSCC" >&6; }
9817 else
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9819 $as_echo "no" >&6; }
9823 test -n "$CROSSCC" && break
9824 done
9825 test -n "$CROSSCC" || CROSSCC="false"
9827 *) CROSSCC=$with_mingw ;;
9828 esac
9829 if test "$CROSSCC" != "false"
9830 then
9831 ac_save_CC="$CC"
9832 saved_CFLAGS=$CFLAGS
9833 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9835 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9839 CC="$CROSSCC"
9840 CFLAGS=$CROSSCFLAGS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9842 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9843 if ${wine_cv_crosscc+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9850 main ()
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_compile "$LINENO"; then :
9858 wine_cv_crosscc=yes
9859 else
9860 wine_cv_crosscc=no
9862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9865 $as_echo "$wine_cv_crosscc" >&6; }
9866 if test $wine_cv_crosscc = yes
9867 then
9868 set x $CROSSCC
9869 shift
9870 while test $# -ge 1
9872 case "$1" in
9873 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9874 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9875 esac
9876 shift
9877 done
9879 llvm_target=$CROSSTARGET
9880 llvm_cflags="-fuse-ld=lld"
9881 if test -z "$llvm_target"
9882 then
9883 case $host_cpu in
9884 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9885 *) llvm_target=$host_cpu-windows-gnu ;;
9886 esac
9888 case $llvm_target in
9889 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9890 esac
9891 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9893 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9894 if eval \${$as_ac_var+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_wine_try_cflags_saved=$CFLAGS
9898 ac_wine_try_cflags_saved_cc=$CC
9899 ac_wine_try_cflags_saved_exeext=$ac_exeext
9900 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9901 CC="$CROSSCC"
9902 ac_exeext=".exe"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9905 int __cdecl mainCRTStartup(void) { return 0; }
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 eval "$as_ac_var=yes"
9909 else
9910 eval "$as_ac_var=no"
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 CFLAGS=$ac_wine_try_cflags_saved
9915 CC=$ac_wine_try_cflags_saved_cc
9916 ac_exeext=$ac_wine_try_cflags_saved_exeext
9918 eval ac_res=\$$as_ac_var
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9920 $as_echo "$ac_res" >&6; }
9921 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9922 CROSSTARGET=$llvm_target
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9924 DELAYLOADFLAG="-Wl,-delayload,"
9926 CFLAGS="$CFLAGS $llvm_cflags"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9930 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9931 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_wine_try_cflags_saved=$CFLAGS
9935 ac_wine_try_cflags_saved_cc=$CC
9936 ac_wine_try_cflags_saved_exeext=$ac_exeext
9937 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9938 CC="$CROSSCC"
9939 ac_exeext=".exe"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 int __cdecl mainCRTStartup(void) { return 0; }
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 ac_cv_crosscflags__fno_strict_aliasing=yes
9946 else
9947 ac_cv_crosscflags__fno_strict_aliasing=no
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 CFLAGS=$ac_wine_try_cflags_saved
9952 CC=$ac_wine_try_cflags_saved_cc
9953 ac_exeext=$ac_wine_try_cflags_saved_exeext
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9956 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9957 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9958 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9961 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9962 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9963 $as_echo_n "(cached) " >&6
9964 else
9965 ac_wine_try_cflags_saved=$CFLAGS
9966 ac_wine_try_cflags_saved_cc=$CC
9967 ac_wine_try_cflags_saved_exeext=$ac_exeext
9968 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9969 CC="$CROSSCC"
9970 ac_exeext=".exe"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int __cdecl mainCRTStartup(void) { return 0; }
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9977 else
9978 ac_cv_crosscflags__Werror_unknown_warning_option=no
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9983 CC=$ac_wine_try_cflags_saved_cc
9984 ac_exeext=$ac_wine_try_cflags_saved_exeext
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9987 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9988 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9989 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9992 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9993 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9994 $as_echo_n "(cached) " >&6
9995 else
9996 ac_wine_try_cflags_saved=$CFLAGS
9997 ac_wine_try_cflags_saved_cc=$CC
9998 ac_wine_try_cflags_saved_exeext=$ac_exeext
9999 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10000 CC="$CROSSCC"
10001 ac_exeext=".exe"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10004 int __cdecl mainCRTStartup(void) { return 0; }
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10008 else
10009 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10011 rm -f core conftest.err conftest.$ac_objext \
10012 conftest$ac_exeext conftest.$ac_ext
10013 CFLAGS=$ac_wine_try_cflags_saved
10014 CC=$ac_wine_try_cflags_saved_cc
10015 ac_exeext=$ac_wine_try_cflags_saved_exeext
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10018 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10019 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10020 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10023 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10024 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_wine_try_cflags_saved=$CFLAGS
10028 ac_wine_try_cflags_saved_cc=$CC
10029 ac_wine_try_cflags_saved_exeext=$ac_exeext
10030 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10031 CC="$CROSSCC"
10032 ac_exeext=".exe"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10035 int __cdecl mainCRTStartup(void) { return 0; }
10036 _ACEOF
10037 if ac_fn_c_try_link "$LINENO"; then :
10038 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10039 else
10040 ac_cv_crosscflags__Wdeclaration_after_statement=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 CFLAGS=$ac_wine_try_cflags_saved
10045 CC=$ac_wine_try_cflags_saved_cc
10046 ac_exeext=$ac_wine_try_cflags_saved_exeext
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10049 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10050 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10051 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10054 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10055 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_wine_try_cflags_saved=$CFLAGS
10059 ac_wine_try_cflags_saved_cc=$CC
10060 ac_wine_try_cflags_saved_exeext=$ac_exeext
10061 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10062 CC="$CROSSCC"
10063 ac_exeext=".exe"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 int __cdecl mainCRTStartup(void) { return 0; }
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069 ac_cv_crosscflags__Wempty_body=yes
10070 else
10071 ac_cv_crosscflags__Wempty_body=no
10073 rm -f core conftest.err conftest.$ac_objext \
10074 conftest$ac_exeext conftest.$ac_ext
10075 CFLAGS=$ac_wine_try_cflags_saved
10076 CC=$ac_wine_try_cflags_saved_cc
10077 ac_exeext=$ac_wine_try_cflags_saved_exeext
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10080 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10081 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10082 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10085 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10086 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_wine_try_cflags_saved=$CFLAGS
10090 ac_wine_try_cflags_saved_cc=$CC
10091 ac_wine_try_cflags_saved_exeext=$ac_exeext
10092 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10093 CC="$CROSSCC"
10094 ac_exeext=".exe"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10097 int __cdecl mainCRTStartup(void) { return 0; }
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 ac_cv_crosscflags__Wignored_qualifiers=yes
10101 else
10102 ac_cv_crosscflags__Wignored_qualifiers=no
10104 rm -f core conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 CFLAGS=$ac_wine_try_cflags_saved
10107 CC=$ac_wine_try_cflags_saved_cc
10108 ac_exeext=$ac_wine_try_cflags_saved_exeext
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10111 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10112 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10113 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10116 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10117 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10118 $as_echo_n "(cached) " >&6
10119 else
10120 ac_wine_try_cflags_saved=$CFLAGS
10121 ac_wine_try_cflags_saved_cc=$CC
10122 ac_wine_try_cflags_saved_exeext=$ac_exeext
10123 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10124 CC="$CROSSCC"
10125 ac_exeext=".exe"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 int __cdecl mainCRTStartup(void) { return 0; }
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 ac_cv_crosscflags__Wpacked_not_aligned=yes
10132 else
10133 ac_cv_crosscflags__Wpacked_not_aligned=no
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 CFLAGS=$ac_wine_try_cflags_saved
10138 CC=$ac_wine_try_cflags_saved_cc
10139 ac_exeext=$ac_wine_try_cflags_saved_exeext
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10142 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10143 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10144 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10147 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10148 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_wine_try_cflags_saved=$CFLAGS
10152 ac_wine_try_cflags_saved_cc=$CC
10153 ac_wine_try_cflags_saved_exeext=$ac_exeext
10154 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10155 CC="$CROSSCC"
10156 ac_exeext=".exe"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 int __cdecl mainCRTStartup(void) { return 0; }
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 ac_cv_crosscflags__Wpragma_pack=yes
10163 else
10164 ac_cv_crosscflags__Wpragma_pack=no
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 CFLAGS=$ac_wine_try_cflags_saved
10169 CC=$ac_wine_try_cflags_saved_cc
10170 ac_exeext=$ac_wine_try_cflags_saved_exeext
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10173 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10174 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10175 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10178 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10179 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10180 $as_echo_n "(cached) " >&6
10181 else
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 ac_wine_try_cflags_saved_cc=$CC
10184 ac_wine_try_cflags_saved_exeext=$ac_exeext
10185 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10186 CC="$CROSSCC"
10187 ac_exeext=".exe"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 int __cdecl mainCRTStartup(void) { return 0; }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 ac_cv_crosscflags__Wshift_overflow_2=yes
10194 else
10195 ac_cv_crosscflags__Wshift_overflow_2=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 CFLAGS=$ac_wine_try_cflags_saved
10200 CC=$ac_wine_try_cflags_saved_cc
10201 ac_exeext=$ac_wine_try_cflags_saved_exeext
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10204 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10205 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10206 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10209 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10210 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 ac_wine_try_cflags_saved_cc=$CC
10215 ac_wine_try_cflags_saved_exeext=$ac_exeext
10216 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10217 CC="$CROSSCC"
10218 ac_exeext=".exe"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 int __cdecl mainCRTStartup(void) { return 0; }
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 ac_cv_crosscflags__Wstrict_prototypes=yes
10225 else
10226 ac_cv_crosscflags__Wstrict_prototypes=no
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 CFLAGS=$ac_wine_try_cflags_saved
10231 CC=$ac_wine_try_cflags_saved_cc
10232 ac_exeext=$ac_wine_try_cflags_saved_exeext
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10235 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10236 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10237 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10240 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10241 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 ac_wine_try_cflags_saved_cc=$CC
10246 ac_wine_try_cflags_saved_exeext=$ac_exeext
10247 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10248 CC="$CROSSCC"
10249 ac_exeext=".exe"
10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10252 int __cdecl mainCRTStartup(void) { return 0; }
10253 _ACEOF
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 ac_cv_crosscflags__Wtype_limits=yes
10256 else
10257 ac_cv_crosscflags__Wtype_limits=no
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 CFLAGS=$ac_wine_try_cflags_saved
10262 CC=$ac_wine_try_cflags_saved_cc
10263 ac_exeext=$ac_wine_try_cflags_saved_exeext
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10266 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10267 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10268 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10271 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10272 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_wine_try_cflags_saved=$CFLAGS
10276 ac_wine_try_cflags_saved_cc=$CC
10277 ac_wine_try_cflags_saved_exeext=$ac_exeext
10278 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10279 CC="$CROSSCC"
10280 ac_exeext=".exe"
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10283 int __cdecl mainCRTStartup(void) { return 0; }
10284 _ACEOF
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10287 else
10288 ac_cv_crosscflags__Wunused_but_set_parameter=no
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 CFLAGS=$ac_wine_try_cflags_saved
10293 CC=$ac_wine_try_cflags_saved_cc
10294 ac_exeext=$ac_wine_try_cflags_saved_exeext
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10297 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10298 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10299 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10302 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10303 if ${ac_cv_crosscflags__Wvla+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_wine_try_cflags_saved=$CFLAGS
10307 ac_wine_try_cflags_saved_cc=$CC
10308 ac_wine_try_cflags_saved_exeext=$ac_exeext
10309 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10310 CC="$CROSSCC"
10311 ac_exeext=".exe"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10314 int __cdecl mainCRTStartup(void) { return 0; }
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_crosscflags__Wvla=yes
10318 else
10319 ac_cv_crosscflags__Wvla=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 CFLAGS=$ac_wine_try_cflags_saved
10324 CC=$ac_wine_try_cflags_saved_cc
10325 ac_exeext=$ac_wine_try_cflags_saved_exeext
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10328 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10329 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10330 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10333 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10334 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_wine_try_cflags_saved=$CFLAGS
10338 ac_wine_try_cflags_saved_cc=$CC
10339 ac_wine_try_cflags_saved_exeext=$ac_exeext
10340 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10341 CC="$CROSSCC"
10342 ac_exeext=".exe"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10345 int __cdecl mainCRTStartup(void) { return 0; }
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_crosscflags__Wwrite_strings=yes
10349 else
10350 ac_cv_crosscflags__Wwrite_strings=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 CFLAGS=$ac_wine_try_cflags_saved
10355 CC=$ac_wine_try_cflags_saved_cc
10356 ac_exeext=$ac_wine_try_cflags_saved_exeext
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10359 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10360 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10361 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10364 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10365 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_wine_try_cflags_saved=$CFLAGS
10369 ac_wine_try_cflags_saved_cc=$CC
10370 ac_wine_try_cflags_saved_exeext=$ac_exeext
10371 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10372 CC="$CROSSCC"
10373 ac_exeext=".exe"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 int __cdecl mainCRTStartup(void) { return 0; }
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_crosscflags__Wpointer_arith=yes
10380 else
10381 ac_cv_crosscflags__Wpointer_arith=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 CFLAGS=$ac_wine_try_cflags_saved
10386 CC=$ac_wine_try_cflags_saved_cc
10387 ac_exeext=$ac_wine_try_cflags_saved_exeext
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10390 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10391 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10395 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10396 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 ac_wine_try_cflags_saved_cc=$CC
10401 ac_wine_try_cflags_saved_exeext=$ac_exeext
10402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10403 CC="$CROSSCC"
10404 ac_exeext=".exe"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 int __cdecl mainCRTStartup(void) { return 0; }
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"; then :
10410 ac_cv_crosscflags__Wlogical_op=yes
10411 else
10412 ac_cv_crosscflags__Wlogical_op=no
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 CFLAGS=$ac_wine_try_cflags_saved
10417 CC=$ac_wine_try_cflags_saved_cc
10418 ac_exeext=$ac_wine_try_cflags_saved_exeext
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10421 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10422 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10423 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10426 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10427 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 ac_wine_try_cflags_saved_cc=$CC
10432 ac_wine_try_cflags_saved_exeext=$ac_exeext
10433 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10434 CC="$CROSSCC"
10435 ac_exeext=".exe"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int __cdecl mainCRTStartup(void) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_crosscflags__Wabsolute_value=yes
10442 else
10443 ac_cv_crosscflags__Wabsolute_value=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10448 CC=$ac_wine_try_cflags_saved_cc
10449 ac_exeext=$ac_wine_try_cflags_saved_exeext
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10452 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10453 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10454 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10457 case $host_cpu in
10458 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10459 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10460 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_wine_try_cflags_saved=$CFLAGS
10464 ac_wine_try_cflags_saved_cc=$CC
10465 ac_wine_try_cflags_saved_exeext=$ac_exeext
10466 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10467 CC="$CROSSCC"
10468 ac_exeext=".exe"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10471 int __cdecl mainCRTStartup(void) { return 0; }
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10475 else
10476 ac_cv_crosscflags__fno_omit_frame_pointer=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 CFLAGS=$ac_wine_try_cflags_saved
10481 CC=$ac_wine_try_cflags_saved_cc
10482 ac_exeext=$ac_wine_try_cflags_saved_exeext
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10485 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10486 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10488 fi ;;
10489 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10490 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10491 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10492 $as_echo_n "(cached) " >&6
10493 else
10494 ac_wine_try_cflags_saved=$CFLAGS
10495 ac_wine_try_cflags_saved_cc=$CC
10496 ac_wine_try_cflags_saved_exeext=$ac_exeext
10497 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10498 CC="$CROSSCC"
10499 ac_exeext=".exe"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int __cdecl mainCRTStartup(void) { return 0; }
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 ac_cv_crosscflags__Wno_format=yes
10506 else
10507 ac_cv_crosscflags__Wno_format=no
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 CFLAGS=$ac_wine_try_cflags_saved
10512 CC=$ac_wine_try_cflags_saved_cc
10513 ac_exeext=$ac_wine_try_cflags_saved_exeext
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10516 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10517 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10518 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10521 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10522 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10523 $as_echo_n "(cached) " >&6
10524 else
10525 ac_wine_try_cflags_saved=$CFLAGS
10526 ac_wine_try_cflags_saved_cc=$CC
10527 ac_wine_try_cflags_saved_exeext=$ac_exeext
10528 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10529 CC="$CROSSCC"
10530 ac_exeext=".exe"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10533 int __cdecl mainCRTStartup(void) { return 0; }
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_crosscflags__Wformat_overflow=yes
10537 else
10538 ac_cv_crosscflags__Wformat_overflow=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 CFLAGS=$ac_wine_try_cflags_saved
10543 CC=$ac_wine_try_cflags_saved_cc
10544 ac_exeext=$ac_wine_try_cflags_saved_exeext
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10547 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10548 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10549 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10552 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10553 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_wine_try_cflags_saved=$CFLAGS
10557 ac_wine_try_cflags_saved_cc=$CC
10558 ac_wine_try_cflags_saved_exeext=$ac_exeext
10559 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10560 CC="$CROSSCC"
10561 ac_exeext=".exe"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10564 int __cdecl mainCRTStartup(void) { return 0; }
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 ac_cv_crosscflags__Wnonnull=yes
10568 else
10569 ac_cv_crosscflags__Wnonnull=no
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 CFLAGS=$ac_wine_try_cflags_saved
10574 CC=$ac_wine_try_cflags_saved_cc
10575 ac_exeext=$ac_wine_try_cflags_saved_exeext
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10578 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10579 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10580 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10581 fi ;;
10582 esac
10585 if test -z "$CROSSDEBUG"
10586 then
10587 for ac_flag in $CROSSCFLAGS; do
10588 case $ac_flag in
10589 -gdwarf*) CROSSDEBUG=dwarf ;;
10590 -gcodeview) CROSSDEBUG=pdb ;;
10591 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10592 esac
10593 done
10595 case $CROSSDEBUG in
10596 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10597 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10598 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 ac_wine_try_cflags_saved_cc=$CC
10603 ac_wine_try_cflags_saved_exeext=$ac_exeext
10604 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10605 CC="$CROSSCC"
10606 ac_exeext=".exe"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10609 int __cdecl mainCRTStartup(void) { return 0; }
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_crosscflags__gdwarf_2=yes
10613 else
10614 ac_cv_crosscflags__gdwarf_2=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 CFLAGS=$ac_wine_try_cflags_saved
10619 CC=$ac_wine_try_cflags_saved_cc
10620 ac_exeext=$ac_wine_try_cflags_saved_exeext
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10623 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10624 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10625 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10628 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10629 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_wine_try_cflags_saved=$CFLAGS
10633 ac_wine_try_cflags_saved_cc=$CC
10634 ac_wine_try_cflags_saved_exeext=$ac_exeext
10635 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10636 CC="$CROSSCC"
10637 ac_exeext=".exe"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 int __cdecl mainCRTStartup(void) { return 0; }
10641 _ACEOF
10642 if ac_fn_c_try_link "$LINENO"; then :
10643 ac_cv_crosscflags__gstrict_dwarf=yes
10644 else
10645 ac_cv_crosscflags__gstrict_dwarf=no
10647 rm -f core conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 CFLAGS=$ac_wine_try_cflags_saved
10650 CC=$ac_wine_try_cflags_saved_cc
10651 ac_exeext=$ac_wine_try_cflags_saved_exeext
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10654 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10655 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10656 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10657 fi ;;
10658 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10659 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10660 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_wine_try_cflags_saved=$CFLAGS
10664 ac_wine_try_cflags_saved_cc=$CC
10665 ac_wine_try_cflags_saved_exeext=$ac_exeext
10666 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10667 CC="$CROSSCC"
10668 ac_exeext=".exe"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10671 int __cdecl mainCRTStartup(void) { return 0; }
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_crosscflags__gcodeview=yes
10675 else
10676 ac_cv_crosscflags__gcodeview=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 CFLAGS=$ac_wine_try_cflags_saved
10681 CC=$ac_wine_try_cflags_saved_cc
10682 ac_exeext=$ac_wine_try_cflags_saved_exeext
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10685 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10686 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10687 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10688 fi ;;
10689 esac
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10692 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10693 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_wine_try_cflags_saved=$CFLAGS
10697 ac_wine_try_cflags_saved_cc=$CC
10698 ac_wine_try_cflags_saved_exeext=$ac_exeext
10699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10700 CC="$CROSSCC"
10701 ac_exeext=".exe"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int __cdecl mainCRTStartup(void) { return 0; }
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 ac_cv_crosscflags__fexcess_precision_standard=yes
10708 else
10709 ac_cv_crosscflags__fexcess_precision_standard=no
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 CFLAGS=$ac_wine_try_cflags_saved
10714 CC=$ac_wine_try_cflags_saved_cc
10715 ac_exeext=$ac_wine_try_cflags_saved_exeext
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10718 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10719 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10720 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10724 if test "x$enable_werror" = "xyes"
10725 then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10727 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10728 if ${ac_cv_crosscflags__Werror+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 ac_wine_try_cflags_saved=$CFLAGS
10732 ac_wine_try_cflags_saved_cc=$CC
10733 ac_wine_try_cflags_saved_exeext=$ac_exeext
10734 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10735 CC="$CROSSCC"
10736 ac_exeext=".exe"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 int __cdecl mainCRTStartup(void) { return 0; }
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 ac_cv_crosscflags__Werror=yes
10743 else
10744 ac_cv_crosscflags__Werror=no
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 CFLAGS=$ac_wine_try_cflags_saved
10749 CC=$ac_wine_try_cflags_saved_cc
10750 ac_exeext=$ac_wine_try_cflags_saved_exeext
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10753 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10754 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10755 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10759 CFLAGS=$saved_CFLAGS
10760 CC="$ac_save_CC"
10763 if test "x$CROSSTARGET" = "x"; then :
10764 case "x$with_mingw" in
10765 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10766 xno) ;;
10767 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10768 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10769 esac
10774 if test "$ac_cv_header_pthread_h" = "yes"
10775 then
10776 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10777 if test "x$ac_cv_func_pthread_create" = xyes; then :
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10781 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10782 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lpthread $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char pthread_create ();
10798 main ()
10800 return pthread_create ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_pthread_pthread_create=yes
10807 else
10808 ac_cv_lib_pthread_pthread_create=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10815 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10816 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10817 PTHREAD_LIBS="-lpthread"
10824 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10825 case "x$with_pthread" in
10826 xno) ;;
10827 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10828 Wine cannot support threads without libpthread.
10829 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10830 esac
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10836 $as_echo_n "checking for X... " >&6; }
10839 # Check whether --with-x was given.
10840 if test "${with_x+set}" = set; then :
10841 withval=$with_x;
10844 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10845 if test "x$with_x" = xno; then
10846 # The user explicitly disabled X.
10847 have_x=disabled
10848 else
10849 case $x_includes,$x_libraries in #(
10850 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10851 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 # One or both of the vars are not set, and there is no cached value.
10855 ac_x_includes=no ac_x_libraries=no
10856 rm -f -r conftest.dir
10857 if mkdir conftest.dir; then
10858 cd conftest.dir
10859 cat >Imakefile <<'_ACEOF'
10860 incroot:
10861 @echo incroot='${INCROOT}'
10862 usrlibdir:
10863 @echo usrlibdir='${USRLIBDIR}'
10864 libdir:
10865 @echo libdir='${LIBDIR}'
10866 _ACEOF
10867 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10869 for ac_var in incroot usrlibdir libdir; do
10870 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10871 done
10872 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10873 for ac_extension in a so sl dylib la dll; do
10874 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10875 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10876 ac_im_usrlibdir=$ac_im_libdir; break
10878 done
10879 # Screen out bogus values from the imake configuration. They are
10880 # bogus both because they are the default anyway, and because
10881 # using them would break gcc on systems where it needs fixed includes.
10882 case $ac_im_incroot in
10883 /usr/include) ac_x_includes= ;;
10884 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10885 esac
10886 case $ac_im_usrlibdir in
10887 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10888 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10889 esac
10891 cd ..
10892 rm -f -r conftest.dir
10895 # Standard set of common directories for X headers.
10896 # Check X11 before X11Rn because it is often a symlink to the current release.
10897 ac_x_header_dirs='
10898 /usr/X11/include
10899 /usr/X11R7/include
10900 /usr/X11R6/include
10901 /usr/X11R5/include
10902 /usr/X11R4/include
10904 /usr/include/X11
10905 /usr/include/X11R7
10906 /usr/include/X11R6
10907 /usr/include/X11R5
10908 /usr/include/X11R4
10910 /usr/local/X11/include
10911 /usr/local/X11R7/include
10912 /usr/local/X11R6/include
10913 /usr/local/X11R5/include
10914 /usr/local/X11R4/include
10916 /usr/local/include/X11
10917 /usr/local/include/X11R7
10918 /usr/local/include/X11R6
10919 /usr/local/include/X11R5
10920 /usr/local/include/X11R4
10922 /usr/X386/include
10923 /usr/x386/include
10924 /usr/XFree86/include/X11
10926 /usr/include
10927 /usr/local/include
10928 /usr/unsupported/include
10929 /usr/athena/include
10930 /usr/local/x11r5/include
10931 /usr/lpp/Xamples/include
10933 /usr/openwin/include
10934 /usr/openwin/share/include'
10936 if test "$ac_x_includes" = no; then
10937 # Guess where to find include files, by looking for Xlib.h.
10938 # First, try using that file with no special directory specified.
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 #include <X11/Xlib.h>
10942 _ACEOF
10943 if ac_fn_c_try_cpp "$LINENO"; then :
10944 # We can compile using X headers with no special include directory.
10945 ac_x_includes=
10946 else
10947 for ac_dir in $ac_x_header_dirs; do
10948 if test -r "$ac_dir/X11/Xlib.h"; then
10949 ac_x_includes=$ac_dir
10950 break
10952 done
10954 rm -f conftest.err conftest.i conftest.$ac_ext
10955 fi # $ac_x_includes = no
10957 if test "$ac_x_libraries" = no; then
10958 # Check for the libraries.
10959 # See if we find them without any special options.
10960 # Don't add to $LIBS permanently.
10961 ac_save_LIBS=$LIBS
10962 LIBS="-lX11 $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 #include <X11/Xlib.h>
10967 main ()
10969 XrmInitialize ()
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 LIBS=$ac_save_LIBS
10976 # We can link X programs with no special library path.
10977 ac_x_libraries=
10978 else
10979 LIBS=$ac_save_LIBS
10980 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10982 # Don't even attempt the hair of trying to link an X program!
10983 for ac_extension in a so sl dylib la dll; do
10984 if test -r "$ac_dir/libX11.$ac_extension"; then
10985 ac_x_libraries=$ac_dir
10986 break 2
10988 done
10989 done
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 fi # $ac_x_libraries = no
10995 case $ac_x_includes,$ac_x_libraries in #(
10996 no,* | *,no | *\'*)
10997 # Didn't find X, or a directory has "'" in its name.
10998 ac_cv_have_x="have_x=no";; #(
11000 # Record where we found X for the cache.
11001 ac_cv_have_x="have_x=yes\
11002 ac_x_includes='$ac_x_includes'\
11003 ac_x_libraries='$ac_x_libraries'"
11004 esac
11006 ;; #(
11007 *) have_x=yes;;
11008 esac
11009 eval "$ac_cv_have_x"
11010 fi # $with_x != no
11012 if test "$have_x" != yes; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11014 $as_echo "$have_x" >&6; }
11015 no_x=yes
11016 else
11017 # If each of the values was on the command line, it overrides each guess.
11018 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11019 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11020 # Update the cache value to reflect the command line values.
11021 ac_cv_have_x="have_x=yes\
11022 ac_x_includes='$x_includes'\
11023 ac_x_libraries='$x_libraries'"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11025 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11028 if test "$no_x" = yes; then
11029 # Not all programs may use this symbol, but it does not hurt to define it.
11031 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11033 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11034 else
11035 if test -n "$x_includes"; then
11036 X_CFLAGS="$X_CFLAGS -I$x_includes"
11039 # It would also be nice to do this for all -L options, not just this one.
11040 if test -n "$x_libraries"; then
11041 X_LIBS="$X_LIBS -L$x_libraries"
11042 # For Solaris; some versions of Sun CC require a space after -R and
11043 # others require no space. Words are not sufficient . . . .
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11045 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11046 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11047 ac_xsave_c_werror_flag=$ac_c_werror_flag
11048 ac_c_werror_flag=yes
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11053 main ()
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11062 $as_echo "no" >&6; }
11063 X_LIBS="$X_LIBS -R$x_libraries"
11064 else
11065 LIBS="$ac_xsave_LIBS -R $x_libraries"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11079 $as_echo "yes" >&6; }
11080 X_LIBS="$X_LIBS -R $x_libraries"
11081 else
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11083 $as_echo "neither works" >&6; }
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 ac_c_werror_flag=$ac_xsave_c_werror_flag
11091 LIBS=$ac_xsave_LIBS
11094 # Check for system-dependent libraries X programs must link with.
11095 # Do this before checking for the system-independent R6 libraries
11096 # (-lICE), since we may need -lsocket or whatever for X linking.
11098 if test "$ISC" = yes; then
11099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11100 else
11101 # Martyn Johnson says this is needed for Ultrix, if the X
11102 # libraries were built with DECnet support. And Karl Berry says
11103 # the Alpha needs dnet_stub (dnet does not exist).
11104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char XOpenDisplay ();
11116 main ()
11118 return XOpenDisplay ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11125 else
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11127 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11128 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11129 $as_echo_n "(cached) " >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldnet $LIBS"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11139 #ifdef __cplusplus
11140 extern "C"
11141 #endif
11142 char dnet_ntoa ();
11144 main ()
11146 return dnet_ntoa ();
11148 return 0;
11150 _ACEOF
11151 if ac_fn_c_try_link "$LINENO"; then :
11152 ac_cv_lib_dnet_dnet_ntoa=yes
11153 else
11154 ac_cv_lib_dnet_dnet_ntoa=no
11156 rm -f core conftest.err conftest.$ac_objext \
11157 conftest$ac_exeext conftest.$ac_ext
11158 LIBS=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11161 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11162 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11168 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11169 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-ldnet_stub $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char dnet_ntoa ();
11185 main ()
11187 return dnet_ntoa ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11194 else
11195 ac_cv_lib_dnet_stub_dnet_ntoa=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11202 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11203 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS="$ac_xsave_LIBS"
11213 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11214 # to get the SysV transport functions.
11215 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11216 # needs -lnsl.
11217 # The nsl library prevents programs from opening the X display
11218 # on Irix 5.2, according to T.E. Dickey.
11219 # The functions gethostbyname, getservbyname, and inet_addr are
11220 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11221 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11222 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11226 if test $ac_cv_func_gethostbyname = no; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11228 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11229 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11230 $as_echo_n "(cached) " >&6
11231 else
11232 ac_check_lib_save_LIBS=$LIBS
11233 LIBS="-lnsl $LIBS"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 #endif
11243 char gethostbyname ();
11245 main ()
11247 return gethostbyname ();
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"; then :
11253 ac_cv_lib_nsl_gethostbyname=yes
11254 else
11255 ac_cv_lib_nsl_gethostbyname=no
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_lib_save_LIBS
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11262 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11263 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11267 if test $ac_cv_lib_nsl_gethostbyname = no; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11269 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11270 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lbsd $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char gethostbyname ();
11286 main ()
11288 return gethostbyname ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_bsd_gethostbyname=yes
11295 else
11296 ac_cv_lib_bsd_gethostbyname=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11303 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11304 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11311 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11312 # socket/setsockopt and other routines are undefined under SCO ODT
11313 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11314 # on later versions), says Simon Leinen: it contains gethostby*
11315 # variants that don't use the name server (or something). -lsocket
11316 # must be given before -lnsl if both are needed. We assume that
11317 # if connect needs -lnsl, so does gethostbyname.
11318 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11319 if test "x$ac_cv_func_connect" = xyes; then :
11323 if test $ac_cv_func_connect = no; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11325 $as_echo_n "checking for connect in -lsocket... " >&6; }
11326 if ${ac_cv_lib_socket_connect+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char connect ();
11342 main ()
11344 return connect ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_socket_connect=yes
11351 else
11352 ac_cv_lib_socket_connect=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11359 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11360 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11361 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11366 # Guillermo Gomez says -lposix is necessary on A/UX.
11367 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11368 if test "x$ac_cv_func_remove" = xyes; then :
11372 if test $ac_cv_func_remove = no; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11374 $as_echo_n "checking for remove in -lposix... " >&6; }
11375 if ${ac_cv_lib_posix_remove+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_lib_save_LIBS=$LIBS
11379 LIBS="-lposix $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char remove ();
11391 main ()
11393 return remove ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 ac_cv_lib_posix_remove=yes
11400 else
11401 ac_cv_lib_posix_remove=no
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11408 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11409 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11415 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11416 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11417 if test "x$ac_cv_func_shmat" = xyes; then :
11421 if test $ac_cv_func_shmat = no; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11423 $as_echo_n "checking for shmat in -lipc... " >&6; }
11424 if ${ac_cv_lib_ipc_shmat+:} false; then :
11425 $as_echo_n "(cached) " >&6
11426 else
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-lipc $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char shmat ();
11440 main ()
11442 return shmat ();
11444 return 0;
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 ac_cv_lib_ipc_shmat=yes
11449 else
11450 ac_cv_lib_ipc_shmat=no
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11457 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11458 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11465 # Check for libraries that X11R6 Xt/Xaw programs need.
11466 ac_save_LDFLAGS=$LDFLAGS
11467 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11468 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11469 # check for ICE first), but we must link in the order -lSM -lICE or
11470 # we get undefined symbols. So assume we have SM if we have ICE.
11471 # These have to be linked with before -lX11, unlike the other
11472 # libraries we check for below, so use a different variable.
11473 # John Interrante, Karl Berry
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11475 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11476 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_lib_save_LIBS=$LIBS
11480 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char IceConnectionNumber ();
11492 main ()
11494 return IceConnectionNumber ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 ac_cv_lib_ICE_IceConnectionNumber=yes
11501 else
11502 ac_cv_lib_ICE_IceConnectionNumber=no
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_lib_save_LIBS
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11509 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11510 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11511 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11514 LDFLAGS=$ac_save_LDFLAGS
11519 if test "$have_x" = "yes"
11520 then
11521 ac_save_CPPFLAGS="$CPPFLAGS"
11522 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11525 $as_echo_n "checking for -lX11... " >&6; }
11526 if ${ac_cv_lib_soname_X11+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_soname_save_LIBS=$LIBS
11530 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char XCreateWindow ();
11542 main ()
11544 return XCreateWindow ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 case "$LIBEXT" in
11551 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11552 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'` ;;
11553 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11554 if ${ac_cv_lib_soname_X11:+false} :; then :
11555 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11556 fi ;;
11557 esac
11558 else
11559 ac_cv_lib_soname_X11=
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_X11:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11571 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11575 _ACEOF
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11580 $as_echo_n "checking for -lXext... " >&6; }
11581 if ${ac_cv_lib_soname_Xext+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_soname_save_LIBS=$LIBS
11585 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char XextCreateExtension ();
11597 main ()
11599 return XextCreateExtension ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 case "$LIBEXT" in
11606 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11607 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'` ;;
11608 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11609 if ${ac_cv_lib_soname_Xext:+false} :; then :
11610 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11611 fi ;;
11612 esac
11613 else
11614 ac_cv_lib_soname_Xext=
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_Xext:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11626 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11630 _ACEOF
11632 X_LIBS="$X_LIBS -lXext"
11634 X_LIBS="$X_LIBS -lX11"
11636 for ac_header in X11/Xlib.h \
11637 X11/XKBlib.h \
11638 X11/Xutil.h \
11639 X11/Xcursor/Xcursor.h \
11640 X11/extensions/shape.h \
11641 X11/extensions/XInput.h \
11642 X11/extensions/XInput2.h \
11643 X11/extensions/XShm.h \
11644 X11/extensions/Xcomposite.h \
11645 X11/extensions/Xfixes.h \
11646 X11/extensions/Xinerama.h \
11647 X11/extensions/Xrandr.h \
11648 X11/extensions/Xrender.h \
11649 X11/extensions/xf86vmode.h \
11650 X11/extensions/xf86vmproto.h
11651 do :
11652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11654 # include <X11/Xlib.h>
11655 #endif
11656 #ifdef HAVE_X11_XUTIL_H
11657 # include <X11/Xutil.h>
11658 #endif
11660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11661 cat >>confdefs.h <<_ACEOF
11662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11663 _ACEOF
11667 done
11670 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11673 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11674 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_lib_save_LIBS=$LIBS
11678 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char XkbQueryExtension ();
11690 main ()
11692 return XkbQueryExtension ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 ac_cv_lib_X11_XkbQueryExtension=yes
11699 else
11700 ac_cv_lib_X11_XkbQueryExtension=no
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_lib_save_LIBS
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11707 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11708 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11710 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11716 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11719 $as_echo_n "checking for -lXcursor... " >&6; }
11720 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char XcursorImageLoadCursor ();
11736 main ()
11738 return XcursorImageLoadCursor ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11749 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11752 else
11753 ac_cv_lib_soname_Xcursor=
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_soname_save_LIBS
11759 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11761 $as_echo "not found" >&6; }
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11765 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11767 cat >>confdefs.h <<_ACEOF
11768 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11769 _ACEOF
11774 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11775 case "x$with_xcursor" in
11776 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11779 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11785 then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11787 $as_echo_n "checking for -lXi... " >&6; }
11788 if ${ac_cv_lib_soname_Xi+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_soname_save_LIBS=$LIBS
11792 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char XOpenDevice ();
11804 main ()
11806 return XOpenDevice ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 case "$LIBEXT" in
11813 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11814 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'` ;;
11815 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11816 if ${ac_cv_lib_soname_Xi:+false} :; then :
11817 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11818 fi ;;
11819 esac
11820 else
11821 ac_cv_lib_soname_Xi=
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_soname_save_LIBS
11827 if ${ac_cv_lib_soname_Xi:+false} :; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11829 $as_echo "not found" >&6; }
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11833 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11835 cat >>confdefs.h <<_ACEOF
11836 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11837 _ACEOF
11842 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11843 case "x$with_xinput" in
11844 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11845 xno) ;;
11846 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11847 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11848 esac
11852 if test "x$ac_cv_lib_soname_Xi" != x
11853 then
11854 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11855 case "x$with_xinput2" in
11856 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11857 xno) ;;
11858 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11859 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11860 esac
11865 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11868 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11869 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char XShmQueryExtension ();
11885 main ()
11887 return XShmQueryExtension ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_Xext_XShmQueryExtension=yes
11894 else
11895 ac_cv_lib_Xext_XShmQueryExtension=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11902 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11903 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11905 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11910 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11911 case "x$with_xshm" in
11912 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11913 xno) ;;
11914 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11915 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11916 esac
11920 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11921 then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11923 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11924 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char XShapeQueryExtension ();
11940 main ()
11942 return XShapeQueryExtension ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_Xext_XShapeQueryExtension=yes
11949 else
11950 ac_cv_lib_Xext_XShapeQueryExtension=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11957 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11958 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11960 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11965 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11966 case "x$with_xshape" in
11967 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11968 xno) ;;
11969 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11970 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11971 esac
11975 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11976 then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11978 $as_echo_n "checking for -lXxf86vm... " >&6; }
11979 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11980 $as_echo_n "(cached) " >&6
11981 else
11982 ac_check_soname_save_LIBS=$LIBS
11983 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char XF86VidModeQueryExtension ();
11995 main ()
11997 return XF86VidModeQueryExtension ();
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_link "$LINENO"; then :
12003 case "$LIBEXT" in
12004 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12005 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'` ;;
12006 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12007 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12008 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12009 fi ;;
12010 esac
12011 else
12012 ac_cv_lib_soname_Xxf86vm=
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_soname_save_LIBS
12018 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12020 $as_echo "not found" >&6; }
12022 else
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12024 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12026 cat >>confdefs.h <<_ACEOF
12027 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12028 _ACEOF
12033 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12034 case "x$with_xxf86vm" in
12035 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12038 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12039 esac
12043 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12044 then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12046 $as_echo_n "checking for -lXrender... " >&6; }
12047 if ${ac_cv_lib_soname_Xrender+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 ac_check_soname_save_LIBS=$LIBS
12051 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12058 #ifdef __cplusplus
12059 extern "C"
12060 #endif
12061 char XRenderQueryExtension ();
12063 main ()
12065 return XRenderQueryExtension ();
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_link "$LINENO"; then :
12071 case "$LIBEXT" in
12072 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12073 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'` ;;
12074 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12075 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12076 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12077 fi ;;
12078 esac
12079 else
12080 ac_cv_lib_soname_Xrender=
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_soname_save_LIBS
12086 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12088 $as_echo "not found" >&6; }
12090 else
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12092 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12094 cat >>confdefs.h <<_ACEOF
12095 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12096 _ACEOF
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12099 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12100 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char XRenderSetPictureTransform ();
12116 main ()
12118 return XRenderSetPictureTransform ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12125 else
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12133 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12134 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12136 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12141 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12142 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 ac_check_lib_save_LIBS=$LIBS
12146 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 char XRenderCreateLinearGradient ();
12158 main ()
12160 return XRenderCreateLinearGradient ();
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"; then :
12166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12167 else
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12170 rm -f core conftest.err conftest.$ac_objext \
12171 conftest$ac_exeext conftest.$ac_ext
12172 LIBS=$ac_check_lib_save_LIBS
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12175 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12176 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12178 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12185 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12186 case "x$with_xrender" in
12187 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12188 xno) ;;
12189 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12190 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12191 esac
12195 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12196 then
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #include <X11/Xlib.h>
12200 #include <X11/extensions/Xrandr.h>
12202 main ()
12204 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_compile "$LINENO"; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12211 $as_echo_n "checking for -lXrandr... " >&6; }
12212 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_soname_save_LIBS=$LIBS
12216 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char XRRQueryExtension ();
12228 main ()
12230 return XRRQueryExtension ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 case "$LIBEXT" in
12237 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 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'` ;;
12239 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12241 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12242 fi ;;
12243 esac
12244 else
12245 ac_cv_lib_soname_Xrandr=
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_soname_save_LIBS
12251 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12253 $as_echo "not found" >&6; }
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12257 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12259 cat >>confdefs.h <<_ACEOF
12260 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12261 _ACEOF
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 #include <X11/Xlib.h>
12266 #include <X11/extensions/Xrandr.h>
12268 main ()
12270 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"; then :
12277 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 #include <X11/Xlib.h>
12284 #include <X11/extensions/Xrandr.h>
12286 main ()
12288 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_compile "$LINENO"; then :
12295 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12297 else
12298 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12305 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12306 case "x$with_xrandr" in
12307 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12308 xno) ;;
12309 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12310 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12311 esac
12315 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12316 then
12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12319 #include <X11/Xlib.h>
12320 #include <X11/extensions/Xfixes.h>
12322 main ()
12324 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12326 return 0;
12328 _ACEOF
12329 if ac_fn_c_try_compile "$LINENO"; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12331 $as_echo_n "checking for -lXfixes... " >&6; }
12332 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_check_soname_save_LIBS=$LIBS
12336 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 #ifdef __cplusplus
12344 extern "C"
12345 #endif
12346 char XFixesQueryVersion ();
12348 main ()
12350 return XFixesQueryVersion ();
12352 return 0;
12354 _ACEOF
12355 if ac_fn_c_try_link "$LINENO"; then :
12356 case "$LIBEXT" in
12357 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12358 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'` ;;
12359 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12360 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12361 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12362 fi ;;
12363 esac
12364 else
12365 ac_cv_lib_soname_Xfixes=
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369 LIBS=$ac_check_soname_save_LIBS
12371 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12373 $as_echo "not found" >&6; }
12375 else
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12377 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12379 cat >>confdefs.h <<_ACEOF
12380 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12381 _ACEOF
12386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12389 case "x$with_xfixes" in
12390 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12391 xno) ;;
12392 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12393 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12394 esac
12398 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12399 then
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12402 #include <X11/Xlib.h>
12403 #include <X11/extensions/Xinerama.h>
12405 main ()
12407 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_compile "$LINENO"; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12414 $as_echo_n "checking for -lXinerama... " >&6; }
12415 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_soname_save_LIBS=$LIBS
12419 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char XineramaQueryScreens ();
12431 main ()
12433 return XineramaQueryScreens ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 case "$LIBEXT" in
12440 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12441 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'` ;;
12442 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12443 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12444 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12445 fi ;;
12446 esac
12447 else
12448 ac_cv_lib_soname_Xinerama=
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_soname_save_LIBS
12454 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12456 $as_echo "not found" >&6; }
12458 else
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12460 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12462 cat >>confdefs.h <<_ACEOF
12463 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12464 _ACEOF
12469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12471 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12472 case "x$with_xinerama" in
12473 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12474 xno) ;;
12475 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12476 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12477 esac
12481 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12482 then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12484 $as_echo_n "checking for -lXcomposite... " >&6; }
12485 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_check_soname_save_LIBS=$LIBS
12489 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 char XCompositeRedirectWindow ();
12501 main ()
12503 return XCompositeRedirectWindow ();
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"; then :
12509 case "$LIBEXT" in
12510 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12511 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'` ;;
12512 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12513 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12514 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12515 fi ;;
12516 esac
12517 else
12518 ac_cv_lib_soname_Xcomposite=
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_soname_save_LIBS
12524 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12526 $as_echo "not found" >&6; }
12528 else
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12530 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12532 cat >>confdefs.h <<_ACEOF
12533 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12534 _ACEOF
12539 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12540 case "x$with_xcomposite" in
12541 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12542 xno) ;;
12543 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12544 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12545 esac
12549 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12550 #include <X11/Xlib.h>
12551 #endif
12553 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12555 cat >>confdefs.h <<_ACEOF
12556 #define HAVE_XICCALLBACK_CALLBACK 1
12557 _ACEOF
12561 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12562 #include <X11/Xlib.h>
12563 #endif
12565 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12567 cat >>confdefs.h <<_ACEOF
12568 #define HAVE_XEVENT_XCOOKIE 1
12569 _ACEOF
12576 opengl_msg=""
12577 if test "x$with_opengl" != "xno"
12578 then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12580 $as_echo_n "checking for -lGL... " >&6; }
12581 if ${ac_cv_lib_soname_GL+:} false; then :
12582 $as_echo_n "(cached) " >&6
12583 else
12584 ac_check_soname_save_LIBS=$LIBS
12585 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 /* Override any GCC internal prototype to avoid an error.
12590 Use char because int might match the return type of a GCC
12591 builtin and then its argument prototype would still apply. */
12592 #ifdef __cplusplus
12593 extern "C"
12594 #endif
12595 char glXCreateContext ();
12597 main ()
12599 return glXCreateContext ();
12601 return 0;
12603 _ACEOF
12604 if ac_fn_c_try_link "$LINENO"; then :
12605 case "$LIBEXT" in
12606 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12607 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'` ;;
12608 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12609 if ${ac_cv_lib_soname_GL:+false} :; then :
12610 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12611 fi ;;
12612 esac
12613 else
12614 ac_cv_lib_soname_GL=
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_soname_save_LIBS
12620 if ${ac_cv_lib_soname_GL:+false} :; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12622 $as_echo "not found" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12624 $as_echo_n "checking for -lGL... " >&6; }
12625 if ${ac_cv_lib_soname_GL+:} false; then :
12626 $as_echo_n "(cached) " >&6
12627 else
12628 ac_check_soname_save_LIBS=$LIBS
12629 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"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12636 #ifdef __cplusplus
12637 extern "C"
12638 #endif
12639 char glXCreateContext ();
12641 main ()
12643 return glXCreateContext ();
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_link "$LINENO"; then :
12649 case "$LIBEXT" in
12650 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12651 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'` ;;
12652 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12653 if ${ac_cv_lib_soname_GL:+false} :; then :
12654 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12655 fi ;;
12656 esac
12657 else
12658 ac_cv_lib_soname_GL=
12660 rm -f core conftest.err conftest.$ac_objext \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_soname_save_LIBS
12664 if ${ac_cv_lib_soname_GL:+false} :; then :
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12666 $as_echo "not found" >&6; }
12667 if test -f /usr/X11R6/lib/libGL.a
12668 then
12669 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12670 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12671 else
12672 opengl_msg="No OpenGL library found on this system."
12674 else
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12676 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12678 cat >>confdefs.h <<_ACEOF
12679 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12680 _ACEOF
12682 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"
12684 else
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12686 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12688 cat >>confdefs.h <<_ACEOF
12689 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12690 _ACEOF
12692 OPENGL_LIBS="-lGL"
12694 if test "x$with_glu" != "xno"
12695 then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12697 $as_echo_n "checking for -lGLU... " >&6; }
12698 if ${ac_cv_lib_soname_GLU+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 ac_check_soname_save_LIBS=$LIBS
12702 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12709 #ifdef __cplusplus
12710 extern "C"
12711 #endif
12712 char gluLookAt ();
12714 main ()
12716 return gluLookAt ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 case "$LIBEXT" in
12723 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12724 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'` ;;
12725 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12726 if ${ac_cv_lib_soname_GLU:+false} :; then :
12727 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12728 fi ;;
12729 esac
12730 else
12731 ac_cv_lib_soname_GLU=
12733 rm -f core conftest.err conftest.$ac_objext \
12734 conftest$ac_exeext conftest.$ac_ext
12735 LIBS=$ac_check_soname_save_LIBS
12737 if ${ac_cv_lib_soname_GLU:+false} :; then :
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12739 $as_echo "not found" >&6; }
12741 else
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12743 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12745 cat >>confdefs.h <<_ACEOF
12746 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12747 _ACEOF
12751 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12752 case "x$with_glu" in
12753 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12756 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12757 esac
12762 if test "x$with_osmesa" != "xno"
12763 then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12765 $as_echo_n "checking for -lOSMesa... " >&6; }
12766 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_soname_save_LIBS=$LIBS
12770 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char OSMesaGetProcAddress ();
12782 main ()
12784 return OSMesaGetProcAddress ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 case "$LIBEXT" in
12791 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12795 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12796 fi ;;
12797 esac
12798 else
12799 ac_cv_lib_soname_OSMesa=
12801 rm -f core conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 LIBS=$ac_check_soname_save_LIBS
12805 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12807 $as_echo "not found" >&6; }
12809 else
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12811 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12813 cat >>confdefs.h <<_ACEOF
12814 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12815 _ACEOF
12819 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12820 case "x$with_osmesa" in
12821 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12822 xno) ;;
12823 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12824 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12825 esac
12830 if test -n "$opengl_msg"; then :
12831 case "x$with_opengl" in
12832 x) as_fn_append wine_warnings "|$opengl_msg
12833 OpenGL and Direct3D won't be supported." ;;
12834 xno) ;;
12835 *) as_fn_error $? "$opengl_msg
12836 OpenGL and Direct3D won't be supported.
12837 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12838 esac
12842 CPPFLAGS="$ac_save_CPPFLAGS"
12843 else
12844 X_CFLAGS=""
12845 X_LIBS=""
12848 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12849 then
12850 if test "x$X_LIBS" = "x"; then :
12851 case "x$with_x" in
12852 xno) ;;
12853 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12854 without X support, which probably isn't what you want. You will need
12855 to install ${notice_platform}development packages of Xlib at the very least.
12856 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12857 esac
12858 enable_winex11_drv=${enable_winex11_drv:-no}
12860 else
12861 if test "x$X_LIBS" = "x"; then :
12862 case "x$with_x" in
12863 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12864 xno) ;;
12865 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12866 This is an error since --with-x was requested." "$LINENO" 5 ;;
12867 esac
12868 enable_winex11_drv=${enable_winex11_drv:-no}
12872 if test "$ac_cv_header_CL_cl_h" = "yes"
12873 then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12875 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12876 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12877 $as_echo_n "(cached) " >&6
12878 else
12879 ac_check_lib_save_LIBS=$LIBS
12880 LIBS="-lOpenCL $LIBS"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12887 #ifdef __cplusplus
12888 extern "C"
12889 #endif
12890 char clGetPlatformInfo ();
12892 main ()
12894 return clGetPlatformInfo ();
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_link "$LINENO"; then :
12900 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12901 else
12902 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12904 rm -f core conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_lib_save_LIBS
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12909 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12910 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12911 OPENCL_LIBS="-lOpenCL"
12916 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12917 case "x$with_opencl" in
12918 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12919 xno) ;;
12920 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12921 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12922 esac
12923 enable_opencl=${enable_opencl:-no}
12926 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12927 then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12929 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12930 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12931 $as_echo_n "(cached) " >&6
12932 else
12933 ac_check_lib_save_LIBS=$LIBS
12934 LIBS="-lpcap $LIBS"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char pcap_create ();
12946 main ()
12948 return pcap_create ();
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 ac_cv_lib_pcap_pcap_create=yes
12955 else
12956 ac_cv_lib_pcap_pcap_create=no
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_lib_save_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12963 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12964 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12965 PCAP_LIBS="-lpcap"
12970 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12971 case "x$with_pcap" in
12972 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12973 xno) ;;
12974 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12975 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12976 esac
12977 enable_wpcap=${enable_wpcap:-no}
12981 if test "x$with_xml" != "xno"
12982 then
12983 if ${XML2_CFLAGS:+false} :; then :
12984 if ${PKG_CONFIG+:} false; then :
12985 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12988 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12989 if ${XML2_LIBS:+false} :; then :
12990 if ${PKG_CONFIG+:} false; then :
12991 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12994 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12995 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12996 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12998 ac_save_CPPFLAGS=$CPPFLAGS
12999 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13000 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13001 do :
13002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13003 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13004 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13005 cat >>confdefs.h <<_ACEOF
13006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13007 _ACEOF
13011 done
13013 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"
13014 then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13016 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13017 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lxml2 $XML2_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char xmlParseMemory ();
13033 main ()
13035 return xmlParseMemory ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_xml2_xmlParseMemory=yes
13042 else
13043 ac_cv_lib_xml2_xmlParseMemory=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13050 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13051 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13053 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13055 else
13056 XML2_LIBS=""
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13060 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13061 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13062 $as_echo_n "(cached) " >&6
13063 else
13064 ac_check_lib_save_LIBS=$LIBS
13065 LIBS="-lxml2 $XML2_LIBS $LIBS"
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13072 #ifdef __cplusplus
13073 extern "C"
13074 #endif
13075 char xmlReadMemory ();
13077 main ()
13079 return xmlReadMemory ();
13081 return 0;
13083 _ACEOF
13084 if ac_fn_c_try_link "$LINENO"; then :
13085 ac_cv_lib_xml2_xmlReadMemory=yes
13086 else
13087 ac_cv_lib_xml2_xmlReadMemory=no
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_lib_save_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13094 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13095 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13097 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13102 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13103 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lxml2 $XML2_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char xmlNewDocPI ();
13119 main ()
13121 return xmlNewDocPI ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_lib_xml2_xmlNewDocPI=yes
13128 else
13129 ac_cv_lib_xml2_xmlNewDocPI=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_lib_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13136 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13137 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13139 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13144 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13145 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_check_lib_save_LIBS=$LIBS
13149 LIBS="-lxml2 $XML2_LIBS $LIBS"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13156 #ifdef __cplusplus
13157 extern "C"
13158 #endif
13159 char xmlSchemaSetParserStructuredErrors ();
13161 main ()
13163 return xmlSchemaSetParserStructuredErrors ();
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_link "$LINENO"; then :
13169 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13170 else
13171 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13178 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13179 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13181 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13186 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13187 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13188 $as_echo_n "(cached) " >&6
13189 else
13190 ac_check_lib_save_LIBS=$LIBS
13191 LIBS="-lxml2 $XML2_LIBS $LIBS"
13192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13195 /* Override any GCC internal prototype to avoid an error.
13196 Use char because int might match the return type of a GCC
13197 builtin and then its argument prototype would still apply. */
13198 #ifdef __cplusplus
13199 extern "C"
13200 #endif
13201 char xmlSchemaSetValidStructuredErrors ();
13203 main ()
13205 return xmlSchemaSetValidStructuredErrors ();
13207 return 0;
13209 _ACEOF
13210 if ac_fn_c_try_link "$LINENO"; then :
13211 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13212 else
13213 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13215 rm -f core conftest.err conftest.$ac_objext \
13216 conftest$ac_exeext conftest.$ac_ext
13217 LIBS=$ac_check_lib_save_LIBS
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13220 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13221 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13223 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13228 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13229 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_check_lib_save_LIBS=$LIBS
13233 LIBS="-lxml2 $XML2_LIBS $LIBS"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char xmlFirstElementChild ();
13245 main ()
13247 return xmlFirstElementChild ();
13249 return 0;
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 ac_cv_lib_xml2_xmlFirstElementChild=yes
13254 else
13255 ac_cv_lib_xml2_xmlFirstElementChild=no
13257 rm -f core conftest.err conftest.$ac_objext \
13258 conftest$ac_exeext conftest.$ac_ext
13259 LIBS=$ac_check_lib_save_LIBS
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13262 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13263 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13265 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13269 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13271 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13273 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13277 else
13278 XML2_CFLAGS=""
13279 XML2_LIBS=""
13281 CPPFLAGS=$ac_save_CPPFLAGS
13282 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13283 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13286 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13287 case "x$with_xml" in
13288 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13289 xno) ;;
13290 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13291 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13292 esac
13296 if test "x$with_xslt" != "xno"
13297 then
13298 if ${XSLT_CFLAGS:+false} :; then :
13299 if ${PKG_CONFIG+:} false; then :
13300 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13303 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13304 if ${XSLT_LIBS:+false} :; then :
13305 if ${PKG_CONFIG+:} false; then :
13306 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13309 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13310 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13312 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13313 ac_save_CPPFLAGS=$CPPFLAGS
13314 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13315 for ac_header in libxslt/pattern.h libxslt/transform.h
13316 do :
13317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13319 # include <libxslt/pattern.h>
13320 #endif
13322 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13323 cat >>confdefs.h <<_ACEOF
13324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13325 _ACEOF
13329 done
13331 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13332 then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13334 $as_echo_n "checking for -lxslt... " >&6; }
13335 if ${ac_cv_lib_soname_xslt+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_check_soname_save_LIBS=$LIBS
13339 LIBS="-lxslt $XSLT_LIBS $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 #ifdef __cplusplus
13347 extern "C"
13348 #endif
13349 char xsltCompilePattern ();
13351 main ()
13353 return xsltCompilePattern ();
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_link "$LINENO"; then :
13359 case "$LIBEXT" in
13360 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13361 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'` ;;
13362 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13363 if ${ac_cv_lib_soname_xslt:+false} :; then :
13364 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13365 fi ;;
13366 esac
13367 else
13368 ac_cv_lib_soname_xslt=
13370 rm -f core conftest.err conftest.$ac_objext \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_soname_save_LIBS
13374 if ${ac_cv_lib_soname_xslt:+false} :; then :
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13376 $as_echo "not found" >&6; }
13378 else
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13380 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13382 cat >>confdefs.h <<_ACEOF
13383 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13384 _ACEOF
13388 else
13389 XSLT_CFLAGS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13392 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13393 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13396 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13397 case "x$with_xslt" in
13398 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13401 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13402 esac
13406 if test "x$with_inotify" != "xno"
13407 then
13408 if ${INOTIFY_CFLAGS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13414 if ${INOTIFY_LIBS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13421 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13423 ac_save_CPPFLAGS=$CPPFLAGS
13424 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13425 for ac_header in sys/inotify.h
13426 do :
13427 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13428 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13429 cat >>confdefs.h <<_ACEOF
13430 #define HAVE_SYS_INOTIFY_H 1
13431 _ACEOF
13435 done
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13438 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13439 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13440 $as_echo_n "(cached) " >&6
13441 else
13442 ac_check_lib_save_LIBS=$LIBS
13443 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13447 /* Override any GCC internal prototype to avoid an error.
13448 Use char because int might match the return type of a GCC
13449 builtin and then its argument prototype would still apply. */
13450 #ifdef __cplusplus
13451 extern "C"
13452 #endif
13453 char inotify_add_watch ();
13455 main ()
13457 return inotify_add_watch ();
13459 return 0;
13461 _ACEOF
13462 if ac_fn_c_try_link "$LINENO"; then :
13463 ac_cv_lib_inotify_inotify_add_watch=yes
13464 else
13465 ac_cv_lib_inotify_inotify_add_watch=no
13467 rm -f core conftest.err conftest.$ac_objext \
13468 conftest$ac_exeext conftest.$ac_ext
13469 LIBS=$ac_check_lib_save_LIBS
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13472 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13473 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13475 else
13476 INOTIFY_LIBS=""
13479 CPPFLAGS=$ac_save_CPPFLAGS
13480 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13481 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13484 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13485 case "x$with_inotify" in
13486 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13487 xno) ;;
13488 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13489 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13490 esac
13494 if test "x$with_dbus" != "xno"
13495 then
13496 if ${DBUS_CFLAGS:+false} :; then :
13497 if ${PKG_CONFIG+:} false; then :
13498 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13502 if ${DBUS_LIBS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13509 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13510 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13511 ac_save_CPPFLAGS=$CPPFLAGS
13512 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13513 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13514 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13516 $as_echo_n "checking for -ldbus-1... " >&6; }
13517 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13518 $as_echo_n "(cached) " >&6
13519 else
13520 ac_check_soname_save_LIBS=$LIBS
13521 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13525 /* Override any GCC internal prototype to avoid an error.
13526 Use char because int might match the return type of a GCC
13527 builtin and then its argument prototype would still apply. */
13528 #ifdef __cplusplus
13529 extern "C"
13530 #endif
13531 char dbus_connection_close ();
13533 main ()
13535 return dbus_connection_close ();
13537 return 0;
13539 _ACEOF
13540 if ac_fn_c_try_link "$LINENO"; then :
13541 case "$LIBEXT" in
13542 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13543 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'` ;;
13544 *) 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'`
13545 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13546 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13547 fi ;;
13548 esac
13549 else
13550 ac_cv_lib_soname_dbus_1=
13552 rm -f core conftest.err conftest.$ac_objext \
13553 conftest$ac_exeext conftest.$ac_ext
13554 LIBS=$ac_check_soname_save_LIBS
13556 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13558 $as_echo "not found" >&6; }
13559 DBUS_CFLAGS=""
13560 else
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13562 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13564 cat >>confdefs.h <<_ACEOF
13565 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13566 _ACEOF
13570 else
13571 DBUS_CFLAGS=""
13575 CPPFLAGS=$ac_save_CPPFLAGS
13576 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13577 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13580 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13581 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13582 case "x$with_dbus" in
13583 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13584 xno) ;;
13585 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13586 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13587 esac
13591 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13592 then
13593 if ${HAL_CFLAGS:+false} :; then :
13594 if ${PKG_CONFIG+:} false; then :
13595 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13599 if ${HAL_LIBS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13605 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13606 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13607 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13608 ac_save_CPPFLAGS=$CPPFLAGS
13609 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13610 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13611 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13613 $as_echo_n "checking for -lhal... " >&6; }
13614 if ${ac_cv_lib_soname_hal+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 ac_check_soname_save_LIBS=$LIBS
13618 LIBS="-lhal $HAL_LIBS $LIBS"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13622 /* Override any GCC internal prototype to avoid an error.
13623 Use char because int might match the return type of a GCC
13624 builtin and then its argument prototype would still apply. */
13625 #ifdef __cplusplus
13626 extern "C"
13627 #endif
13628 char libhal_ctx_new ();
13630 main ()
13632 return libhal_ctx_new ();
13634 return 0;
13636 _ACEOF
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 case "$LIBEXT" in
13639 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13640 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'` ;;
13641 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13642 if ${ac_cv_lib_soname_hal:+false} :; then :
13643 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13644 fi ;;
13645 esac
13646 else
13647 ac_cv_lib_soname_hal=
13649 rm -f core conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 LIBS=$ac_check_soname_save_LIBS
13653 if ${ac_cv_lib_soname_hal:+false} :; then :
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13655 $as_echo "not found" >&6; }
13656 HAL_CFLAGS=""
13657 else
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13659 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13661 cat >>confdefs.h <<_ACEOF
13662 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13663 _ACEOF
13667 else
13668 HAL_CFLAGS=""
13672 CPPFLAGS=$ac_save_CPPFLAGS
13673 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13674 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13676 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13677 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13678 case "x$with_hal" in
13679 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13680 xno) ;;
13681 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13682 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13683 esac
13688 if test "x$with_gnutls" != "xno"
13689 then
13690 if ${GNUTLS_CFLAGS:+false} :; then :
13691 if ${PKG_CONFIG+:} false; then :
13692 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13696 if ${GNUTLS_LIBS:+false} :; then :
13697 if ${PKG_CONFIG+:} false; then :
13698 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13702 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13703 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13704 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13705 ac_save_CPPFLAGS=$CPPFLAGS
13706 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13707 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13708 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13711 #include <gnutls/gnutls.h>
13712 #include <gnutls/crypto.h>
13714 main ()
13716 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_compile "$LINENO"; then :
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13723 $as_echo_n "checking for -lgnutls... " >&6; }
13724 if ${ac_cv_lib_soname_gnutls+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_check_soname_save_LIBS=$LIBS
13728 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13735 #ifdef __cplusplus
13736 extern "C"
13737 #endif
13738 char gnutls_global_init ();
13740 main ()
13742 return gnutls_global_init ();
13744 return 0;
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 case "$LIBEXT" in
13749 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13750 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'` ;;
13751 *) 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'`
13752 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13753 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'`
13754 fi ;;
13755 esac
13756 else
13757 ac_cv_lib_soname_gnutls=
13759 rm -f core conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761 LIBS=$ac_check_soname_save_LIBS
13763 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13765 $as_echo "not found" >&6; }
13766 GNUTLS_CFLAGS=""
13767 else
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13769 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13771 cat >>confdefs.h <<_ACEOF
13772 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13773 _ACEOF
13777 ac_wine_check_funcs_save_LIBS="$LIBS"
13778 LIBS="$LIBS $GNUTLS_LIBS"
13779 for ac_func in gnutls_cipher_init
13780 do :
13781 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13782 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13783 cat >>confdefs.h <<_ACEOF
13784 #define HAVE_GNUTLS_CIPHER_INIT 1
13785 _ACEOF
13787 else
13788 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13790 done
13792 LIBS="$ac_wine_check_funcs_save_LIBS"
13794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795 else
13796 GNUTLS_CFLAGS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13801 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13802 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13805 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13806 case "x$with_gnutls" in
13807 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13808 xno) ;;
13809 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13810 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13811 esac
13815 CURSES_LIBS=""
13816 if test "$ac_cv_header_ncurses_h" = "yes"
13817 then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13819 $as_echo_n "checking for -lncurses... " >&6; }
13820 if ${ac_cv_lib_soname_ncurses+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_soname_save_LIBS=$LIBS
13824 LIBS="-lncurses $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char waddch ();
13836 main ()
13838 return waddch ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 case "$LIBEXT" in
13845 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 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'` ;;
13847 *) 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'`
13848 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13849 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13850 fi ;;
13851 esac
13852 else
13853 ac_cv_lib_soname_ncurses=
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 LIBS=$ac_check_soname_save_LIBS
13859 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13861 $as_echo "not found" >&6; }
13863 else
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13865 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13867 cat >>confdefs.h <<_ACEOF
13868 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13869 _ACEOF
13871 CURSES_LIBS="-lncurses"
13873 elif test "$ac_cv_header_curses_h" = "yes"
13874 then
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13876 $as_echo_n "checking for -lcurses... " >&6; }
13877 if ${ac_cv_lib_soname_curses+:} false; then :
13878 $as_echo_n "(cached) " >&6
13879 else
13880 ac_check_soname_save_LIBS=$LIBS
13881 LIBS="-lcurses $LIBS"
13882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13885 /* Override any GCC internal prototype to avoid an error.
13886 Use char because int might match the return type of a GCC
13887 builtin and then its argument prototype would still apply. */
13888 #ifdef __cplusplus
13889 extern "C"
13890 #endif
13891 char waddch ();
13893 main ()
13895 return waddch ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 case "$LIBEXT" in
13902 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13903 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'` ;;
13904 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13905 if ${ac_cv_lib_soname_curses:+false} :; then :
13906 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13907 fi ;;
13908 esac
13909 else
13910 ac_cv_lib_soname_curses=
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 LIBS=$ac_check_soname_save_LIBS
13916 if ${ac_cv_lib_soname_curses:+false} :; then :
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13918 $as_echo "not found" >&6; }
13920 else
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13922 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13924 cat >>confdefs.h <<_ACEOF
13925 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13926 _ACEOF
13928 CURSES_LIBS="-lcurses"
13931 ac_save_LIBS="$LIBS"
13932 LIBS="$LIBS $CURSES_LIBS"
13933 for ac_func in mousemask
13934 do :
13935 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13936 if test "x$ac_cv_func_mousemask" = xyes; then :
13937 cat >>confdefs.h <<_ACEOF
13938 #define HAVE_MOUSEMASK 1
13939 _ACEOF
13942 done
13944 LIBS="$ac_save_LIBS"
13945 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13946 case "x$with_curses" in
13947 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13948 xno) ;;
13949 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13950 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13951 esac
13955 if test "x$with_sane" != "xno"
13956 then
13957 if ${SANE_CFLAGS:+false} :; then :
13958 if ${PKG_CONFIG+:} false; then :
13959 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13962 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13963 if ${SANE_LIBS:+false} :; then :
13964 if ${PKG_CONFIG+:} false; then :
13965 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13968 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13970 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13971 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13972 ac_save_CPPFLAGS=$CPPFLAGS
13973 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13974 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13975 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13977 $as_echo_n "checking for -lsane... " >&6; }
13978 if ${ac_cv_lib_soname_sane+:} false; then :
13979 $as_echo_n "(cached) " >&6
13980 else
13981 ac_check_soname_save_LIBS=$LIBS
13982 LIBS="-lsane $SANE_LIBS $LIBS"
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13989 #ifdef __cplusplus
13990 extern "C"
13991 #endif
13992 char sane_init ();
13994 main ()
13996 return sane_init ();
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"; then :
14002 case "$LIBEXT" in
14003 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14004 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'` ;;
14005 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14006 if ${ac_cv_lib_soname_sane:+false} :; then :
14007 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14008 fi ;;
14009 esac
14010 else
14011 ac_cv_lib_soname_sane=
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_check_soname_save_LIBS
14017 if ${ac_cv_lib_soname_sane:+false} :; then :
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14019 $as_echo "not found" >&6; }
14020 SANE_CFLAGS=""
14021 else
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14023 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14025 cat >>confdefs.h <<_ACEOF
14026 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14027 _ACEOF
14031 else
14032 SANE_CFLAGS=""
14036 CPPFLAGS=$ac_save_CPPFLAGS
14037 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14038 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14041 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14042 case "x$with_sane" in
14043 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14044 xno) ;;
14045 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14046 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14047 esac
14051 if test "x$with_usb" != "xno"
14052 then
14053 if ${USB_CFLAGS:+false} :; then :
14054 if ${PKG_CONFIG+:} false; then :
14055 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14059 if ${USB_LIBS:+false} :; then :
14060 if ${PKG_CONFIG+:} false; then :
14061 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14065 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14066 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14067 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14068 ac_save_CPPFLAGS=$CPPFLAGS
14069 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14070 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14071 if test "x$ac_cv_header_libusb_h" = xyes; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14073 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14074 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_check_lib_save_LIBS=$LIBS
14078 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14085 #ifdef __cplusplus
14086 extern "C"
14087 #endif
14088 char libusb_interrupt_event_handler ();
14090 main ()
14092 return libusb_interrupt_event_handler ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14099 else
14100 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14107 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14108 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14110 else
14111 USB_LIBS=""
14114 else
14115 USB_LIBS=""
14119 CPPFLAGS=$ac_save_CPPFLAGS
14120 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14121 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14124 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14125 case "x$with_usb" in
14126 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14127 xno) ;;
14128 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14129 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14130 esac
14131 enable_wineusb_sys=${enable_wineusb_sys:-no}
14134 if test "x$with_v4l2" != "xno"
14135 then
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14137 $as_echo_n "checking for -lv4l2... " >&6; }
14138 if ${ac_cv_lib_soname_v4l2+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_check_soname_save_LIBS=$LIBS
14142 LIBS="-lv4l2 $LIBS"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14149 #ifdef __cplusplus
14150 extern "C"
14151 #endif
14152 char v4l2_open ();
14154 main ()
14156 return v4l2_open ();
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 case "$LIBEXT" in
14163 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14164 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'` ;;
14165 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14166 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14167 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14168 fi ;;
14169 esac
14170 else
14171 ac_cv_lib_soname_v4l2=
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 LIBS=$ac_check_soname_save_LIBS
14177 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14179 $as_echo "not found" >&6; }
14181 else
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14183 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14185 cat >>confdefs.h <<_ACEOF
14186 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14187 _ACEOF
14192 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14193 case "x$with_v4l2" in
14194 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14195 xno) ;;
14196 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14197 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14198 esac
14202 if test "x$with_gphoto" != "xno"
14203 then
14204 if ${GPHOTO2_CFLAGS:+false} :; then :
14205 if ${PKG_CONFIG+:} false; then :
14206 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14209 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14210 if ${GPHOTO2_LIBS:+false} :; then :
14211 if ${PKG_CONFIG+:} false; then :
14212 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14215 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14216 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14217 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14218 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14219 ac_save_CPPFLAGS=$CPPFLAGS
14220 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14221 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14222 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14224 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14225 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14226 $as_echo_n "(cached) " >&6
14227 else
14228 ac_check_lib_save_LIBS=$LIBS
14229 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14233 /* Override any GCC internal prototype to avoid an error.
14234 Use char because int might match the return type of a GCC
14235 builtin and then its argument prototype would still apply. */
14236 #ifdef __cplusplus
14237 extern "C"
14238 #endif
14239 char gp_camera_new ();
14241 main ()
14243 return gp_camera_new ();
14245 return 0;
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_cv_lib_gphoto2_gp_camera_new=yes
14250 else
14251 ac_cv_lib_gphoto2_gp_camera_new=no
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 LIBS=$ac_check_lib_save_LIBS
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14258 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14259 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14261 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14263 else
14264 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14267 else
14268 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14272 CPPFLAGS=$ac_save_CPPFLAGS
14273 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14274 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14276 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14277 if ${PKG_CONFIG+:} false; then :
14278 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14281 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14282 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14283 if ${PKG_CONFIG+:} false; then :
14284 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14287 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14288 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14289 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14290 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14291 ac_save_CPPFLAGS=$CPPFLAGS
14292 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14293 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14294 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14296 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14297 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_check_lib_save_LIBS=$LIBS
14301 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 #ifdef __cplusplus
14309 extern "C"
14310 #endif
14311 char gp_port_info_list_new ();
14313 main ()
14315 return gp_port_info_list_new ();
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14322 else
14323 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 LIBS=$ac_check_lib_save_LIBS
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14330 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14331 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14333 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14335 else
14336 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14339 else
14340 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14344 CPPFLAGS=$ac_save_CPPFLAGS
14345 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14346 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14349 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14350 case "x$with_gphoto" in
14351 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14352 xno) ;;
14353 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14354 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14355 esac
14358 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14359 case "x$with_gphoto" in
14360 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14361 xno) ;;
14362 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14363 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14364 esac
14369 if test "$ac_cv_header_resolv_h" = "yes"
14370 then
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14372 $as_echo_n "checking for resolver library... " >&6; }
14373 if ${ac_cv_have_resolv+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 ac_save_LIBS="$LIBS"
14377 for lib in '' -lresolv
14379 LIBS="$lib $ac_save_LIBS"
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 #ifdef HAVE_NETINET_IN_H
14383 #include <netinet/in.h>
14384 #endif
14385 #include <resolv.h>
14387 main ()
14389 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14391 return 0;
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_have_resolv=${lib:-"none required"}
14396 else
14397 ac_cv_have_resolv="not found"
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 test "x$ac_cv_have_resolv" = "xnot found" || break
14402 done
14403 LIBS="$ac_save_LIBS"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14406 $as_echo "$ac_cv_have_resolv" >&6; }
14408 case "$ac_cv_have_resolv" in
14409 "not found") ;;
14410 "none required")
14412 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14415 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14417 RESOLV_LIBS=$ac_cv_have_resolv
14419 esac
14421 if test "x$ac_cv_have_resolv" != "xnot found"
14422 then
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14424 $as_echo_n "checking for res_getservers... " >&6; }
14425 if ${ac_cv_have_res_getservers+:} false; then :
14426 $as_echo_n "(cached) " >&6
14427 else
14428 ac_save_LIBS="$LIBS"
14429 LIBS="$RESOLV_LIBS $LIBS"
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14432 #include <resolv.h>
14434 main ()
14436 res_getservers(NULL, NULL, 0);
14438 return 0;
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_have_res_getservers=yes
14443 else
14444 ac_cv_have_res_getservers=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 LIBS="$ac_save_LIBS"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14451 $as_echo "$ac_cv_have_res_getservers" >&6; }
14452 if test "$ac_cv_have_res_getservers" = "yes"
14453 then
14455 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14461 if test "x$with_cms" != "xno"
14462 then
14463 if ${LCMS2_CFLAGS:+false} :; then :
14464 if ${PKG_CONFIG+:} false; then :
14465 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14469 if ${LCMS2_LIBS:+false} :; then :
14470 if ${PKG_CONFIG+:} false; then :
14471 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14475 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14476 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14477 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14478 ac_save_CPPFLAGS=$CPPFLAGS
14479 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14480 for ac_header in lcms2.h
14481 do :
14482 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14483 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14484 cat >>confdefs.h <<_ACEOF
14485 #define HAVE_LCMS2_H 1
14486 _ACEOF
14490 done
14492 if test "$ac_cv_header_lcms2_h" = "yes"
14493 then
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14495 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14496 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_check_lib_save_LIBS=$LIBS
14500 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14504 /* Override any GCC internal prototype to avoid an error.
14505 Use char because int might match the return type of a GCC
14506 builtin and then its argument prototype would still apply. */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 char cmsOpenProfileFromFile ();
14512 main ()
14514 return cmsOpenProfileFromFile ();
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14521 else
14522 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_lib_save_LIBS
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14529 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14530 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14532 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14534 else
14535 LCMS2_LIBS=""
14538 else
14539 LCMS2_CFLAGS=""
14540 LCMS2_LIBS=""
14542 CPPFLAGS=$ac_save_CPPFLAGS
14543 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14544 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14547 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14548 case "x$with_cms" in
14549 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14550 xno) ;;
14551 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14552 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14553 esac
14557 if test "x$with_freetype" != "xno"
14558 then
14559 if ${FREETYPE_CFLAGS:+false} :; then :
14560 if ${PKG_CONFIG+:} false; then :
14561 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14564 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14565 if ${FREETYPE_LIBS:+false} :; then :
14566 if ${PKG_CONFIG+:} false; then :
14567 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14570 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14571 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14572 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14573 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14574 ac_save_CPPFLAGS=$CPPFLAGS
14575 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14576 for ac_header in ft2build.h
14577 do :
14578 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14579 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14580 cat >>confdefs.h <<_ACEOF
14581 #define HAVE_FT2BUILD_H 1
14582 _ACEOF
14586 done
14588 if test "$ac_cv_header_ft2build_h" = "yes"
14589 then
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14591 $as_echo_n "checking for -lfreetype... " >&6; }
14592 if ${ac_cv_lib_soname_freetype+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 ac_check_soname_save_LIBS=$LIBS
14596 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14600 /* Override any GCC internal prototype to avoid an error.
14601 Use char because int might match the return type of a GCC
14602 builtin and then its argument prototype would still apply. */
14603 #ifdef __cplusplus
14604 extern "C"
14605 #endif
14606 char FT_Init_FreeType ();
14608 main ()
14610 return FT_Init_FreeType ();
14612 return 0;
14614 _ACEOF
14615 if ac_fn_c_try_link "$LINENO"; then :
14616 case "$LIBEXT" in
14617 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14618 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'` ;;
14619 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14620 if ${ac_cv_lib_soname_freetype:+false} :; then :
14621 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14622 fi ;;
14623 esac
14624 else
14625 ac_cv_lib_soname_freetype=
14627 rm -f core conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14629 LIBS=$ac_check_soname_save_LIBS
14631 if ${ac_cv_lib_soname_freetype:+false} :; then :
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14633 $as_echo "not found" >&6; }
14634 FREETYPE_LIBS=""
14635 else
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14637 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14639 cat >>confdefs.h <<_ACEOF
14640 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14641 _ACEOF
14644 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14646 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14647 #include FT_MODULE_H
14649 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14651 cat >>confdefs.h <<_ACEOF
14652 #define HAVE_FT_TRUETYPEENGINETYPE 1
14653 _ACEOF
14659 else
14660 FREETYPE_CFLAGS=""
14661 FREETYPE_LIBS=""
14663 CPPFLAGS=$ac_save_CPPFLAGS
14664 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14665 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14668 if test "x$ac_cv_lib_soname_freetype" = x; then :
14669 case "x$with_freetype" in
14670 xno) ;;
14671 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14672 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14673 esac
14674 enable_fonts=${enable_fonts:-no}
14677 ac_wine_check_funcs_save_LIBS="$LIBS"
14678 LIBS="$LIBS $PTHREAD_LIBS"
14679 for ac_func in \
14680 pthread_getthreadid_np
14681 do :
14682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14685 cat >>confdefs.h <<_ACEOF
14686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14687 _ACEOF
14690 done
14692 LIBS="$ac_wine_check_funcs_save_LIBS"
14694 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14695 then
14696 if test "$ac_cv_header_gettext_po_h" = "yes"
14697 then
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14699 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14700 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 ac_check_lib_save_LIBS=$LIBS
14704 LIBS="-lgettextpo $LIBS"
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14708 /* Override any GCC internal prototype to avoid an error.
14709 Use char because int might match the return type of a GCC
14710 builtin and then its argument prototype would still apply. */
14711 #ifdef __cplusplus
14712 extern "C"
14713 #endif
14714 char po_message_msgctxt ();
14716 main ()
14718 return po_message_msgctxt ();
14720 return 0;
14722 _ACEOF
14723 if ac_fn_c_try_link "$LINENO"; then :
14724 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14725 else
14726 ac_cv_lib_gettextpo_po_message_msgctxt=no
14728 rm -f core conftest.err conftest.$ac_objext \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_lib_save_LIBS
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14733 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14734 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14736 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14738 GETTEXTPO_LIBS="-lgettextpo"
14743 if test "x$GETTEXTPO_LIBS" = "x"; then :
14744 case "x$with_gettextpo" in
14745 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14746 xno) ;;
14747 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14748 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14749 esac
14752 if test "$srcdir" != .; then :
14753 case "x$with_gettextpo" in
14754 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14755 xno) ;;
14756 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14757 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14758 esac
14763 if test "x$with_pulse" != "xno";
14764 then
14765 if ${PULSE_CFLAGS:+false} :; then :
14766 if ${PKG_CONFIG+:} false; then :
14767 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14771 if ${PULSE_LIBS:+false} :; then :
14772 if ${PKG_CONFIG+:} false; then :
14773 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14778 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14779 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14780 ac_save_CPPFLAGS=$CPPFLAGS
14781 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14782 for ac_header in pulse/pulseaudio.h
14783 do :
14784 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14785 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14786 cat >>confdefs.h <<_ACEOF
14787 #define HAVE_PULSE_PULSEAUDIO_H 1
14788 _ACEOF
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14790 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14791 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14792 $as_echo_n "(cached) " >&6
14793 else
14794 ac_check_lib_save_LIBS=$LIBS
14795 LIBS="-lpulse $PULSE_LIBS $LIBS"
14796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14799 /* Override any GCC internal prototype to avoid an error.
14800 Use char because int might match the return type of a GCC
14801 builtin and then its argument prototype would still apply. */
14802 #ifdef __cplusplus
14803 extern "C"
14804 #endif
14805 char pa_stream_is_corked ();
14807 main ()
14809 return pa_stream_is_corked ();
14811 return 0;
14813 _ACEOF
14814 if ac_fn_c_try_link "$LINENO"; then :
14815 ac_cv_lib_pulse_pa_stream_is_corked=yes
14816 else
14817 ac_cv_lib_pulse_pa_stream_is_corked=no
14819 rm -f core conftest.err conftest.$ac_objext \
14820 conftest$ac_exeext conftest.$ac_ext
14821 LIBS=$ac_check_lib_save_LIBS
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14824 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14825 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14827 else
14828 PULSE_LIBS=""
14831 else
14832 PULSE_LIBS=""
14835 done
14837 CPPFLAGS=$ac_save_CPPFLAGS
14838 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14839 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14842 if test -z "$PULSE_LIBS"; then :
14843 case "x$with_pulse" in
14844 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14845 xno) ;;
14846 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14847 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14848 esac
14849 enable_winepulse_drv=${enable_winepulse_drv:-no}
14852 if test "x$with_gstreamer" != "xno"
14853 then
14854 if ${GSTREAMER_CFLAGS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14860 if ${GSTREAMER_LIBS:+false} :; then :
14861 if ${PKG_CONFIG+:} false; then :
14862 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14867 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14868 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14869 ac_save_CPPFLAGS=$CPPFLAGS
14870 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14871 ac_gst_incl=""
14872 for i in $GSTREAMER_CFLAGS
14874 case "$i" in
14875 -I*) ac_gst_incl="$ac_gst_incl $i";;
14876 esac
14877 done
14878 GSTREAMER_CFLAGS=$ac_gst_incl
14879 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14880 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14881 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14883 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 #include <gst/gst.h>
14888 main ()
14890 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_compile "$LINENO"; then :
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14897 $as_echo "yes" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14899 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14900 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_check_lib_save_LIBS=$LIBS
14904 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14908 /* Override any GCC internal prototype to avoid an error.
14909 Use char because int might match the return type of a GCC
14910 builtin and then its argument prototype would still apply. */
14911 #ifdef __cplusplus
14912 extern "C"
14913 #endif
14914 char gst_pad_new ();
14916 main ()
14918 return gst_pad_new ();
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_link "$LINENO"; then :
14924 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14925 else
14926 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14928 rm -f core conftest.err conftest.$ac_objext \
14929 conftest$ac_exeext conftest.$ac_ext
14930 LIBS=$ac_check_lib_save_LIBS
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14933 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14934 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14938 else
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14940 $as_echo "no" >&6; }
14941 ac_glib2_broken=yes
14942 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14948 CPPFLAGS=$ac_save_CPPFLAGS
14949 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14950 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14953 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 :
14954 case "x$with_gstreamer" in
14955 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14956 xno) ;;
14957 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14958 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14959 esac
14962 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14964 ALSA_LIBS=""
14966 if test "x$with_alsa" != "xno"
14967 then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14969 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14970 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_check_lib_save_LIBS=$LIBS
14974 LIBS="-lasound $LIBS"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14981 #ifdef __cplusplus
14982 extern "C"
14983 #endif
14984 char snd_pcm_hw_params_get_access_mask ();
14986 main ()
14988 return snd_pcm_hw_params_get_access_mask ();
14990 return 0;
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14995 else
14996 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15003 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15004 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #include <alsa/asoundlib.h>
15009 main ()
15011 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15013 return 0;
15015 _ACEOF
15016 if ac_fn_c_try_compile "$LINENO"; then :
15017 ALSA_LIBS="-lasound"
15019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15023 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15025 if test "x$with_oss" != xno
15026 then
15027 ac_save_CPPFLAGS="$CPPFLAGS"
15028 if test -f /etc/oss.conf
15029 then
15030 . /etc/oss.conf
15032 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15033 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15034 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15035 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15036 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15038 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15040 cat >>confdefs.h <<_ACEOF
15041 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15042 _ACEOF
15044 OSS4_CFLAGS="$ac_oss_incl"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15047 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15048 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_check_lib_save_LIBS=$LIBS
15052 LIBS="-lossaudio $LIBS"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 #ifdef __cplusplus
15060 extern "C"
15061 #endif
15062 char _oss_ioctl ();
15064 main ()
15066 return _oss_ioctl ();
15068 return 0;
15070 _ACEOF
15071 if ac_fn_c_try_link "$LINENO"; then :
15072 ac_cv_lib_ossaudio__oss_ioctl=yes
15073 else
15074 ac_cv_lib_ossaudio__oss_ioctl=no
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_lib_save_LIBS
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15081 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15082 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15083 OSS4_LIBS="-lossaudio"
15092 CPPFLAGS="$ac_save_CPPFLAGS"
15094 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15095 case "x$with_oss" in
15096 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15097 xno) ;;
15098 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15099 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15100 esac
15101 enable_wineoss_drv=${enable_wineoss_drv:-no}
15104 if test "x$with_udev" != "xno"
15105 then
15106 if ${UDEV_CFLAGS:+false} :; then :
15107 if ${PKG_CONFIG+:} false; then :
15108 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15112 if ${UDEV_LIBS:+false} :; then :
15113 if ${PKG_CONFIG+:} false; then :
15114 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15118 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15119 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15120 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15121 ac_save_CPPFLAGS=$CPPFLAGS
15122 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15123 for ac_header in libudev.h
15124 do :
15125 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15126 if test "x$ac_cv_header_libudev_h" = xyes; then :
15127 cat >>confdefs.h <<_ACEOF
15128 #define HAVE_LIBUDEV_H 1
15129 _ACEOF
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15131 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15132 if ${ac_cv_lib_udev_udev_new+:} false; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_check_lib_save_LIBS=$LIBS
15136 LIBS="-ludev $UDEV_LIBS $LIBS"
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15140 /* Override any GCC internal prototype to avoid an error.
15141 Use char because int might match the return type of a GCC
15142 builtin and then its argument prototype would still apply. */
15143 #ifdef __cplusplus
15144 extern "C"
15145 #endif
15146 char udev_new ();
15148 main ()
15150 return udev_new ();
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 ac_cv_lib_udev_udev_new=yes
15157 else
15158 ac_cv_lib_udev_udev_new=no
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_lib_save_LIBS
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15165 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15166 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15168 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15170 else
15171 UDEV_LIBS=""
15174 else
15175 UDEV_LIBS=""
15178 done
15180 CPPFLAGS=$ac_save_CPPFLAGS
15181 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15182 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15185 if test "x$UDEV_LIBS" = "x"; then :
15186 case "x$with_udev" in
15187 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15188 xno) ;;
15189 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15190 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15191 esac
15195 if test "x$with_unwind" != xno
15196 then
15197 if ${UNWIND_CFLAGS:+false} :; then :
15198 if ${PKG_CONFIG+:} false; then :
15199 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15203 if ${UNWIND_LIBS:+false} :; then :
15204 if ${PKG_CONFIG+:} false; then :
15205 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15209 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15210 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15211 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15212 ac_save_CPPFLAGS=$CPPFLAGS
15213 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15215 $as_echo_n "checking for unw_step... " >&6; }
15216 if ${wine_cv_have_unw_step+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 #define UNW_LOCAL_ONLY
15222 #include <libunwind.h>
15224 main ()
15226 unw_cursor_t cursor; unw_step( &cursor );
15228 return 0;
15230 _ACEOF
15231 if ac_fn_c_try_link "$LINENO"; then :
15232 wine_cv_have_unw_step="yes"
15233 else
15234 wine_cv_have_unw_step="no"
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15240 $as_echo "$wine_cv_have_unw_step" >&6; }
15241 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15242 then
15243 save_libs=$LIBS
15244 LIBS="$UNWIND_LIBS $LIBS"
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15246 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15247 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15248 $as_echo_n "(cached) " >&6
15249 else
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15252 #define UNW_LOCAL_ONLY
15253 #include <libunwind.h>
15255 main ()
15257 unw_cursor_t cursor; unw_step( &cursor );
15259 return 0;
15261 _ACEOF
15262 if ac_fn_c_try_link "$LINENO"; then :
15263 wine_cv_have_libunwind_unw_step="yes"
15264 else
15265 wine_cv_have_libunwind_unw_step="no"
15267 rm -f core conftest.err conftest.$ac_objext \
15268 conftest$ac_exeext conftest.$ac_ext
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15271 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15272 LIBS=$save_libs
15274 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15275 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15276 then
15278 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15281 CPPFLAGS=$ac_save_CPPFLAGS
15282 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15283 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15286 case $host in
15287 aarch64*|*-darwin*)
15288 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15289 case "x$with_unwind" in
15290 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15291 xno) ;;
15292 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15293 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15294 esac
15296 fi ;;
15297 esac
15299 if test "x$with_sdl" != "xno"
15300 then
15301 if ${SDL2_CFLAGS:+false} :; then :
15302 if ${PKG_CONFIG+:} false; then :
15303 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15307 if ${SDL2_LIBS:+false} :; then :
15308 if ${PKG_CONFIG+:} false; then :
15309 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15313 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15314 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15315 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15316 ac_save_CPPFLAGS=$CPPFLAGS
15317 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15318 for ac_header in SDL2/SDL.h
15319 do :
15320 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15321 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_SDL2_SDL_H 1
15324 _ACEOF
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15326 $as_echo_n "checking for -lSDL2... " >&6; }
15327 if ${ac_cv_lib_soname_SDL2+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 ac_check_soname_save_LIBS=$LIBS
15331 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15335 /* Override any GCC internal prototype to avoid an error.
15336 Use char because int might match the return type of a GCC
15337 builtin and then its argument prototype would still apply. */
15338 #ifdef __cplusplus
15339 extern "C"
15340 #endif
15341 char SDL_Init ();
15343 main ()
15345 return SDL_Init ();
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_link "$LINENO"; then :
15351 case "$LIBEXT" in
15352 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15353 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'` ;;
15354 *) 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'`
15355 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15356 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15357 fi ;;
15358 esac
15359 else
15360 ac_cv_lib_soname_SDL2=
15362 rm -f core conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15364 LIBS=$ac_check_soname_save_LIBS
15366 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15368 $as_echo "not found" >&6; }
15370 else
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15372 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15374 cat >>confdefs.h <<_ACEOF
15375 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15376 _ACEOF
15382 done
15384 CPPFLAGS=$ac_save_CPPFLAGS
15385 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15386 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15389 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15390 case "x$with_sdl" in
15391 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15392 xno) ;;
15393 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15394 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15395 esac
15399 if test "x$with_faudio" != "xno"
15400 then
15401 if ${FAUDIO_CFLAGS:+false} :; then :
15402 if ${PKG_CONFIG+:} false; then :
15403 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15407 if ${FAUDIO_LIBS:+false} :; then :
15408 if ${PKG_CONFIG+:} false; then :
15409 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15413 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15414 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15415 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15416 ac_save_CPPFLAGS=$CPPFLAGS
15417 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15418 for ac_header in FAudio.h
15419 do :
15420 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15421 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15422 cat >>confdefs.h <<_ACEOF
15423 #define HAVE_FAUDIO_H 1
15424 _ACEOF
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15426 $as_echo_n "checking for -lFAudio... " >&6; }
15427 if ${ac_cv_lib_soname_FAudio+:} false; then :
15428 $as_echo_n "(cached) " >&6
15429 else
15430 ac_check_soname_save_LIBS=$LIBS
15431 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15435 /* Override any GCC internal prototype to avoid an error.
15436 Use char because int might match the return type of a GCC
15437 builtin and then its argument prototype would still apply. */
15438 #ifdef __cplusplus
15439 extern "C"
15440 #endif
15441 char FAudioCreate ();
15443 main ()
15445 return FAudioCreate ();
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"; then :
15451 case "$LIBEXT" in
15452 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15453 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'` ;;
15454 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15455 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15456 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15457 fi ;;
15458 esac
15459 else
15460 ac_cv_lib_soname_FAudio=
15462 rm -f core conftest.err conftest.$ac_objext \
15463 conftest$ac_exeext conftest.$ac_ext
15464 LIBS=$ac_check_soname_save_LIBS
15466 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15468 $as_echo "not found" >&6; }
15470 else
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15472 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15474 cat >>confdefs.h <<_ACEOF
15475 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15476 _ACEOF
15482 done
15484 ac_wine_check_funcs_save_LIBS="$LIBS"
15485 LIBS="$LIBS $FAUDIO_LIBS"
15486 for ac_func in FAudio_CommitOperationSet \
15487 F3DAudioInitialize8 \
15488 FAudioLinkedVersion
15489 do :
15490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15493 cat >>confdefs.h <<_ACEOF
15494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15495 _ACEOF
15498 done
15500 LIBS="$ac_wine_check_funcs_save_LIBS"
15502 CPPFLAGS=$ac_save_CPPFLAGS
15503 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15504 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15507 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15508 case "x$with_faudio" in
15509 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15510 xno) ;;
15511 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15512 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15513 esac
15517 if test "x$with_capi" != "xno"
15518 then
15519 if ${CAPI20_CFLAGS:+false} :; then :
15520 if ${PKG_CONFIG+:} false; then :
15521 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15525 if ${CAPI20_LIBS:+false} :; then :
15526 if ${PKG_CONFIG+:} false; then :
15527 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15532 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15533 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15534 ac_save_CPPFLAGS=$CPPFLAGS
15535 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15536 for ac_header in capi20.h linux/capi.h
15537 do :
15538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15539 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15542 cat >>confdefs.h <<_ACEOF
15543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15544 _ACEOF
15548 done
15550 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15551 then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15553 $as_echo_n "checking for -lcapi20... " >&6; }
15554 if ${ac_cv_lib_soname_capi20+:} false; then :
15555 $as_echo_n "(cached) " >&6
15556 else
15557 ac_check_soname_save_LIBS=$LIBS
15558 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15562 /* Override any GCC internal prototype to avoid an error.
15563 Use char because int might match the return type of a GCC
15564 builtin and then its argument prototype would still apply. */
15565 #ifdef __cplusplus
15566 extern "C"
15567 #endif
15568 char capi20_register ();
15570 main ()
15572 return capi20_register ();
15574 return 0;
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"; then :
15578 case "$LIBEXT" in
15579 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15580 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'` ;;
15581 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15582 if ${ac_cv_lib_soname_capi20:+false} :; then :
15583 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15584 fi ;;
15585 esac
15586 else
15587 ac_cv_lib_soname_capi20=
15589 rm -f core conftest.err conftest.$ac_objext \
15590 conftest$ac_exeext conftest.$ac_ext
15591 LIBS=$ac_check_soname_save_LIBS
15593 if ${ac_cv_lib_soname_capi20:+false} :; then :
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15595 $as_echo "not found" >&6; }
15597 else
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15599 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15601 cat >>confdefs.h <<_ACEOF
15602 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15603 _ACEOF
15608 CPPFLAGS=$ac_save_CPPFLAGS
15609 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15610 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15613 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15614 case "x$with_capi" in
15615 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15616 xno) ;;
15617 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15618 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15619 esac
15623 if test "x$with_cups" != "xno"
15624 then
15625 if ${CUPS_CFLAGS:+false} :; then :
15626 if ${PKG_CONFIG+:} false; then :
15627 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15630 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15631 if ${CUPS_LIBS:+false} :; then :
15632 if ${PKG_CONFIG+:} false; then :
15633 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15636 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15637 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15638 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15639 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15640 ac_save_CPPFLAGS=$CPPFLAGS
15641 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15642 for ac_header in cups/cups.h cups/ppd.h
15643 do :
15644 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15645 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15649 _ACEOF
15653 done
15655 if test "$ac_cv_header_cups_cups_h" = "yes"
15656 then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15658 $as_echo_n "checking for -lcups... " >&6; }
15659 if ${ac_cv_lib_soname_cups+:} false; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 ac_check_soname_save_LIBS=$LIBS
15663 LIBS="-lcups $CUPS_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 cupsGetDefault ();
15675 main ()
15677 return cupsGetDefault ();
15679 return 0;
15681 _ACEOF
15682 if ac_fn_c_try_link "$LINENO"; then :
15683 case "$LIBEXT" in
15684 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15685 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'` ;;
15686 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15687 if ${ac_cv_lib_soname_cups:+false} :; then :
15688 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15689 fi ;;
15690 esac
15691 else
15692 ac_cv_lib_soname_cups=
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_cups:+false} :; then :
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 $as_echo "not found" >&6; }
15701 CUPS_LIBS=""
15702 else
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15704 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15706 cat >>confdefs.h <<_ACEOF
15707 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15708 _ACEOF
15712 else
15713 CUPS_CFLAGS=""
15714 CUPS_LIBS=""
15716 CPPFLAGS=$ac_save_CPPFLAGS
15717 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15718 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15721 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15722 case "x$with_cups" in
15723 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15724 xno) ;;
15725 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15726 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15727 esac
15731 if test "x$with_fontconfig" != "xno"
15732 then
15733 if ${FONTCONFIG_CFLAGS:+false} :; then :
15734 if ${PKG_CONFIG+:} false; then :
15735 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15738 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15739 if ${FONTCONFIG_LIBS:+false} :; then :
15740 if ${PKG_CONFIG+:} false; then :
15741 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15744 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15746 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15747 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15748 ac_save_CPPFLAGS=$CPPFLAGS
15749 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15750 for ac_header in fontconfig/fontconfig.h
15751 do :
15752 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15753 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15756 _ACEOF
15760 done
15762 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15763 then
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15765 $as_echo_n "checking for -lfontconfig... " >&6; }
15766 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15767 $as_echo_n "(cached) " >&6
15768 else
15769 ac_check_soname_save_LIBS=$LIBS
15770 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 #ifdef __cplusplus
15778 extern "C"
15779 #endif
15780 char FcInit ();
15782 main ()
15784 return FcInit ();
15786 return 0;
15788 _ACEOF
15789 if ac_fn_c_try_link "$LINENO"; then :
15790 case "$LIBEXT" in
15791 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15792 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'` ;;
15793 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15794 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15795 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15796 fi ;;
15797 esac
15798 else
15799 ac_cv_lib_soname_fontconfig=
15801 rm -f core conftest.err conftest.$ac_objext \
15802 conftest$ac_exeext conftest.$ac_ext
15803 LIBS=$ac_check_soname_save_LIBS
15805 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15807 $as_echo "not found" >&6; }
15808 FONTCONFIG_CFLAGS=""
15809 else
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15811 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15813 cat >>confdefs.h <<_ACEOF
15814 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15815 _ACEOF
15819 else
15820 FONTCONFIG_CFLAGS=""
15822 CPPFLAGS=$ac_save_CPPFLAGS
15823 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15824 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15827 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15828 case "x$with_fontconfig" in
15829 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15830 xno) ;;
15831 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15832 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15833 esac
15837 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15838 then
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15840 $as_echo_n "checking for -lgsm... " >&6; }
15841 if ${ac_cv_lib_soname_gsm+:} false; then :
15842 $as_echo_n "(cached) " >&6
15843 else
15844 ac_check_soname_save_LIBS=$LIBS
15845 LIBS="-lgsm $LIBS"
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15849 /* Override any GCC internal prototype to avoid an error.
15850 Use char because int might match the return type of a GCC
15851 builtin and then its argument prototype would still apply. */
15852 #ifdef __cplusplus
15853 extern "C"
15854 #endif
15855 char gsm_create ();
15857 main ()
15859 return gsm_create ();
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_link "$LINENO"; then :
15865 case "$LIBEXT" in
15866 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15867 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'` ;;
15868 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15869 if ${ac_cv_lib_soname_gsm:+false} :; then :
15870 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15871 fi ;;
15872 esac
15873 else
15874 ac_cv_lib_soname_gsm=
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_soname_save_LIBS
15880 if ${ac_cv_lib_soname_gsm:+false} :; then :
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15882 $as_echo "not found" >&6; }
15884 else
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15886 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15888 cat >>confdefs.h <<_ACEOF
15889 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15890 _ACEOF
15895 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15896 case "x$with_gsm" in
15897 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15898 xno) ;;
15899 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15900 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15901 esac
15905 if test "x$with_krb5" != "xno"
15906 then
15907 if ${KRB5_CFLAGS:+false} :; then :
15908 if ${PKG_CONFIG+:} false; then :
15909 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15912 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15913 if ${KRB5_LIBS:+false} :; then :
15914 if ${PKG_CONFIG+:} false; then :
15915 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15918 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15920 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15921 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15922 ac_save_CPPFLAGS=$CPPFLAGS
15923 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15924 for ac_header in krb5/krb5.h
15925 do :
15926 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15927 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_KRB5_KRB5_H 1
15930 _ACEOF
15934 done
15936 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15937 then
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15939 $as_echo_n "checking for -lkrb5... " >&6; }
15940 if ${ac_cv_lib_soname_krb5+:} false; then :
15941 $as_echo_n "(cached) " >&6
15942 else
15943 ac_check_soname_save_LIBS=$LIBS
15944 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15948 /* Override any GCC internal prototype to avoid an error.
15949 Use char because int might match the return type of a GCC
15950 builtin and then its argument prototype would still apply. */
15951 #ifdef __cplusplus
15952 extern "C"
15953 #endif
15954 char krb5_is_config_principal ();
15956 main ()
15958 return krb5_is_config_principal ();
15960 return 0;
15962 _ACEOF
15963 if ac_fn_c_try_link "$LINENO"; then :
15964 case "$LIBEXT" in
15965 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15966 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'` ;;
15967 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15968 if ${ac_cv_lib_soname_krb5:+false} :; then :
15969 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15970 fi ;;
15971 esac
15972 else
15973 ac_cv_lib_soname_krb5=
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 LIBS=$ac_check_soname_save_LIBS
15979 if ${ac_cv_lib_soname_krb5:+false} :; then :
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15981 $as_echo "not found" >&6; }
15982 KRB5_CFLAGS=""
15983 else
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15985 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15987 cat >>confdefs.h <<_ACEOF
15988 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15989 _ACEOF
15993 else
15994 KRB5_CFLAGS=""
15996 CPPFLAGS=$ac_save_CPPFLAGS
15997 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15998 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16001 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16002 case "x$with_krb5" in
16003 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16004 xno) ;;
16005 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16006 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16007 esac
16010 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16012 if test "x$with_gssapi" != "xno"
16013 then
16014 if ${GSSAPI_CFLAGS:+false} :; then :
16015 if ${PKG_CONFIG+:} false; then :
16016 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16019 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16020 if ${GSSAPI_LIBS:+false} :; then :
16021 if ${PKG_CONFIG+:} false; then :
16022 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16025 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16027 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16028 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16029 ac_save_CPPFLAGS=$CPPFLAGS
16030 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16031 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16032 do :
16033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16038 _ACEOF
16042 done
16044 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16045 then
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16047 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16048 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 ac_check_soname_save_LIBS=$LIBS
16052 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16056 /* Override any GCC internal prototype to avoid an error.
16057 Use char because int might match the return type of a GCC
16058 builtin and then its argument prototype would still apply. */
16059 #ifdef __cplusplus
16060 extern "C"
16061 #endif
16062 char gss_init_sec_context ();
16064 main ()
16066 return gss_init_sec_context ();
16068 return 0;
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"; then :
16072 case "$LIBEXT" in
16073 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16074 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'` ;;
16075 *) 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'`
16076 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16077 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16078 fi ;;
16079 esac
16080 else
16081 ac_cv_lib_soname_gssapi_krb5=
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_soname_save_LIBS
16087 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16089 $as_echo "not found" >&6; }
16090 GSSAPI_CFLAGS=""
16091 else
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16093 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16097 _ACEOF
16101 else
16102 GSSAPI_CFLAGS=""
16104 CPPFLAGS=$ac_save_CPPFLAGS
16105 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16106 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16109 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16110 case "x$with_gssapi" in
16111 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16112 xno) ;;
16113 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16114 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16115 esac
16119 if test "x$with_jpeg" != "xno"
16120 then
16121 if ${JPEG_CFLAGS:+false} :; then :
16122 if ${PKG_CONFIG+:} false; then :
16123 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16127 if ${JPEG_LIBS:+false} :; then :
16128 if ${PKG_CONFIG+:} false; then :
16129 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16134 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16135 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16136 ac_save_CPPFLAGS=$CPPFLAGS
16137 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16138 for ac_header in jpeglib.h
16139 do :
16140 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16141 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_JPEGLIB_H 1
16144 _ACEOF
16148 done
16150 if test "$ac_cv_header_jpeglib_h" = "yes"
16151 then
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16153 $as_echo_n "checking for -ljpeg... " >&6; }
16154 if ${ac_cv_lib_soname_jpeg+:} false; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 ac_check_soname_save_LIBS=$LIBS
16158 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16162 /* Override any GCC internal prototype to avoid an error.
16163 Use char because int might match the return type of a GCC
16164 builtin and then its argument prototype would still apply. */
16165 #ifdef __cplusplus
16166 extern "C"
16167 #endif
16168 char jpeg_start_decompress ();
16170 main ()
16172 return jpeg_start_decompress ();
16174 return 0;
16176 _ACEOF
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 case "$LIBEXT" in
16179 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16180 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'` ;;
16181 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16182 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16183 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16184 fi ;;
16185 esac
16186 else
16187 ac_cv_lib_soname_jpeg=
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext conftest.$ac_ext
16191 LIBS=$ac_check_soname_save_LIBS
16193 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16195 $as_echo "not found" >&6; }
16196 JPEG_CFLAGS=""
16197 else
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16199 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16201 cat >>confdefs.h <<_ACEOF
16202 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16203 _ACEOF
16207 else
16208 JPEG_CFLAGS=""
16210 CPPFLAGS=$ac_save_CPPFLAGS
16211 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16212 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16215 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16216 case "x$with_jpeg" in
16217 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16218 xno) ;;
16219 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16220 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16221 esac
16225 if test "x$with_png" != "xno"
16226 then
16227 if ${PNG_CFLAGS:+false} :; then :
16228 if ${PKG_CONFIG+:} false; then :
16229 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16232 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16233 if ${PNG_LIBS:+false} :; then :
16234 if ${PKG_CONFIG+:} false; then :
16235 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16238 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16240 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16241 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16242 ac_save_CPPFLAGS=$CPPFLAGS
16243 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16244 for ac_header in png.h
16245 do :
16246 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16247 if test "x$ac_cv_header_png_h" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_PNG_H 1
16250 _ACEOF
16254 done
16256 if test "$ac_cv_header_png_h" = "yes"
16257 then
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16259 $as_echo_n "checking for -lpng... " >&6; }
16260 if ${ac_cv_lib_soname_png+:} false; then :
16261 $as_echo_n "(cached) " >&6
16262 else
16263 ac_check_soname_save_LIBS=$LIBS
16264 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16268 /* Override any GCC internal prototype to avoid an error.
16269 Use char because int might match the return type of a GCC
16270 builtin and then its argument prototype would still apply. */
16271 #ifdef __cplusplus
16272 extern "C"
16273 #endif
16274 char png_create_read_struct ();
16276 main ()
16278 return png_create_read_struct ();
16280 return 0;
16282 _ACEOF
16283 if ac_fn_c_try_link "$LINENO"; then :
16284 case "$LIBEXT" in
16285 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16286 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'` ;;
16287 *) 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'`
16288 if ${ac_cv_lib_soname_png:+false} :; then :
16289 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16290 fi ;;
16291 esac
16292 else
16293 ac_cv_lib_soname_png=
16295 rm -f core conftest.err conftest.$ac_objext \
16296 conftest$ac_exeext conftest.$ac_ext
16297 LIBS=$ac_check_soname_save_LIBS
16299 if ${ac_cv_lib_soname_png:+false} :; then :
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16301 $as_echo "not found" >&6; }
16302 PNG_CFLAGS=""
16303 else
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16305 $as_echo "$ac_cv_lib_soname_png" >&6; }
16307 cat >>confdefs.h <<_ACEOF
16308 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16309 _ACEOF
16313 else
16314 PNG_CFLAGS=""
16316 CPPFLAGS=$ac_save_CPPFLAGS
16317 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16318 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16321 if test "x$ac_cv_lib_soname_png" = "x"; then :
16322 case "x$with_png" in
16323 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16324 xno) ;;
16325 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16326 This is an error since --with-png was requested." "$LINENO" 5 ;;
16327 esac
16331 if test "x$with_tiff" != "xno"
16332 then
16333 if ${TIFF_CFLAGS:+false} :; then :
16334 if ${PKG_CONFIG+:} false; then :
16335 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16339 if ${TIFF_LIBS:+false} :; then :
16340 if ${PKG_CONFIG+:} false; then :
16341 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16346 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16347 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16348 ac_save_CPPFLAGS=$CPPFLAGS
16349 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16350 for ac_header in tiffio.h
16351 do :
16352 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_TIFFIO_H 1
16356 _ACEOF
16360 done
16362 if test "$ac_cv_header_tiffio_h" = "yes"
16363 then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16365 $as_echo_n "checking for -ltiff... " >&6; }
16366 if ${ac_cv_lib_soname_tiff+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 ac_check_soname_save_LIBS=$LIBS
16370 LIBS="-ltiff $TIFF_LIBS $LIBS"
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 #ifdef __cplusplus
16378 extern "C"
16379 #endif
16380 char TIFFClientOpen ();
16382 main ()
16384 return TIFFClientOpen ();
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 case "$LIBEXT" in
16391 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16392 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'` ;;
16393 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16394 if ${ac_cv_lib_soname_tiff:+false} :; then :
16395 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16396 fi ;;
16397 esac
16398 else
16399 ac_cv_lib_soname_tiff=
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_soname_save_LIBS
16405 if ${ac_cv_lib_soname_tiff:+false} :; then :
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16407 $as_echo "not found" >&6; }
16409 else
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16411 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16413 cat >>confdefs.h <<_ACEOF
16414 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16415 _ACEOF
16420 CPPFLAGS=$ac_save_CPPFLAGS
16421 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16422 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16425 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16426 case "x$with_tiff" in
16427 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16428 xno) ;;
16429 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16430 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16431 esac
16435 if test "x$with_mpg123" != "xno"
16436 then
16437 if ${MPG123_CFLAGS:+false} :; then :
16438 if ${PKG_CONFIG+:} false; then :
16439 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16443 if ${MPG123_LIBS:+false} :; then :
16444 if ${PKG_CONFIG+:} false; then :
16445 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16449 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16450 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16451 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16452 ac_save_CPPFLAGS=$CPPFLAGS
16453 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16454 for ac_header in mpg123.h
16455 do :
16456 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16457 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_MPG123_H 1
16460 _ACEOF
16464 done
16466 if test "$ac_cv_header_mpg123_h" = "yes"
16467 then
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16469 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16470 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16471 $as_echo_n "(cached) " >&6
16472 else
16473 ac_check_lib_save_LIBS=$LIBS
16474 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16478 /* Override any GCC internal prototype to avoid an error.
16479 Use char because int might match the return type of a GCC
16480 builtin and then its argument prototype would still apply. */
16481 #ifdef __cplusplus
16482 extern "C"
16483 #endif
16484 char mpg123_feed ();
16486 main ()
16488 return mpg123_feed ();
16490 return 0;
16492 _ACEOF
16493 if ac_fn_c_try_link "$LINENO"; then :
16494 ac_cv_lib_mpg123_mpg123_feed=yes
16495 else
16496 ac_cv_lib_mpg123_mpg123_feed=no
16498 rm -f core conftest.err conftest.$ac_objext \
16499 conftest$ac_exeext conftest.$ac_ext
16500 LIBS=$ac_check_lib_save_LIBS
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16503 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16504 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16506 else
16507 MPG123_LIBS=""
16510 else
16511 MPG123_CFLAGS=""
16512 MPG123_LIBS=""
16514 CPPFLAGS=$ac_save_CPPFLAGS
16515 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16516 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16519 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16520 case "x$with_mpg123" in
16521 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16522 xno) ;;
16523 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16524 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16525 esac
16526 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16528 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16530 if test "$ac_cv_header_AL_al_h" = "yes"
16531 then
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16533 $as_echo_n "checking for -lopenal... " >&6; }
16534 if ${ac_cv_lib_soname_openal+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 ac_check_soname_save_LIBS=$LIBS
16538 LIBS="-lopenal $LIBS"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 #ifdef __cplusplus
16546 extern "C"
16547 #endif
16548 char alGetSource3i ();
16550 main ()
16552 return alGetSource3i ();
16554 return 0;
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 case "$LIBEXT" in
16559 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16560 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'` ;;
16561 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16562 if ${ac_cv_lib_soname_openal:+false} :; then :
16563 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16564 fi ;;
16565 esac
16566 else
16567 ac_cv_lib_soname_openal=
16569 rm -f core conftest.err conftest.$ac_objext \
16570 conftest$ac_exeext conftest.$ac_ext
16571 LIBS=$ac_check_soname_save_LIBS
16573 if ${ac_cv_lib_soname_openal:+false} :; then :
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16575 $as_echo "not found" >&6; }
16577 else
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16579 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16581 cat >>confdefs.h <<_ACEOF
16582 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16583 _ACEOF
16585 OPENAL_LIBS="-lopenal"
16587 ac_cv_lib_openal=yes
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_OPENAL 1
16591 _ACEOF
16595 if test "x$ac_cv_lib_openal" != xyes; then :
16596 case "x$with_openal" in
16597 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16598 xno) ;;
16599 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16600 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16601 esac
16602 enable_openal32=${enable_openal32:-no}
16605 if test "x$ac_cv_lib_soname_FAudio" = "x"
16606 then
16607 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16608 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16609 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16610 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16611 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16612 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16613 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16614 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16615 enable_xapofx1_1=${enable_xapofx1_1:-no}
16616 enable_xapofx1_2=${enable_xapofx1_2:-no}
16617 enable_xapofx1_3=${enable_xapofx1_3:-no}
16618 enable_xapofx1_4=${enable_xapofx1_4:-no}
16619 enable_xapofx1_5=${enable_xapofx1_5:-no}
16620 enable_xaudio2_0=${enable_xaudio2_0:-no}
16621 enable_xaudio2_1=${enable_xaudio2_1:-no}
16622 enable_xaudio2_2=${enable_xaudio2_2:-no}
16623 enable_xaudio2_3=${enable_xaudio2_3:-no}
16624 enable_xaudio2_4=${enable_xaudio2_4:-no}
16625 enable_xaudio2_5=${enable_xaudio2_5:-no}
16626 enable_xaudio2_6=${enable_xaudio2_6:-no}
16627 enable_xaudio2_7=${enable_xaudio2_7:-no}
16628 enable_xaudio2_8=${enable_xaudio2_8:-no}
16629 enable_xaudio2_9=${enable_xaudio2_9:-no}
16632 if test "$ac_cv_header_kstat_h" = "yes"
16633 then
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16635 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16636 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16637 $as_echo_n "(cached) " >&6
16638 else
16639 ac_check_lib_save_LIBS=$LIBS
16640 LIBS="-lkstat $LIBS"
16641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16642 /* end confdefs.h. */
16644 /* Override any GCC internal prototype to avoid an error.
16645 Use char because int might match the return type of a GCC
16646 builtin and then its argument prototype would still apply. */
16647 #ifdef __cplusplus
16648 extern "C"
16649 #endif
16650 char kstat_open ();
16652 main ()
16654 return kstat_open ();
16656 return 0;
16658 _ACEOF
16659 if ac_fn_c_try_link "$LINENO"; then :
16660 ac_cv_lib_kstat_kstat_open=yes
16661 else
16662 ac_cv_lib_kstat_kstat_open=no
16664 rm -f core conftest.err conftest.$ac_objext \
16665 conftest$ac_exeext conftest.$ac_ext
16666 LIBS=$ac_check_lib_save_LIBS
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16669 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16670 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16672 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16674 KSTAT_LIBS="-lkstat"
16680 if test "$ac_cv_header_libprocstat_h" = "yes"
16681 then
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16683 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16684 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 ac_check_lib_save_LIBS=$LIBS
16688 LIBS="-lprocstat $LIBS"
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16692 /* Override any GCC internal prototype to avoid an error.
16693 Use char because int might match the return type of a GCC
16694 builtin and then its argument prototype would still apply. */
16695 #ifdef __cplusplus
16696 extern "C"
16697 #endif
16698 char procstat_open_sysctl ();
16700 main ()
16702 return procstat_open_sysctl ();
16704 return 0;
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 ac_cv_lib_procstat_procstat_open_sysctl=yes
16709 else
16710 ac_cv_lib_procstat_procstat_open_sysctl=no
16712 rm -f core conftest.err conftest.$ac_objext \
16713 conftest$ac_exeext conftest.$ac_ext
16714 LIBS=$ac_check_lib_save_LIBS
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16717 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16718 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16720 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16722 PROCSTAT_LIBS="-lprocstat"
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16729 $as_echo_n "checking for -lodbc... " >&6; }
16730 if ${ac_cv_lib_soname_odbc+:} false; then :
16731 $as_echo_n "(cached) " >&6
16732 else
16733 ac_check_soname_save_LIBS=$LIBS
16734 LIBS="-lodbc $LIBS"
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16738 /* Override any GCC internal prototype to avoid an error.
16739 Use char because int might match the return type of a GCC
16740 builtin and then its argument prototype would still apply. */
16741 #ifdef __cplusplus
16742 extern "C"
16743 #endif
16744 char SQLConnect ();
16746 main ()
16748 return SQLConnect ();
16750 return 0;
16752 _ACEOF
16753 if ac_fn_c_try_link "$LINENO"; then :
16754 case "$LIBEXT" in
16755 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16756 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'` ;;
16757 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16758 if ${ac_cv_lib_soname_odbc:+false} :; then :
16759 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16760 fi ;;
16761 esac
16762 else
16763 ac_cv_lib_soname_odbc=
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16767 LIBS=$ac_check_soname_save_LIBS
16769 if ${ac_cv_lib_soname_odbc:+false} :; then :
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16771 $as_echo "not found" >&6; }
16772 cat >>confdefs.h <<_ACEOF
16773 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16774 _ACEOF
16776 else
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16778 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16780 cat >>confdefs.h <<_ACEOF
16781 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16782 _ACEOF
16787 if test "x$with_netapi" != "xno"
16788 then
16789 if ${NETAPI_CFLAGS:+false} :; then :
16790 if ${PKG_CONFIG+:} false; then :
16791 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16795 if ${NETAPI_LIBS:+false} :; then :
16796 if ${PKG_CONFIG+:} false; then :
16797 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16802 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16803 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16804 ac_save_CPPFLAGS=$CPPFLAGS
16805 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16807 $as_echo_n "checking for -lnetapi... " >&6; }
16808 if ${ac_cv_lib_soname_netapi+:} false; then :
16809 $as_echo_n "(cached) " >&6
16810 else
16811 ac_check_soname_save_LIBS=$LIBS
16812 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 #ifdef __cplusplus
16820 extern "C"
16821 #endif
16822 char libnetapi_init ();
16824 main ()
16826 return libnetapi_init ();
16828 return 0;
16830 _ACEOF
16831 if ac_fn_c_try_link "$LINENO"; then :
16832 case "$LIBEXT" in
16833 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16834 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'` ;;
16835 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16836 if ${ac_cv_lib_soname_netapi:+false} :; then :
16837 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16838 fi ;;
16839 esac
16840 else
16841 ac_cv_lib_soname_netapi=
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext conftest.$ac_ext
16845 LIBS=$ac_check_soname_save_LIBS
16847 if ${ac_cv_lib_soname_netapi:+false} :; then :
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16849 $as_echo "not found" >&6; }
16850 cat >>confdefs.h <<_ACEOF
16851 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16852 _ACEOF
16854 else
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16856 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16858 cat >>confdefs.h <<_ACEOF
16859 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16860 _ACEOF
16864 CPPFLAGS=$ac_save_CPPFLAGS
16865 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16866 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16870 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16871 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16872 then
16873 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16876 if test "x$with_vulkan" != "xno"
16877 then
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16879 $as_echo_n "checking for -lvulkan... " >&6; }
16880 if ${ac_cv_lib_soname_vulkan+:} false; then :
16881 $as_echo_n "(cached) " >&6
16882 else
16883 ac_check_soname_save_LIBS=$LIBS
16884 LIBS="-lvulkan $LIBS"
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16888 /* Override any GCC internal prototype to avoid an error.
16889 Use char because int might match the return type of a GCC
16890 builtin and then its argument prototype would still apply. */
16891 #ifdef __cplusplus
16892 extern "C"
16893 #endif
16894 char vkGetInstanceProcAddr ();
16896 main ()
16898 return vkGetInstanceProcAddr ();
16900 return 0;
16902 _ACEOF
16903 if ac_fn_c_try_link "$LINENO"; then :
16904 case "$LIBEXT" in
16905 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16906 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'` ;;
16907 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16908 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16909 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16910 fi ;;
16911 esac
16912 else
16913 ac_cv_lib_soname_vulkan=
16915 rm -f core conftest.err conftest.$ac_objext \
16916 conftest$ac_exeext conftest.$ac_ext
16917 LIBS=$ac_check_soname_save_LIBS
16919 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16921 $as_echo "not found" >&6; }
16923 else
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16925 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16927 cat >>confdefs.h <<_ACEOF
16928 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16929 _ACEOF
16933 if test "x$ac_cv_lib_soname_vulkan" = "x"
16934 then
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16936 $as_echo_n "checking for -lMoltenVK... " >&6; }
16937 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16938 $as_echo_n "(cached) " >&6
16939 else
16940 ac_check_soname_save_LIBS=$LIBS
16941 LIBS="-lMoltenVK $LIBS"
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16945 /* Override any GCC internal prototype to avoid an error.
16946 Use char because int might match the return type of a GCC
16947 builtin and then its argument prototype would still apply. */
16948 #ifdef __cplusplus
16949 extern "C"
16950 #endif
16951 char vkGetInstanceProcAddr ();
16953 main ()
16955 return vkGetInstanceProcAddr ();
16957 return 0;
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 case "$LIBEXT" in
16962 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16963 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'` ;;
16964 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16965 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16966 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16967 fi ;;
16968 esac
16969 else
16970 ac_cv_lib_soname_MoltenVK=
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16974 LIBS=$ac_check_soname_save_LIBS
16976 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16978 $as_echo "not found" >&6; }
16980 else
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16982 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16984 cat >>confdefs.h <<_ACEOF
16985 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16986 _ACEOF
16992 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16993 case "x$with_vulkan" in
16994 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16995 xno) ;;
16996 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16997 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16998 esac
17002 if test "x$with_vkd3d" != "xno"
17003 then
17004 if ${VKD3D_CFLAGS:+false} :; then :
17005 if ${PKG_CONFIG+:} false; then :
17006 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17010 if ${VKD3D_LIBS:+false} :; then :
17011 if ${PKG_CONFIG+:} false; then :
17012 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17017 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17018 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17019 ac_save_CPPFLAGS=$CPPFLAGS
17020 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17022 $as_echo_n "checking for -lvkd3d... " >&6; }
17023 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_check_soname_save_LIBS=$LIBS
17027 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17031 /* Override any GCC internal prototype to avoid an error.
17032 Use char because int might match the return type of a GCC
17033 builtin and then its argument prototype would still apply. */
17034 #ifdef __cplusplus
17035 extern "C"
17036 #endif
17037 char vkd3d_get_dxgi_format ();
17039 main ()
17041 return vkd3d_get_dxgi_format ();
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"; then :
17047 case "$LIBEXT" in
17048 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17049 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'` ;;
17050 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17051 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17052 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17053 fi ;;
17054 esac
17055 else
17056 ac_cv_lib_soname_vkd3d=
17058 rm -f core conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17060 LIBS=$ac_check_soname_save_LIBS
17062 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17064 $as_echo "not found" >&6; }
17066 else
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17068 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17070 cat >>confdefs.h <<_ACEOF
17071 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17072 _ACEOF
17076 CPPFLAGS=$ac_save_CPPFLAGS
17077 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17078 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17081 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17082 case "x$with_vkd3d" in
17083 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17084 xno) ;;
17085 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17086 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17087 esac
17090 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17093 EXTRACFLAGS=""
17095 if test "x${GCC}" = "xyes"
17096 then
17097 EXTRACFLAGS="-Wall -pipe"
17099 saved_CFLAGS=$CFLAGS
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17101 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17102 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__Werror_unknown_warning_option=yes
17113 else
17114 ac_cv_cflags__Werror_unknown_warning_option=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17121 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17122 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17123 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17126 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17127 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__Werror_unused_command_line_argument=yes
17138 else
17139 ac_cv_cflags__Werror_unused_command_line_argument=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17146 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17147 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17148 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17151 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17152 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17163 else
17164 ac_cv_cflags__Werror_ignored_optimization_argument=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17171 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17172 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17173 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17176 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17177 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -fcf-protection=none"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__fcf_protection_none=yes
17188 else
17189 ac_cv_cflags__fcf_protection_none=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17196 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17197 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17201 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17202 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_wine_try_cflags_saved=$CFLAGS
17206 CFLAGS="$CFLAGS -fno-stack-protector"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 int main(int argc, char **argv) { return 0; }
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_cflags__fno_stack_protector=yes
17213 else
17214 ac_cv_cflags__fno_stack_protector=no
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 CFLAGS=$ac_wine_try_cflags_saved
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17221 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17222 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17223 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17226 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17227 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_wine_try_cflags_saved=$CFLAGS
17231 CFLAGS="$CFLAGS -fno-strict-aliasing"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int main(int argc, char **argv) { return 0; }
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_cflags__fno_strict_aliasing=yes
17238 else
17239 ac_cv_cflags__fno_strict_aliasing=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 CFLAGS=$ac_wine_try_cflags_saved
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17246 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17247 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17248 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17251 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17252 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Wdeclaration_after_statement=yes
17263 else
17264 ac_cv_cflags__Wdeclaration_after_statement=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17271 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17272 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17273 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17276 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17277 if ${ac_cv_cflags__Wempty_body+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wempty-body"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wempty_body=yes
17288 else
17289 ac_cv_cflags__Wempty_body=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17296 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17297 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17298 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17301 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17302 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wignored-qualifiers"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wignored_qualifiers=yes
17313 else
17314 ac_cv_cflags__Wignored_qualifiers=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17321 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17322 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17323 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17326 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17327 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 ac_wine_try_cflags_saved=$CFLAGS
17331 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 int main(int argc, char **argv) { return 0; }
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 ac_cv_cflags__Wpacked_not_aligned=yes
17338 else
17339 ac_cv_cflags__Wpacked_not_aligned=no
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 CFLAGS=$ac_wine_try_cflags_saved
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17346 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17347 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17348 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17351 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17352 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 ac_wine_try_cflags_saved=$CFLAGS
17356 CFLAGS="$CFLAGS -Wpragma-pack"
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 int main(int argc, char **argv) { return 0; }
17360 _ACEOF
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 ac_cv_cflags__Wpragma_pack=yes
17363 else
17364 ac_cv_cflags__Wpragma_pack=no
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17368 CFLAGS=$ac_wine_try_cflags_saved
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17371 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17372 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17373 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17376 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17377 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 ac_wine_try_cflags_saved=$CFLAGS
17381 CFLAGS="$CFLAGS -Wshift-overflow=2"
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 int main(int argc, char **argv) { return 0; }
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387 ac_cv_cflags__Wshift_overflow_2=yes
17388 else
17389 ac_cv_cflags__Wshift_overflow_2=no
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17393 CFLAGS=$ac_wine_try_cflags_saved
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17396 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17397 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17398 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17401 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17402 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 ac_wine_try_cflags_saved=$CFLAGS
17406 CFLAGS="$CFLAGS -Wstrict-prototypes"
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 int main(int argc, char **argv) { return 0; }
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"; then :
17412 ac_cv_cflags__Wstrict_prototypes=yes
17413 else
17414 ac_cv_cflags__Wstrict_prototypes=no
17416 rm -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 CFLAGS=$ac_wine_try_cflags_saved
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17421 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17422 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17423 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17426 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17427 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 ac_wine_try_cflags_saved=$CFLAGS
17431 CFLAGS="$CFLAGS -Wtype-limits"
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 int main(int argc, char **argv) { return 0; }
17435 _ACEOF
17436 if ac_fn_c_try_link "$LINENO"; then :
17437 ac_cv_cflags__Wtype_limits=yes
17438 else
17439 ac_cv_cflags__Wtype_limits=no
17441 rm -f core conftest.err conftest.$ac_objext \
17442 conftest$ac_exeext conftest.$ac_ext
17443 CFLAGS=$ac_wine_try_cflags_saved
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17446 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17447 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17448 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17451 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17452 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17455 ac_wine_try_cflags_saved=$CFLAGS
17456 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17459 int main(int argc, char **argv) { return 0; }
17460 _ACEOF
17461 if ac_fn_c_try_link "$LINENO"; then :
17462 ac_cv_cflags__Wunused_but_set_parameter=yes
17463 else
17464 ac_cv_cflags__Wunused_but_set_parameter=no
17466 rm -f core conftest.err conftest.$ac_objext \
17467 conftest$ac_exeext conftest.$ac_ext
17468 CFLAGS=$ac_wine_try_cflags_saved
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17471 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17472 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17473 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17476 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17477 if ${ac_cv_cflags__Wvla+:} false; then :
17478 $as_echo_n "(cached) " >&6
17479 else
17480 ac_wine_try_cflags_saved=$CFLAGS
17481 CFLAGS="$CFLAGS -Wvla"
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17484 int main(int argc, char **argv) { return 0; }
17485 _ACEOF
17486 if ac_fn_c_try_link "$LINENO"; then :
17487 ac_cv_cflags__Wvla=yes
17488 else
17489 ac_cv_cflags__Wvla=no
17491 rm -f core conftest.err conftest.$ac_objext \
17492 conftest$ac_exeext conftest.$ac_ext
17493 CFLAGS=$ac_wine_try_cflags_saved
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17496 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17497 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17498 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17501 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17502 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 ac_wine_try_cflags_saved=$CFLAGS
17506 CFLAGS="$CFLAGS -Wwrite-strings"
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 int main(int argc, char **argv) { return 0; }
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"; then :
17512 ac_cv_cflags__Wwrite_strings=yes
17513 else
17514 ac_cv_cflags__Wwrite_strings=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17518 CFLAGS=$ac_wine_try_cflags_saved
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17521 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17522 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17523 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17526 if test -z "$CROSSTARGET"
17527 then
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17529 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17530 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 ac_wine_try_cflags_saved=$CFLAGS
17534 CFLAGS="$CFLAGS -fexcess-precision=standard"
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 int main(int argc, char **argv) { return 0; }
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"; then :
17540 ac_cv_cflags__fexcess_precision_standard=yes
17541 else
17542 ac_cv_cflags__fexcess_precision_standard=no
17544 rm -f core conftest.err conftest.$ac_objext \
17545 conftest$ac_exeext conftest.$ac_ext
17546 CFLAGS=$ac_wine_try_cflags_saved
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17549 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17550 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17551 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17557 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17558 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561 ac_wine_try_cflags_saved=$CFLAGS
17562 CFLAGS="$CFLAGS -Wpointer-arith"
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__Wpointer_arith=yes
17569 else
17570 ac_cv_cflags__Wpointer_arith=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__Wpointer_arith" >&5
17577 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17578 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17579 saved_string_h_CFLAGS=$CFLAGS
17580 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17582 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17583 if ${ac_cv_c_string_h_warnings+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <string.h>
17590 main ()
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_compile "$LINENO"; then :
17598 ac_cv_c_string_h_warnings=no
17599 else
17600 ac_cv_c_string_h_warnings=yes
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17605 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17606 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17607 CFLAGS=$saved_string_h_CFLAGS
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17611 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17612 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 ac_wine_try_cflags_saved=$CFLAGS
17616 CFLAGS="$CFLAGS -Wlogical-op"
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 int main(int argc, char **argv) { return 0; }
17620 _ACEOF
17621 if ac_fn_c_try_link "$LINENO"; then :
17622 ac_cv_cflags__Wlogical_op=yes
17623 else
17624 ac_cv_cflags__Wlogical_op=no
17626 rm -f core conftest.err conftest.$ac_objext \
17627 conftest$ac_exeext conftest.$ac_ext
17628 CFLAGS=$ac_wine_try_cflags_saved
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17631 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17632 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17633 saved_string_h_CFLAGS=$CFLAGS
17634 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17636 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17637 if ${ac_cv_c_logicalop_noisy+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #include <string.h>
17643 char*f(const char *h,char n) {return strchr(h,n);}
17645 main ()
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653 ac_cv_c_logicalop_noisy=no
17654 else
17655 ac_cv_c_logicalop_noisy=yes
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17660 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17661 CFLAGS=$saved_string_h_CFLAGS
17662 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17665 for ac_flag in $CFLAGS; do
17666 case $ac_flag in
17667 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17668 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17669 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672 ac_wine_try_cflags_saved=$CFLAGS
17673 CFLAGS="$CFLAGS -gdwarf-2"
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 int main(int argc, char **argv) { return 0; }
17677 _ACEOF
17678 if ac_fn_c_try_link "$LINENO"; then :
17679 ac_cv_cflags__gdwarf_2=yes
17680 else
17681 ac_cv_cflags__gdwarf_2=no
17683 rm -f core conftest.err conftest.$ac_objext \
17684 conftest$ac_exeext conftest.$ac_ext
17685 CFLAGS=$ac_wine_try_cflags_saved
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17688 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17689 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17690 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17693 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17694 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17695 $as_echo_n "(cached) " >&6
17696 else
17697 ac_wine_try_cflags_saved=$CFLAGS
17698 CFLAGS="$CFLAGS -gstrict-dwarf"
17699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17701 int main(int argc, char **argv) { return 0; }
17702 _ACEOF
17703 if ac_fn_c_try_link "$LINENO"; then :
17704 ac_cv_cflags__gstrict_dwarf=yes
17705 else
17706 ac_cv_cflags__gstrict_dwarf=no
17708 rm -f core conftest.err conftest.$ac_objext \
17709 conftest$ac_exeext conftest.$ac_ext
17710 CFLAGS=$ac_wine_try_cflags_saved
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17713 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17714 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17715 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17716 fi ;;
17717 esac
17718 done
17720 MSVCRTFLAGS=""
17722 case $host_os in
17723 mingw32*) ;;
17724 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17725 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17726 if ${ac_cv_cflags__fno_builtin+:} false; then :
17727 $as_echo_n "(cached) " >&6
17728 else
17729 ac_wine_try_cflags_saved=$CFLAGS
17730 CFLAGS="$CFLAGS -fno-builtin"
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17733 int main(int argc, char **argv) { return 0; }
17734 _ACEOF
17735 if ac_fn_c_try_link "$LINENO"; then :
17736 ac_cv_cflags__fno_builtin=yes
17737 else
17738 ac_cv_cflags__fno_builtin=no
17740 rm -f core conftest.err conftest.$ac_objext \
17741 conftest$ac_exeext conftest.$ac_ext
17742 CFLAGS=$ac_wine_try_cflags_saved
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17745 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17746 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17747 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17750 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17751 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754 ac_wine_try_cflags_saved=$CFLAGS
17755 CFLAGS="$CFLAGS -fshort-wchar"
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h. */
17758 int main(int argc, char **argv) { return 0; }
17759 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"; then :
17761 ac_cv_cflags__fshort_wchar=yes
17762 else
17763 ac_cv_cflags__fshort_wchar=no
17765 rm -f core conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17767 CFLAGS=$ac_wine_try_cflags_saved
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17770 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17771 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17772 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17773 fi ;;
17774 esac
17776 case $host_cpu in
17777 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17778 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17779 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17780 $as_echo_n "(cached) " >&6
17781 else
17782 ac_wine_try_cflags_saved=$CFLAGS
17783 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 int main(int argc, char **argv) { return 0; }
17787 _ACEOF
17788 if ac_fn_c_try_link "$LINENO"; then :
17789 ac_cv_cflags__fno_omit_frame_pointer=yes
17790 else
17791 ac_cv_cflags__fno_omit_frame_pointer=no
17793 rm -f core conftest.err conftest.$ac_objext \
17794 conftest$ac_exeext conftest.$ac_ext
17795 CFLAGS=$ac_wine_try_cflags_saved
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17798 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17799 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17800 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17801 fi ;;
17802 *x86_64*)
17803 case $host_os in
17804 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17805 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17806 if ${ac_cv_cflags__Wno_format+:} false; then :
17807 $as_echo_n "(cached) " >&6
17808 else
17809 ac_wine_try_cflags_saved=$CFLAGS
17810 CFLAGS="$CFLAGS -Wno-format"
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h. */
17813 int main(int argc, char **argv) { return 0; }
17814 _ACEOF
17815 if ac_fn_c_try_link "$LINENO"; then :
17816 ac_cv_cflags__Wno_format=yes
17817 else
17818 ac_cv_cflags__Wno_format=no
17820 rm -f core conftest.err conftest.$ac_objext \
17821 conftest$ac_exeext conftest.$ac_ext
17822 CFLAGS=$ac_wine_try_cflags_saved
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17825 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17826 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17827 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17828 fi ;;
17829 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17830 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17831 if ${ac_cv_cflags__mabi_ms+:} false; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17834 ac_wine_try_cflags_saved=$CFLAGS
17835 CFLAGS="$CFLAGS -mabi=ms"
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17838 int main(int argc, char **argv) { return 0; }
17839 _ACEOF
17840 if ac_fn_c_try_link "$LINENO"; then :
17841 ac_cv_cflags__mabi_ms=yes
17842 else
17843 ac_cv_cflags__mabi_ms=no
17845 rm -f core conftest.err conftest.$ac_objext \
17846 conftest$ac_exeext conftest.$ac_ext
17847 CFLAGS=$ac_wine_try_cflags_saved
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17850 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17851 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17852 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17853 fi ;;
17854 esac ;;
17855 esac
17857 CFLAGS=$saved_CFLAGS
17859 if test "x$enable_werror" = "xyes"
17860 then
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17862 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17863 if ${ac_cv_cflags__Werror+:} false; then :
17864 $as_echo_n "(cached) " >&6
17865 else
17866 ac_wine_try_cflags_saved=$CFLAGS
17867 CFLAGS="$CFLAGS -Werror"
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17870 int main(int argc, char **argv) { return 0; }
17871 _ACEOF
17872 if ac_fn_c_try_link "$LINENO"; then :
17873 ac_cv_cflags__Werror=yes
17874 else
17875 ac_cv_cflags__Werror=no
17877 rm -f core conftest.err conftest.$ac_objext \
17878 conftest$ac_exeext conftest.$ac_ext
17879 CFLAGS=$ac_wine_try_cflags_saved
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17882 $as_echo "$ac_cv_cflags__Werror" >&6; }
17883 if test "x$ac_cv_cflags__Werror" = xyes; then :
17884 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17891 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17892 if ${ac_cv_c_fortify_enabled+:} false; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17897 #include <string.h>
17899 main ()
17901 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17902 #error Fortify enabled
17903 #endif
17905 return 0;
17907 _ACEOF
17908 if ac_fn_c_try_compile "$LINENO"; then :
17909 ac_cv_c_fortify_enabled=no
17910 else
17911 ac_cv_c_fortify_enabled=yes
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17916 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17917 if test "$ac_cv_c_fortify_enabled" = yes
17918 then
17919 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17924 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17925 if ${ac_cv_c_cfi_support+:} false; then :
17926 $as_echo_n "(cached) " >&6
17927 else
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17930 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17932 main ()
17936 return 0;
17938 _ACEOF
17939 if ac_fn_c_try_compile "$LINENO"; then :
17940 ac_cv_c_cfi_support="yes"
17941 else
17942 ac_cv_c_cfi_support="no"
17944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17947 $as_echo "$ac_cv_c_cfi_support" >&6; }
17948 if test "$ac_cv_c_cfi_support" = "yes"
17949 then
17950 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17951 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17952 else
17953 if test "x$enable_win64" = "xyes"
17954 then
17955 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17960 case $build_os in
17961 cygwin*|mingw32*) TOOLSEXT=".exe"
17963 esac
17965 case $host_os in
17966 linux*)
17967 case $host_cpu in
17968 *i[3456789]86*|x86_64*|*aarch64*)
17969 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17970 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17972 esac
17974 esac
17977 ac_save_CFLAGS="$CFLAGS"
17978 CFLAGS="$CFLAGS $BUILTINFLAG"
17979 for ac_func in \
17980 __res_get_state \
17981 __res_getservers \
17982 _spawnvp \
17983 epoll_create \
17984 ffs \
17985 finitef \
17986 fnmatch \
17987 fork \
17988 fpclass \
17989 fstatfs \
17990 fstatvfs \
17991 futimens \
17992 futimes \
17993 futimesat \
17994 getattrlist \
17995 getauxval \
17996 getifaddrs \
17997 getopt_long_only \
17998 kqueue \
17999 lstat \
18000 mach_continuous_time \
18001 pipe2 \
18002 poll \
18003 port_create \
18004 prctl \
18005 pread \
18006 proc_pidinfo \
18007 pwrite \
18008 readdir \
18009 readlink \
18010 sched_yield \
18011 select \
18012 setproctitle \
18013 setprogname \
18014 settimeofday \
18015 sigprocmask \
18016 statfs \
18017 statvfs \
18018 strnlen \
18019 strtold \
18020 symlink \
18021 sysinfo \
18022 tcdrain \
18023 thr_kill2 \
18024 usleep
18026 do :
18027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18029 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18030 cat >>confdefs.h <<_ACEOF
18031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18032 _ACEOF
18035 done
18037 CFLAGS="$ac_save_CFLAGS"
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18040 $as_echo_n "checking for library containing dlopen... " >&6; }
18041 if ${ac_cv_search_dlopen+:} false; then :
18042 $as_echo_n "(cached) " >&6
18043 else
18044 ac_func_search_save_LIBS=$LIBS
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18048 /* Override any GCC internal prototype to avoid an error.
18049 Use char because int might match the return type of a GCC
18050 builtin and then its argument prototype would still apply. */
18051 #ifdef __cplusplus
18052 extern "C"
18053 #endif
18054 char dlopen ();
18056 main ()
18058 return dlopen ();
18060 return 0;
18062 _ACEOF
18063 for ac_lib in '' dl; do
18064 if test -z "$ac_lib"; then
18065 ac_res="none required"
18066 else
18067 ac_res=-l$ac_lib
18068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18070 if ac_fn_c_try_link "$LINENO"; then :
18071 ac_cv_search_dlopen=$ac_res
18073 rm -f core conftest.err conftest.$ac_objext \
18074 conftest$ac_exeext
18075 if ${ac_cv_search_dlopen+:} false; then :
18076 break
18078 done
18079 if ${ac_cv_search_dlopen+:} false; then :
18081 else
18082 ac_cv_search_dlopen=no
18084 rm conftest.$ac_ext
18085 LIBS=$ac_func_search_save_LIBS
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18088 $as_echo "$ac_cv_search_dlopen" >&6; }
18089 ac_res=$ac_cv_search_dlopen
18090 if test "$ac_res" != no; then :
18091 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18095 ac_wine_check_funcs_save_LIBS="$LIBS"
18096 LIBS="$LIBS $DL_LIBS"
18097 for ac_func in dladdr dlinfo
18098 do :
18099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18102 cat >>confdefs.h <<_ACEOF
18103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18104 _ACEOF
18107 done
18109 LIBS="$ac_wine_check_funcs_save_LIBS"
18111 if test "$ac_cv_func_poll" = no
18112 then
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18114 $as_echo_n "checking for poll in -lpoll... " >&6; }
18115 if ${ac_cv_lib_poll_poll+:} false; then :
18116 $as_echo_n "(cached) " >&6
18117 else
18118 ac_check_lib_save_LIBS=$LIBS
18119 LIBS="-lpoll $LIBS"
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18123 /* Override any GCC internal prototype to avoid an error.
18124 Use char because int might match the return type of a GCC
18125 builtin and then its argument prototype would still apply. */
18126 #ifdef __cplusplus
18127 extern "C"
18128 #endif
18129 char poll ();
18131 main ()
18133 return poll ();
18135 return 0;
18137 _ACEOF
18138 if ac_fn_c_try_link "$LINENO"; then :
18139 ac_cv_lib_poll_poll=yes
18140 else
18141 ac_cv_lib_poll_poll=no
18143 rm -f core conftest.err conftest.$ac_objext \
18144 conftest$ac_exeext conftest.$ac_ext
18145 LIBS=$ac_check_lib_save_LIBS
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18148 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18149 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18150 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18151 POLL_LIBS="-lpoll"
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18158 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18159 if ${ac_cv_search_gethostbyname+:} false; then :
18160 $as_echo_n "(cached) " >&6
18161 else
18162 ac_func_search_save_LIBS=$LIBS
18163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18169 #ifdef __cplusplus
18170 extern "C"
18171 #endif
18172 char gethostbyname ();
18174 main ()
18176 return gethostbyname ();
18178 return 0;
18180 _ACEOF
18181 for ac_lib in '' nsl; do
18182 if test -z "$ac_lib"; then
18183 ac_res="none required"
18184 else
18185 ac_res=-l$ac_lib
18186 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18188 if ac_fn_c_try_link "$LINENO"; then :
18189 ac_cv_search_gethostbyname=$ac_res
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext
18193 if ${ac_cv_search_gethostbyname+:} false; then :
18194 break
18196 done
18197 if ${ac_cv_search_gethostbyname+:} false; then :
18199 else
18200 ac_cv_search_gethostbyname=no
18202 rm conftest.$ac_ext
18203 LIBS=$ac_func_search_save_LIBS
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18206 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18207 ac_res=$ac_cv_search_gethostbyname
18208 if test "$ac_res" != no; then :
18209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18215 $as_echo_n "checking for library containing connect... " >&6; }
18216 if ${ac_cv_search_connect+:} false; then :
18217 $as_echo_n "(cached) " >&6
18218 else
18219 ac_func_search_save_LIBS=$LIBS
18220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18221 /* end confdefs.h. */
18223 /* Override any GCC internal prototype to avoid an error.
18224 Use char because int might match the return type of a GCC
18225 builtin and then its argument prototype would still apply. */
18226 #ifdef __cplusplus
18227 extern "C"
18228 #endif
18229 char connect ();
18231 main ()
18233 return connect ();
18235 return 0;
18237 _ACEOF
18238 for ac_lib in '' socket; do
18239 if test -z "$ac_lib"; then
18240 ac_res="none required"
18241 else
18242 ac_res=-l$ac_lib
18243 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18245 if ac_fn_c_try_link "$LINENO"; then :
18246 ac_cv_search_connect=$ac_res
18248 rm -f core conftest.err conftest.$ac_objext \
18249 conftest$ac_exeext
18250 if ${ac_cv_search_connect+:} false; then :
18251 break
18253 done
18254 if ${ac_cv_search_connect+:} false; then :
18256 else
18257 ac_cv_search_connect=no
18259 rm conftest.$ac_ext
18260 LIBS=$ac_func_search_save_LIBS
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18263 $as_echo "$ac_cv_search_connect" >&6; }
18264 ac_res=$ac_cv_search_connect
18265 if test "$ac_res" != no; then :
18266 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18272 $as_echo_n "checking for library containing inet_aton... " >&6; }
18273 if ${ac_cv_search_inet_aton+:} false; then :
18274 $as_echo_n "(cached) " >&6
18275 else
18276 ac_func_search_save_LIBS=$LIBS
18277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18280 /* Override any GCC internal prototype to avoid an error.
18281 Use char because int might match the return type of a GCC
18282 builtin and then its argument prototype would still apply. */
18283 #ifdef __cplusplus
18284 extern "C"
18285 #endif
18286 char inet_aton ();
18288 main ()
18290 return inet_aton ();
18292 return 0;
18294 _ACEOF
18295 for ac_lib in '' resolv; do
18296 if test -z "$ac_lib"; then
18297 ac_res="none required"
18298 else
18299 ac_res=-l$ac_lib
18300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18302 if ac_fn_c_try_link "$LINENO"; then :
18303 ac_cv_search_inet_aton=$ac_res
18305 rm -f core conftest.err conftest.$ac_objext \
18306 conftest$ac_exeext
18307 if ${ac_cv_search_inet_aton+:} false; then :
18308 break
18310 done
18311 if ${ac_cv_search_inet_aton+:} false; then :
18313 else
18314 ac_cv_search_inet_aton=no
18316 rm conftest.$ac_ext
18317 LIBS=$ac_func_search_save_LIBS
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18320 $as_echo "$ac_cv_search_inet_aton" >&6; }
18321 ac_res=$ac_cv_search_inet_aton
18322 if test "$ac_res" != no; then :
18323 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18328 for ac_func in \
18329 getaddrinfo \
18330 getnameinfo \
18331 getnetbyname \
18332 getprotobyname \
18333 getprotobynumber \
18334 getservbyport \
18336 do :
18337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18340 cat >>confdefs.h <<_ACEOF
18341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18342 _ACEOF
18345 done
18348 case $host_os in
18349 darwin*|macosx*) ;;
18350 *) ac_save_LIBS=$LIBS
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18352 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18353 if ${ac_cv_search_clock_gettime+:} false; then :
18354 $as_echo_n "(cached) " >&6
18355 else
18356 ac_func_search_save_LIBS=$LIBS
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18360 /* Override any GCC internal prototype to avoid an error.
18361 Use char because int might match the return type of a GCC
18362 builtin and then its argument prototype would still apply. */
18363 #ifdef __cplusplus
18364 extern "C"
18365 #endif
18366 char clock_gettime ();
18368 main ()
18370 return clock_gettime ();
18372 return 0;
18374 _ACEOF
18375 for ac_lib in '' rt; do
18376 if test -z "$ac_lib"; then
18377 ac_res="none required"
18378 else
18379 ac_res=-l$ac_lib
18380 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18382 if ac_fn_c_try_link "$LINENO"; then :
18383 ac_cv_search_clock_gettime=$ac_res
18385 rm -f core conftest.err conftest.$ac_objext \
18386 conftest$ac_exeext
18387 if ${ac_cv_search_clock_gettime+:} false; then :
18388 break
18390 done
18391 if ${ac_cv_search_clock_gettime+:} false; then :
18393 else
18394 ac_cv_search_clock_gettime=no
18396 rm conftest.$ac_ext
18397 LIBS=$ac_func_search_save_LIBS
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18400 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18401 ac_res=$ac_cv_search_clock_gettime
18402 if test "$ac_res" != no; then :
18403 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18405 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18407 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18411 LIBS=$ac_save_LIBS
18413 esac
18415 if test "x$with_ldap" != "xno"
18416 then
18417 if ${LDAP_CFLAGS:+false} :; then :
18418 if ${PKG_CONFIG+:} false; then :
18419 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18423 if ${LDAP_LIBS:+false} :; then :
18424 if ${PKG_CONFIG+:} false; then :
18425 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18429 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18430 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18431 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18432 ac_save_CPPFLAGS=$CPPFLAGS
18433 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18434 for ac_header in ldap.h lber.h
18435 do :
18436 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18437 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18438 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18439 cat >>confdefs.h <<_ACEOF
18440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18441 _ACEOF
18445 done
18447 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18448 then
18449 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18451 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18453 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18454 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18455 $as_echo_n "(cached) " >&6
18456 else
18457 ac_check_lib_save_LIBS=$LIBS
18458 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18462 /* Override any GCC internal prototype to avoid an error.
18463 Use char because int might match the return type of a GCC
18464 builtin and then its argument prototype would still apply. */
18465 #ifdef __cplusplus
18466 extern "C"
18467 #endif
18468 char ldap_initialize ();
18470 main ()
18472 return ldap_initialize ();
18474 return 0;
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"; then :
18478 ac_cv_lib_ldap_r_ldap_initialize=yes
18479 else
18480 ac_cv_lib_ldap_r_ldap_initialize=no
18482 rm -f core conftest.err conftest.$ac_objext \
18483 conftest$ac_exeext conftest.$ac_ext
18484 LIBS=$ac_check_lib_save_LIBS
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18487 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18488 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18490 $as_echo_n "checking for ber_init in -llber... " >&6; }
18491 if ${ac_cv_lib_lber_ber_init+:} false; then :
18492 $as_echo_n "(cached) " >&6
18493 else
18494 ac_check_lib_save_LIBS=$LIBS
18495 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18499 /* Override any GCC internal prototype to avoid an error.
18500 Use char because int might match the return type of a GCC
18501 builtin and then its argument prototype would still apply. */
18502 #ifdef __cplusplus
18503 extern "C"
18504 #endif
18505 char ber_init ();
18507 main ()
18509 return ber_init ();
18511 return 0;
18513 _ACEOF
18514 if ac_fn_c_try_link "$LINENO"; then :
18515 ac_cv_lib_lber_ber_init=yes
18516 else
18517 ac_cv_lib_lber_ber_init=no
18519 rm -f core conftest.err conftest.$ac_objext \
18520 conftest$ac_exeext conftest.$ac_ext
18521 LIBS=$ac_check_lib_save_LIBS
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18524 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18525 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18527 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18529 else
18530 LDAP_LIBS=""
18533 else
18534 LDAP_LIBS=""
18537 else
18538 LDAP_LIBS=""
18541 ac_wine_check_funcs_save_LIBS="$LIBS"
18542 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18543 for ac_func in \
18544 ldap_count_references \
18545 ldap_first_reference \
18546 ldap_next_reference \
18547 ldap_parse_reference \
18548 ldap_parse_sort_control \
18549 ldap_parse_sortresponse_control \
18550 ldap_parse_vlv_control \
18551 ldap_parse_vlvresponse_control
18552 do :
18553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18556 cat >>confdefs.h <<_ACEOF
18557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18558 _ACEOF
18561 done
18563 LIBS="$ac_wine_check_funcs_save_LIBS"
18564 else
18565 LDAP_LIBS=""
18567 CPPFLAGS=$ac_save_CPPFLAGS
18568 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18569 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18572 if test "x$LDAP_LIBS" = "x"; then :
18573 case "x$with_ldap" in
18574 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18575 xno) ;;
18576 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18577 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18578 esac
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18583 $as_echo_n "checking for sched_setaffinity... " >&6; }
18584 if ${wine_cv_have_sched_setaffinity+:} false; then :
18585 $as_echo_n "(cached) " >&6
18586 else
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18589 #define _GNU_SOURCE
18590 #include <sched.h>
18592 main ()
18594 sched_setaffinity(0, 0, 0);
18596 return 0;
18598 _ACEOF
18599 if ac_fn_c_try_link "$LINENO"; then :
18600 wine_cv_have_sched_setaffinity=yes
18601 else
18602 wine_cv_have_sched_setaffinity=no
18604 rm -f core conftest.err conftest.$ac_objext \
18605 conftest$ac_exeext conftest.$ac_ext
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18608 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18609 if test "$wine_cv_have_sched_setaffinity" = "yes"
18610 then
18612 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18617 $as_echo_n "checking for fallocate... " >&6; }
18618 if ${wine_cv_have_fallocate+:} false; then :
18619 $as_echo_n "(cached) " >&6
18620 else
18621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18622 /* end confdefs.h. */
18623 #define _GNU_SOURCE
18624 #include <fcntl.h>
18626 main ()
18628 fallocate(-1, 0, 0, 0);
18630 return 0;
18632 _ACEOF
18633 if ac_fn_c_try_link "$LINENO"; then :
18634 wine_cv_have_fallocate=yes
18635 else
18636 wine_cv_have_fallocate=no
18638 rm -f core conftest.err conftest.$ac_objext \
18639 conftest$ac_exeext conftest.$ac_ext
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18642 $as_echo "$wine_cv_have_fallocate" >&6; }
18643 if test "$wine_cv_have_fallocate" = "yes"
18644 then
18646 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18652 $as_echo_n "checking for inline... " >&6; }
18653 if ${ac_cv_c_inline+:} false; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656 ac_cv_c_inline=no
18657 for ac_kw in inline __inline__ __inline; do
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 #ifndef __cplusplus
18661 typedef int foo_t;
18662 static $ac_kw foo_t static_foo () {return 0; }
18663 $ac_kw foo_t foo () {return 0; }
18664 #endif
18666 _ACEOF
18667 if ac_fn_c_try_compile "$LINENO"; then :
18668 ac_cv_c_inline=$ac_kw
18670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18671 test "$ac_cv_c_inline" != no && break
18672 done
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18676 $as_echo "$ac_cv_c_inline" >&6; }
18678 case $ac_cv_c_inline in
18679 inline | yes) ;;
18681 case $ac_cv_c_inline in
18682 no) ac_val=;;
18683 *) ac_val=$ac_cv_c_inline;;
18684 esac
18685 cat >>confdefs.h <<_ACEOF
18686 #ifndef __cplusplus
18687 #define inline $ac_val
18688 #endif
18689 _ACEOF
18691 esac
18693 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18694 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18696 cat >>confdefs.h <<_ACEOF
18697 #define HAVE_FSBLKCNT_T 1
18698 _ACEOF
18702 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18703 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_FSFILCNT_T 1
18707 _ACEOF
18712 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18713 #include <signal.h>
18715 if test "x$ac_cv_type_sigset_t" = xyes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_SIGSET_T 1
18719 _ACEOF
18724 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18726 if test "x$ac_cv_type_request_sense" = xyes; then :
18728 cat >>confdefs.h <<_ACEOF
18729 #define HAVE_REQUEST_SENSE 1
18730 _ACEOF
18736 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18737 #ifdef HAVE_SYS_SOCKET_H
18738 #include <sys/socket.h>
18739 #endif
18740 #ifdef HAVE_SYS_SOCKETVAR_H
18741 #include <sys/socketvar.h>
18742 #endif
18743 #ifdef HAVE_NET_ROUTE_H
18744 #include <net/route.h>
18745 #endif
18746 #ifdef HAVE_NETINET_IN_H
18747 #include <netinet/in.h>
18748 #endif
18749 #ifdef HAVE_NETINET_IN_SYSTM_H
18750 #include <netinet/in_systm.h>
18751 #endif
18752 #ifdef HAVE_NETINET_IP_H
18753 #include <netinet/ip.h>
18754 #endif
18755 #ifdef HAVE_NETINET_IN_PCB_H
18756 #include <netinet/in_pcb.h>
18757 #endif
18759 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18761 cat >>confdefs.h <<_ACEOF
18762 #define HAVE_STRUCT_XINPGEN 1
18763 _ACEOF
18769 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18770 #include <linux/input.h>
18771 #endif
18773 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18775 cat >>confdefs.h <<_ACEOF
18776 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18777 _ACEOF
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18784 $as_echo_n "checking for if_nameindex... " >&6; }
18785 if ${wine_cv_have_if_nameindex+:} false; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18790 #ifdef HAVE_SYS_TYPES_H
18791 #include <sys/types.h>
18792 #endif
18793 #ifdef HAVE_SYS_SOCKET_H
18794 #include <sys/socket.h>
18795 #endif
18796 #ifdef HAVE_NET_IF_H
18797 # include <net/if.h>
18798 #endif
18800 main ()
18802 struct if_nameindex *p = if_nameindex(); return p->if_index;
18804 return 0;
18806 _ACEOF
18807 if ac_fn_c_try_link "$LINENO"; then :
18808 wine_cv_have_if_nameindex=yes
18809 else
18810 wine_cv_have_if_nameindex=no
18812 rm -f core conftest.err conftest.$ac_objext \
18813 conftest$ac_exeext conftest.$ac_ext
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18816 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18817 if test "$wine_cv_have_if_nameindex" = "yes"
18818 then
18820 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18825 $as_echo_n "checking for sigaddset... " >&6; }
18826 if ${wine_cv_have_sigaddset+:} false; then :
18827 $as_echo_n "(cached) " >&6
18828 else
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 #include <signal.h>
18833 main ()
18835 sigset_t set; sigaddset(&set,SIGTERM);
18837 return 0;
18839 _ACEOF
18840 if ac_fn_c_try_link "$LINENO"; then :
18841 wine_cv_have_sigaddset=yes
18842 else
18843 wine_cv_have_sigaddset=no
18845 rm -f core conftest.err conftest.$ac_objext \
18846 conftest$ac_exeext conftest.$ac_ext
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18849 $as_echo "$wine_cv_have_sigaddset" >&6; }
18850 if test "$wine_cv_have_sigaddset" = "yes"
18851 then
18853 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18859 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18860 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18861 $as_echo_n "(cached) " >&6
18862 else
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 #include <netdb.h>
18867 main ()
18870 char *name=0;
18871 struct hostent he;
18872 struct hostent *result;
18873 char *buf=0;
18874 int bufsize=0;
18875 int errnr;
18876 char *addr=0;
18877 int addrlen=0;
18878 int addrtype=0;
18879 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18880 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18883 return 0;
18885 _ACEOF
18886 if ac_fn_c_try_link "$LINENO"; then :
18887 wine_cv_linux_gethostbyname_r_6=yes
18888 else
18889 wine_cv_linux_gethostbyname_r_6=no
18892 rm -f core conftest.err conftest.$ac_objext \
18893 conftest$ac_exeext conftest.$ac_ext
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18897 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18898 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18899 then
18901 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18905 if test "$ac_cv_header_linux_joystick_h" = "yes"
18906 then
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18908 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18909 if ${wine_cv_linux_joystick_22_api+:} false; then :
18910 $as_echo_n "(cached) " >&6
18911 else
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18915 #include <sys/ioctl.h>
18916 #include <sys/types.h>
18917 #include <linux/joystick.h>
18919 struct js_event blub;
18920 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18921 #error "no 2.2 header"
18922 #endif
18925 main ()
18927 /*empty*/
18929 return 0;
18931 _ACEOF
18932 if ac_fn_c_try_compile "$LINENO"; then :
18933 wine_cv_linux_joystick_22_api=yes
18934 else
18935 wine_cv_linux_joystick_22_api=no
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18941 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18942 if test "$wine_cv_linux_joystick_22_api" = "yes"
18943 then
18945 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18951 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18952 #ifdef HAVE_SYS_PARAM_H
18953 # include <sys/param.h>
18954 #endif
18955 #ifdef HAVE_SYS_MOUNT_H
18956 # include <sys/mount.h>
18957 #endif
18958 #ifdef HAVE_SYS_VFS_H
18959 # include <sys/vfs.h>
18960 #endif
18961 #ifdef HAVE_SYS_STATFS_H
18962 # include <sys/statfs.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_STATFS_F_BFREE 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_PARAM_H
18975 # include <sys/param.h>
18976 #endif
18977 #ifdef HAVE_SYS_MOUNT_H
18978 # include <sys/mount.h>
18979 #endif
18980 #ifdef HAVE_SYS_VFS_H
18981 # include <sys/vfs.h>
18982 #endif
18983 #ifdef HAVE_SYS_STATFS_H
18984 # include <sys/statfs.h>
18985 #endif
18987 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18991 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_PARAM_H
18997 # include <sys/param.h>
18998 #endif
18999 #ifdef HAVE_SYS_MOUNT_H
19000 # include <sys/mount.h>
19001 #endif
19002 #ifdef HAVE_SYS_VFS_H
19003 # include <sys/vfs.h>
19004 #endif
19005 #ifdef HAVE_SYS_STATFS_H
19006 # include <sys/statfs.h>
19007 #endif
19009 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19018 #ifdef HAVE_SYS_PARAM_H
19019 # include <sys/param.h>
19020 #endif
19021 #ifdef HAVE_SYS_MOUNT_H
19022 # include <sys/mount.h>
19023 #endif
19024 #ifdef HAVE_SYS_VFS_H
19025 # include <sys/vfs.h>
19026 #endif
19027 #ifdef HAVE_SYS_STATFS_H
19028 # include <sys/statfs.h>
19029 #endif
19031 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_STATFS_F_FFREE 1
19035 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19040 #ifdef HAVE_SYS_PARAM_H
19041 # include <sys/param.h>
19042 #endif
19043 #ifdef HAVE_SYS_MOUNT_H
19044 # include <sys/mount.h>
19045 #endif
19046 #ifdef HAVE_SYS_VFS_H
19047 # include <sys/vfs.h>
19048 #endif
19049 #ifdef HAVE_SYS_STATFS_H
19050 # include <sys/statfs.h>
19051 #endif
19053 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19062 #ifdef HAVE_SYS_PARAM_H
19063 # include <sys/param.h>
19064 #endif
19065 #ifdef HAVE_SYS_MOUNT_H
19066 # include <sys/mount.h>
19067 #endif
19068 #ifdef HAVE_SYS_VFS_H
19069 # include <sys/vfs.h>
19070 #endif
19071 #ifdef HAVE_SYS_STATFS_H
19072 # include <sys/statfs.h>
19073 #endif
19075 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19079 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19086 #include <sys/statvfs.h>
19087 #endif
19089 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19093 _ACEOF
19099 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19100 #include <dirent.h>
19101 #endif
19103 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19107 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19114 #ifdef HAVE_SYS_SOCKET_H
19115 # include <sys/socket.h>
19116 #endif
19117 #ifdef HAVE_SYS_UN_H
19118 # include <sys/un.h>
19119 #endif
19121 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19125 _ACEOF
19129 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19130 #ifdef HAVE_SYS_SOCKET_H
19131 # include <sys/socket.h>
19132 #endif
19133 #ifdef HAVE_SYS_UN_H
19134 # include <sys/un.h>
19135 #endif
19137 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19146 #ifdef HAVE_SYS_SOCKET_H
19147 # include <sys/socket.h>
19148 #endif
19149 #ifdef HAVE_SYS_UN_H
19150 # include <sys/un.h>
19151 #endif
19153 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19157 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19164 #ifdef HAVE_SCSI_SG_H
19165 #include <scsi/sg.h>
19166 #endif
19168 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_SCSIREQ_T_CMD 1
19172 _ACEOF
19176 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>
19177 #ifdef HAVE_SCSI_SG_H
19178 #include <scsi/sg.h>
19179 #endif
19181 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19185 _ACEOF
19191 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19193 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_SIGINFO_T_SI_FD 1
19197 _ACEOF
19203 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19204 #ifdef HAVE_SYS_MTIO_H
19205 #include <sys/mtio.h>
19206 #endif
19208 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19210 cat >>confdefs.h <<_ACEOF
19211 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19212 _ACEOF
19216 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19217 #ifdef HAVE_SYS_MTIO_H
19218 #include <sys/mtio.h>
19219 #endif
19221 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19225 _ACEOF
19229 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19230 #ifdef HAVE_SYS_MTIO_H
19231 #include <sys/mtio.h>
19232 #endif
19234 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19238 _ACEOF
19244 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19245 #include <getopt.h>
19246 #endif
19248 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19250 cat >>confdefs.h <<_ACEOF
19251 #define HAVE_STRUCT_OPTION_NAME 1
19252 _ACEOF
19258 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19259 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19263 _ACEOF
19267 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19268 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_STRUCT_STAT_ST_MTIM 1
19272 _ACEOF
19276 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19277 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19281 _ACEOF
19285 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19286 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19288 cat >>confdefs.h <<_ACEOF
19289 #define HAVE_STRUCT_STAT_ST_CTIM 1
19290 _ACEOF
19294 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19295 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19299 _ACEOF
19303 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19304 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19306 cat >>confdefs.h <<_ACEOF
19307 #define HAVE_STRUCT_STAT_ST_ATIM 1
19308 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19313 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19315 cat >>confdefs.h <<_ACEOF
19316 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19317 _ACEOF
19321 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19322 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19324 cat >>confdefs.h <<_ACEOF
19325 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19326 _ACEOF
19330 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19331 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19333 cat >>confdefs.h <<_ACEOF
19334 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19335 _ACEOF
19339 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19340 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19342 cat >>confdefs.h <<_ACEOF
19343 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19344 _ACEOF
19348 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19349 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19353 _ACEOF
19357 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19358 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19362 _ACEOF
19368 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
19369 #include <sys/types.h>
19370 #endif
19371 #ifdef HAVE_NETINET_IN_H
19372 #include <netinet/in.h>
19373 #endif
19375 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19379 _ACEOF
19385 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19386 #include <sys/types.h>
19387 #endif
19388 #ifdef HAVE_NETINET_IN_H
19389 #include <netinet/in.h>
19390 #endif
19391 #ifdef HAVE_RESOLV_H
19392 #include <resolv.h>
19393 #endif
19395 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19397 cat >>confdefs.h <<_ACEOF
19398 #define HAVE_STRUCT___RES_STATE 1
19399 _ACEOF
19405 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
19406 #include <resolv.h>
19407 #endif
19409 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19411 cat >>confdefs.h <<_ACEOF
19412 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19413 _ACEOF
19419 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19420 #include <sys/types.h>
19421 #endif
19422 #ifdef HAVE_NETINET_IN_H
19423 # include <netinet/in.h>
19424 #endif
19425 #ifdef HAVE_ARPA_NAMESER_H
19426 # include <arpa/nameser.h>
19427 #endif
19429 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_NS_MSG__MSG_PTR 1
19433 _ACEOF
19439 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19440 #include <sys/types.h>
19441 #endif
19442 #ifdef HAVE_NETINET_IN_H
19443 #include <netinet/in.h>
19444 #endif
19445 #ifdef HAVE_NETINET_IP_H
19446 #include <netinet/ip.h>
19447 #endif
19448 #ifdef HAVE_NETINET_IP_ICMP_H
19449 #include <netinet/ip_icmp.h>
19450 #endif
19451 #ifdef HAVE_NETINET_ICMP_VAR_H
19452 #include <netinet/icmp_var.h>
19453 #endif
19455 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19457 cat >>confdefs.h <<_ACEOF
19458 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19459 _ACEOF
19465 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19466 #include <sys/types.h>
19467 #endif
19468 #ifdef HAVE_ALIAS_H
19469 #include <alias.h>
19470 #endif
19471 #ifdef HAVE_SYS_SOCKET_H
19472 #include <sys/socket.h>
19473 #endif
19474 #ifdef HAVE_SYS_SOCKETVAR_H
19475 #include <sys/socketvar.h>
19476 #endif
19477 #ifdef HAVE_SYS_TIMEOUT_H
19478 #include <sys/timeout.h>
19479 #endif
19480 #ifdef HAVE_NETINET_IN_H
19481 #include <netinet/in.h>
19482 #endif
19483 #ifdef HAVE_NETINET_IN_SYSTM_H
19484 #include <netinet/in_systm.h>
19485 #endif
19486 #ifdef HAVE_NETINET_IP_H
19487 #include <netinet/ip.h>
19488 #endif
19489 #ifdef HAVE_NETINET_IP_VAR_H
19490 #include <netinet/ip_var.h>
19491 #endif
19492 #ifdef HAVE_NETINET_IP_ICMP_H
19493 #include <netinet/ip_icmp.h>
19494 #endif
19495 #ifdef HAVE_NETINET_ICMP_VAR_H
19496 #include <netinet/icmp_var.h>
19497 #endif
19499 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19501 cat >>confdefs.h <<_ACEOF
19502 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19503 _ACEOF
19509 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19510 #include <sys/types.h>
19511 #endif
19512 #ifdef HAVE_SYS_SOCKETVAR_H
19513 #include <sys/socketvar.h>
19514 #endif
19515 #ifdef HAVE_NETINET_IN_H
19516 #include <netinet/in.h>
19517 #endif
19518 #ifdef HAVE_NETINET_IP_VAR_H
19519 #include <netinet/ip_var.h>
19520 #endif
19522 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19524 cat >>confdefs.h <<_ACEOF
19525 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19526 _ACEOF
19532 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
19533 #include <netinet/ip_var.h>
19534 #endif
19536 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19538 cat >>confdefs.h <<_ACEOF
19539 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19540 _ACEOF
19546 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19547 #include <sys/types.h>
19548 #endif
19549 #ifdef HAVE_SYS_SOCKETVAR_H
19550 #include <sys/socketvar.h>
19551 #endif
19552 #ifdef HAVE_NETINET_IN_H
19553 #include <netinet/in.h>
19554 #endif
19555 #ifdef HAVE_NETINET_TCP_H
19556 #include <netinet/tcp.h>
19557 #endif
19558 #ifdef HAVE_NETINET_TCP_VAR_H
19559 #include <netinet/tcp_var.h>
19560 #endif
19562 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19564 cat >>confdefs.h <<_ACEOF
19565 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19566 _ACEOF
19572 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
19573 #include <netinet/tcp_var.h>
19574 #endif
19576 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19578 cat >>confdefs.h <<_ACEOF
19579 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19580 _ACEOF
19586 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19587 #include <sys/types.h>
19588 #endif
19589 #ifdef HAVE_NETINET_IN_H
19590 #include <netinet/in.h>
19591 #endif
19592 #ifdef HAVE_NETINET_IP_VAR_H
19593 #include <netinet/ip_var.h>
19594 #endif
19595 #ifdef HAVE_NETINET_UDP_H
19596 #include <netinet/udp.h>
19597 #endif
19598 #ifdef HAVE_NETINET_UDP_VAR_H
19599 #include <netinet/udp_var.h>
19600 #endif
19602 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19604 cat >>confdefs.h <<_ACEOF
19605 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19606 _ACEOF
19612 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19613 #include <sys/types.h>
19614 #endif
19615 #ifdef HAVE_NET_IF_H
19616 # include <net/if.h>
19617 #endif
19619 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19621 cat >>confdefs.h <<_ACEOF
19622 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19623 _ACEOF
19629 ac_save_LIBS="$LIBS"
19630 LIBS="$LIBS -lm"
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19632 $as_echo_n "checking for isfinite... " >&6; }
19633 if ${ac_cv_have_isfinite+:} false; then :
19634 $as_echo_n "(cached) " >&6
19635 else
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #define _GNU_SOURCE
19639 #include <math.h>
19641 main ()
19643 float f = 0.0; return isfinite(f)
19645 return 0;
19647 _ACEOF
19648 if ac_fn_c_try_link "$LINENO"; then :
19649 ac_cv_have_isfinite="yes"
19650 else
19651 ac_cv_have_isfinite="no"
19653 rm -f core conftest.err conftest.$ac_objext \
19654 conftest$ac_exeext conftest.$ac_ext
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19657 $as_echo "$ac_cv_have_isfinite" >&6; }
19658 if test "$ac_cv_have_isfinite" = "yes"
19659 then
19661 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19666 $as_echo_n "checking for isinf... " >&6; }
19667 if ${ac_cv_have_isinf+:} false; then :
19668 $as_echo_n "(cached) " >&6
19669 else
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672 #include <math.h>
19674 main ()
19676 float f = 0.0; return isinf(f)
19678 return 0;
19680 _ACEOF
19681 if ac_fn_c_try_link "$LINENO"; then :
19682 ac_cv_have_isinf="yes"
19683 else
19684 ac_cv_have_isinf="no"
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19690 $as_echo "$ac_cv_have_isinf" >&6; }
19691 if test "$ac_cv_have_isinf" = "yes"
19692 then
19694 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19699 $as_echo_n "checking for isnan... " >&6; }
19700 if ${ac_cv_have_isnan+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19705 #include <math.h>
19707 main ()
19709 float f = 0.0; return isnan(f)
19711 return 0;
19713 _ACEOF
19714 if ac_fn_c_try_link "$LINENO"; then :
19715 ac_cv_have_isnan="yes"
19716 else
19717 ac_cv_have_isnan="no"
19719 rm -f core conftest.err conftest.$ac_objext \
19720 conftest$ac_exeext conftest.$ac_ext
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19723 $as_echo "$ac_cv_have_isnan" >&6; }
19724 if test "$ac_cv_have_isnan" = "yes"
19725 then
19727 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19731 for ac_func in \
19732 acosh \
19733 acoshf \
19734 asinh \
19735 asinhf \
19736 atanh \
19737 atanhf \
19738 cbrt \
19739 cbrtf \
19740 erf \
19741 erfc \
19742 erfcf \
19743 erff \
19744 exp2 \
19745 exp2f \
19746 expm1 \
19747 expm1f \
19748 fma \
19749 fmaf \
19750 ilogb \
19751 ilogbf \
19752 j0 \
19753 j1 \
19754 jn \
19755 lgamma \
19756 lgammaf \
19757 llrint \
19758 llrintf \
19759 llround \
19760 llroundf \
19761 log1p \
19762 log1pf \
19763 log2 \
19764 log2f \
19765 lrint \
19766 lrintf \
19767 lround \
19768 lroundf \
19769 nearbyint \
19770 nearbyintf \
19771 nexttoward \
19772 nexttowardf \
19773 remainder \
19774 remainderf \
19775 remquo \
19776 remquof \
19777 rint \
19778 rintf \
19779 round \
19780 roundf \
19781 tgamma \
19782 tgammaf \
19783 trunc \
19784 truncf \
19785 y0 \
19786 y1 \
19789 do :
19790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19793 cat >>confdefs.h <<_ACEOF
19794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19795 _ACEOF
19798 done
19800 LIBS="$ac_save_LIBS"
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19803 $as_echo_n "checking for __builtin_popcount... " >&6; }
19804 if ${ac_cv_have___builtin_popcount+:} false; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19811 main ()
19813 return __builtin_popcount(1)
19815 return 0;
19817 _ACEOF
19818 if ac_fn_c_try_link "$LINENO"; then :
19819 ac_cv_have___builtin_popcount="yes"
19820 else
19821 ac_cv_have___builtin_popcount="no"
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19827 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19828 if test "$ac_cv_have___builtin_popcount" = "yes"
19829 then
19831 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19836 $as_echo_n "checking for __clear_cache... " >&6; }
19837 if ${ac_cv_have___clear_cache+:} false; then :
19838 $as_echo_n "(cached) " >&6
19839 else
19840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h. */
19844 main ()
19846 __clear_cache((void*)0, (void*)0); return 0;
19848 return 0;
19850 _ACEOF
19851 if ac_fn_c_try_link "$LINENO"; then :
19852 ac_cv_have___clear_cache="yes"
19853 else
19854 ac_cv_have___clear_cache="no"
19856 rm -f core conftest.err conftest.$ac_objext \
19857 conftest$ac_exeext conftest.$ac_ext
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19860 $as_echo "$ac_cv_have___clear_cache" >&6; }
19861 if test "$ac_cv_have___clear_cache" = "yes"
19862 then
19864 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19869 case $host_cpu in
19870 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19871 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19872 if ${ac_cv_cpp_def___i386__+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #ifndef __i386__
19879 #endif
19880 _ACEOF
19881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19882 $EGREP "yes" >/dev/null 2>&1; then :
19883 ac_cv_cpp_def___i386__=yes
19884 else
19885 ac_cv_cpp_def___i386__=no
19887 rm -f conftest*
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19891 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19892 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19893 CFLAGS="$CFLAGS -D__i386__"
19894 LINTFLAGS="$LINTFLAGS -D__i386__"
19895 fi ;;
19896 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19897 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19898 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19899 $as_echo_n "(cached) " >&6
19900 else
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #ifndef __x86_64__
19905 #endif
19906 _ACEOF
19907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19908 $EGREP "yes" >/dev/null 2>&1; then :
19909 ac_cv_cpp_def___x86_64__=yes
19910 else
19911 ac_cv_cpp_def___x86_64__=no
19913 rm -f conftest*
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19917 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19918 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19919 CFLAGS="$CFLAGS -D__x86_64__"
19920 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19921 fi ;;
19922 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19923 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19924 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19925 $as_echo_n "(cached) " >&6
19926 else
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #ifndef __sparc64__
19931 #endif
19932 _ACEOF
19933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19934 $EGREP "yes" >/dev/null 2>&1; then :
19935 ac_cv_cpp_def___sparc64__=yes
19936 else
19937 ac_cv_cpp_def___sparc64__=no
19939 rm -f conftest*
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19943 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19944 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19945 CFLAGS="$CFLAGS -D__sparc64__"
19946 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19947 fi ;;
19948 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19949 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19950 if ${ac_cv_cpp_def___sparc__+:} false; then :
19951 $as_echo_n "(cached) " >&6
19952 else
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #ifndef __sparc__
19957 #endif
19958 _ACEOF
19959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19960 $EGREP "yes" >/dev/null 2>&1; then :
19961 ac_cv_cpp_def___sparc__=yes
19962 else
19963 ac_cv_cpp_def___sparc__=no
19965 rm -f conftest*
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19969 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19970 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19971 CFLAGS="$CFLAGS -D__sparc__"
19972 LINTFLAGS="$LINTFLAGS -D__sparc__"
19973 fi ;;
19974 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19975 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19976 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19977 $as_echo_n "(cached) " >&6
19978 else
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19981 #ifndef __powerpc64__
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___powerpc64__=yes
19988 else
19989 ac_cv_cpp_def___powerpc64__=no
19991 rm -f conftest*
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19995 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19996 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19997 CFLAGS="$CFLAGS -D__powerpc64__"
19998 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19999 fi ;;
20000 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20001 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20002 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20003 $as_echo_n "(cached) " >&6
20004 else
20005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20007 #ifndef __powerpc__
20009 #endif
20010 _ACEOF
20011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20012 $EGREP "yes" >/dev/null 2>&1; then :
20013 ac_cv_cpp_def___powerpc__=yes
20014 else
20015 ac_cv_cpp_def___powerpc__=no
20017 rm -f conftest*
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20021 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20022 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20023 CFLAGS="$CFLAGS -D__powerpc__"
20024 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20025 fi ;;
20026 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20027 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20028 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20029 $as_echo_n "(cached) " >&6
20030 else
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20033 #ifndef __aarch64__
20035 #endif
20036 _ACEOF
20037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20038 $EGREP "yes" >/dev/null 2>&1; then :
20039 ac_cv_cpp_def___aarch64__=yes
20040 else
20041 ac_cv_cpp_def___aarch64__=no
20043 rm -f conftest*
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20047 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20048 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20049 CFLAGS="$CFLAGS -D__aarch64__"
20050 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20051 fi ;;
20052 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20053 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20054 if ${ac_cv_cpp_def___arm__+:} false; then :
20055 $as_echo_n "(cached) " >&6
20056 else
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059 #ifndef __arm__
20061 #endif
20062 _ACEOF
20063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20064 $EGREP "yes" >/dev/null 2>&1; then :
20065 ac_cv_cpp_def___arm__=yes
20066 else
20067 ac_cv_cpp_def___arm__=no
20069 rm -f conftest*
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20073 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20074 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20075 CFLAGS="$CFLAGS -D__arm__"
20076 LINTFLAGS="$LINTFLAGS -D__arm__"
20077 fi ;;
20078 esac
20080 case $host_vendor in
20081 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20082 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20083 if ${ac_cv_cpp_def___sun__+:} false; then :
20084 $as_echo_n "(cached) " >&6
20085 else
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 #ifndef __sun__
20090 #endif
20091 _ACEOF
20092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20093 $EGREP "yes" >/dev/null 2>&1; then :
20094 ac_cv_cpp_def___sun__=yes
20095 else
20096 ac_cv_cpp_def___sun__=no
20098 rm -f conftest*
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20102 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20103 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20104 CFLAGS="$CFLAGS -D__sun__"
20105 LINTFLAGS="$LINTFLAGS -D__sun__"
20106 fi ;;
20107 esac
20113 ac_config_commands="$ac_config_commands include/stamp-h"
20115 $as_echo_n "creating Makefile rules..." >&6
20117 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20118 OPENGL_LIBS = $OPENGL_LIBS
20119 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20120 IOKIT_LIBS = $IOKIT_LIBS
20121 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20122 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20123 CORESERVICES_LIBS = $CORESERVICES_LIBS
20124 APPKIT_LIBS = $APPKIT_LIBS
20125 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20126 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20127 SECURITY_LIBS = $SECURITY_LIBS
20128 COREAUDIO_LIBS = $COREAUDIO_LIBS
20129 OPENAL_LIBS = $OPENAL_LIBS
20130 OPENCL_LIBS = $OPENCL_LIBS
20131 QUICKTIME_LIBS = $QUICKTIME_LIBS
20132 CARBON_LIBS = $CARBON_LIBS
20133 METAL_LIBS = $METAL_LIBS
20134 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20135 PTHREAD_LIBS = $PTHREAD_LIBS
20136 X_CFLAGS = $X_CFLAGS
20137 X_PRE_LIBS = $X_PRE_LIBS
20138 X_LIBS = $X_LIBS
20139 X_EXTRA_LIBS = $X_EXTRA_LIBS
20140 PCAP_LIBS = $PCAP_LIBS
20141 XML2_CFLAGS = $XML2_CFLAGS
20142 XML2_LIBS = $XML2_LIBS
20143 XSLT_CFLAGS = $XSLT_CFLAGS
20144 XSLT_LIBS = $XSLT_LIBS
20145 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20146 INOTIFY_LIBS = $INOTIFY_LIBS
20147 DBUS_CFLAGS = $DBUS_CFLAGS
20148 DBUS_LIBS = $DBUS_LIBS
20149 HAL_CFLAGS = $HAL_CFLAGS
20150 HAL_LIBS = $HAL_LIBS
20151 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20152 GNUTLS_LIBS = $GNUTLS_LIBS
20153 SANE_CFLAGS = $SANE_CFLAGS
20154 SANE_LIBS = $SANE_LIBS
20155 USB_CFLAGS = $USB_CFLAGS
20156 USB_LIBS = $USB_LIBS
20157 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20158 GPHOTO2_LIBS = $GPHOTO2_LIBS
20159 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20160 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20161 RESOLV_LIBS = $RESOLV_LIBS
20162 LCMS2_CFLAGS = $LCMS2_CFLAGS
20163 LCMS2_LIBS = $LCMS2_LIBS
20164 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20165 FREETYPE_LIBS = $FREETYPE_LIBS
20166 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20167 PULSE_CFLAGS = $PULSE_CFLAGS
20168 PULSE_LIBS = $PULSE_LIBS
20169 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20170 GSTREAMER_LIBS = $GSTREAMER_LIBS
20171 ALSA_LIBS = $ALSA_LIBS
20172 OSS4_CFLAGS = $OSS4_CFLAGS
20173 OSS4_LIBS = $OSS4_LIBS
20174 UDEV_CFLAGS = $UDEV_CFLAGS
20175 UDEV_LIBS = $UDEV_LIBS
20176 UNWIND_CFLAGS = $UNWIND_CFLAGS
20177 UNWIND_LIBS = $UNWIND_LIBS
20178 SDL2_CFLAGS = $SDL2_CFLAGS
20179 SDL2_LIBS = $SDL2_LIBS
20180 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20181 FAUDIO_LIBS = $FAUDIO_LIBS
20182 CAPI20_CFLAGS = $CAPI20_CFLAGS
20183 CAPI20_LIBS = $CAPI20_LIBS
20184 CUPS_CFLAGS = $CUPS_CFLAGS
20185 CUPS_LIBS = $CUPS_LIBS
20186 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20187 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20188 KRB5_CFLAGS = $KRB5_CFLAGS
20189 KRB5_LIBS = $KRB5_LIBS
20190 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20191 GSSAPI_LIBS = $GSSAPI_LIBS
20192 JPEG_CFLAGS = $JPEG_CFLAGS
20193 JPEG_LIBS = $JPEG_LIBS
20194 PNG_CFLAGS = $PNG_CFLAGS
20195 PNG_LIBS = $PNG_LIBS
20196 TIFF_CFLAGS = $TIFF_CFLAGS
20197 TIFF_LIBS = $TIFF_LIBS
20198 MPG123_CFLAGS = $MPG123_CFLAGS
20199 MPG123_LIBS = $MPG123_LIBS
20200 KSTAT_LIBS = $KSTAT_LIBS
20201 PROCSTAT_LIBS = $PROCSTAT_LIBS
20202 NETAPI_CFLAGS = $NETAPI_CFLAGS
20203 NETAPI_LIBS = $NETAPI_LIBS
20204 VKD3D_CFLAGS = $VKD3D_CFLAGS
20205 VKD3D_LIBS = $VKD3D_LIBS
20206 POLL_LIBS = $POLL_LIBS
20207 RT_LIBS = $RT_LIBS
20208 LDAP_CFLAGS = $LDAP_CFLAGS
20209 LDAP_LIBS = $LDAP_LIBS
20214 wine_fn_append_rule "
20215 # Rules automatically generated by configure
20217 .INIT: Makefile
20218 .MAKEFILEDEPS:
20219 all: Makefile
20220 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20221 @./config.status Make.tmp Makefile
20222 depend: \$(MAKEDEP) dummy
20223 \$(MAKEDEP)"
20225 ac_config_links="$ac_config_links wine:tools/winewrapper"
20226 wine_fn_config_symlink wine
20227 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20228 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20229 wine_fn_config_symlink wine64
20232 wine_fn_config_makefile dlls/acledit enable_acledit
20233 wine_fn_config_makefile dlls/aclui enable_aclui
20234 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20235 wine_fn_config_makefile dlls/activeds enable_activeds
20236 wine_fn_config_makefile dlls/activeds/tests enable_tests
20237 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20238 wine_fn_config_makefile dlls/adsiid enable_adsiid
20239 wine_fn_config_makefile dlls/adsldp enable_adsldp
20240 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20241 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20242 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20243 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20244 wine_fn_config_makefile dlls/advpack enable_advpack
20245 wine_fn_config_makefile dlls/advpack/tests enable_tests
20246 wine_fn_config_makefile dlls/amsi enable_amsi
20247 wine_fn_config_makefile dlls/amstream enable_amstream
20248 wine_fn_config_makefile dlls/amstream/tests enable_tests
20249 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20251 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20252 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20274 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20275 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20277 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20280 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20281 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20283 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20284 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20298 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20301 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20303 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20304 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20308 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20309 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20317 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20318 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20319 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20326 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20331 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20332 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20355 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20358 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20359 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20362 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20364 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20372 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20377 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20378 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20383 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20385 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20404 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20405 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20407 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20425 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20428 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20434 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20436 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20438 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20439 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20440 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20442 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20443 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20444 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20445 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20447 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20448 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20450 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20452 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20453 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20455 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20457 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20458 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20461 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20463 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20464 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20465 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20466 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20467 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20468 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20469 wine_fn_config_makefile dlls/apphelp enable_apphelp
20470 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20471 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20472 wine_fn_config_makefile dlls/atl enable_atl
20473 wine_fn_config_makefile dlls/atl/tests enable_tests
20474 wine_fn_config_makefile dlls/atl100 enable_atl100
20475 wine_fn_config_makefile dlls/atl100/tests enable_tests
20476 wine_fn_config_makefile dlls/atl110 enable_atl110
20477 wine_fn_config_makefile dlls/atl80 enable_atl80
20478 wine_fn_config_makefile dlls/atl80/tests enable_tests
20479 wine_fn_config_makefile dlls/atl90 enable_atl90
20480 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20481 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20482 wine_fn_config_makefile dlls/atmlib enable_atmlib
20483 wine_fn_config_makefile dlls/authz enable_authz
20484 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20485 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20486 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20487 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20488 wine_fn_config_makefile dlls/avrt enable_avrt
20489 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20490 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20491 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20492 wine_fn_config_makefile dlls/browseui enable_browseui
20493 wine_fn_config_makefile dlls/browseui/tests enable_tests
20494 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20495 wine_fn_config_makefile dlls/cabinet enable_cabinet
20496 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20497 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20498 wine_fn_config_makefile dlls/cards enable_cards
20499 wine_fn_config_makefile dlls/cdosys enable_cdosys
20500 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20501 wine_fn_config_makefile dlls/clusapi enable_clusapi
20502 wine_fn_config_makefile dlls/combase enable_combase
20503 wine_fn_config_makefile dlls/combase/tests enable_tests
20504 wine_fn_config_makefile dlls/comcat enable_comcat
20505 wine_fn_config_makefile dlls/comcat/tests enable_tests
20506 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20507 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20508 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20509 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20510 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20511 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20512 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20513 wine_fn_config_makefile dlls/compstui enable_compstui
20514 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20515 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20516 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20517 wine_fn_config_makefile dlls/connect enable_connect
20518 wine_fn_config_makefile dlls/credui enable_credui
20519 wine_fn_config_makefile dlls/credui/tests enable_tests
20520 wine_fn_config_makefile dlls/crtdll enable_crtdll
20521 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20522 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20523 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20524 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20525 wine_fn_config_makefile dlls/cryptext enable_cryptext
20526 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20527 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20528 wine_fn_config_makefile dlls/cryptui enable_cryptui
20529 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20530 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20531 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20532 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20533 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20534 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20535 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20536 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20537 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20538 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20539 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20540 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20541 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20542 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20543 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20544 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20545 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20546 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20547 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20548 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20549 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20550 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20551 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20552 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20553 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20554 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20555 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20556 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20557 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20558 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20559 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20560 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20561 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20562 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20563 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20564 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20565 wine_fn_config_makefile dlls/d3dim enable_d3dim
20566 wine_fn_config_makefile dlls/d3drm enable_d3drm
20567 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20568 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20569 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20570 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20571 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20572 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20573 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20574 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20575 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20576 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20577 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20578 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20579 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20580 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20581 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20582 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20583 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20584 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20585 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20586 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20587 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20588 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20589 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20590 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20591 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20592 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20593 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20594 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20595 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20596 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20597 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20598 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20599 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20600 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20601 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20602 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20603 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20604 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20605 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20606 wine_fn_config_makefile dlls/davclnt enable_davclnt
20607 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20608 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20609 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20610 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20611 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20612 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20613 wine_fn_config_makefile dlls/ddraw enable_ddraw
20614 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20615 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20616 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20617 wine_fn_config_makefile dlls/devenum enable_devenum
20618 wine_fn_config_makefile dlls/devenum/tests enable_tests
20619 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20620 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20621 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20622 wine_fn_config_makefile dlls/difxapi enable_difxapi
20623 wine_fn_config_makefile dlls/dinput enable_dinput
20624 wine_fn_config_makefile dlls/dinput/tests enable_tests
20625 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20626 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20627 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20628 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20629 wine_fn_config_makefile dlls/dispex enable_dispex
20630 wine_fn_config_makefile dlls/dispex/tests enable_tests
20631 wine_fn_config_makefile dlls/display.drv16 enable_win16
20632 wine_fn_config_makefile dlls/dmband enable_dmband
20633 wine_fn_config_makefile dlls/dmband/tests enable_tests
20634 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20635 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20636 wine_fn_config_makefile dlls/dmime enable_dmime
20637 wine_fn_config_makefile dlls/dmime/tests enable_tests
20638 wine_fn_config_makefile dlls/dmloader enable_dmloader
20639 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20640 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20641 wine_fn_config_makefile dlls/dmscript enable_dmscript
20642 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20643 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20644 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20645 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20646 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20647 wine_fn_config_makefile dlls/dmusic enable_dmusic
20648 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20649 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20650 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20651 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20652 wine_fn_config_makefile dlls/dplay enable_dplay
20653 wine_fn_config_makefile dlls/dplayx enable_dplayx
20654 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20655 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20656 wine_fn_config_makefile dlls/dpnet enable_dpnet
20657 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20658 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20659 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20660 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20661 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20662 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20663 wine_fn_config_makefile dlls/drmclien enable_drmclien
20664 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20665 wine_fn_config_makefile dlls/dsound enable_dsound
20666 wine_fn_config_makefile dlls/dsound/tests enable_tests
20667 wine_fn_config_makefile dlls/dsquery enable_dsquery
20668 wine_fn_config_makefile dlls/dssenh enable_dssenh
20669 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20670 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20671 wine_fn_config_makefile dlls/dswave enable_dswave
20672 wine_fn_config_makefile dlls/dswave/tests enable_tests
20673 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20674 wine_fn_config_makefile dlls/dwrite enable_dwrite
20675 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20676 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20677 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20678 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20679 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20680 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20681 wine_fn_config_makefile dlls/dxgi enable_dxgi
20682 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20683 wine_fn_config_makefile dlls/dxguid enable_dxguid
20684 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20685 wine_fn_config_makefile dlls/esent enable_esent
20686 wine_fn_config_makefile dlls/evr enable_evr
20687 wine_fn_config_makefile dlls/evr/tests enable_tests
20688 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20689 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20690 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20691 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20692 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20693 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20694 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20695 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20696 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20699 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20700 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20701 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20702 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20703 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20704 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20705 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20706 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20707 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20708 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20709 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20710 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20711 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20712 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20713 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20714 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20715 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20716 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20717 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20718 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20719 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20720 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20721 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20722 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20723 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20724 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20725 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20726 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20727 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20728 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20729 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20730 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
20731 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20732 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20733 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20734 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20735 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20736 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20737 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20738 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20739 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20740 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20741 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20742 wine_fn_config_makefile dlls/faultrep enable_faultrep
20743 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20744 wine_fn_config_makefile dlls/feclient enable_feclient
20745 wine_fn_config_makefile dlls/fltlib enable_fltlib
20746 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20747 wine_fn_config_makefile dlls/fntcache enable_fntcache
20748 wine_fn_config_makefile dlls/fontsub enable_fontsub
20749 wine_fn_config_makefile dlls/fusion enable_fusion
20750 wine_fn_config_makefile dlls/fusion/tests enable_tests
20751 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20752 wine_fn_config_makefile dlls/gameux enable_gameux
20753 wine_fn_config_makefile dlls/gameux/tests enable_tests
20754 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20755 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20756 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20757 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20758 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20759 wine_fn_config_makefile dlls/glu32 enable_glu32
20760 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20761 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20762 wine_fn_config_makefile dlls/hal enable_hal
20763 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20764 wine_fn_config_makefile dlls/hid enable_hid
20765 wine_fn_config_makefile dlls/hid/tests enable_tests
20766 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20767 wine_fn_config_makefile dlls/hlink enable_hlink
20768 wine_fn_config_makefile dlls/hlink/tests enable_tests
20769 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20770 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20771 wine_fn_config_makefile dlls/http.sys enable_http_sys
20772 wine_fn_config_makefile dlls/httpapi enable_httpapi
20773 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20774 wine_fn_config_makefile dlls/iccvid enable_iccvid
20775 wine_fn_config_makefile dlls/icmp enable_icmp
20776 wine_fn_config_makefile dlls/ieframe enable_ieframe
20777 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20778 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20779 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20780 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20781 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20782 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20783 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20784 wine_fn_config_makefile dlls/imm32 enable_imm32
20785 wine_fn_config_makefile dlls/imm32/tests enable_tests
20786 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20787 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20788 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20789 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20790 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20791 wine_fn_config_makefile dlls/infosoft enable_infosoft
20792 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20793 wine_fn_config_makefile dlls/initpki enable_initpki
20794 wine_fn_config_makefile dlls/inkobj enable_inkobj
20795 wine_fn_config_makefile dlls/inseng enable_inseng
20796 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20797 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20798 wine_fn_config_makefile dlls/iprop enable_iprop
20799 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20800 wine_fn_config_makefile dlls/itircl enable_itircl
20801 wine_fn_config_makefile dlls/itss enable_itss
20802 wine_fn_config_makefile dlls/itss/tests enable_tests
20803 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20804 wine_fn_config_makefile dlls/jscript enable_jscript
20805 wine_fn_config_makefile dlls/jscript/tests enable_tests
20806 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20807 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20808 wine_fn_config_makefile dlls/kerberos enable_kerberos
20809 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20810 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20811 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20812 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20813 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20814 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20815 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20816 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20817 wine_fn_config_makefile dlls/ksuser enable_ksuser
20818 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20819 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20820 wine_fn_config_makefile dlls/loadperf enable_loadperf
20821 wine_fn_config_makefile dlls/localspl enable_localspl
20822 wine_fn_config_makefile dlls/localspl/tests enable_tests
20823 wine_fn_config_makefile dlls/localui enable_localui
20824 wine_fn_config_makefile dlls/localui/tests enable_tests
20825 wine_fn_config_makefile dlls/lz32 enable_lz32
20826 wine_fn_config_makefile dlls/lz32/tests enable_tests
20827 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20828 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20829 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20830 wine_fn_config_makefile dlls/mapistub enable_mapistub
20831 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20832 wine_fn_config_makefile dlls/mcicda enable_mcicda
20833 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20834 wine_fn_config_makefile dlls/mciseq enable_mciseq
20835 wine_fn_config_makefile dlls/mciwave enable_mciwave
20836 wine_fn_config_makefile dlls/mf enable_mf
20837 wine_fn_config_makefile dlls/mf/tests enable_tests
20838 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20839 wine_fn_config_makefile dlls/mferror enable_mferror
20840 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20841 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20842 wine_fn_config_makefile dlls/mfplat enable_mfplat
20843 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20844 wine_fn_config_makefile dlls/mfplay enable_mfplay
20845 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20846 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20847 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20848 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20849 wine_fn_config_makefile dlls/midimap enable_midimap
20850 wine_fn_config_makefile dlls/mlang enable_mlang
20851 wine_fn_config_makefile dlls/mlang/tests enable_tests
20852 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20853 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20854 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20855 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20856 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20857 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20858 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20859 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20860 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20861 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20862 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20863 wine_fn_config_makefile dlls/mpr enable_mpr
20864 wine_fn_config_makefile dlls/mpr/tests enable_tests
20865 wine_fn_config_makefile dlls/mprapi enable_mprapi
20866 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20867 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20868 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20869 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20870 wine_fn_config_makefile dlls/msado15 enable_msado15
20871 wine_fn_config_makefile dlls/msado15/tests enable_tests
20872 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20873 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20874 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20875 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20876 wine_fn_config_makefile dlls/mscms enable_mscms
20877 wine_fn_config_makefile dlls/mscms/tests enable_tests
20878 wine_fn_config_makefile dlls/mscoree enable_mscoree
20879 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20880 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20881 wine_fn_config_makefile dlls/msctf enable_msctf
20882 wine_fn_config_makefile dlls/msctf/tests enable_tests
20883 wine_fn_config_makefile dlls/msctfp enable_msctfp
20884 wine_fn_config_makefile dlls/msdaps enable_msdaps
20885 wine_fn_config_makefile dlls/msdelta enable_msdelta
20886 wine_fn_config_makefile dlls/msdmo enable_msdmo
20887 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20888 wine_fn_config_makefile dlls/msdrm enable_msdrm
20889 wine_fn_config_makefile dlls/msftedit enable_msftedit
20890 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20891 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20892 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20893 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20894 wine_fn_config_makefile dlls/mshtml enable_mshtml
20895 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20896 wine_fn_config_makefile dlls/msi enable_msi
20897 wine_fn_config_makefile dlls/msi/tests enable_tests
20898 wine_fn_config_makefile dlls/msident enable_msident
20899 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20900 wine_fn_config_makefile dlls/msimsg enable_msimsg
20901 wine_fn_config_makefile dlls/msimtf enable_msimtf
20902 wine_fn_config_makefile dlls/msisip enable_msisip
20903 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20904 wine_fn_config_makefile dlls/msls31 enable_msls31
20905 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20906 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20907 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20908 wine_fn_config_makefile dlls/msports enable_msports
20909 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20910 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20911 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20912 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20913 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20914 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20915 wine_fn_config_makefile dlls/mstask enable_mstask
20916 wine_fn_config_makefile dlls/mstask/tests enable_tests
20917 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20918 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20919 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20920 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20921 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20922 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20923 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20924 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20925 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20926 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20927 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20928 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20929 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20930 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20931 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20932 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20933 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20934 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20935 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20936 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20937 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20938 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20939 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20940 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20941 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20942 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20943 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20944 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20945 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20946 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20947 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20948 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20949 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20950 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20951 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20952 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20953 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20954 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20955 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20956 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20957 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20958 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20959 wine_fn_config_makefile dlls/mswsock enable_mswsock
20960 wine_fn_config_makefile dlls/msxml enable_msxml
20961 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20962 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20963 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20964 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20965 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20966 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20967 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20968 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20969 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20970 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20971 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20972 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20973 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20974 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20975 wine_fn_config_makefile dlls/netprofm enable_netprofm
20976 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20977 wine_fn_config_makefile dlls/newdev enable_newdev
20978 wine_fn_config_makefile dlls/ninput enable_ninput
20979 wine_fn_config_makefile dlls/ninput/tests enable_tests
20980 wine_fn_config_makefile dlls/normaliz enable_normaliz
20981 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20982 wine_fn_config_makefile dlls/npptools enable_npptools
20983 wine_fn_config_makefile dlls/ntdll enable_ntdll
20984 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20985 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20986 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20987 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20988 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20989 wine_fn_config_makefile dlls/ntprint enable_ntprint
20990 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20991 wine_fn_config_makefile dlls/objsel enable_objsel
20992 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20993 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20994 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20995 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20996 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20997 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20998 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20999 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21000 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21001 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21002 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21003 wine_fn_config_makefile dlls/ole32 enable_ole32
21004 wine_fn_config_makefile dlls/ole32/tests enable_tests
21005 wine_fn_config_makefile dlls/oleacc enable_oleacc
21006 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21007 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21008 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21009 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21010 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21011 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21012 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21013 wine_fn_config_makefile dlls/oledlg enable_oledlg
21014 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21015 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21016 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21017 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21018 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21019 wine_fn_config_makefile dlls/opcservices enable_opcservices
21020 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21021 wine_fn_config_makefile dlls/openal32 enable_openal32
21022 wine_fn_config_makefile dlls/opencl enable_opencl
21023 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21024 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21025 wine_fn_config_makefile dlls/packager enable_packager
21026 wine_fn_config_makefile dlls/packager/tests enable_tests
21027 wine_fn_config_makefile dlls/pdh enable_pdh
21028 wine_fn_config_makefile dlls/pdh/tests enable_tests
21029 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21030 wine_fn_config_makefile dlls/pidgen enable_pidgen
21031 wine_fn_config_makefile dlls/powrprof enable_powrprof
21032 wine_fn_config_makefile dlls/printui enable_printui
21033 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21034 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21035 wine_fn_config_makefile dlls/propsys enable_propsys
21036 wine_fn_config_makefile dlls/propsys/tests enable_tests
21037 wine_fn_config_makefile dlls/psapi enable_psapi
21038 wine_fn_config_makefile dlls/psapi/tests enable_tests
21039 wine_fn_config_makefile dlls/pstorec enable_pstorec
21040 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21041 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21042 wine_fn_config_makefile dlls/qasf enable_qasf
21043 wine_fn_config_makefile dlls/qasf/tests enable_tests
21044 wine_fn_config_makefile dlls/qcap enable_qcap
21045 wine_fn_config_makefile dlls/qcap/tests enable_tests
21046 wine_fn_config_makefile dlls/qdvd enable_qdvd
21047 wine_fn_config_makefile dlls/qedit enable_qedit
21048 wine_fn_config_makefile dlls/qedit/tests enable_tests
21049 wine_fn_config_makefile dlls/qmgr enable_qmgr
21050 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21051 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21052 wine_fn_config_makefile dlls/quartz enable_quartz
21053 wine_fn_config_makefile dlls/quartz/tests enable_tests
21054 wine_fn_config_makefile dlls/query enable_query
21055 wine_fn_config_makefile dlls/qwave enable_qwave
21056 wine_fn_config_makefile dlls/qwave/tests enable_tests
21057 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21058 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21059 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21060 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21061 wine_fn_config_makefile dlls/regapi enable_regapi
21062 wine_fn_config_makefile dlls/resutils enable_resutils
21063 wine_fn_config_makefile dlls/riched20 enable_riched20
21064 wine_fn_config_makefile dlls/riched20/tests enable_tests
21065 wine_fn_config_makefile dlls/riched32 enable_riched32
21066 wine_fn_config_makefile dlls/riched32/tests enable_tests
21067 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21068 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21069 wine_fn_config_makefile dlls/rsabase enable_rsabase
21070 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21071 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21072 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21073 wine_fn_config_makefile dlls/rtutils enable_rtutils
21074 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21075 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21076 wine_fn_config_makefile dlls/samlib enable_samlib
21077 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21078 wine_fn_config_makefile dlls/sapi enable_sapi
21079 wine_fn_config_makefile dlls/sapi/tests enable_tests
21080 wine_fn_config_makefile dlls/sas enable_sas
21081 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21082 wine_fn_config_makefile dlls/sccbase enable_sccbase
21083 wine_fn_config_makefile dlls/schannel enable_schannel
21084 wine_fn_config_makefile dlls/schannel/tests enable_tests
21085 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21086 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21087 wine_fn_config_makefile dlls/scrobj enable_scrobj
21088 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21089 wine_fn_config_makefile dlls/scrrun enable_scrrun
21090 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21091 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21092 wine_fn_config_makefile dlls/sechost enable_sechost
21093 wine_fn_config_makefile dlls/secur32 enable_secur32
21094 wine_fn_config_makefile dlls/secur32/tests enable_tests
21095 wine_fn_config_makefile dlls/security enable_security
21096 wine_fn_config_makefile dlls/sensapi enable_sensapi
21097 wine_fn_config_makefile dlls/serialui enable_serialui
21098 wine_fn_config_makefile dlls/serialui/tests enable_tests
21099 wine_fn_config_makefile dlls/setupapi enable_setupapi
21100 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21101 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21102 wine_fn_config_makefile dlls/sfc enable_sfc
21103 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21104 wine_fn_config_makefile dlls/shcore enable_shcore
21105 wine_fn_config_makefile dlls/shcore/tests enable_tests
21106 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21107 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21108 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21109 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21110 wine_fn_config_makefile dlls/shell32 enable_shell32
21111 wine_fn_config_makefile dlls/shell32/tests enable_tests
21112 wine_fn_config_makefile dlls/shfolder enable_shfolder
21113 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21114 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21115 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21116 wine_fn_config_makefile dlls/slc enable_slc
21117 wine_fn_config_makefile dlls/slc/tests enable_tests
21118 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21119 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21120 wine_fn_config_makefile dlls/softpub enable_softpub
21121 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21122 wine_fn_config_makefile dlls/spoolss enable_spoolss
21123 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21124 wine_fn_config_makefile dlls/srclient enable_srclient
21125 wine_fn_config_makefile dlls/sspicli enable_sspicli
21126 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21127 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21128 wine_fn_config_makefile dlls/sti enable_sti
21129 wine_fn_config_makefile dlls/sti/tests enable_tests
21130 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21131 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21132 wine_fn_config_makefile dlls/strmbase enable_strmbase
21133 wine_fn_config_makefile dlls/strmdll enable_strmdll
21134 wine_fn_config_makefile dlls/strmiids enable_strmiids
21135 wine_fn_config_makefile dlls/svrapi enable_svrapi
21136 wine_fn_config_makefile dlls/sxs enable_sxs
21137 wine_fn_config_makefile dlls/sxs/tests enable_tests
21138 wine_fn_config_makefile dlls/system.drv16 enable_win16
21139 wine_fn_config_makefile dlls/t2embed enable_t2embed
21140 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21141 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21142 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21143 wine_fn_config_makefile dlls/taskschd enable_taskschd
21144 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21145 wine_fn_config_makefile dlls/tdh enable_tdh
21146 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21147 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21148 wine_fn_config_makefile dlls/traffic enable_traffic
21149 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21150 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21151 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21152 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21153 wine_fn_config_makefile dlls/tzres enable_tzres
21154 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21155 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21156 wine_fn_config_makefile dlls/uianimation enable_uianimation
21157 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21158 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21159 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21160 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21161 wine_fn_config_makefile dlls/unicows enable_unicows
21162 wine_fn_config_makefile dlls/updspapi enable_updspapi
21163 wine_fn_config_makefile dlls/url enable_url
21164 wine_fn_config_makefile dlls/urlmon enable_urlmon
21165 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21166 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21167 wine_fn_config_makefile dlls/user.exe16 enable_win16
21168 wine_fn_config_makefile dlls/user32 enable_user32
21169 wine_fn_config_makefile dlls/user32/tests enable_tests
21170 wine_fn_config_makefile dlls/userenv enable_userenv
21171 wine_fn_config_makefile dlls/userenv/tests enable_tests
21172 wine_fn_config_makefile dlls/usp10 enable_usp10
21173 wine_fn_config_makefile dlls/usp10/tests enable_tests
21174 wine_fn_config_makefile dlls/utildll enable_utildll
21175 wine_fn_config_makefile dlls/uuid enable_uuid
21176 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21177 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21178 wine_fn_config_makefile dlls/vbscript enable_vbscript
21179 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21180 wine_fn_config_makefile dlls/vcomp enable_vcomp
21181 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21182 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21183 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21184 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21185 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21186 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21187 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21188 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21189 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21190 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21191 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21192 wine_fn_config_makefile dlls/version enable_version
21193 wine_fn_config_makefile dlls/version/tests enable_tests
21194 wine_fn_config_makefile dlls/vga enable_vga
21195 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21196 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21197 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21198 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21199 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21200 wine_fn_config_makefile dlls/vssapi enable_vssapi
21201 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21202 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21203 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21204 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21205 wine_fn_config_makefile dlls/w32skrnl enable_win16
21206 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21207 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21208 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21209 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21210 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21211 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21212 wine_fn_config_makefile dlls/wdscore enable_wdscore
21213 wine_fn_config_makefile dlls/webservices enable_webservices
21214 wine_fn_config_makefile dlls/webservices/tests enable_tests
21215 wine_fn_config_makefile dlls/wer enable_wer
21216 wine_fn_config_makefile dlls/wer/tests enable_tests
21217 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21218 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21219 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21220 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21221 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21222 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21223 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21224 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21225 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21226 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21227 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21228 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21229 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21230 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21231 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21232 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21233 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21234 wine_fn_config_makefile dlls/wined3d enable_wined3d
21235 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21236 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21237 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21238 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21239 wine_fn_config_makefile dlls/winemapi enable_winemapi
21240 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21241 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21242 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21243 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21244 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21245 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21246 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21247 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21248 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21249 wine_fn_config_makefile dlls/wing32 enable_wing32
21250 wine_fn_config_makefile dlls/winhttp enable_winhttp
21251 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21252 wine_fn_config_makefile dlls/wininet enable_wininet
21253 wine_fn_config_makefile dlls/wininet/tests enable_tests
21254 wine_fn_config_makefile dlls/winmm enable_winmm
21255 wine_fn_config_makefile dlls/winmm/tests enable_tests
21256 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21257 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21258 wine_fn_config_makefile dlls/winscard enable_winscard
21259 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21260 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21261 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21262 wine_fn_config_makefile dlls/winsta enable_winsta
21263 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21264 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21265 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21266 wine_fn_config_makefile dlls/wintrust enable_wintrust
21267 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21268 wine_fn_config_makefile dlls/winusb enable_winusb
21269 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21270 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21271 wine_fn_config_makefile dlls/wlanui enable_wlanui
21272 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21273 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21274 wine_fn_config_makefile dlls/wmasf enable_wmasf
21275 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21276 wine_fn_config_makefile dlls/wmi enable_wmi
21277 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21278 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21279 wine_fn_config_makefile dlls/wmp enable_wmp
21280 wine_fn_config_makefile dlls/wmp/tests enable_tests
21281 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21282 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21283 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21284 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21285 wine_fn_config_makefile dlls/wow32 enable_win16
21286 wine_fn_config_makefile dlls/wpc enable_wpc
21287 wine_fn_config_makefile dlls/wpc/tests enable_tests
21288 wine_fn_config_makefile dlls/wpcap enable_wpcap
21289 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21290 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21291 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21292 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21293 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21294 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21295 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21296 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21297 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21298 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21299 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21300 wine_fn_config_makefile dlls/wuapi enable_wuapi
21301 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21302 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21303 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21304 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21305 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21306 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21307 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21308 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21309 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21310 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21311 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21312 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21313 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21314 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21315 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21316 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21317 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21318 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21319 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21320 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21321 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21322 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21323 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21324 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21325 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21326 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21327 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21328 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21329 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21330 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21331 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21332 wine_fn_config_makefile dlls/xmllite enable_xmllite
21333 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21334 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21335 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21336 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21337 wine_fn_config_makefile fonts enable_fonts
21338 wine_fn_config_makefile include enable_include
21339 wine_fn_config_makefile libs/port enable_port
21340 wine_fn_config_makefile libs/wine enable_wine
21341 wine_fn_config_makefile libs/wpp enable_wpp
21342 wine_fn_config_makefile loader enable_loader
21343 wine_fn_config_makefile nls enable_nls
21344 wine_fn_config_makefile po enable_po
21345 wine_fn_config_makefile programs/arp enable_arp
21346 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21347 wine_fn_config_makefile programs/attrib enable_attrib
21348 wine_fn_config_makefile programs/cabarc enable_cabarc
21349 wine_fn_config_makefile programs/cacls enable_cacls
21350 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21351 wine_fn_config_makefile programs/clock enable_clock
21352 wine_fn_config_makefile programs/cmd enable_cmd
21353 wine_fn_config_makefile programs/cmd/tests enable_tests
21354 wine_fn_config_makefile programs/conhost enable_conhost
21355 wine_fn_config_makefile programs/control enable_control
21356 wine_fn_config_makefile programs/cscript enable_cscript
21357 wine_fn_config_makefile programs/dism enable_dism
21358 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21359 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21360 wine_fn_config_makefile programs/eject enable_eject
21361 wine_fn_config_makefile programs/expand enable_expand
21362 wine_fn_config_makefile programs/explorer enable_explorer
21363 wine_fn_config_makefile programs/extrac32 enable_extrac32
21364 wine_fn_config_makefile programs/fc enable_fc
21365 wine_fn_config_makefile programs/find enable_find
21366 wine_fn_config_makefile programs/find/tests enable_tests
21367 wine_fn_config_makefile programs/findstr enable_findstr
21368 wine_fn_config_makefile programs/fsutil enable_fsutil
21369 wine_fn_config_makefile programs/hh enable_hh
21370 wine_fn_config_makefile programs/hostname enable_hostname
21371 wine_fn_config_makefile programs/icacls enable_icacls
21372 wine_fn_config_makefile programs/icinfo enable_icinfo
21373 wine_fn_config_makefile programs/iexplore enable_iexplore
21374 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21375 wine_fn_config_makefile programs/lodctr enable_lodctr
21376 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21377 wine_fn_config_makefile programs/mshta enable_mshta
21378 wine_fn_config_makefile programs/msidb enable_msidb
21379 wine_fn_config_makefile programs/msiexec enable_msiexec
21380 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21381 wine_fn_config_makefile programs/net enable_net
21382 wine_fn_config_makefile programs/netsh enable_netsh
21383 wine_fn_config_makefile programs/netstat enable_netstat
21384 wine_fn_config_makefile programs/ngen enable_ngen
21385 wine_fn_config_makefile programs/notepad enable_notepad
21386 wine_fn_config_makefile programs/oleview enable_oleview
21387 wine_fn_config_makefile programs/ping enable_ping
21388 wine_fn_config_makefile programs/plugplay enable_plugplay
21389 wine_fn_config_makefile programs/powershell enable_powershell
21390 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21391 wine_fn_config_makefile programs/progman enable_progman
21392 wine_fn_config_makefile programs/reg enable_reg
21393 wine_fn_config_makefile programs/reg/tests enable_tests
21394 wine_fn_config_makefile programs/regasm enable_regasm
21395 wine_fn_config_makefile programs/regedit enable_regedit
21396 wine_fn_config_makefile programs/regedit/tests enable_tests
21397 wine_fn_config_makefile programs/regini enable_regini
21398 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21399 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21400 wine_fn_config_makefile programs/rpcss enable_rpcss
21401 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21402 wine_fn_config_makefile programs/rundll32 enable_rundll32
21403 wine_fn_config_makefile programs/sc enable_sc
21404 wine_fn_config_makefile programs/schtasks enable_schtasks
21405 wine_fn_config_makefile programs/schtasks/tests enable_tests
21406 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21407 wine_fn_config_makefile programs/secedit enable_secedit
21408 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21409 wine_fn_config_makefile programs/services enable_services
21410 wine_fn_config_makefile programs/services/tests enable_tests
21411 wine_fn_config_makefile programs/shutdown enable_shutdown
21412 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21413 wine_fn_config_makefile programs/start enable_start
21414 wine_fn_config_makefile programs/subst enable_subst
21415 wine_fn_config_makefile programs/svchost enable_svchost
21416 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21417 wine_fn_config_makefile programs/taskkill enable_taskkill
21418 wine_fn_config_makefile programs/tasklist enable_tasklist
21419 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21420 wine_fn_config_makefile programs/termsv enable_termsv
21421 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21422 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21423 wine_fn_config_makefile programs/view enable_view
21424 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21425 wine_fn_config_makefile programs/whoami enable_whoami
21426 wine_fn_config_makefile programs/wineboot enable_wineboot
21427 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21428 wine_fn_config_makefile programs/winecfg enable_winecfg
21429 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21430 wine_fn_config_makefile programs/winedbg enable_winedbg
21431 wine_fn_config_makefile programs/winedevice enable_winedevice
21432 wine_fn_config_makefile programs/winefile enable_winefile
21433 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21434 wine_fn_config_makefile programs/winemine enable_winemine
21435 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21436 wine_fn_config_makefile programs/winepath enable_winepath
21437 wine_fn_config_makefile programs/winetest enable_winetest
21438 wine_fn_config_makefile programs/winevdm enable_win16
21439 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21440 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21441 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21442 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21443 wine_fn_config_makefile programs/winver enable_winver
21444 wine_fn_config_makefile programs/wmic enable_wmic
21445 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21446 wine_fn_config_makefile programs/wordpad enable_wordpad
21447 wine_fn_config_makefile programs/write enable_write
21448 wine_fn_config_makefile programs/wscript enable_wscript
21449 wine_fn_config_makefile programs/wscript/tests enable_tests
21450 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21451 wine_fn_config_makefile programs/wusa enable_wusa
21452 wine_fn_config_makefile programs/xcopy enable_xcopy
21453 wine_fn_config_makefile programs/xcopy/tests enable_tests
21454 wine_fn_config_makefile server enable_server
21455 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21456 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21457 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21458 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21459 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21460 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21461 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21462 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21463 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21466 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21467 wine_fn_append_file CONFIGURE_TARGETS "tags"
21468 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21469 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21470 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21471 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21472 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21473 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21475 if test "x$enable_tools" != xno
21476 then
21477 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21478 ac_config_commands="$ac_config_commands tools/makedep"
21482 ac_config_commands="$ac_config_commands Makefile"
21485 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21489 if test "x$enable_maintainer_mode" = xyes
21490 then
21491 wine_fn_append_rule "configure: configure.ac aclocal.m4
21492 autoconf --warnings=all
21493 include/config.h.in: include/stamp-h.in
21494 include/stamp-h.in: configure.ac aclocal.m4
21495 autoheader --warnings=all
21496 @echo timestamp > \$@"
21499 if test "x$enable_tools" != xno
21500 then
21501 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21502 @./config.status tools/makedep
21503 Makefile: tools/makedep$ac_exeext
21504 fonts: tools/sfnt2fon
21505 include: tools tools/widl"
21506 else
21507 wine_fn_append_rule "\$(MAKEDEP):
21508 @echo \"You need to run make in $TOOLSDIR first\" && false"
21511 if test -n "$with_wine64"
21512 then
21513 case "$with_wine64" in
21514 /*) reldir="" ;;
21515 *) reldir="../" ;;
21516 esac
21517 rm -f fonts server 2>/dev/null
21518 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21519 loader/wine64 loader/wine64-preloader:
21520 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21521 $with_wine64/loader/wine:
21522 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21523 $with_wine64/loader/wine-preloader:
21524 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21525 clean::
21526 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21527 else
21528 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21529 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21530 fonts \
21531 loader/wine.inf \
21532 loader/winebus.inf \
21533 loader/winehid.inf \
21534 loader/wineusb.inf \
21535 nls \
21536 programs/msidb/msidb \
21537 programs/msiexec/msiexec \
21538 programs/notepad/notepad \
21539 programs/regedit/regedit \
21540 programs/regsvr32/regsvr32 \
21541 programs/wineboot/wineboot \
21542 programs/winecfg/winecfg \
21543 programs/wineconsole/wineconsole \
21544 programs/winedbg/winedbg \
21545 programs/winefile/winefile \
21546 programs/winemine/winemine \
21547 programs/winepath/winepath \
21548 server/wineserver"
21550 case $host_os in
21551 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21552 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21553 esac
21556 $as_echo " done" >&6
21557 cat >confcache <<\_ACEOF
21558 # This file is a shell script that caches the results of configure
21559 # tests run on this system so they can be shared between configure
21560 # scripts and configure runs, see configure's option --config-cache.
21561 # It is not useful on other systems. If it contains results you don't
21562 # want to keep, you may remove or edit it.
21564 # config.status only pays attention to the cache file if you give it
21565 # the --recheck option to rerun configure.
21567 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21568 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21569 # following values.
21571 _ACEOF
21573 # The following way of writing the cache mishandles newlines in values,
21574 # but we know of no workaround that is simple, portable, and efficient.
21575 # So, we kill variables containing newlines.
21576 # Ultrix sh set writes to stderr and can't be redirected directly,
21577 # and sets the high bit in the cache file unless we assign to the vars.
21579 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21580 eval ac_val=\$$ac_var
21581 case $ac_val in #(
21582 *${as_nl}*)
21583 case $ac_var in #(
21584 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21586 esac
21587 case $ac_var in #(
21588 _ | IFS | as_nl) ;; #(
21589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21590 *) { eval $ac_var=; unset $ac_var;} ;;
21591 esac ;;
21592 esac
21593 done
21595 (set) 2>&1 |
21596 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21597 *${as_nl}ac_space=\ *)
21598 # `set' does not quote correctly, so add quotes: double-quote
21599 # substitution turns \\\\ into \\, and sed turns \\ into \.
21600 sed -n \
21601 "s/'/'\\\\''/g;
21602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21603 ;; #(
21605 # `set' quotes correctly as required by POSIX, so do not add quotes.
21606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21608 esac |
21609 sort
21611 sed '
21612 /^ac_cv_env_/b end
21613 t clear
21614 :clear
21615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21616 t end
21617 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21618 :end' >>confcache
21619 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21620 if test -w "$cache_file"; then
21621 if test "x$cache_file" != "x/dev/null"; then
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21623 $as_echo "$as_me: updating cache $cache_file" >&6;}
21624 if test ! -f "$cache_file" || test -h "$cache_file"; then
21625 cat confcache >"$cache_file"
21626 else
21627 case $cache_file in #(
21628 */* | ?:*)
21629 mv -f confcache "$cache_file"$$ &&
21630 mv -f "$cache_file"$$ "$cache_file" ;; #(
21632 mv -f confcache "$cache_file" ;;
21633 esac
21636 else
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21641 rm -f confcache
21643 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21644 # Let make expand exec_prefix.
21645 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21647 DEFS=-DHAVE_CONFIG_H
21649 ac_libobjs=
21650 ac_ltlibobjs=
21652 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21653 # 1. Remove the extension, and $U if already installed.
21654 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21655 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21656 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21657 # will be set to the directory where LIBOBJS objects are built.
21658 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21659 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21660 done
21661 LIBOBJS=$ac_libobjs
21663 LTLIBOBJS=$ac_ltlibobjs
21667 : "${CONFIG_STATUS=./config.status}"
21668 ac_write_fail=0
21669 ac_clean_files_save=$ac_clean_files
21670 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21672 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21673 as_write_fail=0
21674 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21675 #! $SHELL
21676 # Generated by $as_me.
21677 # Run this file to recreate the current configuration.
21678 # Compiler output produced by configure, useful for debugging
21679 # configure, is in config.log if it exists.
21681 debug=false
21682 ac_cs_recheck=false
21683 ac_cs_silent=false
21685 SHELL=\${CONFIG_SHELL-$SHELL}
21686 export SHELL
21687 _ASEOF
21688 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21689 ## -------------------- ##
21690 ## M4sh Initialization. ##
21691 ## -------------------- ##
21693 # Be more Bourne compatible
21694 DUALCASE=1; export DUALCASE # for MKS sh
21695 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21696 emulate sh
21697 NULLCMD=:
21698 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21699 # is contrary to our usage. Disable this feature.
21700 alias -g '${1+"$@"}'='"$@"'
21701 setopt NO_GLOB_SUBST
21702 else
21703 case `(set -o) 2>/dev/null` in #(
21704 *posix*) :
21705 set -o posix ;; #(
21706 *) :
21708 esac
21712 as_nl='
21714 export as_nl
21715 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21716 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21717 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21718 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21719 # Prefer a ksh shell builtin over an external printf program on Solaris,
21720 # but without wasting forks for bash or zsh.
21721 if test -z "$BASH_VERSION$ZSH_VERSION" \
21722 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21723 as_echo='print -r --'
21724 as_echo_n='print -rn --'
21725 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21726 as_echo='printf %s\n'
21727 as_echo_n='printf %s'
21728 else
21729 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21730 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21731 as_echo_n='/usr/ucb/echo -n'
21732 else
21733 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21734 as_echo_n_body='eval
21735 arg=$1;
21736 case $arg in #(
21737 *"$as_nl"*)
21738 expr "X$arg" : "X\\(.*\\)$as_nl";
21739 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21740 esac;
21741 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21743 export as_echo_n_body
21744 as_echo_n='sh -c $as_echo_n_body as_echo'
21746 export as_echo_body
21747 as_echo='sh -c $as_echo_body as_echo'
21750 # The user is always right.
21751 if test "${PATH_SEPARATOR+set}" != set; then
21752 PATH_SEPARATOR=:
21753 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21754 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21755 PATH_SEPARATOR=';'
21760 # IFS
21761 # We need space, tab and new line, in precisely that order. Quoting is
21762 # there to prevent editors from complaining about space-tab.
21763 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21764 # splitting by setting IFS to empty value.)
21765 IFS=" "" $as_nl"
21767 # Find who we are. Look in the path if we contain no directory separator.
21768 as_myself=
21769 case $0 in #((
21770 *[\\/]* ) as_myself=$0 ;;
21771 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21772 for as_dir in $PATH
21774 IFS=$as_save_IFS
21775 test -z "$as_dir" && as_dir=.
21776 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21777 done
21778 IFS=$as_save_IFS
21781 esac
21782 # We did not find ourselves, most probably we were run as `sh COMMAND'
21783 # in which case we are not to be found in the path.
21784 if test "x$as_myself" = x; then
21785 as_myself=$0
21787 if test ! -f "$as_myself"; then
21788 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21789 exit 1
21792 # Unset variables that we do not need and which cause bugs (e.g. in
21793 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21794 # suppresses any "Segmentation fault" message there. '((' could
21795 # trigger a bug in pdksh 5.2.14.
21796 for as_var in BASH_ENV ENV MAIL MAILPATH
21797 do eval test x\${$as_var+set} = xset \
21798 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21799 done
21800 PS1='$ '
21801 PS2='> '
21802 PS4='+ '
21804 # NLS nuisances.
21805 LC_ALL=C
21806 export LC_ALL
21807 LANGUAGE=C
21808 export LANGUAGE
21810 # CDPATH.
21811 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21814 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21815 # ----------------------------------------
21816 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21817 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21818 # script with STATUS, using 1 if that was 0.
21819 as_fn_error ()
21821 as_status=$1; test $as_status -eq 0 && as_status=1
21822 if test "$4"; then
21823 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21824 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21826 $as_echo "$as_me: error: $2" >&2
21827 as_fn_exit $as_status
21828 } # as_fn_error
21831 # as_fn_set_status STATUS
21832 # -----------------------
21833 # Set $? to STATUS, without forking.
21834 as_fn_set_status ()
21836 return $1
21837 } # as_fn_set_status
21839 # as_fn_exit STATUS
21840 # -----------------
21841 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21842 as_fn_exit ()
21844 set +e
21845 as_fn_set_status $1
21846 exit $1
21847 } # as_fn_exit
21849 # as_fn_unset VAR
21850 # ---------------
21851 # Portably unset VAR.
21852 as_fn_unset ()
21854 { eval $1=; unset $1;}
21856 as_unset=as_fn_unset
21857 # as_fn_append VAR VALUE
21858 # ----------------------
21859 # Append the text in VALUE to the end of the definition contained in VAR. Take
21860 # advantage of any shell optimizations that allow amortized linear growth over
21861 # repeated appends, instead of the typical quadratic growth present in naive
21862 # implementations.
21863 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21864 eval 'as_fn_append ()
21866 eval $1+=\$2
21868 else
21869 as_fn_append ()
21871 eval $1=\$$1\$2
21873 fi # as_fn_append
21875 # as_fn_arith ARG...
21876 # ------------------
21877 # Perform arithmetic evaluation on the ARGs, and store the result in the
21878 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21879 # must be portable across $(()) and expr.
21880 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21881 eval 'as_fn_arith ()
21883 as_val=$(( $* ))
21885 else
21886 as_fn_arith ()
21888 as_val=`expr "$@" || test $? -eq 1`
21890 fi # as_fn_arith
21893 if expr a : '\(a\)' >/dev/null 2>&1 &&
21894 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21895 as_expr=expr
21896 else
21897 as_expr=false
21900 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21901 as_basename=basename
21902 else
21903 as_basename=false
21906 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21907 as_dirname=dirname
21908 else
21909 as_dirname=false
21912 as_me=`$as_basename -- "$0" ||
21913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21914 X"$0" : 'X\(//\)$' \| \
21915 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21916 $as_echo X/"$0" |
21917 sed '/^.*\/\([^/][^/]*\)\/*$/{
21918 s//\1/
21921 /^X\/\(\/\/\)$/{
21922 s//\1/
21925 /^X\/\(\/\).*/{
21926 s//\1/
21929 s/.*/./; q'`
21931 # Avoid depending upon Character Ranges.
21932 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21933 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21934 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21935 as_cr_digits='0123456789'
21936 as_cr_alnum=$as_cr_Letters$as_cr_digits
21938 ECHO_C= ECHO_N= ECHO_T=
21939 case `echo -n x` in #(((((
21940 -n*)
21941 case `echo 'xy\c'` in
21942 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21943 xy) ECHO_C='\c';;
21944 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21945 ECHO_T=' ';;
21946 esac;;
21948 ECHO_N='-n';;
21949 esac
21951 rm -f conf$$ conf$$.exe conf$$.file
21952 if test -d conf$$.dir; then
21953 rm -f conf$$.dir/conf$$.file
21954 else
21955 rm -f conf$$.dir
21956 mkdir conf$$.dir 2>/dev/null
21958 if (echo >conf$$.file) 2>/dev/null; then
21959 if ln -s conf$$.file conf$$ 2>/dev/null; then
21960 as_ln_s='ln -s'
21961 # ... but there are two gotchas:
21962 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21963 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21964 # In both cases, we have to default to `cp -pR'.
21965 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21966 as_ln_s='cp -pR'
21967 elif ln conf$$.file conf$$ 2>/dev/null; then
21968 as_ln_s=ln
21969 else
21970 as_ln_s='cp -pR'
21972 else
21973 as_ln_s='cp -pR'
21975 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21976 rmdir conf$$.dir 2>/dev/null
21979 # as_fn_mkdir_p
21980 # -------------
21981 # Create "$as_dir" as a directory, including parents if necessary.
21982 as_fn_mkdir_p ()
21985 case $as_dir in #(
21986 -*) as_dir=./$as_dir;;
21987 esac
21988 test -d "$as_dir" || eval $as_mkdir_p || {
21989 as_dirs=
21990 while :; do
21991 case $as_dir in #(
21992 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21993 *) as_qdir=$as_dir;;
21994 esac
21995 as_dirs="'$as_qdir' $as_dirs"
21996 as_dir=`$as_dirname -- "$as_dir" ||
21997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21998 X"$as_dir" : 'X\(//\)[^/]' \| \
21999 X"$as_dir" : 'X\(//\)$' \| \
22000 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22001 $as_echo X"$as_dir" |
22002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22003 s//\1/
22006 /^X\(\/\/\)[^/].*/{
22007 s//\1/
22010 /^X\(\/\/\)$/{
22011 s//\1/
22014 /^X\(\/\).*/{
22015 s//\1/
22018 s/.*/./; q'`
22019 test -d "$as_dir" && break
22020 done
22021 test -z "$as_dirs" || eval "mkdir $as_dirs"
22022 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22025 } # as_fn_mkdir_p
22026 if mkdir -p . 2>/dev/null; then
22027 as_mkdir_p='mkdir -p "$as_dir"'
22028 else
22029 test -d ./-p && rmdir ./-p
22030 as_mkdir_p=false
22034 # as_fn_executable_p FILE
22035 # -----------------------
22036 # Test if FILE is an executable regular file.
22037 as_fn_executable_p ()
22039 test -f "$1" && test -x "$1"
22040 } # as_fn_executable_p
22041 as_test_x='test -x'
22042 as_executable_p=as_fn_executable_p
22044 # Sed expression to map a string onto a valid CPP name.
22045 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22047 # Sed expression to map a string onto a valid variable name.
22048 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22051 exec 6>&1
22052 ## ----------------------------------- ##
22053 ## Main body of $CONFIG_STATUS script. ##
22054 ## ----------------------------------- ##
22055 _ASEOF
22056 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22059 # Save the log message, to keep $0 and so on meaningful, and to
22060 # report actual input values of CONFIG_FILES etc. instead of their
22061 # values after options handling.
22062 ac_log="
22063 This file was extended by Wine $as_me 5.10, which was
22064 generated by GNU Autoconf 2.69. Invocation command line was
22066 CONFIG_FILES = $CONFIG_FILES
22067 CONFIG_HEADERS = $CONFIG_HEADERS
22068 CONFIG_LINKS = $CONFIG_LINKS
22069 CONFIG_COMMANDS = $CONFIG_COMMANDS
22070 $ $0 $@
22072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22075 _ACEOF
22077 case $ac_config_files in *"
22078 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22079 esac
22081 case $ac_config_headers in *"
22082 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22083 esac
22086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22087 # Files that config.status was made for.
22088 config_files="$ac_config_files"
22089 config_headers="$ac_config_headers"
22090 config_links="$ac_config_links"
22091 config_commands="$ac_config_commands"
22093 _ACEOF
22095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22096 ac_cs_usage="\
22097 \`$as_me' instantiates files and other configuration actions
22098 from templates according to the current configuration. Unless the files
22099 and actions are specified as TAGs, all are instantiated by default.
22101 Usage: $0 [OPTION]... [TAG]...
22103 -h, --help print this help, then exit
22104 -V, --version print version number and configuration settings, then exit
22105 --config print configuration, then exit
22106 -q, --quiet, --silent
22107 do not print progress messages
22108 -d, --debug don't remove temporary files
22109 --recheck update $as_me by reconfiguring in the same conditions
22110 --file=FILE[:TEMPLATE]
22111 instantiate the configuration file FILE
22112 --header=FILE[:TEMPLATE]
22113 instantiate the configuration header FILE
22115 Configuration files:
22116 $config_files
22118 Configuration headers:
22119 $config_headers
22121 Configuration links:
22122 $config_links
22124 Configuration commands:
22125 $config_commands
22127 Report bugs to <wine-devel@winehq.org>.
22128 Wine home page: <https://www.winehq.org>."
22130 _ACEOF
22131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22132 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22133 ac_cs_version="\\
22134 Wine config.status 5.10
22135 configured by $0, generated by GNU Autoconf 2.69,
22136 with options \\"\$ac_cs_config\\"
22138 Copyright (C) 2012 Free Software Foundation, Inc.
22139 This config.status script is free software; the Free Software Foundation
22140 gives unlimited permission to copy, distribute and modify it."
22142 ac_pwd='$ac_pwd'
22143 srcdir='$srcdir'
22144 test -n "\$AWK" || AWK=awk
22145 _ACEOF
22147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22148 # The default lists apply if the user does not specify any file.
22149 ac_need_defaults=:
22150 while test $# != 0
22152 case $1 in
22153 --*=?*)
22154 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22155 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22156 ac_shift=:
22158 --*=)
22159 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22160 ac_optarg=
22161 ac_shift=:
22164 ac_option=$1
22165 ac_optarg=$2
22166 ac_shift=shift
22168 esac
22170 case $ac_option in
22171 # Handling of the options.
22172 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22173 ac_cs_recheck=: ;;
22174 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22175 $as_echo "$ac_cs_version"; exit ;;
22176 --config | --confi | --conf | --con | --co | --c )
22177 $as_echo "$ac_cs_config"; exit ;;
22178 --debug | --debu | --deb | --de | --d | -d )
22179 debug=: ;;
22180 --file | --fil | --fi | --f )
22181 $ac_shift
22182 case $ac_optarg in
22183 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22184 '') as_fn_error $? "missing file argument" ;;
22185 esac
22186 as_fn_append CONFIG_FILES " '$ac_optarg'"
22187 ac_need_defaults=false;;
22188 --header | --heade | --head | --hea )
22189 $ac_shift
22190 case $ac_optarg in
22191 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22192 esac
22193 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22194 ac_need_defaults=false;;
22195 --he | --h)
22196 # Conflict between --help and --header
22197 as_fn_error $? "ambiguous option: \`$1'
22198 Try \`$0 --help' for more information.";;
22199 --help | --hel | -h )
22200 $as_echo "$ac_cs_usage"; exit ;;
22201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22202 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22203 ac_cs_silent=: ;;
22205 # This is an error.
22206 -*) as_fn_error $? "unrecognized option: \`$1'
22207 Try \`$0 --help' for more information." ;;
22209 *) as_fn_append ac_config_targets " $1"
22210 ac_need_defaults=false ;;
22212 esac
22213 shift
22214 done
22216 ac_configure_extra_args=
22218 if $ac_cs_silent; then
22219 exec 6>/dev/null
22220 ac_configure_extra_args="$ac_configure_extra_args --silent"
22223 _ACEOF
22224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22225 if \$ac_cs_recheck; then
22226 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22227 shift
22228 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22229 CONFIG_SHELL='$SHELL'
22230 export CONFIG_SHELL
22231 exec "\$@"
22234 _ACEOF
22235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22236 exec 5>>config.log
22238 echo
22239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22240 ## Running $as_me. ##
22241 _ASBOX
22242 $as_echo "$ac_log"
22243 } >&5
22245 _ACEOF
22246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22248 # INIT-COMMANDS
22250 wine_fn_output_makedep ()
22252 as_dir=tools; as_fn_mkdir_p
22253 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22255 wine_fn_output_makefile ()
22257 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22258 `cat $wine_rules_file`
22259 _WINE_EOF
22260 as_fn_error $? "could not create Makefile" "$LINENO" 5
22263 _ACEOF
22265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22267 # Handling of arguments.
22268 for ac_config_target in $ac_config_targets
22270 case $ac_config_target in
22271 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22272 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22273 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22274 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22275 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22276 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22277 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22279 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22280 esac
22281 done
22284 # If the user did not use the arguments to specify the items to instantiate,
22285 # then the envvar interface is used. Set only those that are not.
22286 # We use the long form for the default assignment because of an extremely
22287 # bizarre bug on SunOS 4.1.3.
22288 if $ac_need_defaults; then
22289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22290 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22291 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22295 # Have a temporary directory for convenience. Make it in the build tree
22296 # simply because there is no reason against having it here, and in addition,
22297 # creating and moving files from /tmp can sometimes cause problems.
22298 # Hook for its removal unless debugging.
22299 # Note that there is a small window in which the directory will not be cleaned:
22300 # after its creation but before its name has been assigned to `$tmp'.
22301 $debug ||
22303 tmp= ac_tmp=
22304 trap 'exit_status=$?
22305 : "${ac_tmp:=$tmp}"
22306 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22308 trap 'as_fn_exit 1' 1 2 13 15
22310 # Create a (secure) tmp directory for tmp files.
22313 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22314 test -d "$tmp"
22315 } ||
22317 tmp=./conf$$-$RANDOM
22318 (umask 077 && mkdir "$tmp")
22319 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22320 ac_tmp=$tmp
22322 # Set up the scripts for CONFIG_FILES section.
22323 # No need to generate them if there are no CONFIG_FILES.
22324 # This happens for instance with `./config.status config.h'.
22325 if test -n "$CONFIG_FILES"; then
22328 ac_cr=`echo X | tr X '\015'`
22329 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22330 # But we know of no other shell where ac_cr would be empty at this
22331 # point, so we can use a bashism as a fallback.
22332 if test "x$ac_cr" = x; then
22333 eval ac_cr=\$\'\\r\'
22335 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22336 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22337 ac_cs_awk_cr='\\r'
22338 else
22339 ac_cs_awk_cr=$ac_cr
22342 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22343 _ACEOF
22347 echo "cat >conf$$subs.awk <<_ACEOF" &&
22348 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22349 echo "_ACEOF"
22350 } >conf$$subs.sh ||
22351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22352 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22353 ac_delim='%!_!# '
22354 for ac_last_try in false false false false false :; do
22355 . ./conf$$subs.sh ||
22356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22358 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22359 if test $ac_delim_n = $ac_delim_num; then
22360 break
22361 elif $ac_last_try; then
22362 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22363 else
22364 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22366 done
22367 rm -f conf$$subs.sh
22369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22370 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22371 _ACEOF
22372 sed -n '
22374 s/^/S["/; s/!.*/"]=/
22377 s/^[^!]*!//
22378 :repl
22379 t repl
22380 s/'"$ac_delim"'$//
22381 t delim
22384 s/\(.\{148\}\)..*/\1/
22385 t more1
22386 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22389 b repl
22390 :more1
22391 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22394 s/.\{148\}//
22395 t nl
22396 :delim
22398 s/\(.\{148\}\)..*/\1/
22399 t more2
22400 s/["\\]/\\&/g; s/^/"/; s/$/"/
22403 :more2
22404 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22407 s/.\{148\}//
22408 t delim
22409 ' <conf$$subs.awk | sed '
22410 /^[^""]/{
22412 s/\n//
22414 ' >>$CONFIG_STATUS || ac_write_fail=1
22415 rm -f conf$$subs.awk
22416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22417 _ACAWK
22418 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22419 for (key in S) S_is_set[key] = 1
22420 FS = "\a"
22424 line = $ 0
22425 nfields = split(line, field, "@")
22426 substed = 0
22427 len = length(field[1])
22428 for (i = 2; i < nfields; i++) {
22429 key = field[i]
22430 keylen = length(key)
22431 if (S_is_set[key]) {
22432 value = S[key]
22433 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22434 len += length(value) + length(field[++i])
22435 substed = 1
22436 } else
22437 len += 1 + keylen
22440 print line
22443 _ACAWK
22444 _ACEOF
22445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22446 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22447 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22448 else
22450 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22451 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22452 _ACEOF
22454 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22455 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22456 # trailing colons and then remove the whole line if VPATH becomes empty
22457 # (actually we leave an empty line to preserve line numbers).
22458 if test "x$srcdir" = x.; then
22459 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22461 s///
22462 s/^/:/
22463 s/[ ]*$/:/
22464 s/:\$(srcdir):/:/g
22465 s/:\${srcdir}:/:/g
22466 s/:@srcdir@:/:/g
22467 s/^:*//
22468 s/:*$//
22470 s/\(=[ ]*\).*/\1/
22472 s/\n//
22473 s/^[^=]*=[ ]*$//
22477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22478 fi # test -n "$CONFIG_FILES"
22480 # Set up the scripts for CONFIG_HEADERS section.
22481 # No need to generate them if there are no CONFIG_HEADERS.
22482 # This happens for instance with `./config.status Makefile'.
22483 if test -n "$CONFIG_HEADERS"; then
22484 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22485 BEGIN {
22486 _ACEOF
22488 # Transform confdefs.h into an awk script `defines.awk', embedded as
22489 # here-document in config.status, that substitutes the proper values into
22490 # config.h.in to produce config.h.
22492 # Create a delimiter string that does not exist in confdefs.h, to ease
22493 # handling of long lines.
22494 ac_delim='%!_!# '
22495 for ac_last_try in false false :; do
22496 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22497 if test -z "$ac_tt"; then
22498 break
22499 elif $ac_last_try; then
22500 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22501 else
22502 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22504 done
22506 # For the awk script, D is an array of macro values keyed by name,
22507 # likewise P contains macro parameters if any. Preserve backslash
22508 # newline sequences.
22510 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22511 sed -n '
22512 s/.\{148\}/&'"$ac_delim"'/g
22513 t rset
22514 :rset
22515 s/^[ ]*#[ ]*define[ ][ ]*/ /
22516 t def
22518 :def
22519 s/\\$//
22520 t bsnl
22521 s/["\\]/\\&/g
22522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22523 D["\1"]=" \3"/p
22524 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22526 :bsnl
22527 s/["\\]/\\&/g
22528 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22529 D["\1"]=" \3\\\\\\n"\\/p
22530 t cont
22531 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22532 t cont
22534 :cont
22536 s/.\{148\}/&'"$ac_delim"'/g
22537 t clear
22538 :clear
22539 s/\\$//
22540 t bsnlc
22541 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22543 :bsnlc
22544 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22545 b cont
22546 ' <confdefs.h | sed '
22547 s/'"$ac_delim"'/"\\\
22548 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22551 for (key in D) D_is_set[key] = 1
22552 FS = "\a"
22554 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22555 line = \$ 0
22556 split(line, arg, " ")
22557 if (arg[1] == "#") {
22558 defundef = arg[2]
22559 mac1 = arg[3]
22560 } else {
22561 defundef = substr(arg[1], 2)
22562 mac1 = arg[2]
22564 split(mac1, mac2, "(") #)
22565 macro = mac2[1]
22566 prefix = substr(line, 1, index(line, defundef) - 1)
22567 if (D_is_set[macro]) {
22568 # Preserve the white space surrounding the "#".
22569 print prefix "define", macro P[macro] D[macro]
22570 next
22571 } else {
22572 # Replace #undef with comments. This is necessary, for example,
22573 # in the case of _POSIX_SOURCE, which is predefined and required
22574 # on some systems where configure will not decide to define it.
22575 if (defundef == "undef") {
22576 print "/*", prefix defundef, macro, "*/"
22577 next
22581 { print }
22582 _ACAWK
22583 _ACEOF
22584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22585 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22586 fi # test -n "$CONFIG_HEADERS"
22589 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22590 shift
22591 for ac_tag
22593 case $ac_tag in
22594 :[FHLC]) ac_mode=$ac_tag; continue;;
22595 esac
22596 case $ac_mode$ac_tag in
22597 :[FHL]*:*);;
22598 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22599 :[FH]-) ac_tag=-:-;;
22600 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22601 esac
22602 ac_save_IFS=$IFS
22603 IFS=:
22604 set x $ac_tag
22605 IFS=$ac_save_IFS
22606 shift
22607 ac_file=$1
22608 shift
22610 case $ac_mode in
22611 :L) ac_source=$1;;
22612 :[FH])
22613 ac_file_inputs=
22614 for ac_f
22616 case $ac_f in
22617 -) ac_f="$ac_tmp/stdin";;
22618 *) # Look for the file first in the build tree, then in the source tree
22619 # (if the path is not absolute). The absolute path cannot be DOS-style,
22620 # because $ac_f cannot contain `:'.
22621 test -f "$ac_f" ||
22622 case $ac_f in
22623 [\\/$]*) false;;
22624 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22625 esac ||
22626 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22627 esac
22628 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22629 as_fn_append ac_file_inputs " '$ac_f'"
22630 done
22632 # Let's still pretend it is `configure' which instantiates (i.e., don't
22633 # use $as_me), people would be surprised to read:
22634 # /* config.h. Generated by config.status. */
22635 configure_input='Generated from '`
22636 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22637 `' by configure.'
22638 if test x"$ac_file" != x-; then
22639 configure_input="$ac_file. $configure_input"
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22641 $as_echo "$as_me: creating $ac_file" >&6;}
22643 # Neutralize special characters interpreted by sed in replacement strings.
22644 case $configure_input in #(
22645 *\&* | *\|* | *\\* )
22646 ac_sed_conf_input=`$as_echo "$configure_input" |
22647 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22648 *) ac_sed_conf_input=$configure_input;;
22649 esac
22651 case $ac_tag in
22652 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22654 esac
22656 esac
22658 ac_dir=`$as_dirname -- "$ac_file" ||
22659 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22660 X"$ac_file" : 'X\(//\)[^/]' \| \
22661 X"$ac_file" : 'X\(//\)$' \| \
22662 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22663 $as_echo X"$ac_file" |
22664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22665 s//\1/
22668 /^X\(\/\/\)[^/].*/{
22669 s//\1/
22672 /^X\(\/\/\)$/{
22673 s//\1/
22676 /^X\(\/\).*/{
22677 s//\1/
22680 s/.*/./; q'`
22681 as_dir="$ac_dir"; as_fn_mkdir_p
22682 ac_builddir=.
22684 case "$ac_dir" in
22685 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22687 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22688 # A ".." for each directory in $ac_dir_suffix.
22689 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22690 case $ac_top_builddir_sub in
22691 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22692 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22693 esac ;;
22694 esac
22695 ac_abs_top_builddir=$ac_pwd
22696 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22697 # for backward compatibility:
22698 ac_top_builddir=$ac_top_build_prefix
22700 case $srcdir in
22701 .) # We are building in place.
22702 ac_srcdir=.
22703 ac_top_srcdir=$ac_top_builddir_sub
22704 ac_abs_top_srcdir=$ac_pwd ;;
22705 [\\/]* | ?:[\\/]* ) # Absolute name.
22706 ac_srcdir=$srcdir$ac_dir_suffix;
22707 ac_top_srcdir=$srcdir
22708 ac_abs_top_srcdir=$srcdir ;;
22709 *) # Relative name.
22710 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22711 ac_top_srcdir=$ac_top_build_prefix$srcdir
22712 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22713 esac
22714 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22717 case $ac_mode in
22720 # CONFIG_FILE
22723 _ACEOF
22725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22726 # If the template does not know about datarootdir, expand it.
22727 # FIXME: This hack should be removed a few years after 2.60.
22728 ac_datarootdir_hack=; ac_datarootdir_seen=
22729 ac_sed_dataroot='
22730 /datarootdir/ {
22734 /@datadir@/p
22735 /@docdir@/p
22736 /@infodir@/p
22737 /@localedir@/p
22738 /@mandir@/p'
22739 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22740 *datarootdir*) ac_datarootdir_seen=yes;;
22741 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22743 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22744 _ACEOF
22745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22746 ac_datarootdir_hack='
22747 s&@datadir@&$datadir&g
22748 s&@docdir@&$docdir&g
22749 s&@infodir@&$infodir&g
22750 s&@localedir@&$localedir&g
22751 s&@mandir@&$mandir&g
22752 s&\\\${datarootdir}&$datarootdir&g' ;;
22753 esac
22754 _ACEOF
22756 # Neutralize VPATH when `$srcdir' = `.'.
22757 # Shell code in configure.ac might set extrasub.
22758 # FIXME: do we really want to maintain this feature?
22759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22760 ac_sed_extra="$ac_vpsub
22761 $extrasub
22762 _ACEOF
22763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22766 s|@configure_input@|$ac_sed_conf_input|;t t
22767 s&@top_builddir@&$ac_top_builddir_sub&;t t
22768 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22769 s&@srcdir@&$ac_srcdir&;t t
22770 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22771 s&@top_srcdir@&$ac_top_srcdir&;t t
22772 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22773 s&@builddir@&$ac_builddir&;t t
22774 s&@abs_builddir@&$ac_abs_builddir&;t t
22775 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22776 $ac_datarootdir_hack
22778 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22779 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22781 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22782 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22783 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22784 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22786 which seems to be undefined. Please make sure it is defined" >&5
22787 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22788 which seems to be undefined. Please make sure it is defined" >&2;}
22790 rm -f "$ac_tmp/stdin"
22791 case $ac_file in
22792 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22793 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22794 esac \
22795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22799 # CONFIG_HEADER
22801 if test x"$ac_file" != x-; then
22803 $as_echo "/* $configure_input */" \
22804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22805 } >"$ac_tmp/config.h" \
22806 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22807 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22808 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22809 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22810 else
22811 rm -f "$ac_file"
22812 mv "$ac_tmp/config.h" "$ac_file" \
22813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22815 else
22816 $as_echo "/* $configure_input */" \
22817 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22818 || as_fn_error $? "could not create -" "$LINENO" 5
22823 # CONFIG_LINK
22826 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22828 else
22829 # Prefer the file from the source tree if names are identical.
22830 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22831 ac_source=$srcdir/$ac_source
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22835 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22837 if test ! -r "$ac_source"; then
22838 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22840 rm -f "$ac_file"
22842 # Try a relative symlink, then a hard link, then a copy.
22843 case $ac_source in
22844 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22845 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22846 esac
22847 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22848 ln "$ac_source" "$ac_file" 2>/dev/null ||
22849 cp -p "$ac_source" "$ac_file" ||
22850 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22853 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22854 $as_echo "$as_me: executing $ac_file commands" >&6;}
22856 esac
22859 case $ac_file$ac_mode in
22860 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22861 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22862 "Makefile":C) wine_fn_output_makefile Makefile ;;
22864 esac
22865 done # for ac_tag
22868 as_fn_exit 0
22869 _ACEOF
22870 ac_clean_files=$ac_clean_files_save
22872 test $ac_write_fail = 0 ||
22873 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22876 # configure is writing to config.log, and then calls config.status.
22877 # config.status does its own redirection, appending to config.log.
22878 # Unfortunately, on DOS this fails, as config.log is still kept open
22879 # by configure, so config.status won't be able to write to it; its
22880 # output is simply discarded. So we exec the FD to /dev/null,
22881 # effectively closing config.log, so it can be properly (re)opened and
22882 # appended to by config.status. When coming back to configure, we
22883 # need to make the FD available again.
22884 if test "$no_create" != yes; then
22885 ac_cs_success=:
22886 ac_config_status_args=
22887 test "$silent" = yes &&
22888 ac_config_status_args="$ac_config_status_args --quiet"
22889 exec 5>/dev/null
22890 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22891 exec 5>>config.log
22892 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22893 # would make configure fail if this is the last instruction.
22894 $ac_cs_success || as_fn_exit 1
22896 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22898 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22902 if test "$no_create" = "yes"
22903 then
22904 exit 0
22907 ac_save_IFS="$IFS"
22908 if test "x$wine_notices" != x; then
22909 echo >&6
22910 IFS="|"
22911 for msg in $wine_notices; do
22912 IFS="$ac_save_IFS"
22913 if ${msg:+false} :; then :
22915 else
22916 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22917 $as_echo "$as_me: $msg" >&6;}
22919 done
22921 IFS="|"
22922 for msg in $wine_warnings; do
22923 IFS="$ac_save_IFS"
22924 if ${msg:+false} :; then :
22926 else
22927 echo >&2
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22929 $as_echo "$as_me: WARNING: $msg" >&2;}
22931 done
22932 IFS="$ac_save_IFS"
22934 $as_echo "
22935 $as_me: Finished. Do '${ac_make}' to compile Wine.
22936 " >&6