msvcp120/tests: Fix signed integral cast warning.
[wine.git] / configure
blobbb98f99f9f2cca50d810bb1f776cbc60b774cee8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.9.
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.9'
584 PACKAGE_STRING='Wine 5.9'
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_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_kernel32_l2_1_0
1075 enable_api_ms_win_downlevel_normaliz_l1_1_0
1076 enable_api_ms_win_downlevel_ole32_l1_1_0
1077 enable_api_ms_win_downlevel_shell32_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1079 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1080 enable_api_ms_win_downlevel_user32_l1_1_0
1081 enable_api_ms_win_downlevel_version_l1_1_0
1082 enable_api_ms_win_dx_d3dkmt_l1_1_0
1083 enable_api_ms_win_eventing_classicprovider_l1_1_0
1084 enable_api_ms_win_eventing_consumer_l1_1_0
1085 enable_api_ms_win_eventing_controller_l1_1_0
1086 enable_api_ms_win_eventing_legacy_l1_1_0
1087 enable_api_ms_win_eventing_provider_l1_1_0
1088 enable_api_ms_win_eventlog_legacy_l1_1_0
1089 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1090 enable_api_ms_win_mm_joystick_l1_1_0
1091 enable_api_ms_win_mm_misc_l1_1_1
1092 enable_api_ms_win_mm_mme_l1_1_0
1093 enable_api_ms_win_mm_time_l1_1_0
1094 enable_api_ms_win_ntuser_dc_access_l1_1_0
1095 enable_api_ms_win_ntuser_rectangle_l1_1_0
1096 enable_api_ms_win_ntuser_sysparams_l1_1_0
1097 enable_api_ms_win_perf_legacy_l1_1_0
1098 enable_api_ms_win_power_base_l1_1_0
1099 enable_api_ms_win_power_setting_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1103 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1106 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1107 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1108 enable_api_ms_win_security_audit_l1_1_1
1109 enable_api_ms_win_security_base_l1_1_0
1110 enable_api_ms_win_security_base_l1_2_0
1111 enable_api_ms_win_security_base_private_l1_1_1
1112 enable_api_ms_win_security_credentials_l1_1_0
1113 enable_api_ms_win_security_cryptoapi_l1_1_0
1114 enable_api_ms_win_security_grouppolicy_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_0
1116 enable_api_ms_win_security_lsalookup_l1_1_1
1117 enable_api_ms_win_security_lsalookup_l2_1_0
1118 enable_api_ms_win_security_lsalookup_l2_1_1
1119 enable_api_ms_win_security_lsapolicy_l1_1_0
1120 enable_api_ms_win_security_provider_l1_1_0
1121 enable_api_ms_win_security_sddl_l1_1_0
1122 enable_api_ms_win_security_systemfunctions_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_0
1124 enable_api_ms_win_service_core_l1_1_1
1125 enable_api_ms_win_service_management_l1_1_0
1126 enable_api_ms_win_service_management_l2_1_0
1127 enable_api_ms_win_service_private_l1_1_1
1128 enable_api_ms_win_service_winsvc_l1_1_0
1129 enable_api_ms_win_service_winsvc_l1_2_0
1130 enable_api_ms_win_shcore_obsolete_l1_1_0
1131 enable_api_ms_win_shcore_scaling_l1_1_1
1132 enable_api_ms_win_shcore_stream_l1_1_0
1133 enable_api_ms_win_shcore_thread_l1_1_0
1134 enable_api_ms_win_shell_shellcom_l1_1_0
1135 enable_api_ms_win_shell_shellfolders_l1_1_0
1136 enable_apphelp
1137 enable_appwiz_cpl
1138 enable_atl
1139 enable_atl100
1140 enable_atl110
1141 enable_atl80
1142 enable_atl90
1143 enable_atlthunk
1144 enable_atmlib
1145 enable_authz
1146 enable_avicap32
1147 enable_avifil32
1148 enable_avrt
1149 enable_bcrypt
1150 enable_bluetoothapis
1151 enable_browseui
1152 enable_bthprops_cpl
1153 enable_cabinet
1154 enable_capi2032
1155 enable_cards
1156 enable_cdosys
1157 enable_cfgmgr32
1158 enable_clusapi
1159 enable_combase
1160 enable_comcat
1161 enable_comctl32
1162 enable_comdlg32
1163 enable_compstui
1164 enable_comsvcs
1165 enable_concrt140
1166 enable_connect
1167 enable_credui
1168 enable_crtdll
1169 enable_crypt32
1170 enable_cryptdlg
1171 enable_cryptdll
1172 enable_cryptext
1173 enable_cryptnet
1174 enable_cryptui
1175 enable_ctapi32
1176 enable_ctl3d32
1177 enable_d2d1
1178 enable_d3d10
1179 enable_d3d10_1
1180 enable_d3d10core
1181 enable_d3d11
1182 enable_d3d12
1183 enable_d3d8
1184 enable_d3d9
1185 enable_d3dcompiler_33
1186 enable_d3dcompiler_34
1187 enable_d3dcompiler_35
1188 enable_d3dcompiler_36
1189 enable_d3dcompiler_37
1190 enable_d3dcompiler_38
1191 enable_d3dcompiler_39
1192 enable_d3dcompiler_40
1193 enable_d3dcompiler_41
1194 enable_d3dcompiler_42
1195 enable_d3dcompiler_43
1196 enable_d3dcompiler_46
1197 enable_d3dcompiler_47
1198 enable_d3dim
1199 enable_d3drm
1200 enable_d3dx10_33
1201 enable_d3dx10_34
1202 enable_d3dx10_35
1203 enable_d3dx10_36
1204 enable_d3dx10_37
1205 enable_d3dx10_38
1206 enable_d3dx10_39
1207 enable_d3dx10_40
1208 enable_d3dx10_41
1209 enable_d3dx10_42
1210 enable_d3dx10_43
1211 enable_d3dx11_42
1212 enable_d3dx11_43
1213 enable_d3dx9_24
1214 enable_d3dx9_25
1215 enable_d3dx9_26
1216 enable_d3dx9_27
1217 enable_d3dx9_28
1218 enable_d3dx9_29
1219 enable_d3dx9_30
1220 enable_d3dx9_31
1221 enable_d3dx9_32
1222 enable_d3dx9_33
1223 enable_d3dx9_34
1224 enable_d3dx9_35
1225 enable_d3dx9_36
1226 enable_d3dx9_37
1227 enable_d3dx9_38
1228 enable_d3dx9_39
1229 enable_d3dx9_40
1230 enable_d3dx9_41
1231 enable_d3dx9_42
1232 enable_d3dx9_43
1233 enable_d3dxof
1234 enable_davclnt
1235 enable_dbgeng
1236 enable_dbghelp
1237 enable_dciman32
1238 enable_ddraw
1239 enable_ddrawex
1240 enable_devenum
1241 enable_dhcpcsvc
1242 enable_dhtmled_ocx
1243 enable_difxapi
1244 enable_dinput
1245 enable_dinput8
1246 enable_dispex
1247 enable_dmband
1248 enable_dmcompos
1249 enable_dmime
1250 enable_dmloader
1251 enable_dmoguids
1252 enable_dmscript
1253 enable_dmstyle
1254 enable_dmsynth
1255 enable_dmusic
1256 enable_dmusic32
1257 enable_dnsapi
1258 enable_dplay
1259 enable_dplayx
1260 enable_dpnaddr
1261 enable_dpnet
1262 enable_dpnhpast
1263 enable_dpnlobby
1264 enable_dpvoice
1265 enable_dpwsockx
1266 enable_drmclien
1267 enable_dsdmo
1268 enable_dsound
1269 enable_dsquery
1270 enable_dssenh
1271 enable_dsuiext
1272 enable_dswave
1273 enable_dwmapi
1274 enable_dwrite
1275 enable_dx8vb
1276 enable_dxdiagn
1277 enable_dxerr8
1278 enable_dxerr9
1279 enable_dxgi
1280 enable_dxguid
1281 enable_dxva2
1282 enable_esent
1283 enable_evr
1284 enable_explorerframe
1285 enable_ext_ms_win_authz_context_l1_1_0
1286 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1287 enable_ext_ms_win_dwmapi_ext_l1_1_0
1288 enable_ext_ms_win_gdi_dc_create_l1_1_0
1289 enable_ext_ms_win_gdi_dc_create_l1_1_1
1290 enable_ext_ms_win_gdi_dc_l1_2_0
1291 enable_ext_ms_win_gdi_devcaps_l1_1_0
1292 enable_ext_ms_win_gdi_draw_l1_1_0
1293 enable_ext_ms_win_gdi_draw_l1_1_1
1294 enable_ext_ms_win_gdi_font_l1_1_0
1295 enable_ext_ms_win_gdi_font_l1_1_1
1296 enable_ext_ms_win_gdi_render_l1_1_0
1297 enable_ext_ms_win_kernel32_package_current_l1_1_0
1298 enable_ext_ms_win_kernel32_package_l1_1_1
1299 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1300 enable_ext_ms_win_ntuser_draw_l1_1_0
1301 enable_ext_ms_win_ntuser_gui_l1_1_0
1302 enable_ext_ms_win_ntuser_gui_l1_3_0
1303 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1304 enable_ext_ms_win_ntuser_message_l1_1_0
1305 enable_ext_ms_win_ntuser_message_l1_1_1
1306 enable_ext_ms_win_ntuser_misc_l1_1_0
1307 enable_ext_ms_win_ntuser_misc_l1_2_0
1308 enable_ext_ms_win_ntuser_misc_l1_5_1
1309 enable_ext_ms_win_ntuser_mouse_l1_1_0
1310 enable_ext_ms_win_ntuser_private_l1_1_1
1311 enable_ext_ms_win_ntuser_private_l1_3_1
1312 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1313 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1314 enable_ext_ms_win_ntuser_window_l1_1_0
1315 enable_ext_ms_win_ntuser_window_l1_1_1
1316 enable_ext_ms_win_ntuser_window_l1_1_4
1317 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1318 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1319 enable_ext_ms_win_oleacc_l1_1_0
1320 enable_ext_ms_win_ras_rasapi32_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1322 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1323 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1328 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1330 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1331 enable_ext_ms_win_security_credui_l1_1_0
1332 enable_ext_ms_win_security_cryptui_l1_1_0
1333 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1334 enable_ext_ms_win_shell_comdlg32_l1_1_0
1335 enable_ext_ms_win_shell_shell32_l1_2_0
1336 enable_ext_ms_win_uxtheme_themes_l1_1_0
1337 enable_faultrep
1338 enable_feclient
1339 enable_fltlib
1340 enable_fltmgr_sys
1341 enable_fntcache
1342 enable_fontsub
1343 enable_fusion
1344 enable_fwpuclnt
1345 enable_gameux
1346 enable_gdi32
1347 enable_gdiplus
1348 enable_glu32
1349 enable_gphoto2_ds
1350 enable_gpkcsp
1351 enable_hal
1352 enable_hhctrl_ocx
1353 enable_hid
1354 enable_hidclass_sys
1355 enable_hlink
1356 enable_hnetcfg
1357 enable_http_sys
1358 enable_httpapi
1359 enable_iccvid
1360 enable_icmp
1361 enable_ieframe
1362 enable_ieproxy
1363 enable_imaadp32_acm
1364 enable_imagehlp
1365 enable_imm32
1366 enable_inetcomm
1367 enable_inetcpl_cpl
1368 enable_inetmib1
1369 enable_infosoft
1370 enable_initpki
1371 enable_inkobj
1372 enable_inseng
1373 enable_iphlpapi
1374 enable_iprop
1375 enable_irprops_cpl
1376 enable_itircl
1377 enable_itss
1378 enable_joy_cpl
1379 enable_jscript
1380 enable_jsproxy
1381 enable_kerberos
1382 enable_kernel32
1383 enable_kernelbase
1384 enable_ksecdd_sys
1385 enable_ksproxy_ax
1386 enable_ksuser
1387 enable_ktmw32
1388 enable_l3codeca_acm
1389 enable_loadperf
1390 enable_localspl
1391 enable_localui
1392 enable_lz32
1393 enable_mapi32
1394 enable_mapistub
1395 enable_mciavi32
1396 enable_mcicda
1397 enable_mciqtz32
1398 enable_mciseq
1399 enable_mciwave
1400 enable_mf
1401 enable_mf3216
1402 enable_mferror
1403 enable_mfmediaengine
1404 enable_mfplat
1405 enable_mfplay
1406 enable_mfreadwrite
1407 enable_mfuuid
1408 enable_mgmtapi
1409 enable_midimap
1410 enable_mlang
1411 enable_mmcndmgr
1412 enable_mmdevapi
1413 enable_mountmgr_sys
1414 enable_mp3dmod
1415 enable_mpr
1416 enable_mprapi
1417 enable_msacm32_drv
1418 enable_msacm32
1419 enable_msado15
1420 enable_msadp32_acm
1421 enable_msasn1
1422 enable_mscat32
1423 enable_mscms
1424 enable_mscoree
1425 enable_mscorwks
1426 enable_msctf
1427 enable_msctfp
1428 enable_msdaps
1429 enable_msdelta
1430 enable_msdmo
1431 enable_msdrm
1432 enable_msftedit
1433 enable_msg711_acm
1434 enable_msgsm32_acm
1435 enable_mshtml_tlb
1436 enable_mshtml
1437 enable_msi
1438 enable_msident
1439 enable_msimg32
1440 enable_msimsg
1441 enable_msimtf
1442 enable_msisip
1443 enable_msisys_ocx
1444 enable_msls31
1445 enable_msnet32
1446 enable_mspatcha
1447 enable_msports
1448 enable_msrle32
1449 enable_msscript_ocx
1450 enable_mssign32
1451 enable_mssip32
1452 enable_mstask
1453 enable_msvcirt
1454 enable_msvcm80
1455 enable_msvcm90
1456 enable_msvcp100
1457 enable_msvcp110
1458 enable_msvcp120
1459 enable_msvcp120_app
1460 enable_msvcp140
1461 enable_msvcp60
1462 enable_msvcp70
1463 enable_msvcp71
1464 enable_msvcp80
1465 enable_msvcp90
1466 enable_msvcr100
1467 enable_msvcr110
1468 enable_msvcr120
1469 enable_msvcr120_app
1470 enable_msvcr70
1471 enable_msvcr71
1472 enable_msvcr80
1473 enable_msvcr90
1474 enable_msvcrt
1475 enable_msvcrt20
1476 enable_msvcrt40
1477 enable_msvcrtd
1478 enable_msvfw32
1479 enable_msvidc32
1480 enable_mswsock
1481 enable_msxml
1482 enable_msxml2
1483 enable_msxml3
1484 enable_msxml4
1485 enable_msxml6
1486 enable_mtxdm
1487 enable_ncrypt
1488 enable_nddeapi
1489 enable_ndis_sys
1490 enable_netapi32
1491 enable_netcfgx
1492 enable_netio_sys
1493 enable_netprofm
1494 enable_newdev
1495 enable_ninput
1496 enable_normaliz
1497 enable_npmshtml
1498 enable_npptools
1499 enable_ntdll
1500 enable_ntdsapi
1501 enable_ntoskrnl_exe
1502 enable_ntprint
1503 enable_objsel
1504 enable_odbc32
1505 enable_odbcbcp
1506 enable_odbccp32
1507 enable_odbccu32
1508 enable_ole32
1509 enable_oleacc
1510 enable_oleaut32
1511 enable_olecli32
1512 enable_oledb32
1513 enable_oledlg
1514 enable_olepro32
1515 enable_olesvr32
1516 enable_olethk32
1517 enable_opcservices
1518 enable_openal32
1519 enable_opencl
1520 enable_opengl32
1521 enable_packager
1522 enable_pdh
1523 enable_photometadatahandler
1524 enable_pidgen
1525 enable_powrprof
1526 enable_printui
1527 enable_prntvpt
1528 enable_propsys
1529 enable_psapi
1530 enable_pstorec
1531 enable_qasf
1532 enable_qcap
1533 enable_qdvd
1534 enable_qedit
1535 enable_qmgr
1536 enable_qmgrprxy
1537 enable_quartz
1538 enable_query
1539 enable_qwave
1540 enable_rasapi32
1541 enable_rasdlg
1542 enable_regapi
1543 enable_resutils
1544 enable_riched20
1545 enable_riched32
1546 enable_rpcrt4
1547 enable_rsabase
1548 enable_rsaenh
1549 enable_rstrtmgr
1550 enable_rtutils
1551 enable_rtworkq
1552 enable_samlib
1553 enable_sane_ds
1554 enable_sapi
1555 enable_sas
1556 enable_scarddlg
1557 enable_sccbase
1558 enable_schannel
1559 enable_schedsvc
1560 enable_scrobj
1561 enable_scrrun
1562 enable_scsiport_sys
1563 enable_sechost
1564 enable_secur32
1565 enable_security
1566 enable_sensapi
1567 enable_serialui
1568 enable_setupapi
1569 enable_sfc
1570 enable_sfc_os
1571 enable_shcore
1572 enable_shdoclc
1573 enable_shdocvw
1574 enable_shell32
1575 enable_shfolder
1576 enable_shlwapi
1577 enable_slbcsp
1578 enable_slc
1579 enable_snmpapi
1580 enable_softpub
1581 enable_spoolss
1582 enable_srclient
1583 enable_sspicli
1584 enable_stdole2_tlb
1585 enable_stdole32_tlb
1586 enable_sti
1587 enable_strmbase
1588 enable_strmdll
1589 enable_strmiids
1590 enable_svrapi
1591 enable_sxs
1592 enable_t2embed
1593 enable_tapi32
1594 enable_taskschd
1595 enable_tdh
1596 enable_tdi_sys
1597 enable_traffic
1598 enable_twain_32
1599 enable_tzres
1600 enable_ucrtbase
1601 enable_uianimation
1602 enable_uiautomationcore
1603 enable_uiribbon
1604 enable_unicows
1605 enable_updspapi
1606 enable_url
1607 enable_urlmon
1608 enable_usbd_sys
1609 enable_user32
1610 enable_userenv
1611 enable_usp10
1612 enable_utildll
1613 enable_uuid
1614 enable_uxtheme
1615 enable_vbscript
1616 enable_vcomp
1617 enable_vcomp100
1618 enable_vcomp110
1619 enable_vcomp120
1620 enable_vcomp140
1621 enable_vcomp90
1622 enable_vcruntime140
1623 enable_vcruntime140_1
1624 enable_vdmdbg
1625 enable_version
1626 enable_vga
1627 enable_virtdisk
1628 enable_vssapi
1629 enable_vulkan_1
1630 enable_wbemdisp
1631 enable_wbemprox
1632 enable_wbemuuid
1633 enable_wdscore
1634 enable_webservices
1635 enable_wer
1636 enable_wevtapi
1637 enable_wiaservc
1638 enable_wimgapi
1639 enable_windowscodecs
1640 enable_windowscodecsext
1641 enable_winealsa_drv
1642 enable_wineandroid_drv
1643 enable_winebus_sys
1644 enable_winecoreaudio_drv
1645 enable_winecrt0
1646 enable_wined3d
1647 enable_winegstreamer
1648 enable_winehid_sys
1649 enable_winejoystick_drv
1650 enable_winemac_drv
1651 enable_winemapi
1652 enable_wineoss_drv
1653 enable_wineps_drv
1654 enable_winepulse_drv
1655 enable_wineqtdecoder
1656 enable_wineusb_sys
1657 enable_winevulkan
1658 enable_winex11_drv
1659 enable_wing32
1660 enable_winhttp
1661 enable_wininet
1662 enable_winmm
1663 enable_winnls32
1664 enable_winscard
1665 enable_winspool_drv
1666 enable_winsta
1667 enable_wintab32
1668 enable_wintrust
1669 enable_winusb
1670 enable_wlanapi
1671 enable_wlanui
1672 enable_wldap32
1673 enable_wmasf
1674 enable_wmcodecdspuuid
1675 enable_wmi
1676 enable_wmiutils
1677 enable_wmp
1678 enable_wmphoto
1679 enable_wmvcore
1680 enable_wnaspi32
1681 enable_wpc
1682 enable_wpcap
1683 enable_ws2_32
1684 enable_wsdapi
1685 enable_wshom_ocx
1686 enable_wsnmp32
1687 enable_wsock32
1688 enable_wtsapi32
1689 enable_wuapi
1690 enable_wuaueng
1691 enable_x3daudio1_0
1692 enable_x3daudio1_1
1693 enable_x3daudio1_2
1694 enable_x3daudio1_3
1695 enable_x3daudio1_4
1696 enable_x3daudio1_5
1697 enable_x3daudio1_6
1698 enable_x3daudio1_7
1699 enable_xapofx1_1
1700 enable_xapofx1_2
1701 enable_xapofx1_3
1702 enable_xapofx1_4
1703 enable_xapofx1_5
1704 enable_xaudio2_0
1705 enable_xaudio2_1
1706 enable_xaudio2_2
1707 enable_xaudio2_3
1708 enable_xaudio2_4
1709 enable_xaudio2_5
1710 enable_xaudio2_6
1711 enable_xaudio2_7
1712 enable_xaudio2_8
1713 enable_xaudio2_9
1714 enable_xinput1_1
1715 enable_xinput1_2
1716 enable_xinput1_3
1717 enable_xinput1_4
1718 enable_xinput9_1_0
1719 enable_xmllite
1720 enable_xolehlp
1721 enable_xpsprint
1722 enable_xpssvcs
1723 enable_fonts
1724 enable_include
1725 enable_port
1726 enable_wine
1727 enable_wpp
1728 enable_loader
1729 enable_nls
1730 enable_po
1731 enable_arp
1732 enable_aspnet_regiis
1733 enable_attrib
1734 enable_cabarc
1735 enable_cacls
1736 enable_chcp_com
1737 enable_clock
1738 enable_cmd
1739 enable_conhost
1740 enable_control
1741 enable_cscript
1742 enable_dism
1743 enable_dpnsvr
1744 enable_dxdiag
1745 enable_eject
1746 enable_expand
1747 enable_explorer
1748 enable_extrac32
1749 enable_fc
1750 enable_find
1751 enable_findstr
1752 enable_fsutil
1753 enable_hh
1754 enable_hostname
1755 enable_icacls
1756 enable_icinfo
1757 enable_iexplore
1758 enable_ipconfig
1759 enable_lodctr
1760 enable_mofcomp
1761 enable_mshta
1762 enable_msidb
1763 enable_msiexec
1764 enable_msinfo32
1765 enable_net
1766 enable_netsh
1767 enable_netstat
1768 enable_ngen
1769 enable_notepad
1770 enable_oleview
1771 enable_ping
1772 enable_plugplay
1773 enable_powershell
1774 enable_presentationfontcache
1775 enable_progman
1776 enable_reg
1777 enable_regasm
1778 enable_regedit
1779 enable_regini
1780 enable_regsvcs
1781 enable_regsvr32
1782 enable_rpcss
1783 enable_rundll32
1784 enable_sc
1785 enable_schtasks
1786 enable_sdbinst
1787 enable_secedit
1788 enable_servicemodelreg
1789 enable_services
1790 enable_shutdown
1791 enable_spoolsv
1792 enable_start
1793 enable_subst
1794 enable_svchost
1795 enable_systeminfo
1796 enable_taskkill
1797 enable_tasklist
1798 enable_taskmgr
1799 enable_termsv
1800 enable_uninstaller
1801 enable_unlodctr
1802 enable_view
1803 enable_wevtutil
1804 enable_whoami
1805 enable_wineboot
1806 enable_winebrowser
1807 enable_winecfg
1808 enable_wineconsole
1809 enable_winedbg
1810 enable_winedevice
1811 enable_winefile
1812 enable_winemenubuilder
1813 enable_winemine
1814 enable_winemsibuilder
1815 enable_winepath
1816 enable_winetest
1817 enable_winhlp32
1818 enable_winmgmt
1819 enable_winver
1820 enable_wmic
1821 enable_wmplayer
1822 enable_wordpad
1823 enable_write
1824 enable_wscript
1825 enable_wuauserv
1826 enable_wusa
1827 enable_xcopy
1828 enable_server
1829 enable_tools
1830 enable_sfnt2fon
1831 enable_widl
1832 enable_winebuild
1833 enable_winedump
1834 enable_winegcc
1835 enable_winemaker
1836 enable_wmc
1837 enable_wrc
1839 ac_precious_vars='build_alias
1840 host_alias
1841 target_alias
1843 CFLAGS
1844 LDFLAGS
1845 LIBS
1846 CPPFLAGS
1848 CXXFLAGS
1851 OBJC
1852 OBJCFLAGS
1853 OBJCPP
1854 XMKMF
1855 XML2_CFLAGS
1856 XML2_LIBS
1857 XSLT_CFLAGS
1858 XSLT_LIBS
1859 INOTIFY_CFLAGS
1860 INOTIFY_LIBS
1861 DBUS_CFLAGS
1862 DBUS_LIBS
1863 HAL_CFLAGS
1864 HAL_LIBS
1865 GNUTLS_CFLAGS
1866 GNUTLS_LIBS
1867 SANE_CFLAGS
1868 SANE_LIBS
1869 USB_CFLAGS
1870 USB_LIBS
1871 GPHOTO2_CFLAGS
1872 GPHOTO2_LIBS
1873 GPHOTO2_PORT_CFLAGS
1874 GPHOTO2_PORT_LIBS
1875 LCMS2_CFLAGS
1876 LCMS2_LIBS
1877 FREETYPE_CFLAGS
1878 FREETYPE_LIBS
1879 PULSE_CFLAGS
1880 PULSE_LIBS
1881 GSTREAMER_CFLAGS
1882 GSTREAMER_LIBS
1883 UDEV_CFLAGS
1884 UDEV_LIBS
1885 UNWIND_CFLAGS
1886 UNWIND_LIBS
1887 SDL2_CFLAGS
1888 SDL2_LIBS
1889 FAUDIO_CFLAGS
1890 FAUDIO_LIBS
1891 CAPI20_CFLAGS
1892 CAPI20_LIBS
1893 CUPS_CFLAGS
1894 CUPS_LIBS
1895 FONTCONFIG_CFLAGS
1896 FONTCONFIG_LIBS
1897 KRB5_CFLAGS
1898 KRB5_LIBS
1899 GSSAPI_CFLAGS
1900 GSSAPI_LIBS
1901 JPEG_CFLAGS
1902 JPEG_LIBS
1903 PNG_CFLAGS
1904 PNG_LIBS
1905 TIFF_CFLAGS
1906 TIFF_LIBS
1907 MPG123_CFLAGS
1908 MPG123_LIBS
1909 NETAPI_CFLAGS
1910 NETAPI_LIBS
1911 VKD3D_CFLAGS
1912 VKD3D_LIBS
1913 LDAP_CFLAGS
1914 LDAP_LIBS'
1917 # Initialize some variables set by options.
1918 ac_init_help=
1919 ac_init_version=false
1920 ac_unrecognized_opts=
1921 ac_unrecognized_sep=
1922 # The variables have the same names as the options, with
1923 # dashes changed to underlines.
1924 cache_file=/dev/null
1925 exec_prefix=NONE
1926 no_create=
1927 no_recursion=
1928 prefix=NONE
1929 program_prefix=NONE
1930 program_suffix=NONE
1931 program_transform_name=s,x,x,
1932 silent=
1933 site=
1934 srcdir=
1935 verbose=
1936 x_includes=NONE
1937 x_libraries=NONE
1939 # Installation directory options.
1940 # These are left unexpanded so users can "make install exec_prefix=/foo"
1941 # and all the variables that are supposed to be based on exec_prefix
1942 # by default will actually change.
1943 # Use braces instead of parens because sh, perl, etc. also accept them.
1944 # (The list follows the same order as the GNU Coding Standards.)
1945 bindir='${exec_prefix}/bin'
1946 sbindir='${exec_prefix}/sbin'
1947 libexecdir='${exec_prefix}/libexec'
1948 datarootdir='${prefix}/share'
1949 datadir='${datarootdir}'
1950 sysconfdir='${prefix}/etc'
1951 sharedstatedir='${prefix}/com'
1952 localstatedir='${prefix}/var'
1953 runstatedir='${localstatedir}/run'
1954 includedir='${prefix}/include'
1955 oldincludedir='/usr/include'
1956 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1957 infodir='${datarootdir}/info'
1958 htmldir='${docdir}'
1959 dvidir='${docdir}'
1960 pdfdir='${docdir}'
1961 psdir='${docdir}'
1962 libdir='${exec_prefix}/lib'
1963 localedir='${datarootdir}/locale'
1964 mandir='${datarootdir}/man'
1966 ac_prev=
1967 ac_dashdash=
1968 for ac_option
1970 # If the previous option needs an argument, assign it.
1971 if test -n "$ac_prev"; then
1972 eval $ac_prev=\$ac_option
1973 ac_prev=
1974 continue
1977 case $ac_option in
1978 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1979 *=) ac_optarg= ;;
1980 *) ac_optarg=yes ;;
1981 esac
1983 # Accept the important Cygnus configure options, so we can diagnose typos.
1985 case $ac_dashdash$ac_option in
1987 ac_dashdash=yes ;;
1989 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1990 ac_prev=bindir ;;
1991 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1992 bindir=$ac_optarg ;;
1994 -build | --build | --buil | --bui | --bu)
1995 ac_prev=build_alias ;;
1996 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1997 build_alias=$ac_optarg ;;
1999 -cache-file | --cache-file | --cache-fil | --cache-fi \
2000 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2001 ac_prev=cache_file ;;
2002 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2003 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2004 cache_file=$ac_optarg ;;
2006 --config-cache | -C)
2007 cache_file=config.cache ;;
2009 -datadir | --datadir | --datadi | --datad)
2010 ac_prev=datadir ;;
2011 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2012 datadir=$ac_optarg ;;
2014 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2015 | --dataroo | --dataro | --datar)
2016 ac_prev=datarootdir ;;
2017 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2018 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2019 datarootdir=$ac_optarg ;;
2021 -disable-* | --disable-*)
2022 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2023 # Reject names that are not valid shell variable names.
2024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2025 as_fn_error $? "invalid feature name: $ac_useropt"
2026 ac_useropt_orig=$ac_useropt
2027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2028 case $ac_user_opts in
2030 "enable_$ac_useropt"
2031 "*) ;;
2032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2033 ac_unrecognized_sep=', ';;
2034 esac
2035 eval enable_$ac_useropt=no ;;
2037 -docdir | --docdir | --docdi | --doc | --do)
2038 ac_prev=docdir ;;
2039 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2040 docdir=$ac_optarg ;;
2042 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2043 ac_prev=dvidir ;;
2044 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2045 dvidir=$ac_optarg ;;
2047 -enable-* | --enable-*)
2048 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2049 # Reject names that are not valid shell variable names.
2050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2051 as_fn_error $? "invalid feature name: $ac_useropt"
2052 ac_useropt_orig=$ac_useropt
2053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2054 case $ac_user_opts in
2056 "enable_$ac_useropt"
2057 "*) ;;
2058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2059 ac_unrecognized_sep=', ';;
2060 esac
2061 eval enable_$ac_useropt=\$ac_optarg ;;
2063 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2064 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2065 | --exec | --exe | --ex)
2066 ac_prev=exec_prefix ;;
2067 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2068 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2069 | --exec=* | --exe=* | --ex=*)
2070 exec_prefix=$ac_optarg ;;
2072 -gas | --gas | --ga | --g)
2073 # Obsolete; use --with-gas.
2074 with_gas=yes ;;
2076 -help | --help | --hel | --he | -h)
2077 ac_init_help=long ;;
2078 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2079 ac_init_help=recursive ;;
2080 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2081 ac_init_help=short ;;
2083 -host | --host | --hos | --ho)
2084 ac_prev=host_alias ;;
2085 -host=* | --host=* | --hos=* | --ho=*)
2086 host_alias=$ac_optarg ;;
2088 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2089 ac_prev=htmldir ;;
2090 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2091 | --ht=*)
2092 htmldir=$ac_optarg ;;
2094 -includedir | --includedir | --includedi | --included | --include \
2095 | --includ | --inclu | --incl | --inc)
2096 ac_prev=includedir ;;
2097 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2098 | --includ=* | --inclu=* | --incl=* | --inc=*)
2099 includedir=$ac_optarg ;;
2101 -infodir | --infodir | --infodi | --infod | --info | --inf)
2102 ac_prev=infodir ;;
2103 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2104 infodir=$ac_optarg ;;
2106 -libdir | --libdir | --libdi | --libd)
2107 ac_prev=libdir ;;
2108 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2109 libdir=$ac_optarg ;;
2111 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2112 | --libexe | --libex | --libe)
2113 ac_prev=libexecdir ;;
2114 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2115 | --libexe=* | --libex=* | --libe=*)
2116 libexecdir=$ac_optarg ;;
2118 -localedir | --localedir | --localedi | --localed | --locale)
2119 ac_prev=localedir ;;
2120 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2121 localedir=$ac_optarg ;;
2123 -localstatedir | --localstatedir | --localstatedi | --localstated \
2124 | --localstate | --localstat | --localsta | --localst | --locals)
2125 ac_prev=localstatedir ;;
2126 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2127 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2128 localstatedir=$ac_optarg ;;
2130 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2131 ac_prev=mandir ;;
2132 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2133 mandir=$ac_optarg ;;
2135 -nfp | --nfp | --nf)
2136 # Obsolete; use --without-fp.
2137 with_fp=no ;;
2139 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2140 | --no-cr | --no-c | -n)
2141 no_create=yes ;;
2143 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2144 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2145 no_recursion=yes ;;
2147 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2148 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2149 | --oldin | --oldi | --old | --ol | --o)
2150 ac_prev=oldincludedir ;;
2151 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2152 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2153 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2154 oldincludedir=$ac_optarg ;;
2156 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2157 ac_prev=prefix ;;
2158 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2159 prefix=$ac_optarg ;;
2161 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2162 | --program-pre | --program-pr | --program-p)
2163 ac_prev=program_prefix ;;
2164 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2165 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2166 program_prefix=$ac_optarg ;;
2168 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2169 | --program-suf | --program-su | --program-s)
2170 ac_prev=program_suffix ;;
2171 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2172 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2173 program_suffix=$ac_optarg ;;
2175 -program-transform-name | --program-transform-name \
2176 | --program-transform-nam | --program-transform-na \
2177 | --program-transform-n | --program-transform- \
2178 | --program-transform | --program-transfor \
2179 | --program-transfo | --program-transf \
2180 | --program-trans | --program-tran \
2181 | --progr-tra | --program-tr | --program-t)
2182 ac_prev=program_transform_name ;;
2183 -program-transform-name=* | --program-transform-name=* \
2184 | --program-transform-nam=* | --program-transform-na=* \
2185 | --program-transform-n=* | --program-transform-=* \
2186 | --program-transform=* | --program-transfor=* \
2187 | --program-transfo=* | --program-transf=* \
2188 | --program-trans=* | --program-tran=* \
2189 | --progr-tra=* | --program-tr=* | --program-t=*)
2190 program_transform_name=$ac_optarg ;;
2192 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2193 ac_prev=pdfdir ;;
2194 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2195 pdfdir=$ac_optarg ;;
2197 -psdir | --psdir | --psdi | --psd | --ps)
2198 ac_prev=psdir ;;
2199 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2200 psdir=$ac_optarg ;;
2202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2203 | -silent | --silent | --silen | --sile | --sil)
2204 silent=yes ;;
2206 -runstatedir | --runstatedir | --runstatedi | --runstated \
2207 | --runstate | --runstat | --runsta | --runst | --runs \
2208 | --run | --ru | --r)
2209 ac_prev=runstatedir ;;
2210 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2211 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2212 | --run=* | --ru=* | --r=*)
2213 runstatedir=$ac_optarg ;;
2215 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2216 ac_prev=sbindir ;;
2217 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2218 | --sbi=* | --sb=*)
2219 sbindir=$ac_optarg ;;
2221 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2222 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2223 | --sharedst | --shareds | --shared | --share | --shar \
2224 | --sha | --sh)
2225 ac_prev=sharedstatedir ;;
2226 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2227 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2228 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2229 | --sha=* | --sh=*)
2230 sharedstatedir=$ac_optarg ;;
2232 -site | --site | --sit)
2233 ac_prev=site ;;
2234 -site=* | --site=* | --sit=*)
2235 site=$ac_optarg ;;
2237 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2238 ac_prev=srcdir ;;
2239 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2240 srcdir=$ac_optarg ;;
2242 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2243 | --syscon | --sysco | --sysc | --sys | --sy)
2244 ac_prev=sysconfdir ;;
2245 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2246 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2247 sysconfdir=$ac_optarg ;;
2249 -target | --target | --targe | --targ | --tar | --ta | --t)
2250 ac_prev=target_alias ;;
2251 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2252 target_alias=$ac_optarg ;;
2254 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2255 verbose=yes ;;
2257 -version | --version | --versio | --versi | --vers | -V)
2258 ac_init_version=: ;;
2260 -with-* | --with-*)
2261 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2262 # Reject names that are not valid shell variable names.
2263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2264 as_fn_error $? "invalid package name: $ac_useropt"
2265 ac_useropt_orig=$ac_useropt
2266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2267 case $ac_user_opts in
2269 "with_$ac_useropt"
2270 "*) ;;
2271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2272 ac_unrecognized_sep=', ';;
2273 esac
2274 eval with_$ac_useropt=\$ac_optarg ;;
2276 -without-* | --without-*)
2277 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2278 # Reject names that are not valid shell variable names.
2279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2280 as_fn_error $? "invalid package name: $ac_useropt"
2281 ac_useropt_orig=$ac_useropt
2282 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2283 case $ac_user_opts in
2285 "with_$ac_useropt"
2286 "*) ;;
2287 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2288 ac_unrecognized_sep=', ';;
2289 esac
2290 eval with_$ac_useropt=no ;;
2292 --x)
2293 # Obsolete; use --with-x.
2294 with_x=yes ;;
2296 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2297 | --x-incl | --x-inc | --x-in | --x-i)
2298 ac_prev=x_includes ;;
2299 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2300 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2301 x_includes=$ac_optarg ;;
2303 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2304 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2305 ac_prev=x_libraries ;;
2306 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2307 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2308 x_libraries=$ac_optarg ;;
2310 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2311 Try \`$0 --help' for more information"
2314 *=*)
2315 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2316 # Reject names that are not valid shell variable names.
2317 case $ac_envvar in #(
2318 '' | [0-9]* | *[!_$as_cr_alnum]* )
2319 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2320 esac
2321 eval $ac_envvar=\$ac_optarg
2322 export $ac_envvar ;;
2325 # FIXME: should be removed in autoconf 3.0.
2326 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2327 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2328 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2329 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2332 esac
2333 done
2335 if test -n "$ac_prev"; then
2336 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2337 as_fn_error $? "missing argument to $ac_option"
2340 if test -n "$ac_unrecognized_opts"; then
2341 case $enable_option_checking in
2342 no) ;;
2343 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2345 esac
2348 # Check all directory arguments for consistency.
2349 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2350 datadir sysconfdir sharedstatedir localstatedir includedir \
2351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2352 libdir localedir mandir runstatedir
2354 eval ac_val=\$$ac_var
2355 # Remove trailing slashes.
2356 case $ac_val in
2357 */ )
2358 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2359 eval $ac_var=\$ac_val;;
2360 esac
2361 # Be sure to have absolute directory names.
2362 case $ac_val in
2363 [\\/$]* | ?:[\\/]* ) continue;;
2364 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2365 esac
2366 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2367 done
2369 # There might be people who depend on the old broken behavior: `$host'
2370 # used to hold the argument of --host etc.
2371 # FIXME: To remove some day.
2372 build=$build_alias
2373 host=$host_alias
2374 target=$target_alias
2376 # FIXME: To remove some day.
2377 if test "x$host_alias" != x; then
2378 if test "x$build_alias" = x; then
2379 cross_compiling=maybe
2380 elif test "x$build_alias" != "x$host_alias"; then
2381 cross_compiling=yes
2385 ac_tool_prefix=
2386 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2388 test "$silent" = yes && exec 6>/dev/null
2391 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2392 ac_ls_di=`ls -di .` &&
2393 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2394 as_fn_error $? "working directory cannot be determined"
2395 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2396 as_fn_error $? "pwd does not report name of working directory"
2399 # Find the source files, if location was not specified.
2400 if test -z "$srcdir"; then
2401 ac_srcdir_defaulted=yes
2402 # Try the directory containing this script, then the parent directory.
2403 ac_confdir=`$as_dirname -- "$as_myself" ||
2404 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2405 X"$as_myself" : 'X\(//\)[^/]' \| \
2406 X"$as_myself" : 'X\(//\)$' \| \
2407 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2408 $as_echo X"$as_myself" |
2409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2410 s//\1/
2413 /^X\(\/\/\)[^/].*/{
2414 s//\1/
2417 /^X\(\/\/\)$/{
2418 s//\1/
2421 /^X\(\/\).*/{
2422 s//\1/
2425 s/.*/./; q'`
2426 srcdir=$ac_confdir
2427 if test ! -r "$srcdir/$ac_unique_file"; then
2428 srcdir=..
2430 else
2431 ac_srcdir_defaulted=no
2433 if test ! -r "$srcdir/$ac_unique_file"; then
2434 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2435 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2437 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2438 ac_abs_confdir=`(
2439 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2440 pwd)`
2441 # When building in place, set srcdir=.
2442 if test "$ac_abs_confdir" = "$ac_pwd"; then
2443 srcdir=.
2445 # Remove unnecessary trailing slashes from srcdir.
2446 # Double slashes in file names in object file debugging info
2447 # mess up M-x gdb in Emacs.
2448 case $srcdir in
2449 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2450 esac
2451 for ac_var in $ac_precious_vars; do
2452 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2453 eval ac_env_${ac_var}_value=\$${ac_var}
2454 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2455 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2456 done
2459 # Report the --help message.
2461 if test "$ac_init_help" = "long"; then
2462 # Omit some internal or obsolete options to make the list less imposing.
2463 # This message is too long to be a string in the A/UX 3.1 sh.
2464 cat <<_ACEOF
2465 \`configure' configures Wine 5.9 to adapt to many kinds of systems.
2467 Usage: $0 [OPTION]... [VAR=VALUE]...
2469 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2470 VAR=VALUE. See below for descriptions of some of the useful variables.
2472 Defaults for the options are specified in brackets.
2474 Configuration:
2475 -h, --help display this help and exit
2476 --help=short display options specific to this package
2477 --help=recursive display the short help of all the included packages
2478 -V, --version display version information and exit
2479 -q, --quiet, --silent do not print \`checking ...' messages
2480 --cache-file=FILE cache test results in FILE [disabled]
2481 -C, --config-cache alias for \`--cache-file=config.cache'
2482 -n, --no-create do not create output files
2483 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2485 Installation directories:
2486 --prefix=PREFIX install architecture-independent files in PREFIX
2487 [$ac_default_prefix]
2488 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2489 [PREFIX]
2491 By default, \`make install' will install all the files in
2492 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2493 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2494 for instance \`--prefix=\$HOME'.
2496 For better control, use the options below.
2498 Fine tuning of the installation directories:
2499 --bindir=DIR user executables [EPREFIX/bin]
2500 --sbindir=DIR system admin executables [EPREFIX/sbin]
2501 --libexecdir=DIR program executables [EPREFIX/libexec]
2502 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2503 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2504 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2505 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2506 --libdir=DIR object code libraries [EPREFIX/lib]
2507 --includedir=DIR C header files [PREFIX/include]
2508 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2509 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2510 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2511 --infodir=DIR info documentation [DATAROOTDIR/info]
2512 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2513 --mandir=DIR man documentation [DATAROOTDIR/man]
2514 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2515 --htmldir=DIR html documentation [DOCDIR]
2516 --dvidir=DIR dvi documentation [DOCDIR]
2517 --pdfdir=DIR pdf documentation [DOCDIR]
2518 --psdir=DIR ps documentation [DOCDIR]
2519 _ACEOF
2521 cat <<\_ACEOF
2523 X features:
2524 --x-includes=DIR X include files are in DIR
2525 --x-libraries=DIR X library files are in DIR
2527 System types:
2528 --build=BUILD configure for building on BUILD [guessed]
2529 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2530 _ACEOF
2533 if test -n "$ac_init_help"; then
2534 case $ac_init_help in
2535 short | recursive ) echo "Configuration of Wine 5.9:";;
2536 esac
2537 cat <<\_ACEOF
2539 Optional Features:
2540 --disable-option-checking ignore unrecognized --enable/--with options
2541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2543 --disable-win16 do not include Win16 support
2544 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2545 binaries)
2546 --disable-tests do not build the regression tests
2547 --enable-maintainer-mode
2548 enable maintainer-specific build rules
2549 --enable-werror treat compilation warnings as errors
2550 --disable-largefile omit support for large files
2552 Optional Packages:
2553 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2554 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2555 --without-alsa do not use the Alsa sound support
2556 --without-capi do not use CAPI (ISDN support)
2557 --without-cms do not use CMS (color management support)
2558 --without-coreaudio do not use the CoreAudio sound support
2559 --without-cups do not use CUPS
2560 --without-curses do not use (n)curses
2561 --without-dbus do not use DBus (dynamic device support)
2562 --without-faudio do not use FAudio (XAudio2 support)
2563 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2564 --without-fontconfig do not use fontconfig
2565 --without-freetype do not use the FreeType library
2566 --without-gettext do not use gettext
2567 --with-gettextpo use the GetTextPO library to rebuild po files
2568 --without-gphoto do not use gphoto (Digital Camera support)
2569 --without-glu do not use the GLU library
2570 --without-gnutls do not use GnuTLS (schannel support)
2571 --without-gsm do not use libgsm (GSM 06.10 codec support)
2572 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2573 --without-gstreamer do not use GStreamer (codecs support)
2574 --without-hal do not use HAL (dynamic device support)
2575 --without-inotify do not use inotify (filesystem change notifications)
2576 --without-jpeg do not use JPEG
2577 --without-krb5 do not use krb5 (Kerberos)
2578 --without-ldap do not use LDAP
2579 --without-mingw do not use the MinGW cross-compiler
2580 --without-mpg123 do not use the mpg123 library
2581 --without-netapi do not use the Samba NetAPI library
2582 --without-openal do not use OpenAL
2583 --without-opencl do not use OpenCL
2584 --without-opengl do not use OpenGL
2585 --without-osmesa do not use the OSMesa library
2586 --without-oss do not use the OSS sound support
2587 --without-pcap do not use the Packet Capture library
2588 --without-png do not use PNG
2589 --without-pthread do not use the pthread library
2590 --without-pulse do not use PulseAudio sound support
2591 --without-sane do not use SANE (scanner support)
2592 --without-sdl do not use SDL
2593 --without-tiff do not use TIFF
2594 --without-udev do not use udev (plug and play support)
2595 --without-unwind do not use the libunwind library (exception
2596 handling)
2597 --without-usb do not use the libusb library
2598 --without-v4l2 do not use v4l2 (video capture)
2599 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2600 --without-vulkan do not use Vulkan
2601 --without-xcomposite do not use the Xcomposite extension
2602 --without-xcursor do not use the Xcursor extension
2603 --without-xfixes do not use Xfixes for clipboard change notifications
2604 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2605 --without-xinput do not use the Xinput extension
2606 --without-xinput2 do not use the Xinput 2 extension
2607 --without-xml do not use XML
2608 --without-xrandr do not use Xrandr (multi-monitor support)
2609 --without-xrender do not use the Xrender extension
2610 --without-xshape do not use the Xshape extension
2611 --without-xshm do not use XShm (shared memory extension)
2612 --without-xslt do not use XSLT
2613 --without-xxf86vm do not use XFree video mode extension
2614 --with-wine-tools=DIR use Wine tools from directory DIR
2615 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2616 --with-x use the X Window System
2618 Some influential environment variables:
2619 CC C compiler command
2620 CFLAGS C compiler flags
2621 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2622 nonstandard directory <lib dir>
2623 LIBS libraries to pass to the linker, e.g. -l<library>
2624 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2625 you have headers in a nonstandard directory <include dir>
2626 CXX C++ compiler command
2627 CXXFLAGS C++ compiler flags
2628 CPP C preprocessor
2629 OBJC Objective C compiler command
2630 OBJCFLAGS Objective C compiler flags
2631 OBJCPP Objective C preprocessor
2632 XMKMF Path to xmkmf, Makefile generator for X Window System
2633 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2634 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2635 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2636 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2637 INOTIFY_CFLAGS
2638 C compiler flags for libinotify, overriding pkg-config
2639 INOTIFY_LIBS
2640 Linker flags for libinotify, overriding pkg-config
2641 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2642 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2643 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2644 HAL_LIBS Linker flags for hal, overriding pkg-config
2645 GNUTLS_CFLAGS
2646 C compiler flags for gnutls, overriding pkg-config
2647 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2648 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2649 SANE_LIBS Linker flags for libsane, overriding pkg-config
2650 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2651 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2652 GPHOTO2_CFLAGS
2653 C compiler flags for libgphoto2, overriding pkg-config
2654 GPHOTO2_LIBS
2655 Linker flags for libgphoto2, overriding pkg-config
2656 GPHOTO2_PORT_CFLAGS
2657 C compiler flags for libgphoto2_port, overriding pkg-config
2658 GPHOTO2_PORT_LIBS
2659 Linker flags for libgphoto2_port, overriding pkg-config
2660 LCMS2_CFLAGS
2661 C compiler flags for lcms2, overriding pkg-config
2662 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2663 FREETYPE_CFLAGS
2664 C compiler flags for freetype2, overriding pkg-config
2665 FREETYPE_LIBS
2666 Linker flags for freetype2, overriding pkg-config
2667 PULSE_CFLAGS
2668 C compiler flags for libpulse, overriding pkg-config
2669 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2670 GSTREAMER_CFLAGS
2671 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2672 gstreamer-audio-1.0, overriding pkg-config
2673 GSTREAMER_LIBS
2674 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2675 gstreamer-audio-1.0, overriding pkg-config
2676 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2677 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2678 UNWIND_CFLAGS
2679 C compiler flags for libunwind, overriding pkg-config
2680 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2681 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2682 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2683 FAUDIO_CFLAGS
2684 C compiler flags for faudio, overriding pkg-config
2685 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2686 CAPI20_CFLAGS
2687 C compiler flags for capi20, overriding pkg-config
2688 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2689 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2690 CUPS_LIBS Linker flags for cups, overriding pkg-config
2691 FONTCONFIG_CFLAGS
2692 C compiler flags for fontconfig, overriding pkg-config
2693 FONTCONFIG_LIBS
2694 Linker flags for fontconfig, overriding pkg-config
2695 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2696 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2697 GSSAPI_CFLAGS
2698 C compiler flags for krb5-gssapi, overriding pkg-config
2699 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2700 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2701 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2702 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2703 PNG_LIBS Linker flags for libpng, overriding pkg-config
2704 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2705 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2706 MPG123_CFLAGS
2707 C compiler flags for libmpg123, overriding pkg-config
2708 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2709 NETAPI_CFLAGS
2710 C compiler flags for netapi, overriding pkg-config
2711 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2712 VKD3D_CFLAGS
2713 C compiler flags for libvkd3d, overriding pkg-config
2714 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2715 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2716 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2718 Use these variables to override the choices made by `configure' or to help
2719 it to find libraries and programs with nonstandard names/locations.
2721 Report bugs to <wine-devel@winehq.org>.
2722 Wine home page: <https://www.winehq.org>.
2723 _ACEOF
2724 ac_status=$?
2727 if test "$ac_init_help" = "recursive"; then
2728 # If there are subdirs, report their specific --help.
2729 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2730 test -d "$ac_dir" ||
2731 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2732 continue
2733 ac_builddir=.
2735 case "$ac_dir" in
2736 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2738 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2739 # A ".." for each directory in $ac_dir_suffix.
2740 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2741 case $ac_top_builddir_sub in
2742 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2743 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2744 esac ;;
2745 esac
2746 ac_abs_top_builddir=$ac_pwd
2747 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2748 # for backward compatibility:
2749 ac_top_builddir=$ac_top_build_prefix
2751 case $srcdir in
2752 .) # We are building in place.
2753 ac_srcdir=.
2754 ac_top_srcdir=$ac_top_builddir_sub
2755 ac_abs_top_srcdir=$ac_pwd ;;
2756 [\\/]* | ?:[\\/]* ) # Absolute name.
2757 ac_srcdir=$srcdir$ac_dir_suffix;
2758 ac_top_srcdir=$srcdir
2759 ac_abs_top_srcdir=$srcdir ;;
2760 *) # Relative name.
2761 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2762 ac_top_srcdir=$ac_top_build_prefix$srcdir
2763 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2764 esac
2765 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2767 cd "$ac_dir" || { ac_status=$?; continue; }
2768 # Check for guested configure.
2769 if test -f "$ac_srcdir/configure.gnu"; then
2770 echo &&
2771 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2772 elif test -f "$ac_srcdir/configure"; then
2773 echo &&
2774 $SHELL "$ac_srcdir/configure" --help=recursive
2775 else
2776 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2777 fi || ac_status=$?
2778 cd "$ac_pwd" || { ac_status=$?; break; }
2779 done
2782 test -n "$ac_init_help" && exit $ac_status
2783 if $ac_init_version; then
2784 cat <<\_ACEOF
2785 Wine configure 5.9
2786 generated by GNU Autoconf 2.69
2788 Copyright (C) 2012 Free Software Foundation, Inc.
2789 This configure script is free software; the Free Software Foundation
2790 gives unlimited permission to copy, distribute and modify it.
2791 _ACEOF
2792 exit
2795 ## ------------------------ ##
2796 ## Autoconf initialization. ##
2797 ## ------------------------ ##
2799 # ac_fn_c_try_compile LINENO
2800 # --------------------------
2801 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2802 ac_fn_c_try_compile ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 rm -f conftest.$ac_objext
2806 if { { ac_try="$ac_compile"
2807 case "(($ac_try" in
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2810 esac
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_compile") 2>conftest.err
2814 ac_status=$?
2815 if test -s conftest.err; then
2816 grep -v '^ *+' conftest.err >conftest.er1
2817 cat conftest.er1 >&5
2818 mv -f conftest.er1 conftest.err
2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821 test $ac_status = 0; } && {
2822 test -z "$ac_c_werror_flag" ||
2823 test ! -s conftest.err
2824 } && test -s conftest.$ac_objext; then :
2825 ac_retval=0
2826 else
2827 $as_echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status $ac_retval
2835 } # ac_fn_c_try_compile
2837 # ac_fn_cxx_try_compile LINENO
2838 # ----------------------------
2839 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2840 ac_fn_cxx_try_compile ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 rm -f conftest.$ac_objext
2844 if { { ac_try="$ac_compile"
2845 case "(($ac_try" in
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2848 esac
2849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2850 $as_echo "$ac_try_echo"; } >&5
2851 (eval "$ac_compile") 2>conftest.err
2852 ac_status=$?
2853 if test -s conftest.err; then
2854 grep -v '^ *+' conftest.err >conftest.er1
2855 cat conftest.er1 >&5
2856 mv -f conftest.er1 conftest.err
2858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; } && {
2860 test -z "$ac_cxx_werror_flag" ||
2861 test ! -s conftest.err
2862 } && test -s conftest.$ac_objext; then :
2863 ac_retval=0
2864 else
2865 $as_echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2868 ac_retval=1
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 as_fn_set_status $ac_retval
2873 } # ac_fn_cxx_try_compile
2875 # ac_fn_c_try_link LINENO
2876 # -----------------------
2877 # Try to link conftest.$ac_ext, and return whether this succeeded.
2878 ac_fn_c_try_link ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 rm -f conftest.$ac_objext conftest$ac_exeext
2882 if { { ac_try="$ac_link"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 $as_echo "$ac_try_echo"; } >&5
2889 (eval "$ac_link") 2>conftest.err
2890 ac_status=$?
2891 if test -s conftest.err; then
2892 grep -v '^ *+' conftest.err >conftest.er1
2893 cat conftest.er1 >&5
2894 mv -f conftest.er1 conftest.err
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest$ac_exeext && {
2901 test "$cross_compiling" = yes ||
2902 test -x conftest$ac_exeext
2903 }; then :
2904 ac_retval=0
2905 else
2906 $as_echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_retval=1
2911 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2912 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2913 # interfere with the next link command; also delete a directory that is
2914 # left behind by Apple's compiler. We do this before executing the actions.
2915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 as_fn_set_status $ac_retval
2919 } # ac_fn_c_try_link
2921 # ac_fn_c_try_cpp LINENO
2922 # ----------------------
2923 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2924 ac_fn_c_try_cpp ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 if { { ac_try="$ac_cpp conftest.$ac_ext"
2928 case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931 esac
2932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2933 $as_echo "$ac_try_echo"; } >&5
2934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2935 ac_status=$?
2936 if test -s conftest.err; then
2937 grep -v '^ *+' conftest.err >conftest.er1
2938 cat conftest.er1 >&5
2939 mv -f conftest.er1 conftest.err
2941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942 test $ac_status = 0; } > conftest.i && {
2943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2944 test ! -s conftest.err
2945 }; then :
2946 ac_retval=0
2947 else
2948 $as_echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2951 ac_retval=1
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 as_fn_set_status $ac_retval
2956 } # ac_fn_c_try_cpp
2958 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2959 # -------------------------------------------------------
2960 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2961 # the include files in INCLUDES and setting the cache variable VAR
2962 # accordingly.
2963 ac_fn_c_check_header_mongrel ()
2965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2966 if eval \${$3+:} false; then :
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2968 $as_echo_n "checking for $2... " >&6; }
2969 if eval \${$3+:} false; then :
2970 $as_echo_n "(cached) " >&6
2972 eval ac_res=\$$3
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2974 $as_echo "$ac_res" >&6; }
2975 else
2976 # Is the header compilable?
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2978 $as_echo_n "checking $2 usability... " >&6; }
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2982 #include <$2>
2983 _ACEOF
2984 if ac_fn_c_try_compile "$LINENO"; then :
2985 ac_header_compiler=yes
2986 else
2987 ac_header_compiler=no
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2991 $as_echo "$ac_header_compiler" >&6; }
2993 # Is the header present?
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2995 $as_echo_n "checking $2 presence... " >&6; }
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2998 #include <$2>
2999 _ACEOF
3000 if ac_fn_c_try_cpp "$LINENO"; then :
3001 ac_header_preproc=yes
3002 else
3003 ac_header_preproc=no
3005 rm -f conftest.err conftest.i conftest.$ac_ext
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3007 $as_echo "$ac_header_preproc" >&6; }
3009 # So? What about this header?
3010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3011 yes:no: )
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3013 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3015 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3017 no:yes:* )
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3019 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3021 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3023 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3025 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3027 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3028 ( $as_echo "## ------------------------------------ ##
3029 ## Report this to wine-devel@winehq.org ##
3030 ## ------------------------------------ ##"
3031 ) | sed "s/^/$as_me: WARNING: /" >&2
3033 esac
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3035 $as_echo_n "checking for $2... " >&6; }
3036 if eval \${$3+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 eval "$3=\$ac_header_compiler"
3041 eval ac_res=\$$3
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3043 $as_echo "$ac_res" >&6; }
3045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3047 } # ac_fn_c_check_header_mongrel
3049 # ac_fn_c_try_run LINENO
3050 # ----------------------
3051 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3052 # that executables *can* be run.
3053 ac_fn_c_try_run ()
3055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3056 if { { ac_try="$ac_link"
3057 case "(($ac_try" in
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3060 esac
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_link") 2>&5
3064 ac_status=$?
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3067 { { case "(($ac_try" in
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3070 esac
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_try") 2>&5
3074 ac_status=$?
3075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3076 test $ac_status = 0; }; }; then :
3077 ac_retval=0
3078 else
3079 $as_echo "$as_me: program exited with status $ac_status" >&5
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3083 ac_retval=$ac_status
3085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 as_fn_set_status $ac_retval
3089 } # ac_fn_c_try_run
3091 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3092 # -------------------------------------------------------
3093 # Tests whether HEADER exists and can be compiled using the include files in
3094 # INCLUDES, setting the cache variable VAR accordingly.
3095 ac_fn_c_check_header_compile ()
3097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3099 $as_echo_n "checking for $2... " >&6; }
3100 if eval \${$3+:} false; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3106 #include <$2>
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"; then :
3109 eval "$3=yes"
3110 else
3111 eval "$3=no"
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 eval ac_res=\$$3
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3117 $as_echo "$ac_res" >&6; }
3118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3120 } # ac_fn_c_check_header_compile
3122 # ac_fn_objc_try_compile LINENO
3123 # -----------------------------
3124 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3125 ac_fn_objc_try_compile ()
3127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3128 rm -f conftest.$ac_objext
3129 if { { ac_try="$ac_compile"
3130 case "(($ac_try" in
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3133 esac
3134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3135 $as_echo "$ac_try_echo"; } >&5
3136 (eval "$ac_compile") 2>conftest.err
3137 ac_status=$?
3138 if test -s conftest.err; then
3139 grep -v '^ *+' conftest.err >conftest.er1
3140 cat conftest.er1 >&5
3141 mv -f conftest.er1 conftest.err
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; } && {
3145 test -z "$ac_objc_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then :
3148 ac_retval=0
3149 else
3150 $as_echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 ac_retval=1
3155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3156 as_fn_set_status $ac_retval
3158 } # ac_fn_objc_try_compile
3160 # ac_fn_objc_try_cpp LINENO
3161 # -------------------------
3162 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3163 ac_fn_objc_try_cpp ()
3165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3166 if { { ac_try="$ac_cpp conftest.$ac_ext"
3167 case "(($ac_try" in
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3170 esac
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3174 ac_status=$?
3175 if test -s conftest.err; then
3176 grep -v '^ *+' conftest.err >conftest.er1
3177 cat conftest.er1 >&5
3178 mv -f conftest.er1 conftest.err
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; } > conftest.i && {
3182 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3183 test ! -s conftest.err
3184 }; then :
3185 ac_retval=0
3186 else
3187 $as_echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3190 ac_retval=1
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193 as_fn_set_status $ac_retval
3195 } # ac_fn_objc_try_cpp
3197 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3198 # ----------------------------------------------------------
3199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3200 # the include files in INCLUDES and setting the cache variable VAR
3201 # accordingly.
3202 ac_fn_objc_check_header_mongrel ()
3204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3205 if eval \${$3+:} false; then :
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3207 $as_echo_n "checking for $2... " >&6; }
3208 if eval \${$3+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 eval ac_res=\$$3
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3213 $as_echo "$ac_res" >&6; }
3214 else
3215 # Is the header compilable?
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3217 $as_echo_n "checking $2 usability... " >&6; }
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3221 #include <$2>
3222 _ACEOF
3223 if ac_fn_objc_try_compile "$LINENO"; then :
3224 ac_header_compiler=yes
3225 else
3226 ac_header_compiler=no
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3230 $as_echo "$ac_header_compiler" >&6; }
3232 # Is the header present?
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3234 $as_echo_n "checking $2 presence... " >&6; }
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3237 #include <$2>
3238 _ACEOF
3239 if ac_fn_objc_try_cpp "$LINENO"; then :
3240 ac_header_preproc=yes
3241 else
3242 ac_header_preproc=no
3244 rm -f conftest.err conftest.i conftest.$ac_ext
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3246 $as_echo "$ac_header_preproc" >&6; }
3248 # So? What about this header?
3249 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3250 yes:no: )
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3256 no:yes:* )
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3260 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3264 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3267 ( $as_echo "## ------------------------------------ ##
3268 ## Report this to wine-devel@winehq.org ##
3269 ## ------------------------------------ ##"
3270 ) | sed "s/^/$as_me: WARNING: /" >&2
3272 esac
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3274 $as_echo_n "checking for $2... " >&6; }
3275 if eval \${$3+:} false; then :
3276 $as_echo_n "(cached) " >&6
3277 else
3278 eval "$3=\$ac_header_compiler"
3280 eval ac_res=\$$3
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3282 $as_echo "$ac_res" >&6; }
3284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3286 } # ac_fn_objc_check_header_mongrel
3288 # ac_fn_c_check_func LINENO FUNC VAR
3289 # ----------------------------------
3290 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3291 ac_fn_c_check_func ()
3293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3295 $as_echo_n "checking for $2... " >&6; }
3296 if eval \${$3+:} false; then :
3297 $as_echo_n "(cached) " >&6
3298 else
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3301 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3303 #define $2 innocuous_$2
3305 /* System header to define __stub macros and hopefully few prototypes,
3306 which can conflict with char $2 (); below.
3307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3308 <limits.h> exists even on freestanding compilers. */
3310 #ifdef __STDC__
3311 # include <limits.h>
3312 #else
3313 # include <assert.h>
3314 #endif
3316 #undef $2
3318 /* Override any GCC internal prototype to avoid an error.
3319 Use char because int might match the return type of a GCC
3320 builtin and then its argument prototype would still apply. */
3321 #ifdef __cplusplus
3322 extern "C"
3323 #endif
3324 char $2 ();
3325 /* The GNU C library defines this for functions which it implements
3326 to always fail with ENOSYS. Some functions are actually named
3327 something starting with __ and the normal name is an alias. */
3328 #if defined __stub_$2 || defined __stub___$2
3329 choke me
3330 #endif
3333 main ()
3335 return $2 ();
3337 return 0;
3339 _ACEOF
3340 if ac_fn_c_try_link "$LINENO"; then :
3341 eval "$3=yes"
3342 else
3343 eval "$3=no"
3345 rm -f core conftest.err conftest.$ac_objext \
3346 conftest$ac_exeext conftest.$ac_ext
3348 eval ac_res=\$$3
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3350 $as_echo "$ac_res" >&6; }
3351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3353 } # ac_fn_c_check_func
3355 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3356 # ----------------------------------------------------
3357 # Tries to find if the field MEMBER exists in type AGGR, after including
3358 # INCLUDES, setting cache variable VAR accordingly.
3359 ac_fn_c_check_member ()
3361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3363 $as_echo_n "checking for $2.$3... " >&6; }
3364 if eval \${$4+:} false; then :
3365 $as_echo_n "(cached) " >&6
3366 else
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3371 main ()
3373 static $2 ac_aggr;
3374 if (ac_aggr.$3)
3375 return 0;
3377 return 0;
3379 _ACEOF
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381 eval "$4=yes"
3382 else
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3387 main ()
3389 static $2 ac_aggr;
3390 if (sizeof ac_aggr.$3)
3391 return 0;
3393 return 0;
3395 _ACEOF
3396 if ac_fn_c_try_compile "$LINENO"; then :
3397 eval "$4=yes"
3398 else
3399 eval "$4=no"
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 eval ac_res=\$$4
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3407 $as_echo "$ac_res" >&6; }
3408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3410 } # ac_fn_c_check_member
3412 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3413 # -------------------------------------------
3414 # Tests whether TYPE exists after having included INCLUDES, setting cache
3415 # variable VAR accordingly.
3416 ac_fn_c_check_type ()
3418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3420 $as_echo_n "checking for $2... " >&6; }
3421 if eval \${$3+:} false; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 eval "$3=no"
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3429 main ()
3431 if (sizeof ($2))
3432 return 0;
3434 return 0;
3436 _ACEOF
3437 if ac_fn_c_try_compile "$LINENO"; then :
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3442 main ()
3444 if (sizeof (($2)))
3445 return 0;
3447 return 0;
3449 _ACEOF
3450 if ac_fn_c_try_compile "$LINENO"; then :
3452 else
3453 eval "$3=yes"
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 eval ac_res=\$$3
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3461 $as_echo "$ac_res" >&6; }
3462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3464 } # ac_fn_c_check_type
3465 cat >config.log <<_ACEOF
3466 This file contains any messages produced by compilers while
3467 running configure, to aid debugging if configure makes a mistake.
3469 It was created by Wine $as_me 5.9, which was
3470 generated by GNU Autoconf 2.69. Invocation command line was
3472 $ $0 $@
3474 _ACEOF
3475 exec 5>>config.log
3477 cat <<_ASUNAME
3478 ## --------- ##
3479 ## Platform. ##
3480 ## --------- ##
3482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3499 _ASUNAME
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 for as_dir in $PATH
3504 IFS=$as_save_IFS
3505 test -z "$as_dir" && as_dir=.
3506 $as_echo "PATH: $as_dir"
3507 done
3508 IFS=$as_save_IFS
3510 } >&5
3512 cat >&5 <<_ACEOF
3515 ## ----------- ##
3516 ## Core tests. ##
3517 ## ----------- ##
3519 _ACEOF
3522 # Keep a trace of the command line.
3523 # Strip out --no-create and --no-recursion so they do not pile up.
3524 # Strip out --silent because we don't want to record it for future runs.
3525 # Also quote any args containing shell meta-characters.
3526 # Make two passes to allow for proper duplicate-argument suppression.
3527 ac_configure_args=
3528 ac_configure_args0=
3529 ac_configure_args1=
3530 ac_must_keep_next=false
3531 for ac_pass in 1 2
3533 for ac_arg
3535 case $ac_arg in
3536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3538 | -silent | --silent | --silen | --sile | --sil)
3539 continue ;;
3540 *\'*)
3541 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3542 esac
3543 case $ac_pass in
3544 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3546 as_fn_append ac_configure_args1 " '$ac_arg'"
3547 if test $ac_must_keep_next = true; then
3548 ac_must_keep_next=false # Got value, back to normal.
3549 else
3550 case $ac_arg in
3551 *=* | --config-cache | -C | -disable-* | --disable-* \
3552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3554 | -with-* | --with-* | -without-* | --without-* | --x)
3555 case "$ac_configure_args0 " in
3556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3557 esac
3559 -* ) ac_must_keep_next=true ;;
3560 esac
3562 as_fn_append ac_configure_args " '$ac_arg'"
3564 esac
3565 done
3566 done
3567 { ac_configure_args0=; unset ac_configure_args0;}
3568 { ac_configure_args1=; unset ac_configure_args1;}
3570 # When interrupted or exit'd, cleanup temporary files, and complete
3571 # config.log. We remove comments because anyway the quotes in there
3572 # would cause problems or look ugly.
3573 # WARNING: Use '\'' to represent an apostrophe within the trap.
3574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3575 trap 'exit_status=$?
3576 # Save into config.log some information that might help in debugging.
3578 echo
3580 $as_echo "## ---------------- ##
3581 ## Cache variables. ##
3582 ## ---------------- ##"
3583 echo
3584 # The following way of writing the cache mishandles newlines in values,
3586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3587 eval ac_val=\$$ac_var
3588 case $ac_val in #(
3589 *${as_nl}*)
3590 case $ac_var in #(
3591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3593 esac
3594 case $ac_var in #(
3595 _ | IFS | as_nl) ;; #(
3596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3597 *) { eval $ac_var=; unset $ac_var;} ;;
3598 esac ;;
3599 esac
3600 done
3601 (set) 2>&1 |
3602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3603 *${as_nl}ac_space=\ *)
3604 sed -n \
3605 "s/'\''/'\''\\\\'\'''\''/g;
3606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3607 ;; #(
3609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3611 esac |
3612 sort
3614 echo
3616 $as_echo "## ----------------- ##
3617 ## Output variables. ##
3618 ## ----------------- ##"
3619 echo
3620 for ac_var in $ac_subst_vars
3622 eval ac_val=\$$ac_var
3623 case $ac_val in
3624 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3625 esac
3626 $as_echo "$ac_var='\''$ac_val'\''"
3627 done | sort
3628 echo
3630 if test -n "$ac_subst_files"; then
3631 $as_echo "## ------------------- ##
3632 ## File substitutions. ##
3633 ## ------------------- ##"
3634 echo
3635 for ac_var in $ac_subst_files
3637 eval ac_val=\$$ac_var
3638 case $ac_val in
3639 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3640 esac
3641 $as_echo "$ac_var='\''$ac_val'\''"
3642 done | sort
3643 echo
3646 if test -s confdefs.h; then
3647 $as_echo "## ----------- ##
3648 ## confdefs.h. ##
3649 ## ----------- ##"
3650 echo
3651 cat confdefs.h
3652 echo
3654 test "$ac_signal" != 0 &&
3655 $as_echo "$as_me: caught signal $ac_signal"
3656 $as_echo "$as_me: exit $exit_status"
3657 } >&5
3658 rm -f core *.core core.conftest.* &&
3659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3660 exit $exit_status
3662 for ac_signal in 1 2 13 15; do
3663 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3664 done
3665 ac_signal=0
3667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3668 rm -f -r conftest* confdefs.h
3670 $as_echo "/* confdefs.h */" > confdefs.h
3672 # Predefined preprocessor variables.
3674 cat >>confdefs.h <<_ACEOF
3675 #define PACKAGE_NAME "$PACKAGE_NAME"
3676 _ACEOF
3678 cat >>confdefs.h <<_ACEOF
3679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3680 _ACEOF
3682 cat >>confdefs.h <<_ACEOF
3683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3684 _ACEOF
3686 cat >>confdefs.h <<_ACEOF
3687 #define PACKAGE_STRING "$PACKAGE_STRING"
3688 _ACEOF
3690 cat >>confdefs.h <<_ACEOF
3691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3692 _ACEOF
3694 cat >>confdefs.h <<_ACEOF
3695 #define PACKAGE_URL "$PACKAGE_URL"
3696 _ACEOF
3699 # Let the site file select an alternate cache file if it wants to.
3700 # Prefer an explicitly selected file to automatically selected ones.
3701 ac_site_file1=NONE
3702 ac_site_file2=NONE
3703 if test -n "$CONFIG_SITE"; then
3704 # We do not want a PATH search for config.site.
3705 case $CONFIG_SITE in #((
3706 -*) ac_site_file1=./$CONFIG_SITE;;
3707 */*) ac_site_file1=$CONFIG_SITE;;
3708 *) ac_site_file1=./$CONFIG_SITE;;
3709 esac
3710 elif test "x$prefix" != xNONE; then
3711 ac_site_file1=$prefix/share/config.site
3712 ac_site_file2=$prefix/etc/config.site
3713 else
3714 ac_site_file1=$ac_default_prefix/share/config.site
3715 ac_site_file2=$ac_default_prefix/etc/config.site
3717 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3719 test "x$ac_site_file" = xNONE && continue
3720 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3722 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3723 sed 's/^/| /' "$ac_site_file" >&5
3724 . "$ac_site_file" \
3725 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3727 as_fn_error $? "failed to load site script $ac_site_file
3728 See \`config.log' for more details" "$LINENO" 5; }
3730 done
3732 if test -r "$cache_file"; then
3733 # Some versions of bash will fail to source /dev/null (special files
3734 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3735 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3737 $as_echo "$as_me: loading cache $cache_file" >&6;}
3738 case $cache_file in
3739 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3740 *) . "./$cache_file";;
3741 esac
3743 else
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3745 $as_echo "$as_me: creating cache $cache_file" >&6;}
3746 >$cache_file
3749 # Check that the precious variables saved in the cache have kept the same
3750 # value.
3751 ac_cache_corrupted=false
3752 for ac_var in $ac_precious_vars; do
3753 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3754 eval ac_new_set=\$ac_env_${ac_var}_set
3755 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3756 eval ac_new_val=\$ac_env_${ac_var}_value
3757 case $ac_old_set,$ac_new_set in
3758 set,)
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3760 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3761 ac_cache_corrupted=: ;;
3762 ,set)
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3764 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3765 ac_cache_corrupted=: ;;
3766 ,);;
3768 if test "x$ac_old_val" != "x$ac_new_val"; then
3769 # differences in whitespace do not lead to failure.
3770 ac_old_val_w=`echo x $ac_old_val`
3771 ac_new_val_w=`echo x $ac_new_val`
3772 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3774 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3775 ac_cache_corrupted=:
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3778 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3779 eval $ac_var=\$ac_old_val
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3782 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3784 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3785 fi;;
3786 esac
3787 # Pass precious variables to config.status.
3788 if test "$ac_new_set" = set; then
3789 case $ac_new_val in
3790 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3791 *) ac_arg=$ac_var=$ac_new_val ;;
3792 esac
3793 case " $ac_configure_args " in
3794 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3795 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3796 esac
3798 done
3799 if $ac_cache_corrupted; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3803 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3804 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3806 ## -------------------- ##
3807 ## Main body of script. ##
3808 ## -------------------- ##
3810 ac_ext=c
3811 ac_cpp='$CPP $CPPFLAGS'
3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3818 ac_config_headers="$ac_config_headers include/config.h"
3820 ac_aux_dir=
3821 for ac_dir in tools "$srcdir"/tools; do
3822 if test -f "$ac_dir/install-sh"; then
3823 ac_aux_dir=$ac_dir
3824 ac_install_sh="$ac_aux_dir/install-sh -c"
3825 break
3826 elif test -f "$ac_dir/install.sh"; then
3827 ac_aux_dir=$ac_dir
3828 ac_install_sh="$ac_aux_dir/install.sh -c"
3829 break
3830 elif test -f "$ac_dir/shtool"; then
3831 ac_aux_dir=$ac_dir
3832 ac_install_sh="$ac_aux_dir/shtool install -c"
3833 break
3835 done
3836 if test -z "$ac_aux_dir"; then
3837 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3840 # These three variables are undocumented and unsupported,
3841 # and are intended to be withdrawn in a future Autoconf release.
3842 # They can cause serious problems if a builder's source tree is in a directory
3843 # whose full name contains unusual characters.
3844 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3845 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3846 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3850 libwine_version="1.0"
3854 # Check whether --enable-win16 was given.
3855 if test "${enable_win16+set}" = set; then :
3856 enableval=$enable_win16;
3859 # Check whether --enable-win64 was given.
3860 if test "${enable_win64+set}" = set; then :
3861 enableval=$enable_win64;
3864 # Check whether --enable-tests was given.
3865 if test "${enable_tests+set}" = set; then :
3866 enableval=$enable_tests;
3869 # Check whether --enable-maintainer-mode was given.
3870 if test "${enable_maintainer_mode+set}" = set; then :
3871 enableval=$enable_maintainer_mode;
3874 # Check whether --enable-werror was given.
3875 if test "${enable_werror+set}" = set; then :
3876 enableval=$enable_werror;
3881 # Check whether --with-alsa was given.
3882 if test "${with_alsa+set}" = set; then :
3883 withval=$with_alsa;
3887 # Check whether --with-capi was given.
3888 if test "${with_capi+set}" = set; then :
3889 withval=$with_capi;
3893 # Check whether --with-cms was given.
3894 if test "${with_cms+set}" = set; then :
3895 withval=$with_cms;
3899 # Check whether --with-coreaudio was given.
3900 if test "${with_coreaudio+set}" = set; then :
3901 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3905 # Check whether --with-cups was given.
3906 if test "${with_cups+set}" = set; then :
3907 withval=$with_cups;
3911 # Check whether --with-curses was given.
3912 if test "${with_curses+set}" = set; then :
3913 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3917 # Check whether --with-dbus was given.
3918 if test "${with_dbus+set}" = set; then :
3919 withval=$with_dbus;
3923 # Check whether --with-faudio was given.
3924 if test "${with_faudio+set}" = set; then :
3925 withval=$with_faudio;
3929 # Check whether --with-float-abi was given.
3930 if test "${with_float_abi+set}" = set; then :
3931 withval=$with_float_abi;
3935 # Check whether --with-fontconfig was given.
3936 if test "${with_fontconfig+set}" = set; then :
3937 withval=$with_fontconfig;
3941 # Check whether --with-freetype was given.
3942 if test "${with_freetype+set}" = set; then :
3943 withval=$with_freetype;
3947 # Check whether --with-gettext was given.
3948 if test "${with_gettext+set}" = set; then :
3949 withval=$with_gettext;
3953 # Check whether --with-gettextpo was given.
3954 if test "${with_gettextpo+set}" = set; then :
3955 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3959 # Check whether --with-gphoto was given.
3960 if test "${with_gphoto+set}" = set; then :
3961 withval=$with_gphoto;
3965 # Check whether --with-glu was given.
3966 if test "${with_glu+set}" = set; then :
3967 withval=$with_glu;
3971 # Check whether --with-gnutls was given.
3972 if test "${with_gnutls+set}" = set; then :
3973 withval=$with_gnutls;
3977 # Check whether --with-gsm was given.
3978 if test "${with_gsm+set}" = set; then :
3979 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3983 # Check whether --with-gssapi was given.
3984 if test "${with_gssapi+set}" = set; then :
3985 withval=$with_gssapi;
3989 # Check whether --with-gstreamer was given.
3990 if test "${with_gstreamer+set}" = set; then :
3991 withval=$with_gstreamer;
3995 # Check whether --with-hal was given.
3996 if test "${with_hal+set}" = set; then :
3997 withval=$with_hal;
4001 # Check whether --with-inotify was given.
4002 if test "${with_inotify+set}" = set; then :
4003 withval=$with_inotify;
4007 # Check whether --with-jpeg was given.
4008 if test "${with_jpeg+set}" = set; then :
4009 withval=$with_jpeg;
4013 # Check whether --with-krb5 was given.
4014 if test "${with_krb5+set}" = set; then :
4015 withval=$with_krb5;
4019 # Check whether --with-ldap was given.
4020 if test "${with_ldap+set}" = set; then :
4021 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4025 # Check whether --with-mingw was given.
4026 if test "${with_mingw+set}" = set; then :
4027 withval=$with_mingw;
4031 # Check whether --with-mpg123 was given.
4032 if test "${with_mpg123+set}" = set; then :
4033 withval=$with_mpg123;
4037 # Check whether --with-netapi was given.
4038 if test "${with_netapi+set}" = set; then :
4039 withval=$with_netapi;
4043 # Check whether --with-openal was given.
4044 if test "${with_openal+set}" = set; then :
4045 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4049 # Check whether --with-opencl was given.
4050 if test "${with_opencl+set}" = set; then :
4051 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4055 # Check whether --with-opengl was given.
4056 if test "${with_opengl+set}" = set; then :
4057 withval=$with_opengl;
4061 # Check whether --with-osmesa was given.
4062 if test "${with_osmesa+set}" = set; then :
4063 withval=$with_osmesa;
4067 # Check whether --with-oss was given.
4068 if test "${with_oss+set}" = set; then :
4069 withval=$with_oss;
4073 # Check whether --with-pcap was given.
4074 if test "${with_pcap+set}" = set; then :
4075 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4079 # Check whether --with-png was given.
4080 if test "${with_png+set}" = set; then :
4081 withval=$with_png;
4085 # Check whether --with-pthread was given.
4086 if test "${with_pthread+set}" = set; then :
4087 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4091 # Check whether --with-pulse was given.
4092 if test "${with_pulse+set}" = set; then :
4093 withval=$with_pulse;
4097 # Check whether --with-sane was given.
4098 if test "${with_sane+set}" = set; then :
4099 withval=$with_sane;
4103 # Check whether --with-sdl was given.
4104 if test "${with_sdl+set}" = set; then :
4105 withval=$with_sdl;
4109 # Check whether --with-tiff was given.
4110 if test "${with_tiff+set}" = set; then :
4111 withval=$with_tiff;
4115 # Check whether --with-udev was given.
4116 if test "${with_udev+set}" = set; then :
4117 withval=$with_udev;
4121 # Check whether --with-unwind was given.
4122 if test "${with_unwind+set}" = set; then :
4123 withval=$with_unwind;
4127 # Check whether --with-usb was given.
4128 if test "${with_usb+set}" = set; then :
4129 withval=$with_usb;
4133 # Check whether --with-v4l2 was given.
4134 if test "${with_v4l2+set}" = set; then :
4135 withval=$with_v4l2;
4139 # Check whether --with-vkd3d was given.
4140 if test "${with_vkd3d+set}" = set; then :
4141 withval=$with_vkd3d;
4145 # Check whether --with-vulkan was given.
4146 if test "${with_vulkan+set}" = set; then :
4147 withval=$with_vulkan;
4151 # Check whether --with-xcomposite was given.
4152 if test "${with_xcomposite+set}" = set; then :
4153 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4157 # Check whether --with-xcursor was given.
4158 if test "${with_xcursor+set}" = set; then :
4159 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4163 # Check whether --with-xfixes was given.
4164 if test "${with_xfixes+set}" = set; then :
4165 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4169 # Check whether --with-xinerama was given.
4170 if test "${with_xinerama+set}" = set; then :
4171 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4175 # Check whether --with-xinput was given.
4176 if test "${with_xinput+set}" = set; then :
4177 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4181 # Check whether --with-xinput2 was given.
4182 if test "${with_xinput2+set}" = set; then :
4183 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4187 # Check whether --with-xml was given.
4188 if test "${with_xml+set}" = set; then :
4189 withval=$with_xml;
4193 # Check whether --with-xrandr was given.
4194 if test "${with_xrandr+set}" = set; then :
4195 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4199 # Check whether --with-xrender was given.
4200 if test "${with_xrender+set}" = set; then :
4201 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4205 # Check whether --with-xshape was given.
4206 if test "${with_xshape+set}" = set; then :
4207 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4211 # Check whether --with-xshm was given.
4212 if test "${with_xshm+set}" = set; then :
4213 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4217 # Check whether --with-xslt was given.
4218 if test "${with_xslt+set}" = set; then :
4219 withval=$with_xslt;
4223 # Check whether --with-xxf86vm was given.
4224 if test "${with_xxf86vm+set}" = set; then :
4225 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
4230 # Check whether --with-wine-tools was given.
4231 if test "${with_wine_tools+set}" = set; then :
4232 withval=$with_wine_tools;
4236 # Check whether --with-wine64 was given.
4237 if test "${with_wine64+set}" = set; then :
4238 withval=$with_wine64;
4242 # Make sure we can run config.sub.
4243 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4244 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4247 $as_echo_n "checking build system type... " >&6; }
4248 if ${ac_cv_build+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 ac_build_alias=$build_alias
4252 test "x$ac_build_alias" = x &&
4253 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4254 test "x$ac_build_alias" = x &&
4255 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4256 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4261 $as_echo "$ac_cv_build" >&6; }
4262 case $ac_cv_build in
4263 *-*-*) ;;
4264 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4265 esac
4266 build=$ac_cv_build
4267 ac_save_IFS=$IFS; IFS='-'
4268 set x $ac_cv_build
4269 shift
4270 build_cpu=$1
4271 build_vendor=$2
4272 shift; shift
4273 # Remember, the first character of IFS is used to create $*,
4274 # except with old shells:
4275 build_os=$*
4276 IFS=$ac_save_IFS
4277 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4281 $as_echo_n "checking host system type... " >&6; }
4282 if ${ac_cv_host+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 if test "x$host_alias" = x; then
4286 ac_cv_host=$ac_cv_build
4287 else
4288 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4289 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4294 $as_echo "$ac_cv_host" >&6; }
4295 case $ac_cv_host in
4296 *-*-*) ;;
4297 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4298 esac
4299 host=$ac_cv_host
4300 ac_save_IFS=$IFS; IFS='-'
4301 set x $ac_cv_host
4302 shift
4303 host_cpu=$1
4304 host_vendor=$2
4305 shift; shift
4306 # Remember, the first character of IFS is used to create $*,
4307 # except with old shells:
4308 host_os=$*
4309 IFS=$ac_save_IFS
4310 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4316 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4317 set x ${MAKE-make}
4318 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4319 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 cat >conftest.make <<\_ACEOF
4323 SHELL = /bin/sh
4324 all:
4325 @echo '@@@%%%=$(MAKE)=@@@%%%'
4326 _ACEOF
4327 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4328 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4329 *@@@%%%=?*=@@@%%%*)
4330 eval ac_cv_prog_make_${ac_make}_set=yes;;
4332 eval ac_cv_prog_make_${ac_make}_set=no;;
4333 esac
4334 rm -f conftest.make
4336 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4338 $as_echo "yes" >&6; }
4339 SET_MAKE=
4340 else
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4343 SET_MAKE="MAKE=${MAKE-make}"
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4351 if test -n "$ac_tool_prefix"; then
4352 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4353 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_CC+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 if test -n "$CC"; then
4360 ac_cv_prog_CC="$CC" # Let the user override the test.
4361 else
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4365 IFS=$as_save_IFS
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 break 2
4373 done
4374 done
4375 IFS=$as_save_IFS
4379 CC=$ac_cv_prog_CC
4380 if test -n "$CC"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4382 $as_echo "$CC" >&6; }
4383 else
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4390 if test -z "$ac_cv_prog_CC"; then
4391 ac_ct_CC=$CC
4392 # Extract the first word of "gcc", so it can be a program name with args.
4393 set dummy gcc; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 if test -n "$ac_ct_CC"; then
4400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4405 IFS=$as_save_IFS
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_ac_ct_CC="gcc"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 break 2
4413 done
4414 done
4415 IFS=$as_save_IFS
4419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4420 if test -n "$ac_ct_CC"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4422 $as_echo "$ac_ct_CC" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4428 if test "x$ac_ct_CC" = x; then
4429 CC=""
4430 else
4431 case $cross_compiling:$ac_tool_warned in
4432 yes:)
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4435 ac_tool_warned=yes ;;
4436 esac
4437 CC=$ac_ct_CC
4439 else
4440 CC="$ac_cv_prog_CC"
4443 if test -z "$CC"; then
4444 if test -n "$ac_tool_prefix"; then
4445 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4446 set dummy ${ac_tool_prefix}cc; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_CC+:} false; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 if test -n "$CC"; then
4453 ac_cv_prog_CC="$CC" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4458 IFS=$as_save_IFS
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4462 ac_cv_prog_CC="${ac_tool_prefix}cc"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 break 2
4466 done
4467 done
4468 IFS=$as_save_IFS
4472 CC=$ac_cv_prog_CC
4473 if test -n "$CC"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4475 $as_echo "$CC" >&6; }
4476 else
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4484 if test -z "$CC"; then
4485 # Extract the first word of "cc", so it can be a program name with args.
4486 set dummy cc; ac_word=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if ${ac_cv_prog_CC+:} false; then :
4490 $as_echo_n "(cached) " >&6
4491 else
4492 if test -n "$CC"; then
4493 ac_cv_prog_CC="$CC" # Let the user override the test.
4494 else
4495 ac_prog_rejected=no
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 for as_dir in $PATH
4499 IFS=$as_save_IFS
4500 test -z "$as_dir" && as_dir=.
4501 for ac_exec_ext in '' $ac_executable_extensions; do
4502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4503 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4504 ac_prog_rejected=yes
4505 continue
4507 ac_cv_prog_CC="cc"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 break 2
4511 done
4512 done
4513 IFS=$as_save_IFS
4515 if test $ac_prog_rejected = yes; then
4516 # We found a bogon in the path, so make sure we never use it.
4517 set dummy $ac_cv_prog_CC
4518 shift
4519 if test $# != 0; then
4520 # We chose a different compiler from the bogus one.
4521 # However, it has the same basename, so the bogon will be chosen
4522 # first if we set CC to just the basename; use the full file name.
4523 shift
4524 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4529 CC=$ac_cv_prog_CC
4530 if test -n "$CC"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4532 $as_echo "$CC" >&6; }
4533 else
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4540 if test -z "$CC"; then
4541 if test -n "$ac_tool_prefix"; then
4542 for ac_prog in cl.exe
4544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_CC+:} false; then :
4549 $as_echo_n "(cached) " >&6
4550 else
4551 if test -n "$CC"; then
4552 ac_cv_prog_CC="$CC" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 break 2
4565 done
4566 done
4567 IFS=$as_save_IFS
4571 CC=$ac_cv_prog_CC
4572 if test -n "$CC"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4574 $as_echo "$CC" >&6; }
4575 else
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 test -n "$CC" && break
4582 done
4584 if test -z "$CC"; then
4585 ac_ct_CC=$CC
4586 for ac_prog in cl.exe
4588 # Extract the first word of "$ac_prog", so it can be a program name with args.
4589 set dummy $ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 if test -n "$ac_ct_CC"; then
4596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4601 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_ac_ct_CC="$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 break 2
4609 done
4610 done
4611 IFS=$as_save_IFS
4615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4616 if test -n "$ac_ct_CC"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4618 $as_echo "$ac_ct_CC" >&6; }
4619 else
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4625 test -n "$ac_ct_CC" && break
4626 done
4628 if test "x$ac_ct_CC" = x; then
4629 CC=""
4630 else
4631 case $cross_compiling:$ac_tool_warned in
4632 yes:)
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4635 ac_tool_warned=yes ;;
4636 esac
4637 CC=$ac_ct_CC
4644 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4646 as_fn_error $? "no acceptable C compiler found in \$PATH
4647 See \`config.log' for more details" "$LINENO" 5; }
4649 # Provide some information about the compiler.
4650 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4651 set X $ac_compile
4652 ac_compiler=$2
4653 for ac_option in --version -v -V -qversion; do
4654 { { ac_try="$ac_compiler $ac_option >&5"
4655 case "(($ac_try" in
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4658 esac
4659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4660 $as_echo "$ac_try_echo"; } >&5
4661 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4662 ac_status=$?
4663 if test -s conftest.err; then
4664 sed '10a\
4665 ... rest of stderr output deleted ...
4666 10q' conftest.err >conftest.er1
4667 cat conftest.er1 >&5
4669 rm -f conftest.er1 conftest.err
4670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4671 test $ac_status = 0; }
4672 done
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4678 main ()
4682 return 0;
4684 _ACEOF
4685 ac_clean_files_save=$ac_clean_files
4686 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4687 # Try to create an executable without -o first, disregard a.out.
4688 # It will help us diagnose broken compilers, and finding out an intuition
4689 # of exeext.
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4691 $as_echo_n "checking whether the C compiler works... " >&6; }
4692 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4694 # The possible output files:
4695 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4697 ac_rmfiles=
4698 for ac_file in $ac_files
4700 case $ac_file in
4701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4702 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4703 esac
4704 done
4705 rm -f $ac_rmfiles
4707 if { { ac_try="$ac_link_default"
4708 case "(($ac_try" in
4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4710 *) ac_try_echo=$ac_try;;
4711 esac
4712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4713 $as_echo "$ac_try_echo"; } >&5
4714 (eval "$ac_link_default") 2>&5
4715 ac_status=$?
4716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4717 test $ac_status = 0; }; then :
4718 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4719 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4720 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4721 # so that the user can short-circuit this test for compilers unknown to
4722 # Autoconf.
4723 for ac_file in $ac_files ''
4725 test -f "$ac_file" || continue
4726 case $ac_file in
4727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4729 [ab].out )
4730 # We found the default executable, but exeext='' is most
4731 # certainly right.
4732 break;;
4733 *.* )
4734 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4735 then :; else
4736 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4738 # We set ac_cv_exeext here because the later test for it is not
4739 # safe: cross compilers may not add the suffix if given an `-o'
4740 # argument, so we may need to know it at that point already.
4741 # Even if this section looks crufty: it has the advantage of
4742 # actually working.
4743 break;;
4745 break;;
4746 esac
4747 done
4748 test "$ac_cv_exeext" = no && ac_cv_exeext=
4750 else
4751 ac_file=''
4753 if test -z "$ac_file"; then :
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4756 $as_echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4761 as_fn_error 77 "C compiler cannot create executables
4762 See \`config.log' for more details" "$LINENO" 5; }
4763 else
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4765 $as_echo "yes" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4768 $as_echo_n "checking for C compiler default output file name... " >&6; }
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4770 $as_echo "$ac_file" >&6; }
4771 ac_exeext=$ac_cv_exeext
4773 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4774 ac_clean_files=$ac_clean_files_save
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4776 $as_echo_n "checking for suffix of executables... " >&6; }
4777 if { { ac_try="$ac_link"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_link") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4789 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4790 # work properly (i.e., refer to `conftest.exe'), while it won't with
4791 # `rm'.
4792 for ac_file in conftest.exe conftest conftest.*; do
4793 test -f "$ac_file" || continue
4794 case $ac_file in
4795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4796 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4797 break;;
4798 * ) break;;
4799 esac
4800 done
4801 else
4802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4804 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4805 See \`config.log' for more details" "$LINENO" 5; }
4807 rm -f conftest conftest$ac_cv_exeext
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4809 $as_echo "$ac_cv_exeext" >&6; }
4811 rm -f conftest.$ac_ext
4812 EXEEXT=$ac_cv_exeext
4813 ac_exeext=$EXEEXT
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4816 #include <stdio.h>
4818 main ()
4820 FILE *f = fopen ("conftest.out", "w");
4821 return ferror (f) || fclose (f) != 0;
4824 return 0;
4826 _ACEOF
4827 ac_clean_files="$ac_clean_files conftest.out"
4828 # Check that the compiler produces executables we can run. If not, either
4829 # the compiler is broken, or we cross compile.
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4831 $as_echo_n "checking whether we are cross compiling... " >&6; }
4832 if test "$cross_compiling" != yes; then
4833 { { ac_try="$ac_link"
4834 case "(($ac_try" in
4835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4837 esac
4838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4839 $as_echo "$ac_try_echo"; } >&5
4840 (eval "$ac_link") 2>&5
4841 ac_status=$?
4842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4843 test $ac_status = 0; }
4844 if { ac_try='./conftest$ac_cv_exeext'
4845 { { case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4848 esac
4849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4850 $as_echo "$ac_try_echo"; } >&5
4851 (eval "$ac_try") 2>&5
4852 ac_status=$?
4853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4854 test $ac_status = 0; }; }; then
4855 cross_compiling=no
4856 else
4857 if test "$cross_compiling" = maybe; then
4858 cross_compiling=yes
4859 else
4860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4862 as_fn_error $? "cannot run C compiled programs.
4863 If you meant to cross compile, use \`--host'.
4864 See \`config.log' for more details" "$LINENO" 5; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4869 $as_echo "$cross_compiling" >&6; }
4871 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4872 ac_clean_files=$ac_clean_files_save
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4874 $as_echo_n "checking for suffix of object files... " >&6; }
4875 if ${ac_cv_objext+:} false; then :
4876 $as_echo_n "(cached) " >&6
4877 else
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4882 main ()
4886 return 0;
4888 _ACEOF
4889 rm -f conftest.o conftest.obj
4890 if { { ac_try="$ac_compile"
4891 case "(($ac_try" in
4892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4893 *) ac_try_echo=$ac_try;;
4894 esac
4895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4896 $as_echo "$ac_try_echo"; } >&5
4897 (eval "$ac_compile") 2>&5
4898 ac_status=$?
4899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4900 test $ac_status = 0; }; then :
4901 for ac_file in conftest.o conftest.obj conftest.*; do
4902 test -f "$ac_file" || continue;
4903 case $ac_file in
4904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4905 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4906 break;;
4907 esac
4908 done
4909 else
4910 $as_echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4915 as_fn_error $? "cannot compute suffix of object files: cannot compile
4916 See \`config.log' for more details" "$LINENO" 5; }
4918 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4921 $as_echo "$ac_cv_objext" >&6; }
4922 OBJEXT=$ac_cv_objext
4923 ac_objext=$OBJEXT
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4925 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4926 if ${ac_cv_c_compiler_gnu+:} false; then :
4927 $as_echo_n "(cached) " >&6
4928 else
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4933 main ()
4935 #ifndef __GNUC__
4936 choke me
4937 #endif
4940 return 0;
4942 _ACEOF
4943 if ac_fn_c_try_compile "$LINENO"; then :
4944 ac_compiler_gnu=yes
4945 else
4946 ac_compiler_gnu=no
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4953 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4954 if test $ac_compiler_gnu = yes; then
4955 GCC=yes
4956 else
4957 GCC=
4959 ac_test_CFLAGS=${CFLAGS+set}
4960 ac_save_CFLAGS=$CFLAGS
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4962 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4963 if ${ac_cv_prog_cc_g+:} false; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 ac_save_c_werror_flag=$ac_c_werror_flag
4967 ac_c_werror_flag=yes
4968 ac_cv_prog_cc_g=no
4969 CFLAGS="-g"
4970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4974 main ()
4978 return 0;
4980 _ACEOF
4981 if ac_fn_c_try_compile "$LINENO"; then :
4982 ac_cv_prog_cc_g=yes
4983 else
4984 CFLAGS=""
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4998 else
4999 ac_c_werror_flag=$ac_save_c_werror_flag
5000 CFLAGS="-g"
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5005 main ()
5009 return 0;
5011 _ACEOF
5012 if ac_fn_c_try_compile "$LINENO"; then :
5013 ac_cv_prog_cc_g=yes
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 ac_c_werror_flag=$ac_save_c_werror_flag
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5023 $as_echo "$ac_cv_prog_cc_g" >&6; }
5024 if test "$ac_test_CFLAGS" = set; then
5025 CFLAGS=$ac_save_CFLAGS
5026 elif test $ac_cv_prog_cc_g = yes; then
5027 if test "$GCC" = yes; then
5028 CFLAGS="-g -O2"
5029 else
5030 CFLAGS="-g"
5032 else
5033 if test "$GCC" = yes; then
5034 CFLAGS="-O2"
5035 else
5036 CFLAGS=
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5040 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5041 if ${ac_cv_prog_cc_c89+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 ac_cv_prog_cc_c89=no
5045 ac_save_CC=$CC
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5048 #include <stdarg.h>
5049 #include <stdio.h>
5050 struct stat;
5051 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5052 struct buf { int x; };
5053 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5054 static char *e (p, i)
5055 char **p;
5056 int i;
5058 return p[i];
5060 static char *f (char * (*g) (char **, int), char **p, ...)
5062 char *s;
5063 va_list v;
5064 va_start (v,p);
5065 s = g (p, va_arg (v,int));
5066 va_end (v);
5067 return s;
5070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5071 function prototypes and stuff, but not '\xHH' hex character constants.
5072 These don't provoke an error unfortunately, instead are silently treated
5073 as 'x'. The following induces an error, until -std is added to get
5074 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5075 array size at least. It's necessary to write '\x00'==0 to get something
5076 that's true only with -std. */
5077 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5079 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5080 inside strings and character constants. */
5081 #define FOO(x) 'x'
5082 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5084 int test (int i, double x);
5085 struct s1 {int (*f) (int a);};
5086 struct s2 {int (*f) (double a);};
5087 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5088 int argc;
5089 char **argv;
5091 main ()
5093 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5095 return 0;
5097 _ACEOF
5098 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5099 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5101 CC="$ac_save_CC $ac_arg"
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 ac_cv_prog_cc_c89=$ac_arg
5105 rm -f core conftest.err conftest.$ac_objext
5106 test "x$ac_cv_prog_cc_c89" != "xno" && break
5107 done
5108 rm -f conftest.$ac_ext
5109 CC=$ac_save_CC
5112 # AC_CACHE_VAL
5113 case "x$ac_cv_prog_cc_c89" in
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5116 $as_echo "none needed" >&6; } ;;
5117 xno)
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5119 $as_echo "unsupported" >&6; } ;;
5121 CC="$CC $ac_cv_prog_cc_c89"
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5123 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5124 esac
5125 if test "x$ac_cv_prog_cc_c89" != xno; then :
5129 ac_ext=c
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135 ac_ext=cpp
5136 ac_cpp='$CXXCPP $CPPFLAGS'
5137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5140 if test -z "$CXX"; then
5141 if test -n "$CCC"; then
5142 CXX=$CCC
5143 else
5144 if test -n "$ac_tool_prefix"; then
5145 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5148 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_CXX+:} false; then :
5152 $as_echo_n "(cached) " >&6
5153 else
5154 if test -n "$CXX"; then
5155 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5156 else
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 for as_dir in $PATH
5160 IFS=$as_save_IFS
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 break 2
5168 done
5169 done
5170 IFS=$as_save_IFS
5174 CXX=$ac_cv_prog_CXX
5175 if test -n "$CXX"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5177 $as_echo "$CXX" >&6; }
5178 else
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5184 test -n "$CXX" && break
5185 done
5187 if test -z "$CXX"; then
5188 ac_ct_CXX=$CXX
5189 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5191 # Extract the first word of "$ac_prog", so it can be a program name with args.
5192 set dummy $ac_prog; ac_word=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5196 $as_echo_n "(cached) " >&6
5197 else
5198 if test -n "$ac_ct_CXX"; then
5199 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5200 else
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 for as_dir in $PATH
5204 IFS=$as_save_IFS
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_ac_ct_CXX="$ac_prog"
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 break 2
5212 done
5213 done
5214 IFS=$as_save_IFS
5218 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5219 if test -n "$ac_ct_CXX"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5221 $as_echo "$ac_ct_CXX" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5228 test -n "$ac_ct_CXX" && break
5229 done
5231 if test "x$ac_ct_CXX" = x; then
5232 CXX="g++"
5233 else
5234 case $cross_compiling:$ac_tool_warned in
5235 yes:)
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5238 ac_tool_warned=yes ;;
5239 esac
5240 CXX=$ac_ct_CXX
5246 # Provide some information about the compiler.
5247 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5248 set X $ac_compile
5249 ac_compiler=$2
5250 for ac_option in --version -v -V -qversion; do
5251 { { ac_try="$ac_compiler $ac_option >&5"
5252 case "(($ac_try" in
5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5255 esac
5256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5257 $as_echo "$ac_try_echo"; } >&5
5258 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5259 ac_status=$?
5260 if test -s conftest.err; then
5261 sed '10a\
5262 ... rest of stderr output deleted ...
5263 10q' conftest.err >conftest.er1
5264 cat conftest.er1 >&5
5266 rm -f conftest.er1 conftest.err
5267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5268 test $ac_status = 0; }
5269 done
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5272 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5273 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5274 $as_echo_n "(cached) " >&6
5275 else
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5280 main ()
5282 #ifndef __GNUC__
5283 choke me
5284 #endif
5287 return 0;
5289 _ACEOF
5290 if ac_fn_cxx_try_compile "$LINENO"; then :
5291 ac_compiler_gnu=yes
5292 else
5293 ac_compiler_gnu=no
5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5296 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5300 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5301 if test $ac_compiler_gnu = yes; then
5302 GXX=yes
5303 else
5304 GXX=
5306 ac_test_CXXFLAGS=${CXXFLAGS+set}
5307 ac_save_CXXFLAGS=$CXXFLAGS
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5309 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5310 if ${ac_cv_prog_cxx_g+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5314 ac_cxx_werror_flag=yes
5315 ac_cv_prog_cxx_g=no
5316 CXXFLAGS="-g"
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5321 main ()
5325 return 0;
5327 _ACEOF
5328 if ac_fn_cxx_try_compile "$LINENO"; then :
5329 ac_cv_prog_cxx_g=yes
5330 else
5331 CXXFLAGS=""
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5340 return 0;
5342 _ACEOF
5343 if ac_fn_cxx_try_compile "$LINENO"; then :
5345 else
5346 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5347 CXXFLAGS="-g"
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5352 main ()
5356 return 0;
5358 _ACEOF
5359 if ac_fn_cxx_try_compile "$LINENO"; then :
5360 ac_cv_prog_cxx_g=yes
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5370 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5371 if test "$ac_test_CXXFLAGS" = set; then
5372 CXXFLAGS=$ac_save_CXXFLAGS
5373 elif test $ac_cv_prog_cxx_g = yes; then
5374 if test "$GXX" = yes; then
5375 CXXFLAGS="-g -O2"
5376 else
5377 CXXFLAGS="-g"
5379 else
5380 if test "$GXX" = yes; then
5381 CXXFLAGS="-O2"
5382 else
5383 CXXFLAGS=
5386 ac_ext=c
5387 ac_cpp='$CPP $CPPFLAGS'
5388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5394 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_CPPBIN+:} false; then :
5398 $as_echo_n "(cached) " >&6
5399 else
5400 if test -n "$CPPBIN"; then
5401 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5402 else
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5406 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 break 2
5414 done
5415 done
5416 IFS=$as_save_IFS
5420 CPPBIN=$ac_cv_prog_CPPBIN
5421 if test -n "$CPPBIN"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5423 $as_echo "$CPPBIN" >&6; }
5424 else
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5431 if test -z "$ac_cv_prog_CPPBIN"; then
5432 ac_ct_CPPBIN=$CPPBIN
5433 # Extract the first word of "cpp", so it can be a program name with args.
5434 set dummy cpp; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$ac_ct_CPPBIN"; then
5441 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_CPPBIN="cpp"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5461 if test -n "$ac_ct_CPPBIN"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5463 $as_echo "$ac_ct_CPPBIN" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5469 if test "x$ac_ct_CPPBIN" = x; then
5470 CPPBIN="cpp"
5471 else
5472 case $cross_compiling:$ac_tool_warned in
5473 yes:)
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5476 ac_tool_warned=yes ;;
5477 esac
5478 CPPBIN=$ac_ct_CPPBIN
5480 else
5481 CPPBIN="$ac_cv_prog_CPPBIN"
5485 cat >>confdefs.h <<_ACEOF
5486 #define EXEEXT "$ac_exeext"
5487 _ACEOF
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}ld; ac_word=$2
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5493 $as_echo_n "checking for $ac_word... " >&6; }
5494 if ${ac_cv_prog_LD+:} false; then :
5495 $as_echo_n "(cached) " >&6
5496 else
5497 if test -n "$LD"; then
5498 ac_cv_prog_LD="$LD" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5507 ac_cv_prog_LD="${ac_tool_prefix}ld"
5508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5511 done
5512 done
5513 IFS=$as_save_IFS
5517 LD=$ac_cv_prog_LD
5518 if test -n "$LD"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5520 $as_echo "$LD" >&6; }
5521 else
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5528 if test -z "$ac_cv_prog_LD"; then
5529 ac_ct_LD=$LD
5530 # Extract the first word of "ld", so it can be a program name with args.
5531 set dummy ld; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5535 $as_echo_n "(cached) " >&6
5536 else
5537 if test -n "$ac_ct_LD"; then
5538 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_ac_ct_LD="ld"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5551 done
5552 done
5553 IFS=$as_save_IFS
5557 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5558 if test -n "$ac_ct_LD"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5560 $as_echo "$ac_ct_LD" >&6; }
5561 else
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5566 if test "x$ac_ct_LD" = x; then
5567 LD=""
5568 else
5569 case $cross_compiling:$ac_tool_warned in
5570 yes:)
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5573 ac_tool_warned=yes ;;
5574 esac
5575 LD=$ac_ct_LD
5577 else
5578 LD="$ac_cv_prog_LD"
5582 case $host in
5583 *-darwin*)
5584 with_fontconfig=${with_fontconfig:-no}
5586 *-mingw32*|*-cygwin*)
5587 enable_win16=${enable_win16:-no}
5588 with_mingw=${with_mingw:-no}
5589 CFLAGS="$CFLAGS -D_WIN32"
5591 esac
5593 case $host in
5594 x86_64*|amd64*)
5595 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5596 then
5597 CC="$CC -m32"
5598 CXX="$CXX -m32"
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5601 $as_echo_n "checking whether $CC works... " >&6; }
5602 if ${wine_cv_cc_m32+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5609 main ()
5613 return 0;
5615 _ACEOF
5616 if ac_fn_c_try_link "$LINENO"; then :
5617 wine_cv_cc_m32=yes
5618 else
5619 wine_cv_cc_m32=no
5621 rm -f core conftest.err conftest.$ac_objext \
5622 conftest$ac_exeext conftest.$ac_ext
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5625 $as_echo "$wine_cv_cc_m32" >&6; }
5626 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
5627 host_cpu="i386"
5628 notice_platform="32-bit "
5629 TARGETFLAGS="-m32"
5631 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5632 export PKG_CONFIG_PATH
5633 enable_win16=${enable_win16:-yes}
5634 with_unwind=${with_unwind:-no}
5635 else
5636 if test "x${GCC}" = "xyes"
5637 then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5639 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5640 if ${wine_cv_builtin_ms_va_list+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5645 #include <stdarg.h>
5647 main ()
5649 void func(__builtin_ms_va_list *args);
5651 return 0;
5653 _ACEOF
5654 if ac_fn_c_try_compile "$LINENO"; then :
5655 wine_cv_builtin_ms_va_list=yes
5656 else
5657 wine_cv_builtin_ms_va_list=no
5659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5662 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5663 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
5665 CC="$CC -m64"
5666 CXX="$CXX -m64"
5667 host_cpu="x86_64"
5668 notice_platform="64-bit "
5669 TARGETFLAGS="-m64"
5673 arm*)
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5675 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5676 if ${wine_cv_thumb+:} false; then :
5677 $as_echo_n "(cached) " >&6
5678 else
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5681 int ac_test(int i) { return i; }
5683 main ()
5685 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5687 return 0;
5689 _ACEOF
5690 if ac_fn_c_try_link "$LINENO"; then :
5691 wine_cv_thumb=yes
5692 else
5693 wine_cv_thumb=no
5695 rm -f core conftest.err conftest.$ac_objext \
5696 conftest$ac_exeext conftest.$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5699 $as_echo "$wine_cv_thumb" >&6; }
5700 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5701 case $with_float_abi in
5702 soft|softfp|hard)
5703 float_abi=$with_float_abi ;;
5705 case $host_os in
5706 *eabihf)
5707 float_abi=hard ;;
5709 float_abi=softfp
5710 saved_CFLAGS=$CFLAGS
5711 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5713 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5714 if ${wine_cv_float_abi+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5718 /* end confdefs.h. */
5721 main ()
5723 asm("vmrs r2,fpscr");
5725 return 0;
5727 _ACEOF
5728 if ac_fn_c_try_link "$LINENO"; then :
5729 wine_cv_float_abi=yes
5730 else
5731 wine_cv_float_abi=no
5733 rm -f core conftest.err conftest.$ac_objext \
5734 conftest$ac_exeext conftest.$ac_ext
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5737 $as_echo "$wine_cv_float_abi" >&6; }
5738 if test $wine_cv_float_abi = no
5739 then
5740 float_abi=soft
5741 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5743 CFLAGS=$saved_CFLAGS
5744 esac
5746 esac
5747 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5748 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5751 aarch64*)
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5753 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5754 if ${wine_cv_builtin_ms_va_list+:} false; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758 /* end confdefs.h. */
5759 #include <stdarg.h>
5761 main ()
5763 void func(__builtin_ms_va_list *args);
5765 return 0;
5767 _ACEOF
5768 if ac_fn_c_try_compile "$LINENO"; then :
5769 wine_cv_builtin_ms_va_list=yes
5770 else
5771 wine_cv_builtin_ms_va_list=no
5773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5776 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5777 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5779 i[3456789]86*)
5780 enable_win16=${enable_win16:-yes}
5781 with_unwind=${with_unwind:-no}
5783 esac
5785 enable_win16=${enable_win16:-no}
5786 enable_win64=${enable_win64:-no}
5788 enable_winetest=${enable_winetest:-$enable_tests}
5790 if test "x$enable_win64" = "xyes"
5791 then
5792 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5793 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5794 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5798 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5799 if ${wine_cv_toolsdir+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 wine_cv_toolsdir="$with_wine_tools"
5803 if test -z "$with_wine_tools"; then
5804 if test "$cross_compiling" = "yes"; then
5805 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5806 elif test -n "$with_wine64"; then
5807 wine_cv_toolsdir="$with_wine64"
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5812 $as_echo "$wine_cv_toolsdir" >&6; }
5813 if test -z "$wine_cv_toolsdir"; then
5814 wine_makedep=tools/makedep
5815 TOOLSDIR="\$(top_builddir)"
5817 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5818 wine_makedep=$wine_cv_toolsdir/tools/makedep
5819 case "$wine_cv_toolsdir" in
5820 /*) TOOLSDIR=$wine_cv_toolsdir
5822 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5824 esac
5825 enable_tools=${enable_tools:-no}
5826 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5827 else
5828 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5830 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5831 then
5832 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5836 for ac_prog in flex
5838 # Extract the first word of "$ac_prog", so it can be a program name with args.
5839 set dummy $ac_prog; ac_word=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_FLEX+:} false; then :
5843 $as_echo_n "(cached) " >&6
5844 else
5845 if test -n "$FLEX"; then
5846 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5847 else
5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 for as_dir in $PATH
5851 IFS=$as_save_IFS
5852 test -z "$as_dir" && as_dir=.
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_FLEX="$ac_prog"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 break 2
5859 done
5860 done
5861 IFS=$as_save_IFS
5865 FLEX=$ac_cv_prog_FLEX
5866 if test -n "$FLEX"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5868 $as_echo "$FLEX" >&6; }
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 test -n "$FLEX" && break
5876 done
5877 test -n "$FLEX" || FLEX="none"
5879 if test "$FLEX" = "none"
5880 then
5881 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5884 $as_echo_n "checking whether flex is recent enough... " >&6; }
5885 if ${wine_cv_recent_flex+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 cat >conftest.l <<EOF
5889 %top{
5890 #include "prediluvian.h"
5894 if $FLEX -t conftest.l >/dev/null 2>&5
5895 then
5896 wine_cv_recent_flex=yes
5897 else
5898 wine_cv_recent_flex=no
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5902 $as_echo "$wine_cv_recent_flex" >&6; }
5903 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
5905 for ac_prog in bison
5907 # Extract the first word of "$ac_prog", so it can be a program name with args.
5908 set dummy $ac_prog; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if ${ac_cv_prog_BISON+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 if test -n "$BISON"; then
5915 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5916 else
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5920 IFS=$as_save_IFS
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_BISON="$ac_prog"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 BISON=$ac_cv_prog_BISON
5935 if test -n "$BISON"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5937 $as_echo "$BISON" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5944 test -n "$BISON" && break
5945 done
5946 test -n "$BISON" || BISON="none"
5948 if test "$BISON" = "none"
5949 then
5950 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5953 $as_echo_n "checking whether bison is recent enough... " >&6; }
5954 if ${wine_cv_recent_bison+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 cat >conftest.y <<EOF
5958 %define parse.error verbose
5960 empty: ;
5962 if $BISON conftest.y >/dev/null 2>&5
5963 then
5964 wine_cv_recent_bison=yes
5965 else
5966 wine_cv_recent_bison=no
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5970 $as_echo "$wine_cv_recent_bison" >&6; }
5971 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
5973 if test -n "$ac_tool_prefix"; then
5974 for ac_prog in ar gar
5976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_AR+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$AR"; then
5984 ac_cv_prog_AR="$AR" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 AR=$ac_cv_prog_AR
6004 if test -n "$AR"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6006 $as_echo "$AR" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$AR" && break
6014 done
6016 if test -z "$AR"; then
6017 ac_ct_AR=$AR
6018 for ac_prog in ar gar
6020 # Extract the first word of "$ac_prog", so it can be a program name with args.
6021 set dummy $ac_prog; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if test -n "$ac_ct_AR"; then
6028 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_ac_ct_AR="$ac_prog"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6047 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6048 if test -n "$ac_ct_AR"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6050 $as_echo "$ac_ct_AR" >&6; }
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6057 test -n "$ac_ct_AR" && break
6058 done
6060 if test "x$ac_ct_AR" = x; then
6061 AR="ar"
6062 else
6063 case $cross_compiling:$ac_tool_warned in
6064 yes:)
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6067 ac_tool_warned=yes ;;
6068 esac
6069 AR=$ac_ct_AR
6073 if test -n "$ac_tool_prefix"; then
6074 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6075 set dummy ${ac_tool_prefix}strip; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_STRIP+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$STRIP"; then
6082 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 STRIP=$ac_cv_prog_STRIP
6102 if test -n "$STRIP"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6104 $as_echo "$STRIP" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6112 if test -z "$ac_cv_prog_STRIP"; then
6113 ac_ct_STRIP=$STRIP
6114 # Extract the first word of "strip", so it can be a program name with args.
6115 set dummy strip; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -n "$ac_ct_STRIP"; then
6122 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_STRIP="strip"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6142 if test -n "$ac_ct_STRIP"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6144 $as_echo "$ac_ct_STRIP" >&6; }
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6150 if test "x$ac_ct_STRIP" = x; then
6151 STRIP="strip"
6152 else
6153 case $cross_compiling:$ac_tool_warned in
6154 yes:)
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned=yes ;;
6158 esac
6159 STRIP=$ac_ct_STRIP
6161 else
6162 STRIP="$ac_cv_prog_STRIP"
6165 if test -n "$ac_tool_prefix"; then
6166 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6167 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_RANLIB+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$RANLIB"; then
6174 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 RANLIB=$ac_cv_prog_RANLIB
6194 if test -n "$RANLIB"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6196 $as_echo "$RANLIB" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6204 if test -z "$ac_cv_prog_RANLIB"; then
6205 ac_ct_RANLIB=$RANLIB
6206 # Extract the first word of "ranlib", so it can be a program name with args.
6207 set dummy ranlib; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ac_ct_RANLIB"; then
6214 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ac_ct_RANLIB="ranlib"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6234 if test -n "$ac_ct_RANLIB"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6236 $as_echo "$ac_ct_RANLIB" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6242 if test "x$ac_ct_RANLIB" = x; then
6243 RANLIB=":"
6244 else
6245 case $cross_compiling:$ac_tool_warned in
6246 yes:)
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6249 ac_tool_warned=yes ;;
6250 esac
6251 RANLIB=$ac_ct_RANLIB
6253 else
6254 RANLIB="$ac_cv_prog_RANLIB"
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6258 $as_echo_n "checking whether ln -s works... " >&6; }
6259 LN_S=$as_ln_s
6260 if test "$LN_S" = "ln -s"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6262 $as_echo "yes" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6265 $as_echo "no, using $LN_S" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6269 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6270 if ${ac_cv_path_GREP+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
6273 if test -z "$GREP"; then
6274 ac_path_GREP_found=false
6275 # Loop through the user's path and test for each of PROGNAME-LIST
6276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6279 IFS=$as_save_IFS
6280 test -z "$as_dir" && as_dir=.
6281 for ac_prog in grep ggrep; do
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6284 as_fn_executable_p "$ac_path_GREP" || continue
6285 # Check for GNU ac_path_GREP and select it if it is found.
6286 # Check for GNU $ac_path_GREP
6287 case `"$ac_path_GREP" --version 2>&1` in
6288 *GNU*)
6289 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6291 ac_count=0
6292 $as_echo_n 0123456789 >"conftest.in"
6293 while :
6295 cat "conftest.in" "conftest.in" >"conftest.tmp"
6296 mv "conftest.tmp" "conftest.in"
6297 cp "conftest.in" "conftest.nl"
6298 $as_echo 'GREP' >> "conftest.nl"
6299 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6300 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6301 as_fn_arith $ac_count + 1 && ac_count=$as_val
6302 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6303 # Best one so far, save it but keep looking for a better one
6304 ac_cv_path_GREP="$ac_path_GREP"
6305 ac_path_GREP_max=$ac_count
6307 # 10*(2^10) chars as input seems more than enough
6308 test $ac_count -gt 10 && break
6309 done
6310 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6311 esac
6313 $ac_path_GREP_found && break 3
6314 done
6315 done
6316 done
6317 IFS=$as_save_IFS
6318 if test -z "$ac_cv_path_GREP"; then
6319 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6321 else
6322 ac_cv_path_GREP=$GREP
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6327 $as_echo "$ac_cv_path_GREP" >&6; }
6328 GREP="$ac_cv_path_GREP"
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6332 $as_echo_n "checking for egrep... " >&6; }
6333 if ${ac_cv_path_EGREP+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6337 then ac_cv_path_EGREP="$GREP -E"
6338 else
6339 if test -z "$EGREP"; then
6340 ac_path_EGREP_found=false
6341 # Loop through the user's path and test for each of PROGNAME-LIST
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_prog in egrep; do
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6350 as_fn_executable_p "$ac_path_EGREP" || continue
6351 # Check for GNU ac_path_EGREP and select it if it is found.
6352 # Check for GNU $ac_path_EGREP
6353 case `"$ac_path_EGREP" --version 2>&1` in
6354 *GNU*)
6355 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6357 ac_count=0
6358 $as_echo_n 0123456789 >"conftest.in"
6359 while :
6361 cat "conftest.in" "conftest.in" >"conftest.tmp"
6362 mv "conftest.tmp" "conftest.in"
6363 cp "conftest.in" "conftest.nl"
6364 $as_echo 'EGREP' >> "conftest.nl"
6365 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6366 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6367 as_fn_arith $ac_count + 1 && ac_count=$as_val
6368 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6369 # Best one so far, save it but keep looking for a better one
6370 ac_cv_path_EGREP="$ac_path_EGREP"
6371 ac_path_EGREP_max=$ac_count
6373 # 10*(2^10) chars as input seems more than enough
6374 test $ac_count -gt 10 && break
6375 done
6376 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6377 esac
6379 $ac_path_EGREP_found && break 3
6380 done
6381 done
6382 done
6383 IFS=$as_save_IFS
6384 if test -z "$ac_cv_path_EGREP"; then
6385 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6387 else
6388 ac_cv_path_EGREP=$EGREP
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6394 $as_echo "$ac_cv_path_EGREP" >&6; }
6395 EGREP="$ac_cv_path_EGREP"
6398 # Extract the first word of "ldconfig", so it can be a program name with args.
6399 set dummy ldconfig; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if ${ac_cv_path_LDCONFIG+:} false; then :
6403 $as_echo_n "(cached) " >&6
6404 else
6405 case $LDCONFIG in
6406 [\\/]* | ?:[\\/]*)
6407 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 for as_dir in /sbin /usr/sbin $PATH
6413 IFS=$as_save_IFS
6414 test -z "$as_dir" && as_dir=.
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6417 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419 break 2
6421 done
6422 done
6423 IFS=$as_save_IFS
6425 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6427 esac
6429 LDCONFIG=$ac_cv_path_LDCONFIG
6430 if test -n "$LDCONFIG"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6432 $as_echo "$LDCONFIG" >&6; }
6433 else
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6439 for ac_prog in msgfmt
6441 # Extract the first word of "$ac_prog", so it can be a program name with args.
6442 set dummy $ac_prog; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if ${ac_cv_prog_MSGFMT+:} false; then :
6446 $as_echo_n "(cached) " >&6
6447 else
6448 if test -n "$MSGFMT"; then
6449 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6450 else
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 for as_dir in $PATH
6454 IFS=$as_save_IFS
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_MSGFMT="$ac_prog"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460 break 2
6462 done
6463 done
6464 IFS=$as_save_IFS
6468 MSGFMT=$ac_cv_prog_MSGFMT
6469 if test -n "$MSGFMT"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6471 $as_echo "$MSGFMT" >&6; }
6472 else
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6478 test -n "$MSGFMT" && break
6479 done
6480 test -n "$MSGFMT" || MSGFMT="false"
6482 if ${ac_tool_prefix+:} false; then :
6483 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6484 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 if test -n "$PKG_CONFIG"; then
6491 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6496 IFS=$as_save_IFS
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6500 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 break 2
6504 done
6505 done
6506 IFS=$as_save_IFS
6510 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6511 if test -n "$PKG_CONFIG"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6513 $as_echo "$PKG_CONFIG" >&6; }
6514 else
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6521 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6522 if test "x$cross_compiling" = xyes; then :
6524 else
6525 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6526 # Extract the first word of "pkg-config", so it can be a program name with args.
6527 set dummy pkg-config; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 if test -n "$PKG_CONFIG"; then
6534 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6535 else
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in $PATH
6539 IFS=$as_save_IFS
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_PKG_CONFIG="pkg-config"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6553 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6554 if test -n "$PKG_CONFIG"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6556 $as_echo "$PKG_CONFIG" >&6; }
6557 else
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6564 else
6565 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6568 if test "x$enable_maintainer_mode" != "xyes"
6569 then
6570 FONTFORGE=""
6571 RSVG=""
6572 CONVERT=""
6573 ICOTOOL=""
6574 else
6575 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6576 for ac_prog in fontforge
6578 # Extract the first word of "$ac_prog", so it can be a program name with args.
6579 set dummy $ac_prog; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if ${ac_cv_prog_FONTFORGE+:} false; then :
6583 $as_echo_n "(cached) " >&6
6584 else
6585 if test -n "$FONTFORGE"; then
6586 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6591 IFS=$as_save_IFS
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_FONTFORGE="$ac_prog"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 FONTFORGE=$ac_cv_prog_FONTFORGE
6606 if test -n "$FONTFORGE"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6608 $as_echo "$FONTFORGE" >&6; }
6609 else
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6615 test -n "$FONTFORGE" && break
6616 done
6617 test -n "$FONTFORGE" || FONTFORGE="false"
6619 for ac_prog in rsvg-convert rsvg
6621 # Extract the first word of "$ac_prog", so it can be a program name with args.
6622 set dummy $ac_prog; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if ${ac_cv_prog_RSVG+:} false; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$RSVG"; then
6629 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_RSVG="$ac_prog"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6648 RSVG=$ac_cv_prog_RSVG
6649 if test -n "$RSVG"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6651 $as_echo "$RSVG" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6658 test -n "$RSVG" && break
6659 done
6660 test -n "$RSVG" || RSVG="false"
6662 for ac_prog in convert
6664 # Extract the first word of "$ac_prog", so it can be a program name with args.
6665 set dummy $ac_prog; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if ${ac_cv_prog_CONVERT+:} false; then :
6669 $as_echo_n "(cached) " >&6
6670 else
6671 if test -n "$CONVERT"; then
6672 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6677 IFS=$as_save_IFS
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_CONVERT="$ac_prog"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 break 2
6685 done
6686 done
6687 IFS=$as_save_IFS
6691 CONVERT=$ac_cv_prog_CONVERT
6692 if test -n "$CONVERT"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6694 $as_echo "$CONVERT" >&6; }
6695 else
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6701 test -n "$CONVERT" && break
6702 done
6703 test -n "$CONVERT" || CONVERT="false"
6705 for ac_prog in icotool
6707 # Extract the first word of "$ac_prog", so it can be a program name with args.
6708 set dummy $ac_prog; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if ${ac_cv_prog_ICOTOOL+:} false; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 if test -n "$ICOTOOL"; then
6715 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6720 IFS=$as_save_IFS
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6724 ac_cv_prog_ICOTOOL="$ac_prog"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 break 2
6728 done
6729 done
6730 IFS=$as_save_IFS
6734 ICOTOOL=$ac_cv_prog_ICOTOOL
6735 if test -n "$ICOTOOL"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6737 $as_echo "$ICOTOOL" >&6; }
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6744 test -n "$ICOTOOL" && break
6745 done
6746 test -n "$ICOTOOL" || ICOTOOL="false"
6748 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6749 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6751 if test "$CONVERT" = false
6752 then
6753 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6754 else
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6756 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6757 convert_version=`convert --version | head -n1`
6758 if test "x$convert_version" != "x"
6759 then
6760 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6761 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6762 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6763 then
6764 CONVERT=false
6767 if test "$CONVERT" = false
6768 then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6770 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6771 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6772 else
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6774 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6778 if test "$ICOTOOL" = false
6779 then
6780 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6781 else
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6783 $as_echo_n "checking for recent enough icotool... " >&6; }
6784 icotool_version=`icotool --version | head -n1`
6785 if test "x$icotool_version" != "x"
6786 then
6787 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6788 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6789 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6790 then
6791 ICOTOOL=false
6792 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6795 if test "$ICOTOOL" = false
6796 then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6798 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6799 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6800 else
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6802 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6806 with_gettext=yes
6807 with_gettextpo=yes
6809 enable_werror=yes
6812 test "x$with_gettext" != xno || MSGFMT=false
6813 if test "$MSGFMT" != "false"
6814 then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6816 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6817 if ${wine_cv_msgfmt_contexts+:} false; then :
6818 $as_echo_n "(cached) " >&6
6819 else
6820 cat >conftest.po <<EOF
6821 # comment
6822 msgctxt "ctxt"
6823 msgid "id"
6824 msgstr "str"
6826 if $MSGFMT -o /dev/null conftest.po 2>&5
6827 then
6828 wine_cv_msgfmt_contexts=yes
6829 else
6830 wine_cv_msgfmt_contexts=no
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6834 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6835 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6837 if test "$MSGFMT" = false; then :
6838 case "x$with_gettext" in
6839 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6840 xno) ;;
6841 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6842 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6843 esac
6844 enable_po=${enable_po:-no}
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6849 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6850 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6851 $as_echo_n "(cached) " >&6
6852 else
6853 ac_check_lib_save_LIBS=$LIBS
6854 LIBS="-li386 $LIBS"
6855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6856 /* end confdefs.h. */
6858 /* Override any GCC internal prototype to avoid an error.
6859 Use char because int might match the return type of a GCC
6860 builtin and then its argument prototype would still apply. */
6861 #ifdef __cplusplus
6862 extern "C"
6863 #endif
6864 char i386_set_ldt ();
6866 main ()
6868 return i386_set_ldt ();
6870 return 0;
6872 _ACEOF
6873 if ac_fn_c_try_link "$LINENO"; then :
6874 ac_cv_lib_i386_i386_set_ldt=yes
6875 else
6876 ac_cv_lib_i386_i386_set_ldt=no
6878 rm -f core conftest.err conftest.$ac_objext \
6879 conftest$ac_exeext conftest.$ac_ext
6880 LIBS=$ac_check_lib_save_LIBS
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6883 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6884 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6885 I386_LIBS="-li386"
6890 OPENGL_LIBS=""
6894 # Check whether --enable-largefile was given.
6895 if test "${enable_largefile+set}" = set; then :
6896 enableval=$enable_largefile;
6899 if test "$enable_largefile" != no; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6902 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6903 if ${ac_cv_sys_largefile_CC+:} false; then :
6904 $as_echo_n "(cached) " >&6
6905 else
6906 ac_cv_sys_largefile_CC=no
6907 if test "$GCC" != yes; then
6908 ac_save_CC=$CC
6909 while :; do
6910 # IRIX 6.2 and later do not support large files by default,
6911 # so use the C compiler's -n32 option if that helps.
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 #include <sys/types.h>
6915 /* Check that off_t can represent 2**63 - 1 correctly.
6916 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6917 since some C++ compilers masquerading as C compilers
6918 incorrectly reject 9223372036854775807. */
6919 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6920 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6921 && LARGE_OFF_T % 2147483647 == 1)
6922 ? 1 : -1];
6924 main ()
6928 return 0;
6930 _ACEOF
6931 if ac_fn_c_try_compile "$LINENO"; then :
6932 break
6934 rm -f core conftest.err conftest.$ac_objext
6935 CC="$CC -n32"
6936 if ac_fn_c_try_compile "$LINENO"; then :
6937 ac_cv_sys_largefile_CC=' -n32'; break
6939 rm -f core conftest.err conftest.$ac_objext
6940 break
6941 done
6942 CC=$ac_save_CC
6943 rm -f conftest.$ac_ext
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6947 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6948 if test "$ac_cv_sys_largefile_CC" != no; then
6949 CC=$CC$ac_cv_sys_largefile_CC
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6953 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6954 if ${ac_cv_sys_file_offset_bits+:} false; then :
6955 $as_echo_n "(cached) " >&6
6956 else
6957 while :; do
6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959 /* end confdefs.h. */
6960 #include <sys/types.h>
6961 /* Check that off_t can represent 2**63 - 1 correctly.
6962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6963 since some C++ compilers masquerading as C compilers
6964 incorrectly reject 9223372036854775807. */
6965 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6967 && LARGE_OFF_T % 2147483647 == 1)
6968 ? 1 : -1];
6970 main ()
6974 return 0;
6976 _ACEOF
6977 if ac_fn_c_try_compile "$LINENO"; then :
6978 ac_cv_sys_file_offset_bits=no; break
6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 #define _FILE_OFFSET_BITS 64
6984 #include <sys/types.h>
6985 /* Check that off_t can represent 2**63 - 1 correctly.
6986 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6987 since some C++ compilers masquerading as C compilers
6988 incorrectly reject 9223372036854775807. */
6989 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6991 && LARGE_OFF_T % 2147483647 == 1)
6992 ? 1 : -1];
6994 main ()
6998 return 0;
7000 _ACEOF
7001 if ac_fn_c_try_compile "$LINENO"; then :
7002 ac_cv_sys_file_offset_bits=64; break
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005 ac_cv_sys_file_offset_bits=unknown
7006 break
7007 done
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7010 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7011 case $ac_cv_sys_file_offset_bits in #(
7012 no | unknown) ;;
7014 cat >>confdefs.h <<_ACEOF
7015 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7016 _ACEOF
7018 esac
7019 rm -rf conftest*
7020 if test $ac_cv_sys_file_offset_bits = unknown; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7022 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7023 if ${ac_cv_sys_large_files+:} false; then :
7024 $as_echo_n "(cached) " >&6
7025 else
7026 while :; do
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7029 #include <sys/types.h>
7030 /* Check that off_t can represent 2**63 - 1 correctly.
7031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7032 since some C++ compilers masquerading as C compilers
7033 incorrectly reject 9223372036854775807. */
7034 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7036 && LARGE_OFF_T % 2147483647 == 1)
7037 ? 1 : -1];
7039 main ()
7043 return 0;
7045 _ACEOF
7046 if ac_fn_c_try_compile "$LINENO"; then :
7047 ac_cv_sys_large_files=no; break
7049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7052 #define _LARGE_FILES 1
7053 #include <sys/types.h>
7054 /* Check that off_t can represent 2**63 - 1 correctly.
7055 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7056 since some C++ compilers masquerading as C compilers
7057 incorrectly reject 9223372036854775807. */
7058 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7059 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7060 && LARGE_OFF_T % 2147483647 == 1)
7061 ? 1 : -1];
7063 main ()
7067 return 0;
7069 _ACEOF
7070 if ac_fn_c_try_compile "$LINENO"; then :
7071 ac_cv_sys_large_files=1; break
7073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7074 ac_cv_sys_large_files=unknown
7075 break
7076 done
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7079 $as_echo "$ac_cv_sys_large_files" >&6; }
7080 case $ac_cv_sys_large_files in #(
7081 no | unknown) ;;
7083 cat >>confdefs.h <<_ACEOF
7084 #define _LARGE_FILES $ac_cv_sys_large_files
7085 _ACEOF
7087 esac
7088 rm -rf conftest*
7095 ac_ext=c
7096 ac_cpp='$CPP $CPPFLAGS'
7097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7101 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7102 # On Suns, sometimes $CPP names a directory.
7103 if test -n "$CPP" && test -d "$CPP"; then
7104 CPP=
7106 if test -z "$CPP"; then
7107 if ${ac_cv_prog_CPP+:} false; then :
7108 $as_echo_n "(cached) " >&6
7109 else
7110 # Double quotes because CPP needs to be expanded
7111 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7113 ac_preproc_ok=false
7114 for ac_c_preproc_warn_flag in '' yes
7116 # Use a header file that comes with gcc, so configuring glibc
7117 # with a fresh cross-compiler works.
7118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7119 # <limits.h> exists even on freestanding compilers.
7120 # On the NeXT, cc -E runs the code through the compiler's parser,
7121 # not just through cpp. "Syntax error" is here to catch this case.
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7124 #ifdef __STDC__
7125 # include <limits.h>
7126 #else
7127 # include <assert.h>
7128 #endif
7129 Syntax error
7130 _ACEOF
7131 if ac_fn_c_try_cpp "$LINENO"; then :
7133 else
7134 # Broken: fails on valid input.
7135 continue
7137 rm -f conftest.err conftest.i conftest.$ac_ext
7139 # OK, works on sane cases. Now check whether nonexistent headers
7140 # can be detected and how.
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #include <ac_nonexistent.h>
7144 _ACEOF
7145 if ac_fn_c_try_cpp "$LINENO"; then :
7146 # Broken: success on invalid input.
7147 continue
7148 else
7149 # Passes both tests.
7150 ac_preproc_ok=:
7151 break
7153 rm -f conftest.err conftest.i conftest.$ac_ext
7155 done
7156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7157 rm -f conftest.i conftest.err conftest.$ac_ext
7158 if $ac_preproc_ok; then :
7159 break
7162 done
7163 ac_cv_prog_CPP=$CPP
7166 CPP=$ac_cv_prog_CPP
7167 else
7168 ac_cv_prog_CPP=$CPP
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7171 $as_echo "$CPP" >&6; }
7172 ac_preproc_ok=false
7173 for ac_c_preproc_warn_flag in '' yes
7175 # Use a header file that comes with gcc, so configuring glibc
7176 # with a fresh cross-compiler works.
7177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7178 # <limits.h> exists even on freestanding compilers.
7179 # On the NeXT, cc -E runs the code through the compiler's parser,
7180 # not just through cpp. "Syntax error" is here to catch this case.
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #ifdef __STDC__
7184 # include <limits.h>
7185 #else
7186 # include <assert.h>
7187 #endif
7188 Syntax error
7189 _ACEOF
7190 if ac_fn_c_try_cpp "$LINENO"; then :
7192 else
7193 # Broken: fails on valid input.
7194 continue
7196 rm -f conftest.err conftest.i conftest.$ac_ext
7198 # OK, works on sane cases. Now check whether nonexistent headers
7199 # can be detected and how.
7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7202 #include <ac_nonexistent.h>
7203 _ACEOF
7204 if ac_fn_c_try_cpp "$LINENO"; then :
7205 # Broken: success on invalid input.
7206 continue
7207 else
7208 # Passes both tests.
7209 ac_preproc_ok=:
7210 break
7212 rm -f conftest.err conftest.i conftest.$ac_ext
7214 done
7215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7216 rm -f conftest.i conftest.err conftest.$ac_ext
7217 if $ac_preproc_ok; then :
7219 else
7220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7222 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7223 See \`config.log' for more details" "$LINENO" 5; }
7226 ac_ext=c
7227 ac_cpp='$CPP $CPPFLAGS'
7228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7234 $as_echo_n "checking for ANSI C header files... " >&6; }
7235 if ${ac_cv_header_stdc+:} false; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <stdlib.h>
7241 #include <stdarg.h>
7242 #include <string.h>
7243 #include <float.h>
7246 main ()
7250 return 0;
7252 _ACEOF
7253 if ac_fn_c_try_compile "$LINENO"; then :
7254 ac_cv_header_stdc=yes
7255 else
7256 ac_cv_header_stdc=no
7258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7260 if test $ac_cv_header_stdc = yes; then
7261 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7264 #include <string.h>
7266 _ACEOF
7267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7268 $EGREP "memchr" >/dev/null 2>&1; then :
7270 else
7271 ac_cv_header_stdc=no
7273 rm -f conftest*
7277 if test $ac_cv_header_stdc = yes; then
7278 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 #include <stdlib.h>
7283 _ACEOF
7284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7285 $EGREP "free" >/dev/null 2>&1; then :
7287 else
7288 ac_cv_header_stdc=no
7290 rm -f conftest*
7294 if test $ac_cv_header_stdc = yes; then
7295 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7296 if test "$cross_compiling" = yes; then :
7298 else
7299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h. */
7301 #include <ctype.h>
7302 #include <stdlib.h>
7303 #if ((' ' & 0x0FF) == 0x020)
7304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7306 #else
7307 # define ISLOWER(c) \
7308 (('a' <= (c) && (c) <= 'i') \
7309 || ('j' <= (c) && (c) <= 'r') \
7310 || ('s' <= (c) && (c) <= 'z'))
7311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7312 #endif
7314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7316 main ()
7318 int i;
7319 for (i = 0; i < 256; i++)
7320 if (XOR (islower (i), ISLOWER (i))
7321 || toupper (i) != TOUPPER (i))
7322 return 2;
7323 return 0;
7325 _ACEOF
7326 if ac_fn_c_try_run "$LINENO"; then :
7328 else
7329 ac_cv_header_stdc=no
7331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7332 conftest.$ac_objext conftest.beam conftest.$ac_ext
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7338 $as_echo "$ac_cv_header_stdc" >&6; }
7339 if test $ac_cv_header_stdc = yes; then
7341 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7345 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7346 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7347 inttypes.h stdint.h unistd.h
7348 do :
7349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7353 cat >>confdefs.h <<_ACEOF
7354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7355 _ACEOF
7359 done
7362 for ac_header in \
7363 AL/al.h \
7364 ApplicationServices/ApplicationServices.h \
7365 AudioToolbox/AudioConverter.h \
7366 AudioUnit/AudioUnit.h \
7367 AudioUnit/AudioComponent.h \
7368 CL/cl.h \
7369 Carbon/Carbon.h \
7370 CommonCrypto/CommonCryptor.h \
7371 CoreAudio/CoreAudio.h \
7372 CoreServices/CoreServices.h \
7373 DiskArbitration/DiskArbitration.h \
7374 EGL/egl.h \
7375 IOKit/IOKitLib.h \
7376 IOKit/hid/IOHIDLib.h \
7377 OpenAL/al.h \
7378 OpenCL/opencl.h \
7379 QuickTime/ImageCompression.h \
7380 Security/Security.h \
7381 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7382 SystemConfiguration/SCNetworkConfiguration.h \
7383 alias.h \
7384 arpa/inet.h \
7385 arpa/nameser.h \
7386 asm/types.h \
7387 asm/user.h \
7388 curses.h \
7389 dirent.h \
7390 dlfcn.h \
7391 elf.h \
7392 float.h \
7393 fnmatch.h \
7394 getopt.h \
7395 gettext-po.h \
7396 grp.h \
7397 gsm.h \
7398 gsm/gsm.h \
7399 ieeefp.h \
7400 inet/mib2.h \
7401 kstat.h \
7402 libproc.h \
7403 link.h \
7404 linux/cdrom.h \
7405 linux/compiler.h \
7406 linux/filter.h \
7407 linux/hdreg.h \
7408 linux/hidraw.h \
7409 linux/input.h \
7410 linux/ioctl.h \
7411 linux/joystick.h \
7412 linux/major.h \
7413 linux/param.h \
7414 linux/serial.h \
7415 linux/types.h \
7416 linux/ucdrom.h \
7417 lwp.h \
7418 mach-o/nlist.h \
7419 mach-o/loader.h \
7420 mach/mach.h \
7421 mach/machine.h \
7422 machine/cpu.h \
7423 machine/sysarch.h \
7424 mntent.h \
7425 ncurses.h \
7426 netdb.h \
7427 netinet/in.h \
7428 netinet/in_systm.h \
7429 netinet/tcp.h \
7430 netinet/tcp_fsm.h \
7431 pcap/pcap.h \
7432 poll.h \
7433 port.h \
7434 pthread.h \
7435 pwd.h \
7436 sasl/sasl.h \
7437 sched.h \
7438 scsi/scsi.h \
7439 scsi/scsi_ioctl.h \
7440 scsi/sg.h \
7441 stdbool.h \
7442 stdint.h \
7443 stropts.h \
7444 sys/attr.h \
7445 sys/auxv.h \
7446 sys/cdio.h \
7447 sys/epoll.h \
7448 sys/event.h \
7449 sys/filio.h \
7450 sys/ioctl.h \
7451 sys/ipc.h \
7452 sys/link.h \
7453 sys/mman.h \
7454 sys/modem.h \
7455 sys/msg.h \
7456 sys/mtio.h \
7457 sys/param.h \
7458 sys/poll.h \
7459 sys/prctl.h \
7460 sys/protosw.h \
7461 sys/ptrace.h \
7462 sys/queue.h \
7463 sys/resource.h \
7464 sys/scsiio.h \
7465 sys/shm.h \
7466 sys/signal.h \
7467 sys/socket.h \
7468 sys/socketvar.h \
7469 sys/sockio.h \
7470 sys/statvfs.h \
7471 sys/strtio.h \
7472 sys/syscall.h \
7473 sys/sysinfo.h \
7474 sys/tihdr.h \
7475 sys/time.h \
7476 sys/timeout.h \
7477 sys/times.h \
7478 sys/uio.h \
7479 sys/user.h \
7480 sys/utsname.h \
7481 sys/vnode.h \
7482 sys/wait.h \
7483 syscall.h \
7484 termios.h \
7485 unistd.h \
7486 utime.h \
7487 valgrind/memcheck.h \
7488 valgrind/valgrind.h
7490 do :
7491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7502 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7503 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7505 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7510 if test $ac_cv_header_sys_mkdev_h = no; then
7511 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7512 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7514 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7521 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7522 if ${ac_cv_header_stat_broken+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <sys/stat.h>
7530 #if defined S_ISBLK && defined S_IFDIR
7531 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7532 #endif
7534 #if defined S_ISBLK && defined S_IFCHR
7535 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7536 #endif
7538 #if defined S_ISLNK && defined S_IFREG
7539 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7540 #endif
7542 #if defined S_ISSOCK && defined S_IFREG
7543 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7544 #endif
7546 _ACEOF
7547 if ac_fn_c_try_compile "$LINENO"; then :
7548 ac_cv_header_stat_broken=no
7549 else
7550 ac_cv_header_stat_broken=yes
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7555 $as_echo "$ac_cv_header_stat_broken" >&6; }
7556 if test $ac_cv_header_stat_broken = yes; then
7558 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7564 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7565 do :
7566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7568 #ifdef HAVE_SYS_PARAM_H
7569 # include <sys/param.h>
7570 #endif
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7582 saved_sysctl_h_CFLAGS=$CFLAGS
7583 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7584 for ac_header in sys/sysctl.h
7585 do :
7586 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7587 #ifdef HAVE_SYS_PARAM_H
7588 # include <sys/param.h>
7589 #endif
7591 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define HAVE_SYS_SYSCTL_H 1
7594 _ACEOF
7598 done
7600 CFLAGS=$saved_sysctl_h_CFLAGS
7602 for ac_header in \
7603 netinet/ip.h \
7604 net/if.h \
7605 net/if_arp.h \
7606 net/if_dl.h \
7607 net/if_types.h \
7608 net/route.h \
7609 netinet/if_ether.h \
7610 netinet/if_inarp.h \
7611 netinet/in_pcb.h \
7612 netinet/ip_icmp.h \
7613 netinet/ip_var.h \
7614 netinet/udp.h \
7615 netipx/ipx.h \
7616 sys/un.h \
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7621 #ifdef HAVE_SYS_SOCKET_H
7622 # include <sys/socket.h>
7623 #endif
7624 #ifdef HAVE_SYS_SOCKETVAR_H
7625 # include <sys/socketvar.h>
7626 #endif
7627 #ifdef HAVE_NET_ROUTE_H
7628 # include <net/route.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_H
7631 # include <netinet/in.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_SYSTM_H
7634 # include <netinet/in_systm.h>
7635 #endif
7636 #ifdef HAVE_NET_IF_H
7637 # include <net/if.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_H
7640 # include <netinet/ip.h>
7641 #endif
7643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7646 _ACEOF
7650 done
7653 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7654 do :
7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7657 #ifdef HAVE_ALIAS_H
7658 # include <alias.h>
7659 #endif
7660 #ifdef HAVE_SYS_SOCKET_H
7661 # include <sys/socket.h>
7662 #endif
7663 #ifdef HAVE_SYS_SOCKETVAR_H
7664 # include <sys/socketvar.h>
7665 #endif
7666 #ifdef HAVE_SYS_TIMEOUT_H
7667 # include <sys/timeout.h>
7668 #endif
7669 #ifdef HAVE_NETINET_IN_H
7670 # include <netinet/in.h>
7671 #endif
7672 #ifdef HAVE_NETINET_IN_SYSTM_H
7673 # include <netinet/in_systm.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IP_H
7676 # include <netinet/ip.h>
7677 #endif
7678 #ifdef HAVE_NETINET_IP_VAR_H
7679 # include <netinet/ip_var.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IP_ICMP_H
7682 # include <netinet/ip_icmp.h>
7683 #endif
7684 #ifdef HAVE_NETINET_UDP_H
7685 # include <netinet/udp.h>
7686 #endif
7687 #ifdef HAVE_NETINET_TCP_H
7688 # include <netinet/tcp.h>
7689 #endif
7690 #ifdef HAVE_NETINET_TCP_TIMER_H
7691 #include <netinet/tcp_timer.h>
7692 #endif
7694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 _ACEOF
7701 done
7704 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7705 do :
7706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7708 #ifdef HAVE_ASM_TYPES_H
7709 # include <asm/types.h>
7710 #endif
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7713 #endif
7714 #ifdef HAVE_LINUX_TYPES_H
7715 # include <linux/types.h>
7716 #endif
7718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7728 for ac_header in resolv.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7731 #ifdef HAVE_SYS_SOCKET_H
7732 # include <sys/socket.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IN_H
7735 # include <netinet/in.h>
7736 #endif
7737 #ifdef HAVE_ARPA_NAMESER_H
7738 # include <arpa/nameser.h>
7739 #endif
7741 if test "x$ac_cv_header_resolv_h" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_RESOLV_H 1
7744 _ACEOF
7748 done
7751 for ac_header in ifaddrs.h
7752 do :
7753 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7755 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_IFADDRS_H 1
7758 _ACEOF
7762 done
7765 for ac_header in sys/ucontext.h
7766 do :
7767 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7769 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_SYS_UCONTEXT_H 1
7772 _ACEOF
7776 done
7779 for ac_header in sys/thr.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7782 #ifdef HAVE_SYS_UCONTEXT_H
7783 #include <sys/ucontext.h>
7784 #endif
7786 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7787 cat >>confdefs.h <<_ACEOF
7788 #define HAVE_SYS_THR_H 1
7789 _ACEOF
7793 done
7796 for ac_header in pthread_np.h
7797 do :
7798 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7799 #include <pthread.h>
7800 #endif
7802 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_PTHREAD_NP_H 1
7805 _ACEOF
7809 done
7812 for ac_header in linux/videodev2.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7815 #include <sys/time.h>
7816 #endif
7817 #include <sys/types.h>
7818 #ifdef HAVE_ASM_TYPES_H
7819 #include <asm/types.h>
7820 #endif
7822 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_LINUX_VIDEODEV2_H 1
7825 _ACEOF
7829 done
7832 for ac_header in libprocstat.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7835 #include <sys/param.h>
7836 #endif
7837 #ifdef HAVE_SYS_QUEUE_H
7838 #include <sys/queue.h>
7839 #endif
7840 #ifdef HAVE_SYS_SOCKET_H
7841 #include <sys/socket.h>
7842 #endif
7844 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_LIBPROCSTAT_H 1
7847 _ACEOF
7851 done
7855 DLLFLAGS="-D_REENTRANT"
7857 LDRPATH_INSTALL=""
7859 LDRPATH_LOCAL=""
7861 LDDLLFLAGS=""
7863 LDEXECFLAGS=""
7865 TOP_INSTALL_LIB=""
7867 TOP_INSTALL_DEV=""
7869 WINELOADER_LDFLAGS=""
7871 WINEPRELOADER_LDFLAGS=""
7873 LIBEXT="so"
7874 DLLEXT=".so"
7875 # Extract the first word of "ldd", so it can be a program name with args.
7876 set dummy ldd; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_path_LDD+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 case $LDD in
7883 [\\/]* | ?:[\\/]*)
7884 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 as_dummy="/sbin:/usr/sbin:$PATH"
7889 for as_dir in $as_dummy
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7903 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7905 esac
7907 LDD=$ac_cv_path_LDD
7908 if test -n "$LDD"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7910 $as_echo "$LDD" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7917 if test -n "$ac_tool_prefix"; then
7918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7919 set dummy ${ac_tool_prefix}otool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_OTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 if test -n "$OTOOL"; then
7926 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7927 else
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7945 OTOOL=$ac_cv_prog_OTOOL
7946 if test -n "$OTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7948 $as_echo "$OTOOL" >&6; }
7949 else
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7956 if test -z "$ac_cv_prog_OTOOL"; then
7957 ac_ct_OTOOL=$OTOOL
7958 # Extract the first word of "otool", so it can be a program name with args.
7959 set dummy otool; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$ac_ct_OTOOL"; then
7966 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_ac_ct_OTOOL="otool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7986 if test -n "$ac_ct_OTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7988 $as_echo "$ac_ct_OTOOL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7994 if test "x$ac_ct_OTOOL" = x; then
7995 OTOOL="otool"
7996 else
7997 case $cross_compiling:$ac_tool_warned in
7998 yes:)
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8001 ac_tool_warned=yes ;;
8002 esac
8003 OTOOL=$ac_ct_OTOOL
8005 else
8006 OTOOL="$ac_cv_prog_OTOOL"
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8011 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_READELF+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$READELF"; then
8018 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 READELF=$ac_cv_prog_READELF
8038 if test -n "$READELF"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8040 $as_echo "$READELF" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_READELF"; then
8049 ac_ct_READELF=$READELF
8050 # Extract the first word of "readelf", so it can be a program name with args.
8051 set dummy readelf; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$ac_ct_READELF"; then
8058 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_READELF="readelf"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8078 if test -n "$ac_ct_READELF"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8080 $as_echo "$ac_ct_READELF" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_READELF" = x; then
8087 READELF="true"
8088 else
8089 case $cross_compiling:$ac_tool_warned in
8090 yes:)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 READELF=$ac_ct_READELF
8097 else
8098 READELF="$ac_cv_prog_READELF"
8101 wine_rules_file=conf$$rules.make
8102 rm -f $wine_rules_file
8103 SUBDIRS=""
8105 DISABLED_SUBDIRS=""
8107 CONFIGURE_TARGETS=""
8110 wine_fn_append_file ()
8112 as_fn_append $1 " \\$as_nl $2"
8115 wine_fn_append_rule ()
8117 $as_echo "$1" >>$wine_rules_file
8120 wine_fn_config_makefile ()
8122 wine_fn_append_file SUBDIRS $1
8123 if eval test \"x\$"$2"\" = x"no"; then :
8124 wine_fn_append_file DISABLED_SUBDIRS $1
8128 wine_fn_config_symlink ()
8130 ac_links=$@
8131 wine_fn_append_rule \
8132 "$ac_links:
8133 @./config.status \$@"
8134 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8137 wine_binary="wine"
8138 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8139 WINELOADER_PROGRAMS="$wine_binary"
8141 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8143 case $host_os in
8144 cygwin*|mingw32*)
8145 if test -n "$ac_tool_prefix"; then
8146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_DLLTOOL+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$DLLTOOL"; then
8154 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 DLLTOOL=$ac_cv_prog_DLLTOOL
8174 if test -n "$DLLTOOL"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8176 $as_echo "$DLLTOOL" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8184 if test -z "$ac_cv_prog_DLLTOOL"; then
8185 ac_ct_DLLTOOL=$DLLTOOL
8186 # Extract the first word of "dlltool", so it can be a program name with args.
8187 set dummy dlltool; ac_word=$2
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189 $as_echo_n "checking for $ac_word... " >&6; }
8190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 if test -n "$ac_ct_DLLTOOL"; then
8194 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8195 else
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 for as_dir in $PATH
8199 IFS=$as_save_IFS
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8203 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 break 2
8207 done
8208 done
8209 IFS=$as_save_IFS
8213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8214 if test -n "$ac_ct_DLLTOOL"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8216 $as_echo "$ac_ct_DLLTOOL" >&6; }
8217 else
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8222 if test "x$ac_ct_DLLTOOL" = x; then
8223 DLLTOOL="false"
8224 else
8225 case $cross_compiling:$ac_tool_warned in
8226 yes:)
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8229 ac_tool_warned=yes ;;
8230 esac
8231 DLLTOOL=$ac_ct_DLLTOOL
8233 else
8234 DLLTOOL="$ac_cv_prog_DLLTOOL"
8237 LIBEXT="dll"
8238 DLLEXT=""
8239 case $host_cpu in
8240 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8241 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8242 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8253 else
8254 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8261 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8262 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8263 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8264 fi ;;
8265 esac
8266 enable_iphlpapi=${enable_iphlpapi:-no}
8267 enable_kernel32=${enable_kernel32:-no}
8268 enable_ntdll=${enable_ntdll:-no}
8269 enable_ws2_32=${enable_ws2_32:-no}
8270 enable_loader=${enable_loader:-no}
8271 enable_server=${enable_server:-no}
8272 with_x=${with_x:-no}
8273 with_pthread=${with_pthread:-no}
8276 darwin*|macosx*)
8277 ac_ext=m
8278 ac_cpp='$OBJCPP $CPPFLAGS'
8279 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8280 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8281 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8283 ac_ext=m
8284 ac_cpp='$OBJCPP $CPPFLAGS'
8285 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8286 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8287 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8288 if test -n "$ac_tool_prefix"; then
8289 for ac_prog in gcc objcc objc cc CC
8291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8292 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_OBJC+:} false; then :
8296 $as_echo_n "(cached) " >&6
8297 else
8298 if test -n "$OBJC"; then
8299 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8304 IFS=$as_save_IFS
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 break 2
8312 done
8313 done
8314 IFS=$as_save_IFS
8318 OBJC=$ac_cv_prog_OBJC
8319 if test -n "$OBJC"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8321 $as_echo "$OBJC" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8328 test -n "$OBJC" && break
8329 done
8331 if test -z "$OBJC"; then
8332 ac_ct_OBJC=$OBJC
8333 for ac_prog in gcc objcc objc cc CC
8335 # Extract the first word of "$ac_prog", so it can be a program name with args.
8336 set dummy $ac_prog; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8338 $as_echo_n "checking for $ac_word... " >&6; }
8339 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 if test -n "$ac_ct_OBJC"; then
8343 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8344 else
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 for as_dir in $PATH
8348 IFS=$as_save_IFS
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8354 break 2
8356 done
8357 done
8358 IFS=$as_save_IFS
8362 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8363 if test -n "$ac_ct_OBJC"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8365 $as_echo "$ac_ct_OBJC" >&6; }
8366 else
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8372 test -n "$ac_ct_OBJC" && break
8373 done
8375 if test "x$ac_ct_OBJC" = x; then
8376 OBJC="gcc"
8377 else
8378 case $cross_compiling:$ac_tool_warned in
8379 yes:)
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8382 ac_tool_warned=yes ;;
8383 esac
8384 OBJC=$ac_ct_OBJC
8388 # Provide some information about the compiler.
8389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8390 set X $ac_compile
8391 ac_compiler=$2
8392 for ac_option in --version -v -V -qversion; do
8393 { { ac_try="$ac_compiler $ac_option >&5"
8394 case "(($ac_try" in
8395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396 *) ac_try_echo=$ac_try;;
8397 esac
8398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8399 $as_echo "$ac_try_echo"; } >&5
8400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8401 ac_status=$?
8402 if test -s conftest.err; then
8403 sed '10a\
8404 ... rest of stderr output deleted ...
8405 10q' conftest.err >conftest.er1
8406 cat conftest.er1 >&5
8408 rm -f conftest.er1 conftest.err
8409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8410 test $ac_status = 0; }
8411 done
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8414 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8415 if ${ac_cv_objc_compiler_gnu+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8422 main ()
8424 #ifndef __GNUC__
8425 choke me
8426 #endif
8429 return 0;
8431 _ACEOF
8432 if ac_fn_objc_try_compile "$LINENO"; then :
8433 ac_compiler_gnu=yes
8434 else
8435 ac_compiler_gnu=no
8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8438 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8442 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8443 if test $ac_compiler_gnu = yes; then
8444 GOBJC=yes
8445 else
8446 GOBJC=
8448 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8449 ac_save_OBJCFLAGS=$OBJCFLAGS
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8451 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8452 if ${ac_cv_prog_objc_g+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_save_objc_werror_flag=$ac_objc_werror_flag
8456 ac_objc_werror_flag=yes
8457 ac_cv_prog_objc_g=no
8458 OBJCFLAGS="-g"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8463 main ()
8467 return 0;
8469 _ACEOF
8470 if ac_fn_objc_try_compile "$LINENO"; then :
8471 ac_cv_prog_objc_g=yes
8472 else
8473 OBJCFLAGS=""
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8478 main ()
8482 return 0;
8484 _ACEOF
8485 if ac_fn_objc_try_compile "$LINENO"; then :
8487 else
8488 ac_objc_werror_flag=$ac_save_objc_werror_flag
8489 OBJCFLAGS="-g"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8494 main ()
8498 return 0;
8500 _ACEOF
8501 if ac_fn_objc_try_compile "$LINENO"; then :
8502 ac_cv_prog_objc_g=yes
8504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8509 ac_objc_werror_flag=$ac_save_objc_werror_flag
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8512 $as_echo "$ac_cv_prog_objc_g" >&6; }
8513 if test "$ac_test_OBJCFLAGS" = set; then
8514 OBJCFLAGS=$ac_save_OBJCFLAGS
8515 elif test $ac_cv_prog_objc_g = yes; then
8516 if test "$GOBJC" = yes; then
8517 OBJCFLAGS="-g -O2"
8518 else
8519 OBJCFLAGS="-g"
8521 else
8522 if test "$GOBJC" = yes; then
8523 OBJCFLAGS="-O2"
8524 else
8525 OBJCFLAGS=
8528 ac_ext=m
8529 ac_cpp='$OBJCPP $CPPFLAGS'
8530 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8535 ac_ext=m
8536 ac_cpp='$OBJCPP $CPPFLAGS'
8537 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8538 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8539 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8541 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8542 if test -z "$OBJCPP"; then
8543 if ${ac_cv_prog_OBJCPP+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 # Double quotes because OBJCPP needs to be expanded
8547 for OBJCPP in "$OBJC -E" "/lib/cpp"
8549 ac_preproc_ok=false
8550 for ac_objc_preproc_warn_flag in '' yes
8552 # Use a header file that comes with gcc, so configuring glibc
8553 # with a fresh cross-compiler works.
8554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8555 # <limits.h> exists even on freestanding compilers.
8556 # On the NeXT, cc -E runs the code through the compiler's parser,
8557 # not just through cpp. "Syntax error" is here to catch this case.
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #ifdef __STDC__
8561 # include <limits.h>
8562 #else
8563 # include <assert.h>
8564 #endif
8565 Syntax error
8566 _ACEOF
8567 if ac_fn_objc_try_cpp "$LINENO"; then :
8569 else
8570 # Broken: fails on valid input.
8571 continue
8573 rm -f conftest.err conftest.i conftest.$ac_ext
8575 # OK, works on sane cases. Now check whether nonexistent headers
8576 # can be detected and how.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #include <ac_nonexistent.h>
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 # Broken: success on invalid input.
8583 continue
8584 else
8585 # Passes both tests.
8586 ac_preproc_ok=:
8587 break
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 done
8592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8593 rm -f conftest.i conftest.err conftest.$ac_ext
8594 if $ac_preproc_ok; then :
8595 break
8598 done
8599 ac_cv_prog_OBJCPP=$OBJCPP
8602 OBJCPP=$ac_cv_prog_OBJCPP
8603 else
8604 ac_cv_prog_OBJCPP=$OBJCPP
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8607 $as_echo "$OBJCPP" >&6; }
8608 ac_preproc_ok=false
8609 for ac_objc_preproc_warn_flag in '' yes
8611 # Use a header file that comes with gcc, so configuring glibc
8612 # with a fresh cross-compiler works.
8613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8614 # <limits.h> exists even on freestanding compilers.
8615 # On the NeXT, cc -E runs the code through the compiler's parser,
8616 # not just through cpp. "Syntax error" is here to catch this case.
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 #ifdef __STDC__
8620 # include <limits.h>
8621 #else
8622 # include <assert.h>
8623 #endif
8624 Syntax error
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8628 else
8629 # Broken: fails on valid input.
8630 continue
8632 rm -f conftest.err conftest.i conftest.$ac_ext
8634 # OK, works on sane cases. Now check whether nonexistent headers
8635 # can be detected and how.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #include <ac_nonexistent.h>
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8641 # Broken: success on invalid input.
8642 continue
8643 else
8644 # Passes both tests.
8645 ac_preproc_ok=:
8646 break
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 done
8651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8652 rm -f conftest.i conftest.err conftest.$ac_ext
8653 if $ac_preproc_ok; then :
8655 else
8656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8658 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8659 See \`config.log' for more details" "$LINENO" 5; }
8662 ac_ext=m
8663 ac_cpp='$OBJCPP $CPPFLAGS'
8664 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8665 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8666 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8669 for ac_header in Metal/Metal.h
8670 do :
8671 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8672 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define HAVE_METAL_METAL_H 1
8675 _ACEOF
8679 done
8681 ac_ext=c
8682 ac_cpp='$CPP $CPPFLAGS'
8683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8687 LIBEXT="dylib"
8688 DLLFLAGS="$DLLFLAGS -fPIC"
8689 LDDLLFLAGS="-fPIC"
8690 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8691 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8692 COREFOUNDATION_LIBS="-framework CoreFoundation"
8694 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8696 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8698 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8700 CORESERVICES_LIBS="-framework CoreServices"
8702 APPKIT_LIBS="-framework AppKit"
8704 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8707 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8709 wine_can_build_preloader=yes
8710 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8734 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8736 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8737 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8748 else
8749 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8756 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8757 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8758 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8759 else
8760 { $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
8761 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8762 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8773 else
8774 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $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
8781 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8782 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8783 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8784 else
8785 wine_can_build_preloader=no
8788 else
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8790 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8791 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8802 else
8803 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8810 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8811 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8812 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8815 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8816 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int main(int argc, char **argv) { return 0; }
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8827 else
8828 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8835 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8836 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8837 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8838 else
8839 wine_can_build_preloader=no
8843 if test "$wine_can_build_preloader" = "yes"
8844 then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8846 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8847 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8848 $as_echo_n "(cached) " >&6
8849 else
8850 ac_wine_try_cflags_saved=$CFLAGS
8851 CFLAGS="$CFLAGS -Wl,-no_pie"
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8854 int main(int argc, char **argv) { return 0; }
8855 _ACEOF
8856 if ac_fn_c_try_link "$LINENO"; then :
8857 ac_cv_cflags__Wl__no_pie=yes
8858 else
8859 ac_cv_cflags__Wl__no_pie=no
8861 rm -f core conftest.err conftest.$ac_objext \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8866 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8867 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8868 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8870 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8871 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8872 else
8873 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8876 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8877 then
8878 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8881 if test "$ac_cv_header_Security_Security_h" = "yes"
8882 then
8883 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8885 ac_save_LIBS="$LIBS"
8886 LIBS="$LIBS $SECURITY_LIBS"
8887 for ac_func in SSLCopyPeerCertificates
8888 do :
8889 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8890 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8891 cat >>confdefs.h <<_ACEOF
8892 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8893 _ACEOF
8896 done
8898 LIBS="$ac_save_LIBS"
8900 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8901 then
8902 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8903 then
8904 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8906 else
8907 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8910 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8911 ac_save_LIBS="$LIBS"
8912 LIBS="$LIBS $COREAUDIO_LIBS"
8913 for ac_func in AUGraphAddNode
8914 do :
8915 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8916 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8917 cat >>confdefs.h <<_ACEOF
8918 #define HAVE_AUGRAPHADDNODE 1
8919 _ACEOF
8922 done
8924 LIBS="$ac_save_LIBS"
8926 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8927 then
8928 OPENAL_LIBS="-framework OpenAL"
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_OPENAL 1
8933 _ACEOF
8935 ac_cv_lib_openal=yes
8937 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8938 then
8939 OPENCL_LIBS="-framework OpenCL"
8941 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8943 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8944 then
8945 ac_save_LIBS="$LIBS"
8946 LIBS="$LIBS $IOKIT_LIBS"
8947 for ac_func in IOHIDManagerCreate
8948 do :
8949 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8950 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_IOHIDMANAGERCREATE 1
8953 _ACEOF
8956 done
8958 LIBS="$ac_save_LIBS"
8960 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8961 then
8962 ac_save_LIBS="$LIBS"
8963 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8965 $as_echo_n "checking for the QuickTime framework... " >&6; }
8966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8968 #include <QuickTime/ImageCompression.h>
8970 main ()
8972 CodecManagerVersion(NULL);
8974 return 0;
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8979 $as_echo "yes" >&6; }
8980 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8982 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8986 ac_cv_header_QuickTime_ImageCompression_h=no
8988 rm -f core conftest.err conftest.$ac_objext \
8989 conftest$ac_exeext conftest.$ac_ext
8990 LIBS="$ac_save_LIBS"
8992 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8993 then
8994 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8996 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8997 then
8998 CARBON_LIBS="-framework Carbon"
9001 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9002 then
9003 METAL_LIBS="-framework Metal -framework QuartzCore"
9007 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9008 then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9010 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9011 ac_ext=m
9012 ac_cpp='$OBJCPP $CPPFLAGS'
9013 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9014 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9015 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 #include <Metal/Metal.h>
9021 main ()
9023 id<MTLDevice> device; device.registryID;
9025 return 0;
9027 _ACEOF
9028 if ac_fn_objc_try_compile "$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9032 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9039 ac_ext=c
9040 ac_cpp='$CPP $CPPFLAGS'
9041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9047 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9048 then
9049 ac_save_LIBS="$LIBS"
9050 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9051 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9052 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9053 enable_winemac_drv=${enable_winemac_drv:-yes}
9056 LIBS="$ac_save_LIBS"
9059 if test "x$enable_win16" = "xyes"
9060 then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9062 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9063 if test "$cross_compiling" = yes; then :
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9065 $as_echo "cross-compiling, assuming yes" >&6; }
9066 else
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 asm(".text\n"
9070 "bad:\tnop;nop\n"
9071 "good:\tnop;nop\n\t"
9072 ".globl _testfunc\n"
9073 "_testfunc:\tcallw good");
9074 extern void testfunc();
9076 main ()
9078 unsigned short *p = (unsigned short *)testfunc;
9079 return p[0] != 0xe866 || p[1] != 0xfffa
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_run "$LINENO"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 $as_echo "yes" >&6; }
9087 else
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9090 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
9092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9093 conftest.$ac_objext conftest.beam conftest.$ac_ext
9098 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9100 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9102 WINELOADER_DEPENDS="wine_info.plist"
9104 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9105 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9108 linux-android*)
9109 DLLFLAGS="$DLLFLAGS -fPIC"
9110 LDDLLFLAGS="-fPIC"
9111 LDEXECFLAGS="-Wl,-pie"
9112 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9115 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9122 int main(int argc, char **argv) { return 0; }
9123 _ACEOF
9124 if ac_fn_c_try_link "$LINENO"; then :
9125 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9126 else
9127 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 CFLAGS=$ac_wine_try_cflags_saved
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9134 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9135 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9136 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9138 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9139 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9142 if eval \${$as_ac_var+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 eval "$as_ac_var=yes"
9153 else
9154 eval "$as_ac_var=no"
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 eval ac_res=\$$as_ac_var
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9162 $as_echo "$ac_res" >&6; }
9163 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9164 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9165 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9166 else
9167 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9169 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9170 if eval \${$as_ac_var+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9177 int main(int argc, char **argv) { return 0; }
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 eval "$as_ac_var=yes"
9181 else
9182 eval "$as_ac_var=no"
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 CFLAGS=$ac_wine_try_cflags_saved
9188 eval ac_res=\$$as_ac_var
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9190 $as_echo "$ac_res" >&6; }
9191 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9192 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9193 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9197 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9198 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_wine_try_cflags_saved=$CFLAGS
9202 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9205 int main(int argc, char **argv) { return 0; }
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 ac_cv_cflags__Wl___enable_new_dtags=yes
9209 else
9210 ac_cv_cflags__Wl___enable_new_dtags=no
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 CFLAGS=$ac_wine_try_cflags_saved
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9217 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9218 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9219 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9222 LIBWINE_SHAREDLIB="libwine.so"
9224 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9226 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9229 $as_echo_n "checking for -lEGL... " >&6; }
9230 if ${ac_cv_lib_soname_EGL+:} false; then :
9231 $as_echo_n "(cached) " >&6
9232 else
9233 ac_check_soname_save_LIBS=$LIBS
9234 LIBS="-lEGL $LIBS"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char eglGetProcAddress ();
9246 main ()
9248 return eglGetProcAddress ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 case "$LIBEXT" in
9255 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9256 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'` ;;
9257 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9258 if ${ac_cv_lib_soname_EGL:+false} :; then :
9259 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9260 fi ;;
9261 esac
9262 else
9263 ac_cv_lib_soname_EGL=
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_EGL:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9275 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9279 _ACEOF
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9284 $as_echo_n "checking for -lGLESv2... " >&6; }
9285 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9286 $as_echo_n "(cached) " >&6
9287 else
9288 ac_check_soname_save_LIBS=$LIBS
9289 LIBS="-lGLESv2 $LIBS"
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9296 #ifdef __cplusplus
9297 extern "C"
9298 #endif
9299 char glFlush ();
9301 main ()
9303 return glFlush ();
9305 return 0;
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 case "$LIBEXT" in
9310 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9311 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'` ;;
9312 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9313 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9314 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9315 fi ;;
9316 esac
9317 else
9318 ac_cv_lib_soname_GLESv2=
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_soname_save_LIBS
9324 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9326 $as_echo "not found" >&6; }
9328 else
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9330 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9332 cat >>confdefs.h <<_ACEOF
9333 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9334 _ACEOF
9339 if test "x$exec_prefix" = xNONE
9340 then
9341 case $host_cpu in
9342 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9343 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9344 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9345 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9346 esac
9351 case $host_cpu in
9352 *i[3456789]86*)
9353 DLLFLAGS="$DLLFLAGS -fno-PIC"
9354 LDDLLFLAGS="-fno-PIC" ;;
9356 DLLFLAGS="$DLLFLAGS -fPIC"
9357 LDDLLFLAGS="-fPIC" ;;
9358 esac
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9360 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9361 if ${ac_cv_c_dll_gnuelf+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_wine_try_cflags_saved=$CFLAGS
9365 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 void myfunc() {}
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9372 else
9373 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 CFLAGS=$ac_wine_try_cflags_saved
9378 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9379 ac_cv_c_dll_gnuelf="yes"
9380 else
9381 ac_cv_c_dll_gnuelf="no"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9385 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9386 if test "$ac_cv_c_dll_gnuelf" = "yes"
9387 then
9388 LIBWINE_LDFLAGS="-shared"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9390 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9391 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_wine_try_cflags_saved=$CFLAGS
9395 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9398 int main(int argc, char **argv) { return 0; }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9402 else
9403 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 CFLAGS=$ac_wine_try_cflags_saved
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9410 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9411 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9412 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9413 else
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9415 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9416 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_wine_try_cflags_saved=$CFLAGS
9420 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int main(int argc, char **argv) { return 0; }
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9427 else
9428 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 CFLAGS=$ac_wine_try_cflags_saved
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9435 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9436 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9437 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9441 echo '{ global: *; };' >conftest.map
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9443 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9444 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9455 else
9456 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9463 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9464 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9465 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9467 rm -f conftest.map
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9470 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9471 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_wine_try_cflags_saved=$CFLAGS
9475 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int main(int argc, char **argv) { return 0; }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_cflags__Wl___export_dynamic=yes
9482 else
9483 ac_cv_cflags__Wl___export_dynamic=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9490 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9491 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9492 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9494 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9496 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9498 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9499 if eval \${$as_ac_var+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_wine_try_cflags_saved=$CFLAGS
9503 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9506 int main(int argc, char **argv) { return 0; }
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 eval "$as_ac_var=yes"
9510 else
9511 eval "$as_ac_var=no"
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 CFLAGS=$ac_wine_try_cflags_saved
9517 eval ac_res=\$$as_ac_var
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9519 $as_echo "$ac_res" >&6; }
9520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9521 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9522 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9523 else
9524 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9526 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9527 if eval \${$as_ac_var+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_wine_try_cflags_saved=$CFLAGS
9531 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 eval "$as_ac_var=yes"
9538 else
9539 eval "$as_ac_var=no"
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 CFLAGS=$ac_wine_try_cflags_saved
9545 eval ac_res=\$$as_ac_var
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9547 $as_echo "$ac_res" >&6; }
9548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9549 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9550 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9555 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9556 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9557 $as_echo_n "(cached) " >&6
9558 else
9559 ac_wine_try_cflags_saved=$CFLAGS
9560 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9563 int main(int argc, char **argv) { return 0; }
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_cflags__Wl___enable_new_dtags=yes
9567 else
9568 ac_cv_cflags__Wl___enable_new_dtags=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 CFLAGS=$ac_wine_try_cflags_saved
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9575 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9576 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9577 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9580 case $host_cpu in
9581 *i[3456789]86* | x86_64 | *aarch64*)
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9583 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9584 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_wine_try_cflags_saved=$CFLAGS
9588 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 int main(int argc, char **argv) { return 0; }
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9595 else
9596 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 CFLAGS=$ac_wine_try_cflags_saved
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9603 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9604 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9605 case $host_os in
9606 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9607 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9608 esac
9609 else
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9611 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9612 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_wine_try_cflags_saved=$CFLAGS
9616 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 int main(int argc, char **argv) { return 0; }
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9623 else
9624 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 CFLAGS=$ac_wine_try_cflags_saved
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9631 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9632 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9633 case $host_os in
9634 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9635 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9636 esac
9638 # Extract the first word of "prelink", so it can be a program name with args.
9639 set dummy prelink; ac_word=$2
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 $as_echo_n "checking for $ac_word... " >&6; }
9642 if ${ac_cv_path_PRELINK+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 case $PRELINK in
9646 [\\/]* | ?:[\\/]*)
9647 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651 for as_dir in /sbin /usr/sbin $PATH
9653 IFS=$as_save_IFS
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 break 2
9661 done
9662 done
9663 IFS=$as_save_IFS
9665 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9667 esac
9669 PRELINK=$ac_cv_path_PRELINK
9670 if test -n "$PRELINK"; then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9672 $as_echo "$PRELINK" >&6; }
9673 else
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 $as_echo "no" >&6; }
9679 if test "x$PRELINK" = xfalse
9680 then
9681 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9685 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9686 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9687 $as_echo_n "(cached) " >&6
9688 else
9689 ac_wine_try_cflags_saved=$CFLAGS
9690 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9693 int main(int argc, char **argv) { return 0; }
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9697 else
9698 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 CFLAGS=$ac_wine_try_cflags_saved
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9705 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9706 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9707 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9710 esac
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9714 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9715 if ${ac_cv_c_dll_unixware+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 ac_wine_try_cflags_saved=$CFLAGS
9719 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9722 void myfunc() {}
9723 _ACEOF
9724 if ac_fn_c_try_link "$LINENO"; then :
9725 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9726 else
9727 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 CFLAGS=$ac_wine_try_cflags_saved
9732 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9733 ac_cv_c_dll_unixware="yes"
9734 else
9735 ac_cv_c_dll_unixware="no"
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9739 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9740 if test "$ac_cv_c_dll_unixware" = "yes"
9741 then
9742 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9745 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9747 LIBWINE_DEPENDS="wine.map"
9749 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9750 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9752 esac
9754 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9755 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9756 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9757 enable_winemac_drv=${enable_winemac_drv:-no}
9758 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9761 if test "x$with_mingw" != xno
9762 then
9763 case "x$with_mingw" in
9764 x|xyes) case "$host_cpu" in
9765 aarch64*)
9766 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9767 arm*)
9768 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9769 i[3456789]86*)
9770 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
9771 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9772 mingw32-gcc" ;;
9773 x86_64)
9774 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
9775 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9777 ac_prefix_list="" ;;
9778 esac
9779 for ac_prog in $ac_prefix_list
9781 # Extract the first word of "$ac_prog", so it can be a program name with args.
9782 set dummy $ac_prog; ac_word=$2
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9784 $as_echo_n "checking for $ac_word... " >&6; }
9785 if ${ac_cv_prog_CROSSCC+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 if test -n "$CROSSCC"; then
9789 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9790 else
9791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9792 for as_dir in $PATH
9794 IFS=$as_save_IFS
9795 test -z "$as_dir" && as_dir=.
9796 for ac_exec_ext in '' $ac_executable_extensions; do
9797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9798 ac_cv_prog_CROSSCC="$ac_prog"
9799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9800 break 2
9802 done
9803 done
9804 IFS=$as_save_IFS
9808 CROSSCC=$ac_cv_prog_CROSSCC
9809 if test -n "$CROSSCC"; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9811 $as_echo "$CROSSCC" >&6; }
9812 else
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9814 $as_echo "no" >&6; }
9818 test -n "$CROSSCC" && break
9819 done
9820 test -n "$CROSSCC" || CROSSCC="false"
9822 *) CROSSCC=$with_mingw ;;
9823 esac
9824 if test "$CROSSCC" != "false"
9825 then
9826 ac_save_CC="$CC"
9827 saved_CFLAGS=$CFLAGS
9828 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9830 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9834 CC="$CROSSCC"
9835 CFLAGS=$CROSSCFLAGS
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9837 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9838 if ${wine_cv_crosscc+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9845 main ()
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_compile "$LINENO"; then :
9853 wine_cv_crosscc=yes
9854 else
9855 wine_cv_crosscc=no
9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9860 $as_echo "$wine_cv_crosscc" >&6; }
9861 if test $wine_cv_crosscc = yes
9862 then
9863 set x $CROSSCC
9864 shift
9865 while test $# -ge 1
9867 case "$1" in
9868 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9869 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9870 esac
9871 shift
9872 done
9874 llvm_target=$CROSSTARGET
9875 llvm_cflags="-fuse-ld=lld"
9876 if test -z "$llvm_target"
9877 then
9878 case $host_cpu in
9879 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9880 *) llvm_target=$host_cpu-windows-gnu ;;
9881 esac
9883 case $llvm_target in
9884 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9885 esac
9886 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9888 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9889 if eval \${$as_ac_var+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 ac_wine_try_cflags_saved_cc=$CC
9894 ac_wine_try_cflags_saved_exeext=$ac_exeext
9895 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9896 CC="$CROSSCC"
9897 ac_exeext=".exe"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 int __cdecl mainCRTStartup(void) { return 0; }
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 eval "$as_ac_var=yes"
9904 else
9905 eval "$as_ac_var=no"
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 CFLAGS=$ac_wine_try_cflags_saved
9910 CC=$ac_wine_try_cflags_saved_cc
9911 ac_exeext=$ac_wine_try_cflags_saved_exeext
9913 eval ac_res=\$$as_ac_var
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9915 $as_echo "$ac_res" >&6; }
9916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9917 CROSSTARGET=$llvm_target
9918 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9919 DELAYLOADFLAG="-Wl,-delayload,"
9921 CFLAGS="$CFLAGS $llvm_cflags"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9926 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int __cdecl mainCRTStartup(void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__fno_strict_aliasing=yes
9941 else
9942 ac_cv_crosscflags__fno_strict_aliasing=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9951 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9952 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9957 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int __cdecl mainCRTStartup(void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9972 else
9973 ac_cv_crosscflags__Werror_unknown_warning_option=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9982 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9983 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9984 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9988 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 int __cdecl mainCRTStartup(void) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10003 else
10004 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10013 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10014 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10015 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10019 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 int __cdecl mainCRTStartup(void) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10034 else
10035 ac_cv_crosscflags__Wdeclaration_after_statement=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10044 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10045 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10050 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 int __cdecl mainCRTStartup(void) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wempty_body=yes
10065 else
10066 ac_cv_crosscflags__Wempty_body=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10075 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10076 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10081 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 int __cdecl mainCRTStartup(void) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wignored_qualifiers=yes
10096 else
10097 ac_cv_crosscflags__Wignored_qualifiers=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10106 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10107 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10112 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int __cdecl mainCRTStartup(void) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wpacked_not_aligned=yes
10127 else
10128 ac_cv_crosscflags__Wpacked_not_aligned=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10137 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10138 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10143 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int __cdecl mainCRTStartup(void) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wpragma_pack=yes
10158 else
10159 ac_cv_crosscflags__Wpragma_pack=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10168 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10169 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10174 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int __cdecl mainCRTStartup(void) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wshift_overflow_2=yes
10189 else
10190 ac_cv_crosscflags__Wshift_overflow_2=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10199 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10200 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10205 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int __cdecl mainCRTStartup(void) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wstrict_prototypes=yes
10220 else
10221 ac_cv_crosscflags__Wstrict_prototypes=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10230 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10231 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10236 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int __cdecl mainCRTStartup(void) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wtype_limits=yes
10251 else
10252 ac_cv_crosscflags__Wtype_limits=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10261 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10262 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10267 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int __cdecl mainCRTStartup(void) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10282 else
10283 ac_cv_crosscflags__Wunused_but_set_parameter=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10292 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10293 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10297 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10298 if ${ac_cv_crosscflags__Wvla+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 ac_wine_try_cflags_saved_cc=$CC
10303 ac_wine_try_cflags_saved_exeext=$ac_exeext
10304 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10305 CC="$CROSSCC"
10306 ac_exeext=".exe"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 int __cdecl mainCRTStartup(void) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_crosscflags__Wvla=yes
10313 else
10314 ac_cv_crosscflags__Wvla=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10319 CC=$ac_wine_try_cflags_saved_cc
10320 ac_exeext=$ac_wine_try_cflags_saved_exeext
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10323 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10324 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10325 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10329 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 ac_wine_try_cflags_saved_cc=$CC
10334 ac_wine_try_cflags_saved_exeext=$ac_exeext
10335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10336 CC="$CROSSCC"
10337 ac_exeext=".exe"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 int __cdecl mainCRTStartup(void) { return 0; }
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_crosscflags__Wwrite_strings=yes
10344 else
10345 ac_cv_crosscflags__Wwrite_strings=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10350 CC=$ac_wine_try_cflags_saved_cc
10351 ac_exeext=$ac_wine_try_cflags_saved_exeext
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10354 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10355 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10360 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__Wpointer_arith=yes
10375 else
10376 ac_cv_crosscflags__Wpointer_arith=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10385 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10386 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10391 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int __cdecl mainCRTStartup(void) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__Wlogical_op=yes
10406 else
10407 ac_cv_crosscflags__Wlogical_op=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10416 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10417 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10421 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10422 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10423 $as_echo_n "(cached) " >&6
10424 else
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 ac_wine_try_cflags_saved_cc=$CC
10427 ac_wine_try_cflags_saved_exeext=$ac_exeext
10428 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10429 CC="$CROSSCC"
10430 ac_exeext=".exe"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 int __cdecl mainCRTStartup(void) { return 0; }
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 ac_cv_crosscflags__Wabsolute_value=yes
10437 else
10438 ac_cv_crosscflags__Wabsolute_value=no
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 CFLAGS=$ac_wine_try_cflags_saved
10443 CC=$ac_wine_try_cflags_saved_cc
10444 ac_exeext=$ac_wine_try_cflags_saved_exeext
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10447 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10448 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10449 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10452 case $host_cpu in
10453 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10454 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10455 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 ac_wine_try_cflags_saved_cc=$CC
10460 ac_wine_try_cflags_saved_exeext=$ac_exeext
10461 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10462 CC="$CROSSCC"
10463 ac_exeext=".exe"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 int __cdecl mainCRTStartup(void) { return 0; }
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10470 else
10471 ac_cv_crosscflags__fno_omit_frame_pointer=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 CFLAGS=$ac_wine_try_cflags_saved
10476 CC=$ac_wine_try_cflags_saved_cc
10477 ac_exeext=$ac_wine_try_cflags_saved_exeext
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10480 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10481 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10483 fi ;;
10484 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10485 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10486 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 ac_wine_try_cflags_saved_cc=$CC
10491 ac_wine_try_cflags_saved_exeext=$ac_exeext
10492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10493 CC="$CROSSCC"
10494 ac_exeext=".exe"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 int __cdecl mainCRTStartup(void) { return 0; }
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_crosscflags__Wno_format=yes
10501 else
10502 ac_cv_crosscflags__Wno_format=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 CFLAGS=$ac_wine_try_cflags_saved
10507 CC=$ac_wine_try_cflags_saved_cc
10508 ac_exeext=$ac_wine_try_cflags_saved_exeext
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10511 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10512 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10513 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10516 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10517 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_wine_try_cflags_saved=$CFLAGS
10521 ac_wine_try_cflags_saved_cc=$CC
10522 ac_wine_try_cflags_saved_exeext=$ac_exeext
10523 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10524 CC="$CROSSCC"
10525 ac_exeext=".exe"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 int __cdecl mainCRTStartup(void) { return 0; }
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 ac_cv_crosscflags__Wformat_overflow=yes
10532 else
10533 ac_cv_crosscflags__Wformat_overflow=no
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 CFLAGS=$ac_wine_try_cflags_saved
10538 CC=$ac_wine_try_cflags_saved_cc
10539 ac_exeext=$ac_wine_try_cflags_saved_exeext
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10542 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10543 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10544 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10547 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10548 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10549 $as_echo_n "(cached) " >&6
10550 else
10551 ac_wine_try_cflags_saved=$CFLAGS
10552 ac_wine_try_cflags_saved_cc=$CC
10553 ac_wine_try_cflags_saved_exeext=$ac_exeext
10554 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10555 CC="$CROSSCC"
10556 ac_exeext=".exe"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 int __cdecl mainCRTStartup(void) { return 0; }
10560 _ACEOF
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 ac_cv_crosscflags__Wnonnull=yes
10563 else
10564 ac_cv_crosscflags__Wnonnull=no
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 CFLAGS=$ac_wine_try_cflags_saved
10569 CC=$ac_wine_try_cflags_saved_cc
10570 ac_exeext=$ac_wine_try_cflags_saved_exeext
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10573 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10574 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10575 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10576 fi ;;
10577 esac
10580 if test -z "$CROSSDEBUG"
10581 then
10582 for ac_flag in $CROSSCFLAGS; do
10583 case $ac_flag in
10584 -gdwarf*) CROSSDEBUG=dwarf ;;
10585 -gcodeview) CROSSDEBUG=pdb ;;
10586 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10587 esac
10588 done
10590 case $CROSSDEBUG in
10591 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10592 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10593 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10594 $as_echo_n "(cached) " >&6
10595 else
10596 ac_wine_try_cflags_saved=$CFLAGS
10597 ac_wine_try_cflags_saved_cc=$CC
10598 ac_wine_try_cflags_saved_exeext=$ac_exeext
10599 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10600 CC="$CROSSCC"
10601 ac_exeext=".exe"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 int __cdecl mainCRTStartup(void) { return 0; }
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 ac_cv_crosscflags__gdwarf_2=yes
10608 else
10609 ac_cv_crosscflags__gdwarf_2=no
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 CFLAGS=$ac_wine_try_cflags_saved
10614 CC=$ac_wine_try_cflags_saved_cc
10615 ac_exeext=$ac_wine_try_cflags_saved_exeext
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10618 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10619 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10623 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10624 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_wine_try_cflags_saved=$CFLAGS
10628 ac_wine_try_cflags_saved_cc=$CC
10629 ac_wine_try_cflags_saved_exeext=$ac_exeext
10630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10631 CC="$CROSSCC"
10632 ac_exeext=".exe"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10635 int __cdecl mainCRTStartup(void) { return 0; }
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 ac_cv_crosscflags__gstrict_dwarf=yes
10639 else
10640 ac_cv_crosscflags__gstrict_dwarf=no
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 CFLAGS=$ac_wine_try_cflags_saved
10645 CC=$ac_wine_try_cflags_saved_cc
10646 ac_exeext=$ac_wine_try_cflags_saved_exeext
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10649 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10650 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10651 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10652 fi ;;
10653 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10654 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10655 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_wine_try_cflags_saved=$CFLAGS
10659 ac_wine_try_cflags_saved_cc=$CC
10660 ac_wine_try_cflags_saved_exeext=$ac_exeext
10661 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10662 CC="$CROSSCC"
10663 ac_exeext=".exe"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10666 int __cdecl mainCRTStartup(void) { return 0; }
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 ac_cv_crosscflags__gcodeview=yes
10670 else
10671 ac_cv_crosscflags__gcodeview=no
10673 rm -f core conftest.err conftest.$ac_objext \
10674 conftest$ac_exeext conftest.$ac_ext
10675 CFLAGS=$ac_wine_try_cflags_saved
10676 CC=$ac_wine_try_cflags_saved_cc
10677 ac_exeext=$ac_wine_try_cflags_saved_exeext
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10680 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10681 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10682 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10683 fi ;;
10684 esac
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10687 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10688 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10689 $as_echo_n "(cached) " >&6
10690 else
10691 ac_wine_try_cflags_saved=$CFLAGS
10692 ac_wine_try_cflags_saved_cc=$CC
10693 ac_wine_try_cflags_saved_exeext=$ac_exeext
10694 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10695 CC="$CROSSCC"
10696 ac_exeext=".exe"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10699 int __cdecl mainCRTStartup(void) { return 0; }
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 ac_cv_crosscflags__fexcess_precision_standard=yes
10703 else
10704 ac_cv_crosscflags__fexcess_precision_standard=no
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 CFLAGS=$ac_wine_try_cflags_saved
10709 CC=$ac_wine_try_cflags_saved_cc
10710 ac_exeext=$ac_wine_try_cflags_saved_exeext
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10713 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10714 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10715 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10719 if test "x$enable_werror" = "xyes"
10720 then
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10722 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10723 if ${ac_cv_crosscflags__Werror+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 ac_wine_try_cflags_saved=$CFLAGS
10727 ac_wine_try_cflags_saved_cc=$CC
10728 ac_wine_try_cflags_saved_exeext=$ac_exeext
10729 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10730 CC="$CROSSCC"
10731 ac_exeext=".exe"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10734 int __cdecl mainCRTStartup(void) { return 0; }
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_crosscflags__Werror=yes
10738 else
10739 ac_cv_crosscflags__Werror=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 CFLAGS=$ac_wine_try_cflags_saved
10744 CC=$ac_wine_try_cflags_saved_cc
10745 ac_exeext=$ac_wine_try_cflags_saved_exeext
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10748 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10749 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10750 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10754 CFLAGS=$saved_CFLAGS
10755 CC="$ac_save_CC"
10758 if test "x$CROSSTARGET" = "x"; then :
10759 case "x$with_mingw" in
10760 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10761 xno) ;;
10762 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10763 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10764 esac
10769 if test "$ac_cv_header_pthread_h" = "yes"
10770 then
10771 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10772 if test "x$ac_cv_func_pthread_create" = xyes; then :
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10776 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10777 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10778 $as_echo_n "(cached) " >&6
10779 else
10780 ac_check_lib_save_LIBS=$LIBS
10781 LIBS="-lpthread $LIBS"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10785 /* Override any GCC internal prototype to avoid an error.
10786 Use char because int might match the return type of a GCC
10787 builtin and then its argument prototype would still apply. */
10788 #ifdef __cplusplus
10789 extern "C"
10790 #endif
10791 char pthread_create ();
10793 main ()
10795 return pthread_create ();
10797 return 0;
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"; then :
10801 ac_cv_lib_pthread_pthread_create=yes
10802 else
10803 ac_cv_lib_pthread_pthread_create=no
10805 rm -f core conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10807 LIBS=$ac_check_lib_save_LIBS
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10810 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10811 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10812 PTHREAD_LIBS="-lpthread"
10819 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10820 case "x$with_pthread" in
10821 xno) ;;
10822 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10823 Wine cannot support threads without libpthread.
10824 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10825 esac
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10831 $as_echo_n "checking for X... " >&6; }
10834 # Check whether --with-x was given.
10835 if test "${with_x+set}" = set; then :
10836 withval=$with_x;
10839 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10840 if test "x$with_x" = xno; then
10841 # The user explicitly disabled X.
10842 have_x=disabled
10843 else
10844 case $x_includes,$x_libraries in #(
10845 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10846 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10847 $as_echo_n "(cached) " >&6
10848 else
10849 # One or both of the vars are not set, and there is no cached value.
10850 ac_x_includes=no ac_x_libraries=no
10851 rm -f -r conftest.dir
10852 if mkdir conftest.dir; then
10853 cd conftest.dir
10854 cat >Imakefile <<'_ACEOF'
10855 incroot:
10856 @echo incroot='${INCROOT}'
10857 usrlibdir:
10858 @echo usrlibdir='${USRLIBDIR}'
10859 libdir:
10860 @echo libdir='${LIBDIR}'
10861 _ACEOF
10862 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10863 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10864 for ac_var in incroot usrlibdir libdir; do
10865 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10866 done
10867 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10868 for ac_extension in a so sl dylib la dll; do
10869 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10870 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10871 ac_im_usrlibdir=$ac_im_libdir; break
10873 done
10874 # Screen out bogus values from the imake configuration. They are
10875 # bogus both because they are the default anyway, and because
10876 # using them would break gcc on systems where it needs fixed includes.
10877 case $ac_im_incroot in
10878 /usr/include) ac_x_includes= ;;
10879 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10880 esac
10881 case $ac_im_usrlibdir in
10882 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10883 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10884 esac
10886 cd ..
10887 rm -f -r conftest.dir
10890 # Standard set of common directories for X headers.
10891 # Check X11 before X11Rn because it is often a symlink to the current release.
10892 ac_x_header_dirs='
10893 /usr/X11/include
10894 /usr/X11R7/include
10895 /usr/X11R6/include
10896 /usr/X11R5/include
10897 /usr/X11R4/include
10899 /usr/include/X11
10900 /usr/include/X11R7
10901 /usr/include/X11R6
10902 /usr/include/X11R5
10903 /usr/include/X11R4
10905 /usr/local/X11/include
10906 /usr/local/X11R7/include
10907 /usr/local/X11R6/include
10908 /usr/local/X11R5/include
10909 /usr/local/X11R4/include
10911 /usr/local/include/X11
10912 /usr/local/include/X11R7
10913 /usr/local/include/X11R6
10914 /usr/local/include/X11R5
10915 /usr/local/include/X11R4
10917 /usr/X386/include
10918 /usr/x386/include
10919 /usr/XFree86/include/X11
10921 /usr/include
10922 /usr/local/include
10923 /usr/unsupported/include
10924 /usr/athena/include
10925 /usr/local/x11r5/include
10926 /usr/lpp/Xamples/include
10928 /usr/openwin/include
10929 /usr/openwin/share/include'
10931 if test "$ac_x_includes" = no; then
10932 # Guess where to find include files, by looking for Xlib.h.
10933 # First, try using that file with no special directory specified.
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 #include <X11/Xlib.h>
10937 _ACEOF
10938 if ac_fn_c_try_cpp "$LINENO"; then :
10939 # We can compile using X headers with no special include directory.
10940 ac_x_includes=
10941 else
10942 for ac_dir in $ac_x_header_dirs; do
10943 if test -r "$ac_dir/X11/Xlib.h"; then
10944 ac_x_includes=$ac_dir
10945 break
10947 done
10949 rm -f conftest.err conftest.i conftest.$ac_ext
10950 fi # $ac_x_includes = no
10952 if test "$ac_x_libraries" = no; then
10953 # Check for the libraries.
10954 # See if we find them without any special options.
10955 # Don't add to $LIBS permanently.
10956 ac_save_LIBS=$LIBS
10957 LIBS="-lX11 $LIBS"
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10960 #include <X11/Xlib.h>
10962 main ()
10964 XrmInitialize ()
10966 return 0;
10968 _ACEOF
10969 if ac_fn_c_try_link "$LINENO"; then :
10970 LIBS=$ac_save_LIBS
10971 # We can link X programs with no special library path.
10972 ac_x_libraries=
10973 else
10974 LIBS=$ac_save_LIBS
10975 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10977 # Don't even attempt the hair of trying to link an X program!
10978 for ac_extension in a so sl dylib la dll; do
10979 if test -r "$ac_dir/libX11.$ac_extension"; then
10980 ac_x_libraries=$ac_dir
10981 break 2
10983 done
10984 done
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 fi # $ac_x_libraries = no
10990 case $ac_x_includes,$ac_x_libraries in #(
10991 no,* | *,no | *\'*)
10992 # Didn't find X, or a directory has "'" in its name.
10993 ac_cv_have_x="have_x=no";; #(
10995 # Record where we found X for the cache.
10996 ac_cv_have_x="have_x=yes\
10997 ac_x_includes='$ac_x_includes'\
10998 ac_x_libraries='$ac_x_libraries'"
10999 esac
11001 ;; #(
11002 *) have_x=yes;;
11003 esac
11004 eval "$ac_cv_have_x"
11005 fi # $with_x != no
11007 if test "$have_x" != yes; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11009 $as_echo "$have_x" >&6; }
11010 no_x=yes
11011 else
11012 # If each of the values was on the command line, it overrides each guess.
11013 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11014 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11015 # Update the cache value to reflect the command line values.
11016 ac_cv_have_x="have_x=yes\
11017 ac_x_includes='$x_includes'\
11018 ac_x_libraries='$x_libraries'"
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11020 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11023 if test "$no_x" = yes; then
11024 # Not all programs may use this symbol, but it does not hurt to define it.
11026 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11028 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11029 else
11030 if test -n "$x_includes"; then
11031 X_CFLAGS="$X_CFLAGS -I$x_includes"
11034 # It would also be nice to do this for all -L options, not just this one.
11035 if test -n "$x_libraries"; then
11036 X_LIBS="$X_LIBS -L$x_libraries"
11037 # For Solaris; some versions of Sun CC require a space after -R and
11038 # others require no space. Words are not sufficient . . . .
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11040 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11041 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11042 ac_xsave_c_werror_flag=$ac_c_werror_flag
11043 ac_c_werror_flag=yes
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11048 main ()
11052 return 0;
11054 _ACEOF
11055 if ac_fn_c_try_link "$LINENO"; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11057 $as_echo "no" >&6; }
11058 X_LIBS="$X_LIBS -R$x_libraries"
11059 else
11060 LIBS="$ac_xsave_LIBS -R $x_libraries"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11065 main ()
11069 return 0;
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11074 $as_echo "yes" >&6; }
11075 X_LIBS="$X_LIBS -R $x_libraries"
11076 else
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11078 $as_echo "neither works" >&6; }
11080 rm -f core conftest.err conftest.$ac_objext \
11081 conftest$ac_exeext conftest.$ac_ext
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 ac_c_werror_flag=$ac_xsave_c_werror_flag
11086 LIBS=$ac_xsave_LIBS
11089 # Check for system-dependent libraries X programs must link with.
11090 # Do this before checking for the system-independent R6 libraries
11091 # (-lICE), since we may need -lsocket or whatever for X linking.
11093 if test "$ISC" = yes; then
11094 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11095 else
11096 # Martyn Johnson says this is needed for Ultrix, if the X
11097 # libraries were built with DECnet support. And Karl Berry says
11098 # the Alpha needs dnet_stub (dnet does not exist).
11099 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char XOpenDisplay ();
11111 main ()
11113 return XOpenDisplay ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11120 else
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11122 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11123 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11124 $as_echo_n "(cached) " >&6
11125 else
11126 ac_check_lib_save_LIBS=$LIBS
11127 LIBS="-ldnet $LIBS"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char dnet_ntoa ();
11139 main ()
11141 return dnet_ntoa ();
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_link "$LINENO"; then :
11147 ac_cv_lib_dnet_dnet_ntoa=yes
11148 else
11149 ac_cv_lib_dnet_dnet_ntoa=no
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_lib_save_LIBS
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11156 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11157 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11158 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11161 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11163 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11164 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-ldnet_stub $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char dnet_ntoa ();
11180 main ()
11182 return dnet_ntoa ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11189 else
11190 ac_cv_lib_dnet_stub_dnet_ntoa=no
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11197 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11198 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11199 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11204 rm -f core conftest.err conftest.$ac_objext \
11205 conftest$ac_exeext conftest.$ac_ext
11206 LIBS="$ac_xsave_LIBS"
11208 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11209 # to get the SysV transport functions.
11210 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11211 # needs -lnsl.
11212 # The nsl library prevents programs from opening the X display
11213 # on Irix 5.2, according to T.E. Dickey.
11214 # The functions gethostbyname, getservbyname, and inet_addr are
11215 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11216 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11217 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11221 if test $ac_cv_func_gethostbyname = no; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11223 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11224 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11225 $as_echo_n "(cached) " >&6
11226 else
11227 ac_check_lib_save_LIBS=$LIBS
11228 LIBS="-lnsl $LIBS"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11235 #ifdef __cplusplus
11236 extern "C"
11237 #endif
11238 char gethostbyname ();
11240 main ()
11242 return gethostbyname ();
11244 return 0;
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"; then :
11248 ac_cv_lib_nsl_gethostbyname=yes
11249 else
11250 ac_cv_lib_nsl_gethostbyname=no
11252 rm -f core conftest.err conftest.$ac_objext \
11253 conftest$ac_exeext conftest.$ac_ext
11254 LIBS=$ac_check_lib_save_LIBS
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11257 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11258 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11262 if test $ac_cv_lib_nsl_gethostbyname = no; then
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11264 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11265 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lbsd $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char gethostbyname ();
11281 main ()
11283 return gethostbyname ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_bsd_gethostbyname=yes
11290 else
11291 ac_cv_lib_bsd_gethostbyname=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11298 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11299 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11300 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11306 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11307 # socket/setsockopt and other routines are undefined under SCO ODT
11308 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11309 # on later versions), says Simon Leinen: it contains gethostby*
11310 # variants that don't use the name server (or something). -lsocket
11311 # must be given before -lnsl if both are needed. We assume that
11312 # if connect needs -lnsl, so does gethostbyname.
11313 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11314 if test "x$ac_cv_func_connect" = xyes; then :
11318 if test $ac_cv_func_connect = no; then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11320 $as_echo_n "checking for connect in -lsocket... " >&6; }
11321 if ${ac_cv_lib_socket_connect+:} false; then :
11322 $as_echo_n "(cached) " >&6
11323 else
11324 ac_check_lib_save_LIBS=$LIBS
11325 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11332 #ifdef __cplusplus
11333 extern "C"
11334 #endif
11335 char connect ();
11337 main ()
11339 return connect ();
11341 return 0;
11343 _ACEOF
11344 if ac_fn_c_try_link "$LINENO"; then :
11345 ac_cv_lib_socket_connect=yes
11346 else
11347 ac_cv_lib_socket_connect=no
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11354 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11355 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11356 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11361 # Guillermo Gomez says -lposix is necessary on A/UX.
11362 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11363 if test "x$ac_cv_func_remove" = xyes; then :
11367 if test $ac_cv_func_remove = no; then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11369 $as_echo_n "checking for remove in -lposix... " >&6; }
11370 if ${ac_cv_lib_posix_remove+:} false; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-lposix $LIBS"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11381 #ifdef __cplusplus
11382 extern "C"
11383 #endif
11384 char remove ();
11386 main ()
11388 return remove ();
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394 ac_cv_lib_posix_remove=yes
11395 else
11396 ac_cv_lib_posix_remove=no
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_lib_save_LIBS
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11403 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11404 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11410 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11411 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11412 if test "x$ac_cv_func_shmat" = xyes; then :
11416 if test $ac_cv_func_shmat = no; then
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11418 $as_echo_n "checking for shmat in -lipc... " >&6; }
11419 if ${ac_cv_lib_ipc_shmat+:} false; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 ac_check_lib_save_LIBS=$LIBS
11423 LIBS="-lipc $LIBS"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char shmat ();
11435 main ()
11437 return shmat ();
11439 return 0;
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 ac_cv_lib_ipc_shmat=yes
11444 else
11445 ac_cv_lib_ipc_shmat=no
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_lib_save_LIBS
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11452 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11453 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11454 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11460 # Check for libraries that X11R6 Xt/Xaw programs need.
11461 ac_save_LDFLAGS=$LDFLAGS
11462 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11463 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11464 # check for ICE first), but we must link in the order -lSM -lICE or
11465 # we get undefined symbols. So assume we have SM if we have ICE.
11466 # These have to be linked with before -lX11, unlike the other
11467 # libraries we check for below, so use a different variable.
11468 # John Interrante, Karl Berry
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11470 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11471 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char IceConnectionNumber ();
11487 main ()
11489 return IceConnectionNumber ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_ICE_IceConnectionNumber=yes
11496 else
11497 ac_cv_lib_ICE_IceConnectionNumber=no
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11504 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11505 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11506 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11509 LDFLAGS=$ac_save_LDFLAGS
11514 if test "$have_x" = "yes"
11515 then
11516 ac_save_CPPFLAGS="$CPPFLAGS"
11517 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11520 $as_echo_n "checking for -lX11... " >&6; }
11521 if ${ac_cv_lib_soname_X11+:} false; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_soname_save_LIBS=$LIBS
11525 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char XCreateWindow ();
11537 main ()
11539 return XCreateWindow ();
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 case "$LIBEXT" in
11546 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11547 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'` ;;
11548 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11549 if ${ac_cv_lib_soname_X11:+false} :; then :
11550 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11551 fi ;;
11552 esac
11553 else
11554 ac_cv_lib_soname_X11=
11556 rm -f core conftest.err conftest.$ac_objext \
11557 conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_soname_save_LIBS
11560 if ${ac_cv_lib_soname_X11:+false} :; then :
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11562 $as_echo "not found" >&6; }
11564 else
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11566 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11568 cat >>confdefs.h <<_ACEOF
11569 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11570 _ACEOF
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11575 $as_echo_n "checking for -lXext... " >&6; }
11576 if ${ac_cv_lib_soname_Xext+:} false; then :
11577 $as_echo_n "(cached) " >&6
11578 else
11579 ac_check_soname_save_LIBS=$LIBS
11580 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char XextCreateExtension ();
11592 main ()
11594 return XextCreateExtension ();
11596 return 0;
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 case "$LIBEXT" in
11601 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11604 if ${ac_cv_lib_soname_Xext:+false} :; then :
11605 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11606 fi ;;
11607 esac
11608 else
11609 ac_cv_lib_soname_Xext=
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_Xext:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11621 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11623 cat >>confdefs.h <<_ACEOF
11624 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11625 _ACEOF
11627 X_LIBS="$X_LIBS -lXext"
11629 X_LIBS="$X_LIBS -lX11"
11631 for ac_header in X11/Xlib.h \
11632 X11/XKBlib.h \
11633 X11/Xutil.h \
11634 X11/Xcursor/Xcursor.h \
11635 X11/extensions/shape.h \
11636 X11/extensions/XInput.h \
11637 X11/extensions/XInput2.h \
11638 X11/extensions/XShm.h \
11639 X11/extensions/Xcomposite.h \
11640 X11/extensions/Xfixes.h \
11641 X11/extensions/Xinerama.h \
11642 X11/extensions/Xrandr.h \
11643 X11/extensions/Xrender.h \
11644 X11/extensions/xf86vmode.h \
11645 X11/extensions/xf86vmproto.h
11646 do :
11647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11649 # include <X11/Xlib.h>
11650 #endif
11651 #ifdef HAVE_X11_XUTIL_H
11652 # include <X11/Xutil.h>
11653 #endif
11655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11656 cat >>confdefs.h <<_ACEOF
11657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11658 _ACEOF
11662 done
11665 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11666 then
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11668 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11669 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_lib_save_LIBS=$LIBS
11673 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char XkbQueryExtension ();
11685 main ()
11687 return XkbQueryExtension ();
11689 return 0;
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 ac_cv_lib_X11_XkbQueryExtension=yes
11694 else
11695 ac_cv_lib_X11_XkbQueryExtension=no
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11702 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11703 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11705 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11711 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11712 then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11714 $as_echo_n "checking for -lXcursor... " >&6; }
11715 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11716 $as_echo_n "(cached) " >&6
11717 else
11718 ac_check_soname_save_LIBS=$LIBS
11719 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11726 #ifdef __cplusplus
11727 extern "C"
11728 #endif
11729 char XcursorImageLoadCursor ();
11731 main ()
11733 return XcursorImageLoadCursor ();
11735 return 0;
11737 _ACEOF
11738 if ac_fn_c_try_link "$LINENO"; then :
11739 case "$LIBEXT" in
11740 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11741 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'` ;;
11742 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11743 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11744 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11745 fi ;;
11746 esac
11747 else
11748 ac_cv_lib_soname_Xcursor=
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_soname_save_LIBS
11754 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11756 $as_echo "not found" >&6; }
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11760 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11762 cat >>confdefs.h <<_ACEOF
11763 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11764 _ACEOF
11769 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11770 case "x$with_xcursor" in
11771 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11774 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11775 esac
11779 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11780 then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11782 $as_echo_n "checking for -lXi... " >&6; }
11783 if ${ac_cv_lib_soname_Xi+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_soname_save_LIBS=$LIBS
11787 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char XOpenDevice ();
11799 main ()
11801 return XOpenDevice ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 case "$LIBEXT" in
11808 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11809 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'` ;;
11810 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11811 if ${ac_cv_lib_soname_Xi:+false} :; then :
11812 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11813 fi ;;
11814 esac
11815 else
11816 ac_cv_lib_soname_Xi=
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_soname_save_LIBS
11822 if ${ac_cv_lib_soname_Xi:+false} :; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11826 else
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11828 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11830 cat >>confdefs.h <<_ACEOF
11831 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11832 _ACEOF
11837 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11838 case "x$with_xinput" in
11839 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11840 xno) ;;
11841 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11842 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11843 esac
11847 if test "x$ac_cv_lib_soname_Xi" != x
11848 then
11849 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11850 case "x$with_xinput2" in
11851 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11852 xno) ;;
11853 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11854 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11855 esac
11860 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11861 then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11863 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11864 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_lib_save_LIBS=$LIBS
11868 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char XShmQueryExtension ();
11880 main ()
11882 return XShmQueryExtension ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 ac_cv_lib_Xext_XShmQueryExtension=yes
11889 else
11890 ac_cv_lib_Xext_XShmQueryExtension=no
11892 rm -f core conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LIBS=$ac_check_lib_save_LIBS
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11897 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11898 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11900 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11905 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11906 case "x$with_xshm" in
11907 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11910 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11916 then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11918 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11919 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_lib_save_LIBS=$LIBS
11923 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char XShapeQueryExtension ();
11935 main ()
11937 return XShapeQueryExtension ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ac_cv_lib_Xext_XShapeQueryExtension=yes
11944 else
11945 ac_cv_lib_Xext_XShapeQueryExtension=no
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11952 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11953 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11955 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11960 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11961 case "x$with_xshape" in
11962 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11963 xno) ;;
11964 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11965 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11971 then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11973 $as_echo_n "checking for -lXxf86vm... " >&6; }
11974 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11975 $as_echo_n "(cached) " >&6
11976 else
11977 ac_check_soname_save_LIBS=$LIBS
11978 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11985 #ifdef __cplusplus
11986 extern "C"
11987 #endif
11988 char XF86VidModeQueryExtension ();
11990 main ()
11992 return XF86VidModeQueryExtension ();
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_link "$LINENO"; then :
11998 case "$LIBEXT" in
11999 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12000 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'` ;;
12001 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12002 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12003 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12004 fi ;;
12005 esac
12006 else
12007 ac_cv_lib_soname_Xxf86vm=
12009 rm -f core conftest.err conftest.$ac_objext \
12010 conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_soname_save_LIBS
12013 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12015 $as_echo "not found" >&6; }
12017 else
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12019 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12021 cat >>confdefs.h <<_ACEOF
12022 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12023 _ACEOF
12028 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12029 case "x$with_xxf86vm" in
12030 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12031 xno) ;;
12032 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12033 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12034 esac
12038 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12039 then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12041 $as_echo_n "checking for -lXrender... " >&6; }
12042 if ${ac_cv_lib_soname_Xrender+:} false; then :
12043 $as_echo_n "(cached) " >&6
12044 else
12045 ac_check_soname_save_LIBS=$LIBS
12046 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12053 #ifdef __cplusplus
12054 extern "C"
12055 #endif
12056 char XRenderQueryExtension ();
12058 main ()
12060 return XRenderQueryExtension ();
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_link "$LINENO"; then :
12066 case "$LIBEXT" in
12067 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12068 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'` ;;
12069 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12070 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12071 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12072 fi ;;
12073 esac
12074 else
12075 ac_cv_lib_soname_Xrender=
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_soname_save_LIBS
12081 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12083 $as_echo "not found" >&6; }
12085 else
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12087 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12089 cat >>confdefs.h <<_ACEOF
12090 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12091 _ACEOF
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12094 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12095 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12096 $as_echo_n "(cached) " >&6
12097 else
12098 ac_check_lib_save_LIBS=$LIBS
12099 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 #ifdef __cplusplus
12107 extern "C"
12108 #endif
12109 char XRenderSetPictureTransform ();
12111 main ()
12113 return XRenderSetPictureTransform ();
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"; then :
12119 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12120 else
12121 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12123 rm -f core conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12128 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12129 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12131 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12136 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12137 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12138 $as_echo_n "(cached) " >&6
12139 else
12140 ac_check_lib_save_LIBS=$LIBS
12141 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12148 #ifdef __cplusplus
12149 extern "C"
12150 #endif
12151 char XRenderCreateLinearGradient ();
12153 main ()
12155 return XRenderCreateLinearGradient ();
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_link "$LINENO"; then :
12161 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12162 else
12163 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12165 rm -f core conftest.err conftest.$ac_objext \
12166 conftest$ac_exeext conftest.$ac_ext
12167 LIBS=$ac_check_lib_save_LIBS
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12170 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12171 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12173 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12180 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12181 case "x$with_xrender" in
12182 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12183 xno) ;;
12184 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12185 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12186 esac
12190 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12191 then
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12194 #include <X11/Xlib.h>
12195 #include <X11/extensions/Xrandr.h>
12197 main ()
12199 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_compile "$LINENO"; then :
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12206 $as_echo_n "checking for -lXrandr... " >&6; }
12207 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12208 $as_echo_n "(cached) " >&6
12209 else
12210 ac_check_soname_save_LIBS=$LIBS
12211 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12215 /* Override any GCC internal prototype to avoid an error.
12216 Use char because int might match the return type of a GCC
12217 builtin and then its argument prototype would still apply. */
12218 #ifdef __cplusplus
12219 extern "C"
12220 #endif
12221 char XRRQueryExtension ();
12223 main ()
12225 return XRRQueryExtension ();
12227 return 0;
12229 _ACEOF
12230 if ac_fn_c_try_link "$LINENO"; then :
12231 case "$LIBEXT" in
12232 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12233 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'` ;;
12234 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12235 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12236 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12237 fi ;;
12238 esac
12239 else
12240 ac_cv_lib_soname_Xrandr=
12242 rm -f core conftest.err conftest.$ac_objext \
12243 conftest$ac_exeext conftest.$ac_ext
12244 LIBS=$ac_check_soname_save_LIBS
12246 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12248 $as_echo "not found" >&6; }
12250 else
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12252 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12254 cat >>confdefs.h <<_ACEOF
12255 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12256 _ACEOF
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12260 #include <X11/Xlib.h>
12261 #include <X11/extensions/Xrandr.h>
12263 main ()
12265 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_compile "$LINENO"; then :
12272 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12278 #include <X11/Xlib.h>
12279 #include <X11/extensions/Xrandr.h>
12281 main ()
12283 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_compile "$LINENO"; then :
12290 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12292 else
12293 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12300 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12301 case "x$with_xrandr" in
12302 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12303 xno) ;;
12304 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12305 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12306 esac
12310 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12311 then
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 #include <X11/Xlib.h>
12315 #include <X11/extensions/Xfixes.h>
12317 main ()
12319 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12321 return 0;
12323 _ACEOF
12324 if ac_fn_c_try_compile "$LINENO"; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12326 $as_echo_n "checking for -lXfixes... " >&6; }
12327 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12328 $as_echo_n "(cached) " >&6
12329 else
12330 ac_check_soname_save_LIBS=$LIBS
12331 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12335 /* Override any GCC internal prototype to avoid an error.
12336 Use char because int might match the return type of a GCC
12337 builtin and then its argument prototype would still apply. */
12338 #ifdef __cplusplus
12339 extern "C"
12340 #endif
12341 char XFixesQueryVersion ();
12343 main ()
12345 return XFixesQueryVersion ();
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"; then :
12351 case "$LIBEXT" in
12352 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12353 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'` ;;
12354 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12355 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12356 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12357 fi ;;
12358 esac
12359 else
12360 ac_cv_lib_soname_Xfixes=
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 LIBS=$ac_check_soname_save_LIBS
12366 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12368 $as_echo "not found" >&6; }
12370 else
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12372 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12374 cat >>confdefs.h <<_ACEOF
12375 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12376 _ACEOF
12381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12383 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12384 case "x$with_xfixes" in
12385 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12386 xno) ;;
12387 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12388 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12389 esac
12393 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12394 then
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12397 #include <X11/Xlib.h>
12398 #include <X11/extensions/Xinerama.h>
12400 main ()
12402 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_compile "$LINENO"; then :
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12409 $as_echo_n "checking for -lXinerama... " >&6; }
12410 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_check_soname_save_LIBS=$LIBS
12414 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12421 #ifdef __cplusplus
12422 extern "C"
12423 #endif
12424 char XineramaQueryScreens ();
12426 main ()
12428 return XineramaQueryScreens ();
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_link "$LINENO"; then :
12434 case "$LIBEXT" in
12435 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12436 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'` ;;
12437 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12438 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12439 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12440 fi ;;
12441 esac
12442 else
12443 ac_cv_lib_soname_Xinerama=
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_soname_save_LIBS
12449 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12451 $as_echo "not found" >&6; }
12453 else
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12455 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12457 cat >>confdefs.h <<_ACEOF
12458 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12459 _ACEOF
12464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12466 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12467 case "x$with_xinerama" in
12468 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12469 xno) ;;
12470 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12471 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12472 esac
12476 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12477 then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12479 $as_echo_n "checking for -lXcomposite... " >&6; }
12480 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12481 $as_echo_n "(cached) " >&6
12482 else
12483 ac_check_soname_save_LIBS=$LIBS
12484 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char XCompositeRedirectWindow ();
12496 main ()
12498 return XCompositeRedirectWindow ();
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_link "$LINENO"; then :
12504 case "$LIBEXT" in
12505 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12506 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'` ;;
12507 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12509 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12510 fi ;;
12511 esac
12512 else
12513 ac_cv_lib_soname_Xcomposite=
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_soname_save_LIBS
12519 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12521 $as_echo "not found" >&6; }
12523 else
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12525 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12527 cat >>confdefs.h <<_ACEOF
12528 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12529 _ACEOF
12534 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12535 case "x$with_xcomposite" in
12536 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12537 xno) ;;
12538 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12539 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12540 esac
12544 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12545 #include <X11/Xlib.h>
12546 #endif
12548 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12550 cat >>confdefs.h <<_ACEOF
12551 #define HAVE_XICCALLBACK_CALLBACK 1
12552 _ACEOF
12556 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12557 #include <X11/Xlib.h>
12558 #endif
12560 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define HAVE_XEVENT_XCOOKIE 1
12564 _ACEOF
12571 opengl_msg=""
12572 if test "x$with_opengl" != "xno"
12573 then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12575 $as_echo_n "checking for -lGL... " >&6; }
12576 if ${ac_cv_lib_soname_GL+:} false; then :
12577 $as_echo_n "(cached) " >&6
12578 else
12579 ac_check_soname_save_LIBS=$LIBS
12580 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 #ifdef __cplusplus
12588 extern "C"
12589 #endif
12590 char glXCreateContext ();
12592 main ()
12594 return glXCreateContext ();
12596 return 0;
12598 _ACEOF
12599 if ac_fn_c_try_link "$LINENO"; then :
12600 case "$LIBEXT" in
12601 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12602 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'` ;;
12603 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12604 if ${ac_cv_lib_soname_GL:+false} :; then :
12605 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12606 fi ;;
12607 esac
12608 else
12609 ac_cv_lib_soname_GL=
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_soname_save_LIBS
12615 if ${ac_cv_lib_soname_GL:+false} :; then :
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12617 $as_echo "not found" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12619 $as_echo_n "checking for -lGL... " >&6; }
12620 if ${ac_cv_lib_soname_GL+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_soname_save_LIBS=$LIBS
12624 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"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char glXCreateContext ();
12636 main ()
12638 return glXCreateContext ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 case "$LIBEXT" in
12645 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12646 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'` ;;
12647 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12648 if ${ac_cv_lib_soname_GL:+false} :; then :
12649 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12650 fi ;;
12651 esac
12652 else
12653 ac_cv_lib_soname_GL=
12655 rm -f core conftest.err conftest.$ac_objext \
12656 conftest$ac_exeext conftest.$ac_ext
12657 LIBS=$ac_check_soname_save_LIBS
12659 if ${ac_cv_lib_soname_GL:+false} :; then :
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12661 $as_echo "not found" >&6; }
12662 if test -f /usr/X11R6/lib/libGL.a
12663 then
12664 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12665 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12666 else
12667 opengl_msg="No OpenGL library found on this system."
12669 else
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12673 cat >>confdefs.h <<_ACEOF
12674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12675 _ACEOF
12677 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"
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12681 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12685 _ACEOF
12687 OPENGL_LIBS="-lGL"
12689 if test "x$with_glu" != "xno"
12690 then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12692 $as_echo_n "checking for -lGLU... " >&6; }
12693 if ${ac_cv_lib_soname_GLU+:} false; then :
12694 $as_echo_n "(cached) " >&6
12695 else
12696 ac_check_soname_save_LIBS=$LIBS
12697 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 char gluLookAt ();
12709 main ()
12711 return gluLookAt ();
12713 return 0;
12715 _ACEOF
12716 if ac_fn_c_try_link "$LINENO"; then :
12717 case "$LIBEXT" in
12718 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12719 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'` ;;
12720 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12721 if ${ac_cv_lib_soname_GLU:+false} :; then :
12722 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12723 fi ;;
12724 esac
12725 else
12726 ac_cv_lib_soname_GLU=
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_soname_save_LIBS
12732 if ${ac_cv_lib_soname_GLU:+false} :; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12734 $as_echo "not found" >&6; }
12736 else
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12738 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12740 cat >>confdefs.h <<_ACEOF
12741 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12742 _ACEOF
12746 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12747 case "x$with_glu" in
12748 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12749 xno) ;;
12750 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12751 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12752 esac
12757 if test "x$with_osmesa" != "xno"
12758 then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12760 $as_echo_n "checking for -lOSMesa... " >&6; }
12761 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 ac_check_soname_save_LIBS=$LIBS
12765 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char OSMesaGetProcAddress ();
12777 main ()
12779 return OSMesaGetProcAddress ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 case "$LIBEXT" in
12786 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12787 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'` ;;
12788 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12789 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12790 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12791 fi ;;
12792 esac
12793 else
12794 ac_cv_lib_soname_OSMesa=
12796 rm -f core conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_soname_save_LIBS
12800 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12802 $as_echo "not found" >&6; }
12804 else
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12806 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12808 cat >>confdefs.h <<_ACEOF
12809 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12810 _ACEOF
12814 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12815 case "x$with_osmesa" in
12816 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12817 xno) ;;
12818 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12819 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12820 esac
12825 if test -n "$opengl_msg"; then :
12826 case "x$with_opengl" in
12827 x) as_fn_append wine_warnings "|$opengl_msg
12828 OpenGL and Direct3D won't be supported." ;;
12829 xno) ;;
12830 *) as_fn_error $? "$opengl_msg
12831 OpenGL and Direct3D won't be supported.
12832 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12833 esac
12837 CPPFLAGS="$ac_save_CPPFLAGS"
12838 else
12839 X_CFLAGS=""
12840 X_LIBS=""
12843 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12844 then
12845 if test "x$X_LIBS" = "x"; then :
12846 case "x$with_x" in
12847 xno) ;;
12848 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12849 without X support, which probably isn't what you want. You will need
12850 to install ${notice_platform}development packages of Xlib at the very least.
12851 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12852 esac
12853 enable_winex11_drv=${enable_winex11_drv:-no}
12855 else
12856 if test "x$X_LIBS" = "x"; then :
12857 case "x$with_x" in
12858 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12859 xno) ;;
12860 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12861 This is an error since --with-x was requested." "$LINENO" 5 ;;
12862 esac
12863 enable_winex11_drv=${enable_winex11_drv:-no}
12867 if test "$ac_cv_header_CL_cl_h" = "yes"
12868 then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12870 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12871 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12872 $as_echo_n "(cached) " >&6
12873 else
12874 ac_check_lib_save_LIBS=$LIBS
12875 LIBS="-lOpenCL $LIBS"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 #ifdef __cplusplus
12883 extern "C"
12884 #endif
12885 char clGetPlatformInfo ();
12887 main ()
12889 return clGetPlatformInfo ();
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_link "$LINENO"; then :
12895 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12896 else
12897 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12899 rm -f core conftest.err conftest.$ac_objext \
12900 conftest$ac_exeext conftest.$ac_ext
12901 LIBS=$ac_check_lib_save_LIBS
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12904 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12905 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12906 OPENCL_LIBS="-lOpenCL"
12911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12912 case "x$with_opencl" in
12913 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12914 xno) ;;
12915 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12916 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12917 esac
12918 enable_opencl=${enable_opencl:-no}
12921 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12922 then
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12924 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12925 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_check_lib_save_LIBS=$LIBS
12929 LIBS="-lpcap $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 #ifdef __cplusplus
12937 extern "C"
12938 #endif
12939 char pcap_create ();
12941 main ()
12943 return pcap_create ();
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_link "$LINENO"; then :
12949 ac_cv_lib_pcap_pcap_create=yes
12950 else
12951 ac_cv_lib_pcap_pcap_create=no
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS=$ac_check_lib_save_LIBS
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12958 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12959 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12960 PCAP_LIBS="-lpcap"
12965 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12966 case "x$with_pcap" in
12967 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12968 xno) ;;
12969 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12970 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12971 esac
12972 enable_wpcap=${enable_wpcap:-no}
12976 if test "x$with_xml" != "xno"
12977 then
12978 if ${XML2_CFLAGS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12983 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12984 if ${XML2_LIBS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12989 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12990 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12993 ac_save_CPPFLAGS=$CPPFLAGS
12994 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12995 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12996 do :
12997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12998 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13000 cat >>confdefs.h <<_ACEOF
13001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13002 _ACEOF
13006 done
13008 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"
13009 then
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13011 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13012 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-lxml2 $XML2_LIBS $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char xmlParseMemory ();
13028 main ()
13030 return xmlParseMemory ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 ac_cv_lib_xml2_xmlParseMemory=yes
13037 else
13038 ac_cv_lib_xml2_xmlParseMemory=no
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13045 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13046 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13048 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13050 else
13051 XML2_LIBS=""
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13055 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13056 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-lxml2 $XML2_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char xmlReadMemory ();
13072 main ()
13074 return xmlReadMemory ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 ac_cv_lib_xml2_xmlReadMemory=yes
13081 else
13082 ac_cv_lib_xml2_xmlReadMemory=no
13084 rm -f core conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13089 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13090 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13092 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13097 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13098 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_lib_save_LIBS=$LIBS
13102 LIBS="-lxml2 $XML2_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char xmlNewDocPI ();
13114 main ()
13116 return xmlNewDocPI ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 ac_cv_lib_xml2_xmlNewDocPI=yes
13123 else
13124 ac_cv_lib_xml2_xmlNewDocPI=no
13126 rm -f core conftest.err conftest.$ac_objext \
13127 conftest$ac_exeext conftest.$ac_ext
13128 LIBS=$ac_check_lib_save_LIBS
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13131 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13132 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13134 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13139 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13140 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_check_lib_save_LIBS=$LIBS
13144 LIBS="-lxml2 $XML2_LIBS $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char xmlSchemaSetParserStructuredErrors ();
13156 main ()
13158 return xmlSchemaSetParserStructuredErrors ();
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13165 else
13166 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_lib_save_LIBS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13173 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13174 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13176 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13181 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13182 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13183 $as_echo_n "(cached) " >&6
13184 else
13185 ac_check_lib_save_LIBS=$LIBS
13186 LIBS="-lxml2 $XML2_LIBS $LIBS"
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13193 #ifdef __cplusplus
13194 extern "C"
13195 #endif
13196 char xmlSchemaSetValidStructuredErrors ();
13198 main ()
13200 return xmlSchemaSetValidStructuredErrors ();
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_link "$LINENO"; then :
13206 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13207 else
13208 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_lib_save_LIBS
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13215 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13216 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13218 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13223 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13224 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13225 $as_echo_n "(cached) " >&6
13226 else
13227 ac_check_lib_save_LIBS=$LIBS
13228 LIBS="-lxml2 $XML2_LIBS $LIBS"
13229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13232 /* Override any GCC internal prototype to avoid an error.
13233 Use char because int might match the return type of a GCC
13234 builtin and then its argument prototype would still apply. */
13235 #ifdef __cplusplus
13236 extern "C"
13237 #endif
13238 char xmlFirstElementChild ();
13240 main ()
13242 return xmlFirstElementChild ();
13244 return 0;
13246 _ACEOF
13247 if ac_fn_c_try_link "$LINENO"; then :
13248 ac_cv_lib_xml2_xmlFirstElementChild=yes
13249 else
13250 ac_cv_lib_xml2_xmlFirstElementChild=no
13252 rm -f core conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_lib_save_LIBS
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13257 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13258 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13260 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13264 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13266 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13268 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13272 else
13273 XML2_CFLAGS=""
13274 XML2_LIBS=""
13276 CPPFLAGS=$ac_save_CPPFLAGS
13277 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13278 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13281 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13282 case "x$with_xml" in
13283 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13284 xno) ;;
13285 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13286 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13287 esac
13291 if test "x$with_xslt" != "xno"
13292 then
13293 if ${XSLT_CFLAGS:+false} :; then :
13294 if ${PKG_CONFIG+:} false; then :
13295 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13298 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13299 if ${XSLT_LIBS:+false} :; then :
13300 if ${PKG_CONFIG+:} false; then :
13301 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13304 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13305 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13306 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13307 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13308 ac_save_CPPFLAGS=$CPPFLAGS
13309 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13310 for ac_header in libxslt/pattern.h libxslt/transform.h
13311 do :
13312 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13313 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13314 # include <libxslt/pattern.h>
13315 #endif
13317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13318 cat >>confdefs.h <<_ACEOF
13319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13320 _ACEOF
13324 done
13326 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13327 then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13329 $as_echo_n "checking for -lxslt... " >&6; }
13330 if ${ac_cv_lib_soname_xslt+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 ac_check_soname_save_LIBS=$LIBS
13334 LIBS="-lxslt $XSLT_LIBS $LIBS"
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13341 #ifdef __cplusplus
13342 extern "C"
13343 #endif
13344 char xsltCompilePattern ();
13346 main ()
13348 return xsltCompilePattern ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"; then :
13354 case "$LIBEXT" in
13355 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13356 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'` ;;
13357 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13358 if ${ac_cv_lib_soname_xslt:+false} :; then :
13359 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13360 fi ;;
13361 esac
13362 else
13363 ac_cv_lib_soname_xslt=
13365 rm -f core conftest.err conftest.$ac_objext \
13366 conftest$ac_exeext conftest.$ac_ext
13367 LIBS=$ac_check_soname_save_LIBS
13369 if ${ac_cv_lib_soname_xslt:+false} :; then :
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13371 $as_echo "not found" >&6; }
13373 else
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13375 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13377 cat >>confdefs.h <<_ACEOF
13378 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13379 _ACEOF
13383 else
13384 XSLT_CFLAGS=""
13386 CPPFLAGS=$ac_save_CPPFLAGS
13387 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13388 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13391 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13392 case "x$with_xslt" in
13393 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13396 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13397 esac
13401 if test "x$with_inotify" != "xno"
13402 then
13403 if ${INOTIFY_CFLAGS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13409 if ${INOTIFY_LIBS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13416 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13417 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13418 ac_save_CPPFLAGS=$CPPFLAGS
13419 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13420 for ac_header in sys/inotify.h
13421 do :
13422 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13423 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13424 cat >>confdefs.h <<_ACEOF
13425 #define HAVE_SYS_INOTIFY_H 1
13426 _ACEOF
13430 done
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13433 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13434 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 ac_check_lib_save_LIBS=$LIBS
13438 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char inotify_add_watch ();
13450 main ()
13452 return inotify_add_watch ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 ac_cv_lib_inotify_inotify_add_watch=yes
13459 else
13460 ac_cv_lib_inotify_inotify_add_watch=no
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_lib_save_LIBS
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13467 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13468 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13470 else
13471 INOTIFY_LIBS=""
13474 CPPFLAGS=$ac_save_CPPFLAGS
13475 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13476 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13479 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13480 case "x$with_inotify" in
13481 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13482 xno) ;;
13483 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13484 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13485 esac
13489 if test "x$with_dbus" != "xno"
13490 then
13491 if ${DBUS_CFLAGS:+false} :; then :
13492 if ${PKG_CONFIG+:} false; then :
13493 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13497 if ${DBUS_LIBS:+false} :; then :
13498 if ${PKG_CONFIG+:} false; then :
13499 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13504 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13505 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13506 ac_save_CPPFLAGS=$CPPFLAGS
13507 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13508 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13509 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13511 $as_echo_n "checking for -ldbus-1... " >&6; }
13512 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13513 $as_echo_n "(cached) " >&6
13514 else
13515 ac_check_soname_save_LIBS=$LIBS
13516 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 /* Override any GCC internal prototype to avoid an error.
13521 Use char because int might match the return type of a GCC
13522 builtin and then its argument prototype would still apply. */
13523 #ifdef __cplusplus
13524 extern "C"
13525 #endif
13526 char dbus_connection_close ();
13528 main ()
13530 return dbus_connection_close ();
13532 return 0;
13534 _ACEOF
13535 if ac_fn_c_try_link "$LINENO"; then :
13536 case "$LIBEXT" in
13537 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13538 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'` ;;
13539 *) 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'`
13540 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13541 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13542 fi ;;
13543 esac
13544 else
13545 ac_cv_lib_soname_dbus_1=
13547 rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549 LIBS=$ac_check_soname_save_LIBS
13551 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13553 $as_echo "not found" >&6; }
13554 DBUS_CFLAGS=""
13555 else
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13557 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13559 cat >>confdefs.h <<_ACEOF
13560 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13561 _ACEOF
13565 else
13566 DBUS_CFLAGS=""
13570 CPPFLAGS=$ac_save_CPPFLAGS
13571 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13572 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13575 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13576 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13577 case "x$with_dbus" in
13578 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13579 xno) ;;
13580 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13581 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13582 esac
13586 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13587 then
13588 if ${HAL_CFLAGS:+false} :; then :
13589 if ${PKG_CONFIG+:} false; then :
13590 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13594 if ${HAL_LIBS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13600 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13601 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13602 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13603 ac_save_CPPFLAGS=$CPPFLAGS
13604 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13605 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13606 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13608 $as_echo_n "checking for -lhal... " >&6; }
13609 if ${ac_cv_lib_soname_hal+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_check_soname_save_LIBS=$LIBS
13613 LIBS="-lhal $HAL_LIBS $LIBS"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char libhal_ctx_new ();
13625 main ()
13627 return libhal_ctx_new ();
13629 return 0;
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 case "$LIBEXT" in
13634 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13635 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'` ;;
13636 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13637 if ${ac_cv_lib_soname_hal:+false} :; then :
13638 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13639 fi ;;
13640 esac
13641 else
13642 ac_cv_lib_soname_hal=
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 LIBS=$ac_check_soname_save_LIBS
13648 if ${ac_cv_lib_soname_hal:+false} :; then :
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13650 $as_echo "not found" >&6; }
13651 HAL_CFLAGS=""
13652 else
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13654 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13656 cat >>confdefs.h <<_ACEOF
13657 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13658 _ACEOF
13662 else
13663 HAL_CFLAGS=""
13667 CPPFLAGS=$ac_save_CPPFLAGS
13668 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13669 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13671 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13672 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13673 case "x$with_hal" in
13674 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13675 xno) ;;
13676 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13677 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13678 esac
13683 if test "x$with_gnutls" != "xno"
13684 then
13685 if ${GNUTLS_CFLAGS:+false} :; then :
13686 if ${PKG_CONFIG+:} false; then :
13687 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13691 if ${GNUTLS_LIBS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13697 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13698 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13699 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13700 ac_save_CPPFLAGS=$CPPFLAGS
13701 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13702 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13703 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 #include <gnutls/gnutls.h>
13707 #include <gnutls/crypto.h>
13709 main ()
13711 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13713 return 0;
13715 _ACEOF
13716 if ac_fn_c_try_compile "$LINENO"; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13718 $as_echo_n "checking for -lgnutls... " >&6; }
13719 if ${ac_cv_lib_soname_gnutls+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 ac_check_soname_save_LIBS=$LIBS
13723 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13730 #ifdef __cplusplus
13731 extern "C"
13732 #endif
13733 char gnutls_global_init ();
13735 main ()
13737 return gnutls_global_init ();
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 case "$LIBEXT" in
13744 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13745 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'` ;;
13746 *) 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'`
13747 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13748 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'`
13749 fi ;;
13750 esac
13751 else
13752 ac_cv_lib_soname_gnutls=
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_soname_save_LIBS
13758 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13760 $as_echo "not found" >&6; }
13761 GNUTLS_CFLAGS=""
13762 else
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13764 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13766 cat >>confdefs.h <<_ACEOF
13767 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13768 _ACEOF
13772 ac_wine_check_funcs_save_LIBS="$LIBS"
13773 LIBS="$LIBS $GNUTLS_LIBS"
13774 for ac_func in gnutls_cipher_init
13775 do :
13776 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13777 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13778 cat >>confdefs.h <<_ACEOF
13779 #define HAVE_GNUTLS_CIPHER_INIT 1
13780 _ACEOF
13782 else
13783 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13785 done
13787 LIBS="$ac_wine_check_funcs_save_LIBS"
13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13790 else
13791 GNUTLS_CFLAGS=""
13795 CPPFLAGS=$ac_save_CPPFLAGS
13796 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13797 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13800 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13801 case "x$with_gnutls" in
13802 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13803 xno) ;;
13804 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13805 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13806 esac
13810 CURSES_LIBS=""
13811 if test "$ac_cv_header_ncurses_h" = "yes"
13812 then
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13814 $as_echo_n "checking for -lncurses... " >&6; }
13815 if ${ac_cv_lib_soname_ncurses+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_check_soname_save_LIBS=$LIBS
13819 LIBS="-lncurses $LIBS"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13823 /* Override any GCC internal prototype to avoid an error.
13824 Use char because int might match the return type of a GCC
13825 builtin and then its argument prototype would still apply. */
13826 #ifdef __cplusplus
13827 extern "C"
13828 #endif
13829 char waddch ();
13831 main ()
13833 return waddch ();
13835 return 0;
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"; then :
13839 case "$LIBEXT" in
13840 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13841 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'` ;;
13842 *) 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'`
13843 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13844 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13845 fi ;;
13846 esac
13847 else
13848 ac_cv_lib_soname_ncurses=
13850 rm -f core conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13852 LIBS=$ac_check_soname_save_LIBS
13854 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13856 $as_echo "not found" >&6; }
13858 else
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13860 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13862 cat >>confdefs.h <<_ACEOF
13863 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13864 _ACEOF
13866 CURSES_LIBS="-lncurses"
13868 elif test "$ac_cv_header_curses_h" = "yes"
13869 then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13871 $as_echo_n "checking for -lcurses... " >&6; }
13872 if ${ac_cv_lib_soname_curses+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_check_soname_save_LIBS=$LIBS
13876 LIBS="-lcurses $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 #ifdef __cplusplus
13884 extern "C"
13885 #endif
13886 char waddch ();
13888 main ()
13890 return waddch ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 case "$LIBEXT" in
13897 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13898 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'` ;;
13899 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13900 if ${ac_cv_lib_soname_curses:+false} :; then :
13901 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13902 fi ;;
13903 esac
13904 else
13905 ac_cv_lib_soname_curses=
13907 rm -f core conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_soname_save_LIBS
13911 if ${ac_cv_lib_soname_curses:+false} :; then :
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13913 $as_echo "not found" >&6; }
13915 else
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13917 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13919 cat >>confdefs.h <<_ACEOF
13920 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13921 _ACEOF
13923 CURSES_LIBS="-lcurses"
13926 ac_save_LIBS="$LIBS"
13927 LIBS="$LIBS $CURSES_LIBS"
13928 for ac_func in mousemask
13929 do :
13930 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13931 if test "x$ac_cv_func_mousemask" = xyes; then :
13932 cat >>confdefs.h <<_ACEOF
13933 #define HAVE_MOUSEMASK 1
13934 _ACEOF
13937 done
13939 LIBS="$ac_save_LIBS"
13940 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13941 case "x$with_curses" in
13942 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13943 xno) ;;
13944 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13945 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13946 esac
13950 if test "x$with_sane" != "xno"
13951 then
13952 if ${SANE_CFLAGS:+false} :; then :
13953 if ${PKG_CONFIG+:} false; then :
13954 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13957 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13958 if ${SANE_LIBS:+false} :; then :
13959 if ${PKG_CONFIG+:} false; then :
13960 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13963 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13965 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13966 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13967 ac_save_CPPFLAGS=$CPPFLAGS
13968 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13969 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13970 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13972 $as_echo_n "checking for -lsane... " >&6; }
13973 if ${ac_cv_lib_soname_sane+:} false; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 ac_check_soname_save_LIBS=$LIBS
13977 LIBS="-lsane $SANE_LIBS $LIBS"
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13981 /* Override any GCC internal prototype to avoid an error.
13982 Use char because int might match the return type of a GCC
13983 builtin and then its argument prototype would still apply. */
13984 #ifdef __cplusplus
13985 extern "C"
13986 #endif
13987 char sane_init ();
13989 main ()
13991 return sane_init ();
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 case "$LIBEXT" in
13998 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13999 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'` ;;
14000 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14001 if ${ac_cv_lib_soname_sane:+false} :; then :
14002 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14003 fi ;;
14004 esac
14005 else
14006 ac_cv_lib_soname_sane=
14008 rm -f core conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 LIBS=$ac_check_soname_save_LIBS
14012 if ${ac_cv_lib_soname_sane:+false} :; then :
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14014 $as_echo "not found" >&6; }
14015 SANE_CFLAGS=""
14016 else
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14018 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14020 cat >>confdefs.h <<_ACEOF
14021 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14022 _ACEOF
14026 else
14027 SANE_CFLAGS=""
14031 CPPFLAGS=$ac_save_CPPFLAGS
14032 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14033 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14036 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14037 case "x$with_sane" in
14038 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14039 xno) ;;
14040 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14041 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14042 esac
14046 if test "x$with_usb" != "xno"
14047 then
14048 if ${USB_CFLAGS:+false} :; then :
14049 if ${PKG_CONFIG+:} false; then :
14050 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14054 if ${USB_LIBS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14060 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14061 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14063 ac_save_CPPFLAGS=$CPPFLAGS
14064 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14065 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14066 if test "x$ac_cv_header_libusb_h" = xyes; then :
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14068 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14069 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_check_lib_save_LIBS=$LIBS
14073 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char libusb_interrupt_event_handler ();
14085 main ()
14087 return libusb_interrupt_event_handler ();
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14094 else
14095 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14097 rm -f core conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 LIBS=$ac_check_lib_save_LIBS
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14102 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14103 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14105 else
14106 USB_LIBS=""
14109 else
14110 USB_LIBS=""
14114 CPPFLAGS=$ac_save_CPPFLAGS
14115 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14116 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14119 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14120 case "x$with_usb" in
14121 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14122 xno) ;;
14123 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14124 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14125 esac
14126 enable_wineusb_sys=${enable_wineusb_sys:-no}
14129 if test "x$with_v4l2" != "xno"
14130 then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14132 $as_echo_n "checking for -lv4l2... " >&6; }
14133 if ${ac_cv_lib_soname_v4l2+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_check_soname_save_LIBS=$LIBS
14137 LIBS="-lv4l2 $LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14144 #ifdef __cplusplus
14145 extern "C"
14146 #endif
14147 char v4l2_open ();
14149 main ()
14151 return v4l2_open ();
14153 return 0;
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"; then :
14157 case "$LIBEXT" in
14158 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14159 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'` ;;
14160 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14161 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14162 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14163 fi ;;
14164 esac
14165 else
14166 ac_cv_lib_soname_v4l2=
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 LIBS=$ac_check_soname_save_LIBS
14172 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14174 $as_echo "not found" >&6; }
14176 else
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14178 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14180 cat >>confdefs.h <<_ACEOF
14181 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14182 _ACEOF
14187 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14188 case "x$with_v4l2" in
14189 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14190 xno) ;;
14191 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14192 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14193 esac
14197 if test "x$with_gphoto" != "xno"
14198 then
14199 if ${GPHOTO2_CFLAGS:+false} :; then :
14200 if ${PKG_CONFIG+:} false; then :
14201 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14204 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14205 if ${GPHOTO2_LIBS:+false} :; then :
14206 if ${PKG_CONFIG+:} false; then :
14207 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14210 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14211 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14212 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14213 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14214 ac_save_CPPFLAGS=$CPPFLAGS
14215 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14216 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14217 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14219 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14220 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 ac_check_lib_save_LIBS=$LIBS
14224 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14228 /* Override any GCC internal prototype to avoid an error.
14229 Use char because int might match the return type of a GCC
14230 builtin and then its argument prototype would still apply. */
14231 #ifdef __cplusplus
14232 extern "C"
14233 #endif
14234 char gp_camera_new ();
14236 main ()
14238 return gp_camera_new ();
14240 return 0;
14242 _ACEOF
14243 if ac_fn_c_try_link "$LINENO"; then :
14244 ac_cv_lib_gphoto2_gp_camera_new=yes
14245 else
14246 ac_cv_lib_gphoto2_gp_camera_new=no
14248 rm -f core conftest.err conftest.$ac_objext \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_lib_save_LIBS
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14253 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14254 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14256 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14258 else
14259 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14262 else
14263 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14267 CPPFLAGS=$ac_save_CPPFLAGS
14268 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14269 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14271 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14272 if ${PKG_CONFIG+:} false; then :
14273 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14276 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14277 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14278 if ${PKG_CONFIG+:} false; then :
14279 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14282 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14283 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14284 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14285 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14286 ac_save_CPPFLAGS=$CPPFLAGS
14287 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14288 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14289 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14291 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14292 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14293 $as_echo_n "(cached) " >&6
14294 else
14295 ac_check_lib_save_LIBS=$LIBS
14296 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14300 /* Override any GCC internal prototype to avoid an error.
14301 Use char because int might match the return type of a GCC
14302 builtin and then its argument prototype would still apply. */
14303 #ifdef __cplusplus
14304 extern "C"
14305 #endif
14306 char gp_port_info_list_new ();
14308 main ()
14310 return gp_port_info_list_new ();
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14317 else
14318 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14325 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14326 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14328 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14330 else
14331 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14334 else
14335 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14339 CPPFLAGS=$ac_save_CPPFLAGS
14340 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14341 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14344 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14345 case "x$with_gphoto" in
14346 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14347 xno) ;;
14348 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14349 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14350 esac
14353 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14354 case "x$with_gphoto" in
14355 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14356 xno) ;;
14357 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14358 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14359 esac
14364 if test "$ac_cv_header_resolv_h" = "yes"
14365 then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14367 $as_echo_n "checking for resolver library... " >&6; }
14368 if ${ac_cv_have_resolv+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_save_LIBS="$LIBS"
14372 for lib in '' -lresolv
14374 LIBS="$lib $ac_save_LIBS"
14375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14376 /* end confdefs.h. */
14377 #ifdef HAVE_NETINET_IN_H
14378 #include <netinet/in.h>
14379 #endif
14380 #include <resolv.h>
14382 main ()
14384 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_have_resolv=${lib:-"none required"}
14391 else
14392 ac_cv_have_resolv="not found"
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 test "x$ac_cv_have_resolv" = "xnot found" || break
14397 done
14398 LIBS="$ac_save_LIBS"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14401 $as_echo "$ac_cv_have_resolv" >&6; }
14403 case "$ac_cv_have_resolv" in
14404 "not found") ;;
14405 "none required")
14407 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14410 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14412 RESOLV_LIBS=$ac_cv_have_resolv
14414 esac
14416 if test "x$ac_cv_have_resolv" != "xnot found"
14417 then
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14419 $as_echo_n "checking for res_getservers... " >&6; }
14420 if ${ac_cv_have_res_getservers+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 ac_save_LIBS="$LIBS"
14424 LIBS="$RESOLV_LIBS $LIBS"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 #include <resolv.h>
14429 main ()
14431 res_getservers(NULL, NULL, 0);
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_have_res_getservers=yes
14438 else
14439 ac_cv_have_res_getservers=no
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14443 LIBS="$ac_save_LIBS"
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14446 $as_echo "$ac_cv_have_res_getservers" >&6; }
14447 if test "$ac_cv_have_res_getservers" = "yes"
14448 then
14450 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14456 if test "x$with_cms" != "xno"
14457 then
14458 if ${LCMS2_CFLAGS:+false} :; then :
14459 if ${PKG_CONFIG+:} false; then :
14460 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14464 if ${LCMS2_LIBS:+false} :; then :
14465 if ${PKG_CONFIG+:} false; then :
14466 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14470 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14471 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14472 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14473 ac_save_CPPFLAGS=$CPPFLAGS
14474 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14475 for ac_header in lcms2.h
14476 do :
14477 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14478 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14479 cat >>confdefs.h <<_ACEOF
14480 #define HAVE_LCMS2_H 1
14481 _ACEOF
14485 done
14487 if test "$ac_cv_header_lcms2_h" = "yes"
14488 then
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14490 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14491 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_check_lib_save_LIBS=$LIBS
14495 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14499 /* Override any GCC internal prototype to avoid an error.
14500 Use char because int might match the return type of a GCC
14501 builtin and then its argument prototype would still apply. */
14502 #ifdef __cplusplus
14503 extern "C"
14504 #endif
14505 char cmsOpenProfileFromFile ();
14507 main ()
14509 return cmsOpenProfileFromFile ();
14511 return 0;
14513 _ACEOF
14514 if ac_fn_c_try_link "$LINENO"; then :
14515 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14516 else
14517 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521 LIBS=$ac_check_lib_save_LIBS
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14524 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14525 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14527 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14529 else
14530 LCMS2_LIBS=""
14533 else
14534 LCMS2_CFLAGS=""
14535 LCMS2_LIBS=""
14537 CPPFLAGS=$ac_save_CPPFLAGS
14538 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14539 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14542 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14543 case "x$with_cms" in
14544 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14545 xno) ;;
14546 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14547 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14548 esac
14552 if test "x$with_freetype" != "xno"
14553 then
14554 if ${FREETYPE_CFLAGS:+false} :; then :
14555 if ${PKG_CONFIG+:} false; then :
14556 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14559 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14560 if ${FREETYPE_LIBS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14565 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14566 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14567 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14568 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14569 ac_save_CPPFLAGS=$CPPFLAGS
14570 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14571 for ac_header in ft2build.h
14572 do :
14573 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14574 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14575 cat >>confdefs.h <<_ACEOF
14576 #define HAVE_FT2BUILD_H 1
14577 _ACEOF
14581 done
14583 if test "$ac_cv_header_ft2build_h" = "yes"
14584 then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14586 $as_echo_n "checking for -lfreetype... " >&6; }
14587 if ${ac_cv_lib_soname_freetype+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_check_soname_save_LIBS=$LIBS
14591 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 #ifdef __cplusplus
14599 extern "C"
14600 #endif
14601 char FT_Init_FreeType ();
14603 main ()
14605 return FT_Init_FreeType ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 case "$LIBEXT" in
14612 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14613 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'` ;;
14614 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14615 if ${ac_cv_lib_soname_freetype:+false} :; then :
14616 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14617 fi ;;
14618 esac
14619 else
14620 ac_cv_lib_soname_freetype=
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 LIBS=$ac_check_soname_save_LIBS
14626 if ${ac_cv_lib_soname_freetype:+false} :; then :
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14628 $as_echo "not found" >&6; }
14629 FREETYPE_LIBS=""
14630 else
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14632 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14634 cat >>confdefs.h <<_ACEOF
14635 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14636 _ACEOF
14639 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14641 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14642 #include FT_MODULE_H
14644 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14646 cat >>confdefs.h <<_ACEOF
14647 #define HAVE_FT_TRUETYPEENGINETYPE 1
14648 _ACEOF
14654 else
14655 FREETYPE_CFLAGS=""
14656 FREETYPE_LIBS=""
14658 CPPFLAGS=$ac_save_CPPFLAGS
14659 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14660 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14663 if test "x$ac_cv_lib_soname_freetype" = x; then :
14664 case "x$with_freetype" in
14665 xno) ;;
14666 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14667 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14668 esac
14669 enable_fonts=${enable_fonts:-no}
14672 ac_wine_check_funcs_save_LIBS="$LIBS"
14673 LIBS="$LIBS $PTHREAD_LIBS"
14674 for ac_func in \
14675 pthread_getthreadid_np
14676 do :
14677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14682 _ACEOF
14685 done
14687 LIBS="$ac_wine_check_funcs_save_LIBS"
14689 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14690 then
14691 if test "$ac_cv_header_gettext_po_h" = "yes"
14692 then
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14694 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14695 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_check_lib_save_LIBS=$LIBS
14699 LIBS="-lgettextpo $LIBS"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 #ifdef __cplusplus
14707 extern "C"
14708 #endif
14709 char po_message_msgctxt ();
14711 main ()
14713 return po_message_msgctxt ();
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_link "$LINENO"; then :
14719 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14720 else
14721 ac_cv_lib_gettextpo_po_message_msgctxt=no
14723 rm -f core conftest.err conftest.$ac_objext \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_lib_save_LIBS
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14728 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14729 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14731 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14733 GETTEXTPO_LIBS="-lgettextpo"
14738 if test "x$GETTEXTPO_LIBS" = "x"; then :
14739 case "x$with_gettextpo" in
14740 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14741 xno) ;;
14742 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14743 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14744 esac
14747 if test "$srcdir" != .; then :
14748 case "x$with_gettextpo" in
14749 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14750 xno) ;;
14751 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14752 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14753 esac
14758 if test "x$with_pulse" != "xno";
14759 then
14760 if ${PULSE_CFLAGS:+false} :; then :
14761 if ${PKG_CONFIG+:} false; then :
14762 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14766 if ${PULSE_LIBS:+false} :; then :
14767 if ${PKG_CONFIG+:} false; then :
14768 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14773 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14774 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14775 ac_save_CPPFLAGS=$CPPFLAGS
14776 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14777 for ac_header in pulse/pulseaudio.h
14778 do :
14779 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14780 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14781 cat >>confdefs.h <<_ACEOF
14782 #define HAVE_PULSE_PULSEAUDIO_H 1
14783 _ACEOF
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14785 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14786 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_check_lib_save_LIBS=$LIBS
14790 LIBS="-lpulse $PULSE_LIBS $LIBS"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 #ifdef __cplusplus
14798 extern "C"
14799 #endif
14800 char pa_stream_is_corked ();
14802 main ()
14804 return pa_stream_is_corked ();
14806 return 0;
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_lib_pulse_pa_stream_is_corked=yes
14811 else
14812 ac_cv_lib_pulse_pa_stream_is_corked=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14819 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14820 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14822 else
14823 PULSE_LIBS=""
14826 else
14827 PULSE_LIBS=""
14830 done
14832 CPPFLAGS=$ac_save_CPPFLAGS
14833 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14834 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14837 if test -z "$PULSE_LIBS"; then :
14838 case "x$with_pulse" in
14839 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14840 xno) ;;
14841 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14842 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14843 esac
14844 enable_winepulse_drv=${enable_winepulse_drv:-no}
14847 if test "x$with_gstreamer" != "xno"
14848 then
14849 if ${GSTREAMER_CFLAGS:+false} :; then :
14850 if ${PKG_CONFIG+:} false; then :
14851 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14855 if ${GSTREAMER_LIBS:+false} :; then :
14856 if ${PKG_CONFIG+:} false; then :
14857 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14862 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14863 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14864 ac_save_CPPFLAGS=$CPPFLAGS
14865 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14866 ac_gst_incl=""
14867 for i in $GSTREAMER_CFLAGS
14869 case "$i" in
14870 -I*) ac_gst_incl="$ac_gst_incl $i";;
14871 esac
14872 done
14873 GSTREAMER_CFLAGS=$ac_gst_incl
14874 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14875 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14876 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14878 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 #include <gst/gst.h>
14883 main ()
14885 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14887 return 0;
14889 _ACEOF
14890 if ac_fn_c_try_compile "$LINENO"; then :
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14892 $as_echo "yes" >&6; }
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14894 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14895 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 ac_check_lib_save_LIBS=$LIBS
14899 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14906 #ifdef __cplusplus
14907 extern "C"
14908 #endif
14909 char gst_pad_new ();
14911 main ()
14913 return gst_pad_new ();
14915 return 0;
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14920 else
14921 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14928 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14929 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14933 else
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14935 $as_echo "no" >&6; }
14936 ac_glib2_broken=yes
14937 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14943 CPPFLAGS=$ac_save_CPPFLAGS
14944 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14945 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14948 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 :
14949 case "x$with_gstreamer" in
14950 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14951 xno) ;;
14952 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14953 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14954 esac
14957 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14959 ALSA_LIBS=""
14961 if test "x$with_alsa" != "xno"
14962 then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14964 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14965 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 ac_check_lib_save_LIBS=$LIBS
14969 LIBS="-lasound $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 #ifdef __cplusplus
14977 extern "C"
14978 #endif
14979 char snd_pcm_hw_params_get_access_mask ();
14981 main ()
14983 return snd_pcm_hw_params_get_access_mask ();
14985 return 0;
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14990 else
14991 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14993 rm -f core conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_lib_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14998 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14999 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15002 #include <alsa/asoundlib.h>
15004 main ()
15006 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15008 return 0;
15010 _ACEOF
15011 if ac_fn_c_try_compile "$LINENO"; then :
15012 ALSA_LIBS="-lasound"
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15020 if test "x$with_oss" != xno
15021 then
15022 ac_save_CPPFLAGS="$CPPFLAGS"
15023 if test -f /etc/oss.conf
15024 then
15025 . /etc/oss.conf
15027 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15028 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15029 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15030 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15031 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15033 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15035 cat >>confdefs.h <<_ACEOF
15036 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15037 _ACEOF
15039 OSS4_CFLAGS="$ac_oss_incl"
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15042 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15043 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15044 $as_echo_n "(cached) " >&6
15045 else
15046 ac_check_lib_save_LIBS=$LIBS
15047 LIBS="-lossaudio $LIBS"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15054 #ifdef __cplusplus
15055 extern "C"
15056 #endif
15057 char _oss_ioctl ();
15059 main ()
15061 return _oss_ioctl ();
15063 return 0;
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 ac_cv_lib_ossaudio__oss_ioctl=yes
15068 else
15069 ac_cv_lib_ossaudio__oss_ioctl=no
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15073 LIBS=$ac_check_lib_save_LIBS
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15076 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15077 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15078 OSS4_LIBS="-lossaudio"
15087 CPPFLAGS="$ac_save_CPPFLAGS"
15089 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15090 case "x$with_oss" in
15091 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15092 xno) ;;
15093 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15094 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15095 esac
15096 enable_wineoss_drv=${enable_wineoss_drv:-no}
15099 if test "x$with_udev" != "xno"
15100 then
15101 if ${UDEV_CFLAGS:+false} :; then :
15102 if ${PKG_CONFIG+:} false; then :
15103 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15107 if ${UDEV_LIBS:+false} :; then :
15108 if ${PKG_CONFIG+:} false; then :
15109 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15113 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15114 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15115 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15116 ac_save_CPPFLAGS=$CPPFLAGS
15117 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15118 for ac_header in libudev.h
15119 do :
15120 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15121 if test "x$ac_cv_header_libudev_h" = xyes; then :
15122 cat >>confdefs.h <<_ACEOF
15123 #define HAVE_LIBUDEV_H 1
15124 _ACEOF
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15126 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15127 if ${ac_cv_lib_udev_udev_new+:} false; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_check_lib_save_LIBS=$LIBS
15131 LIBS="-ludev $UDEV_LIBS $LIBS"
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15135 /* Override any GCC internal prototype to avoid an error.
15136 Use char because int might match the return type of a GCC
15137 builtin and then its argument prototype would still apply. */
15138 #ifdef __cplusplus
15139 extern "C"
15140 #endif
15141 char udev_new ();
15143 main ()
15145 return udev_new ();
15147 return 0;
15149 _ACEOF
15150 if ac_fn_c_try_link "$LINENO"; then :
15151 ac_cv_lib_udev_udev_new=yes
15152 else
15153 ac_cv_lib_udev_udev_new=no
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157 LIBS=$ac_check_lib_save_LIBS
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15160 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15161 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15163 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15165 else
15166 UDEV_LIBS=""
15169 else
15170 UDEV_LIBS=""
15173 done
15175 CPPFLAGS=$ac_save_CPPFLAGS
15176 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15177 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15180 if test "x$UDEV_LIBS" = "x"; then :
15181 case "x$with_udev" in
15182 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15183 xno) ;;
15184 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15185 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15186 esac
15190 if test "x$with_unwind" != xno
15191 then
15192 if ${UNWIND_CFLAGS:+false} :; then :
15193 if ${PKG_CONFIG+:} false; then :
15194 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15198 if ${UNWIND_LIBS:+false} :; then :
15199 if ${PKG_CONFIG+:} false; then :
15200 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15204 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15205 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15206 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15207 ac_save_CPPFLAGS=$CPPFLAGS
15208 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15210 $as_echo_n "checking for unw_step... " >&6; }
15211 if ${wine_cv_have_unw_step+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216 #define UNW_LOCAL_ONLY
15217 #include <libunwind.h>
15219 main ()
15221 unw_cursor_t cursor; unw_step( &cursor );
15223 return 0;
15225 _ACEOF
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 wine_cv_have_unw_step="yes"
15228 else
15229 wine_cv_have_unw_step="no"
15231 rm -f core conftest.err conftest.$ac_objext \
15232 conftest$ac_exeext conftest.$ac_ext
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15235 $as_echo "$wine_cv_have_unw_step" >&6; }
15236 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15237 then
15238 save_libs=$LIBS
15239 LIBS="$UNWIND_LIBS $LIBS"
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15241 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15242 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 #define UNW_LOCAL_ONLY
15248 #include <libunwind.h>
15250 main ()
15252 unw_cursor_t cursor; unw_step( &cursor );
15254 return 0;
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 wine_cv_have_libunwind_unw_step="yes"
15259 else
15260 wine_cv_have_libunwind_unw_step="no"
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15266 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15267 LIBS=$save_libs
15269 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15270 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15271 then
15273 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15276 CPPFLAGS=$ac_save_CPPFLAGS
15277 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15278 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15281 case $host in
15282 aarch64*|*-darwin*)
15283 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15284 case "x$with_unwind" in
15285 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15286 xno) ;;
15287 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15288 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15289 esac
15291 fi ;;
15292 esac
15294 if test "x$with_sdl" != "xno"
15295 then
15296 if ${SDL2_CFLAGS:+false} :; then :
15297 if ${PKG_CONFIG+:} false; then :
15298 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15302 if ${SDL2_LIBS:+false} :; then :
15303 if ${PKG_CONFIG+:} false; then :
15304 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15308 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15309 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15310 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15311 ac_save_CPPFLAGS=$CPPFLAGS
15312 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15313 for ac_header in SDL2/SDL.h
15314 do :
15315 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15316 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15317 cat >>confdefs.h <<_ACEOF
15318 #define HAVE_SDL2_SDL_H 1
15319 _ACEOF
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15321 $as_echo_n "checking for -lSDL2... " >&6; }
15322 if ${ac_cv_lib_soname_SDL2+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 ac_check_soname_save_LIBS=$LIBS
15326 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15330 /* Override any GCC internal prototype to avoid an error.
15331 Use char because int might match the return type of a GCC
15332 builtin and then its argument prototype would still apply. */
15333 #ifdef __cplusplus
15334 extern "C"
15335 #endif
15336 char SDL_Init ();
15338 main ()
15340 return SDL_Init ();
15342 return 0;
15344 _ACEOF
15345 if ac_fn_c_try_link "$LINENO"; then :
15346 case "$LIBEXT" in
15347 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15348 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'` ;;
15349 *) 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'`
15350 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15351 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15352 fi ;;
15353 esac
15354 else
15355 ac_cv_lib_soname_SDL2=
15357 rm -f core conftest.err conftest.$ac_objext \
15358 conftest$ac_exeext conftest.$ac_ext
15359 LIBS=$ac_check_soname_save_LIBS
15361 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15363 $as_echo "not found" >&6; }
15365 else
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15367 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15369 cat >>confdefs.h <<_ACEOF
15370 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15371 _ACEOF
15377 done
15379 CPPFLAGS=$ac_save_CPPFLAGS
15380 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15381 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15384 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15385 case "x$with_sdl" in
15386 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15387 xno) ;;
15388 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15389 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15390 esac
15394 if test "x$with_faudio" != "xno"
15395 then
15396 if ${FAUDIO_CFLAGS:+false} :; then :
15397 if ${PKG_CONFIG+:} false; then :
15398 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15402 if ${FAUDIO_LIBS:+false} :; then :
15403 if ${PKG_CONFIG+:} false; then :
15404 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15408 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15409 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15410 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15411 ac_save_CPPFLAGS=$CPPFLAGS
15412 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15413 for ac_header in FAudio.h
15414 do :
15415 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15416 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15417 cat >>confdefs.h <<_ACEOF
15418 #define HAVE_FAUDIO_H 1
15419 _ACEOF
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15421 $as_echo_n "checking for -lFAudio... " >&6; }
15422 if ${ac_cv_lib_soname_FAudio+:} false; then :
15423 $as_echo_n "(cached) " >&6
15424 else
15425 ac_check_soname_save_LIBS=$LIBS
15426 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h. */
15430 /* Override any GCC internal prototype to avoid an error.
15431 Use char because int might match the return type of a GCC
15432 builtin and then its argument prototype would still apply. */
15433 #ifdef __cplusplus
15434 extern "C"
15435 #endif
15436 char FAudioCreate ();
15438 main ()
15440 return FAudioCreate ();
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_link "$LINENO"; then :
15446 case "$LIBEXT" in
15447 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15448 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'` ;;
15449 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15450 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15451 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15452 fi ;;
15453 esac
15454 else
15455 ac_cv_lib_soname_FAudio=
15457 rm -f core conftest.err conftest.$ac_objext \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_soname_save_LIBS
15461 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15463 $as_echo "not found" >&6; }
15465 else
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15467 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15469 cat >>confdefs.h <<_ACEOF
15470 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15471 _ACEOF
15477 done
15479 ac_wine_check_funcs_save_LIBS="$LIBS"
15480 LIBS="$LIBS $FAUDIO_LIBS"
15481 for ac_func in FAudio_CommitOperationSet \
15482 F3DAudioInitialize8 \
15483 FAudioLinkedVersion
15484 do :
15485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15490 _ACEOF
15493 done
15495 LIBS="$ac_wine_check_funcs_save_LIBS"
15497 CPPFLAGS=$ac_save_CPPFLAGS
15498 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15499 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15502 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15503 case "x$with_faudio" in
15504 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15505 xno) ;;
15506 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15507 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15508 esac
15512 if test "x$with_capi" != "xno"
15513 then
15514 if ${CAPI20_CFLAGS:+false} :; then :
15515 if ${PKG_CONFIG+:} false; then :
15516 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15520 if ${CAPI20_LIBS:+false} :; then :
15521 if ${PKG_CONFIG+:} false; then :
15522 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15527 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15528 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15529 ac_save_CPPFLAGS=$CPPFLAGS
15530 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15531 for ac_header in capi20.h linux/capi.h
15532 do :
15533 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15534 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15536 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15537 cat >>confdefs.h <<_ACEOF
15538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15539 _ACEOF
15543 done
15545 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15546 then
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15548 $as_echo_n "checking for -lcapi20... " >&6; }
15549 if ${ac_cv_lib_soname_capi20+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 ac_check_soname_save_LIBS=$LIBS
15553 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15557 /* Override any GCC internal prototype to avoid an error.
15558 Use char because int might match the return type of a GCC
15559 builtin and then its argument prototype would still apply. */
15560 #ifdef __cplusplus
15561 extern "C"
15562 #endif
15563 char capi20_register ();
15565 main ()
15567 return capi20_register ();
15569 return 0;
15571 _ACEOF
15572 if ac_fn_c_try_link "$LINENO"; then :
15573 case "$LIBEXT" in
15574 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15575 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'` ;;
15576 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15577 if ${ac_cv_lib_soname_capi20:+false} :; then :
15578 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15579 fi ;;
15580 esac
15581 else
15582 ac_cv_lib_soname_capi20=
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15586 LIBS=$ac_check_soname_save_LIBS
15588 if ${ac_cv_lib_soname_capi20:+false} :; then :
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15590 $as_echo "not found" >&6; }
15592 else
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15594 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15596 cat >>confdefs.h <<_ACEOF
15597 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15598 _ACEOF
15603 CPPFLAGS=$ac_save_CPPFLAGS
15604 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15605 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15608 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15609 case "x$with_capi" in
15610 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15611 xno) ;;
15612 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15613 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15614 esac
15618 if test "x$with_cups" != "xno"
15619 then
15620 if ${CUPS_CFLAGS:+false} :; then :
15621 if ${PKG_CONFIG+:} false; then :
15622 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15625 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15626 if ${CUPS_LIBS:+false} :; then :
15627 if ${PKG_CONFIG+:} false; then :
15628 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15631 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15632 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15633 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15634 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15635 ac_save_CPPFLAGS=$CPPFLAGS
15636 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15637 for ac_header in cups/cups.h cups/ppd.h
15638 do :
15639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15640 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15644 _ACEOF
15648 done
15650 if test "$ac_cv_header_cups_cups_h" = "yes"
15651 then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15653 $as_echo_n "checking for -lcups... " >&6; }
15654 if ${ac_cv_lib_soname_cups+:} false; then :
15655 $as_echo_n "(cached) " >&6
15656 else
15657 ac_check_soname_save_LIBS=$LIBS
15658 LIBS="-lcups $CUPS_LIBS $LIBS"
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 #ifdef __cplusplus
15666 extern "C"
15667 #endif
15668 char cupsGetDefault ();
15670 main ()
15672 return cupsGetDefault ();
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"; then :
15678 case "$LIBEXT" in
15679 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15680 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'` ;;
15681 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15682 if ${ac_cv_lib_soname_cups:+false} :; then :
15683 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15684 fi ;;
15685 esac
15686 else
15687 ac_cv_lib_soname_cups=
15689 rm -f core conftest.err conftest.$ac_objext \
15690 conftest$ac_exeext conftest.$ac_ext
15691 LIBS=$ac_check_soname_save_LIBS
15693 if ${ac_cv_lib_soname_cups:+false} :; then :
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15695 $as_echo "not found" >&6; }
15696 CUPS_LIBS=""
15697 else
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15699 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15701 cat >>confdefs.h <<_ACEOF
15702 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15703 _ACEOF
15707 else
15708 CUPS_CFLAGS=""
15709 CUPS_LIBS=""
15711 CPPFLAGS=$ac_save_CPPFLAGS
15712 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15713 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15716 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15717 case "x$with_cups" in
15718 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15719 xno) ;;
15720 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15721 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15722 esac
15726 if test "x$with_fontconfig" != "xno"
15727 then
15728 if ${FONTCONFIG_CFLAGS:+false} :; then :
15729 if ${PKG_CONFIG+:} false; then :
15730 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15733 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15734 if ${FONTCONFIG_LIBS:+false} :; then :
15735 if ${PKG_CONFIG+:} false; then :
15736 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15739 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15741 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15742 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15743 ac_save_CPPFLAGS=$CPPFLAGS
15744 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15745 for ac_header in fontconfig/fontconfig.h
15746 do :
15747 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15748 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15751 _ACEOF
15755 done
15757 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15758 then
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15760 $as_echo_n "checking for -lfontconfig... " >&6; }
15761 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15762 $as_echo_n "(cached) " >&6
15763 else
15764 ac_check_soname_save_LIBS=$LIBS
15765 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15769 /* Override any GCC internal prototype to avoid an error.
15770 Use char because int might match the return type of a GCC
15771 builtin and then its argument prototype would still apply. */
15772 #ifdef __cplusplus
15773 extern "C"
15774 #endif
15775 char FcInit ();
15777 main ()
15779 return FcInit ();
15781 return 0;
15783 _ACEOF
15784 if ac_fn_c_try_link "$LINENO"; then :
15785 case "$LIBEXT" in
15786 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15787 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'` ;;
15788 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15789 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15790 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15791 fi ;;
15792 esac
15793 else
15794 ac_cv_lib_soname_fontconfig=
15796 rm -f core conftest.err conftest.$ac_objext \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_check_soname_save_LIBS
15800 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15802 $as_echo "not found" >&6; }
15803 FONTCONFIG_CFLAGS=""
15804 else
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15806 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15808 cat >>confdefs.h <<_ACEOF
15809 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15810 _ACEOF
15814 else
15815 FONTCONFIG_CFLAGS=""
15817 CPPFLAGS=$ac_save_CPPFLAGS
15818 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15819 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15822 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15823 case "x$with_fontconfig" in
15824 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15825 xno) ;;
15826 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15827 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15828 esac
15832 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15833 then
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15835 $as_echo_n "checking for -lgsm... " >&6; }
15836 if ${ac_cv_lib_soname_gsm+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_check_soname_save_LIBS=$LIBS
15840 LIBS="-lgsm $LIBS"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 #ifdef __cplusplus
15848 extern "C"
15849 #endif
15850 char gsm_create ();
15852 main ()
15854 return gsm_create ();
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"; then :
15860 case "$LIBEXT" in
15861 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15862 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'` ;;
15863 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15864 if ${ac_cv_lib_soname_gsm:+false} :; then :
15865 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15866 fi ;;
15867 esac
15868 else
15869 ac_cv_lib_soname_gsm=
15871 rm -f core conftest.err conftest.$ac_objext \
15872 conftest$ac_exeext conftest.$ac_ext
15873 LIBS=$ac_check_soname_save_LIBS
15875 if ${ac_cv_lib_soname_gsm:+false} :; then :
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15877 $as_echo "not found" >&6; }
15879 else
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15881 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15883 cat >>confdefs.h <<_ACEOF
15884 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15885 _ACEOF
15890 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15891 case "x$with_gsm" in
15892 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15893 xno) ;;
15894 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15895 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15896 esac
15900 if test "x$with_krb5" != "xno"
15901 then
15902 if ${KRB5_CFLAGS:+false} :; then :
15903 if ${PKG_CONFIG+:} false; then :
15904 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15907 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15908 if ${KRB5_LIBS:+false} :; then :
15909 if ${PKG_CONFIG+:} false; then :
15910 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15913 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15915 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15916 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15917 ac_save_CPPFLAGS=$CPPFLAGS
15918 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15919 for ac_header in krb5/krb5.h
15920 do :
15921 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15922 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_KRB5_KRB5_H 1
15925 _ACEOF
15929 done
15931 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15932 then
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15934 $as_echo_n "checking for -lkrb5... " >&6; }
15935 if ${ac_cv_lib_soname_krb5+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_check_soname_save_LIBS=$LIBS
15939 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15943 /* Override any GCC internal prototype to avoid an error.
15944 Use char because int might match the return type of a GCC
15945 builtin and then its argument prototype would still apply. */
15946 #ifdef __cplusplus
15947 extern "C"
15948 #endif
15949 char krb5_is_config_principal ();
15951 main ()
15953 return krb5_is_config_principal ();
15955 return 0;
15957 _ACEOF
15958 if ac_fn_c_try_link "$LINENO"; then :
15959 case "$LIBEXT" in
15960 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15961 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'` ;;
15962 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15963 if ${ac_cv_lib_soname_krb5:+false} :; then :
15964 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15965 fi ;;
15966 esac
15967 else
15968 ac_cv_lib_soname_krb5=
15970 rm -f core conftest.err conftest.$ac_objext \
15971 conftest$ac_exeext conftest.$ac_ext
15972 LIBS=$ac_check_soname_save_LIBS
15974 if ${ac_cv_lib_soname_krb5:+false} :; then :
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15976 $as_echo "not found" >&6; }
15977 KRB5_CFLAGS=""
15978 else
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15980 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15982 cat >>confdefs.h <<_ACEOF
15983 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15984 _ACEOF
15988 else
15989 KRB5_CFLAGS=""
15991 CPPFLAGS=$ac_save_CPPFLAGS
15992 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15993 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15996 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15997 case "x$with_krb5" in
15998 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15999 xno) ;;
16000 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16001 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16002 esac
16005 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16007 if test "x$with_gssapi" != "xno"
16008 then
16009 if ${GSSAPI_CFLAGS:+false} :; then :
16010 if ${PKG_CONFIG+:} false; then :
16011 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16014 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16015 if ${GSSAPI_LIBS:+false} :; then :
16016 if ${PKG_CONFIG+:} false; then :
16017 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16020 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16022 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16023 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16024 ac_save_CPPFLAGS=$CPPFLAGS
16025 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16026 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16027 do :
16028 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16029 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16030 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16033 _ACEOF
16037 done
16039 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16040 then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16042 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16043 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16044 $as_echo_n "(cached) " >&6
16045 else
16046 ac_check_soname_save_LIBS=$LIBS
16047 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 #ifdef __cplusplus
16055 extern "C"
16056 #endif
16057 char gss_init_sec_context ();
16059 main ()
16061 return gss_init_sec_context ();
16063 return 0;
16065 _ACEOF
16066 if ac_fn_c_try_link "$LINENO"; then :
16067 case "$LIBEXT" in
16068 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16069 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'` ;;
16070 *) 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'`
16071 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16072 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16073 fi ;;
16074 esac
16075 else
16076 ac_cv_lib_soname_gssapi_krb5=
16078 rm -f core conftest.err conftest.$ac_objext \
16079 conftest$ac_exeext conftest.$ac_ext
16080 LIBS=$ac_check_soname_save_LIBS
16082 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16084 $as_echo "not found" >&6; }
16085 GSSAPI_CFLAGS=""
16086 else
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16088 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16090 cat >>confdefs.h <<_ACEOF
16091 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16092 _ACEOF
16096 else
16097 GSSAPI_CFLAGS=""
16099 CPPFLAGS=$ac_save_CPPFLAGS
16100 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16101 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16104 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16105 case "x$with_gssapi" in
16106 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16107 xno) ;;
16108 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16109 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16110 esac
16114 if test "x$with_jpeg" != "xno"
16115 then
16116 if ${JPEG_CFLAGS:+false} :; then :
16117 if ${PKG_CONFIG+:} false; then :
16118 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16122 if ${JPEG_LIBS:+false} :; then :
16123 if ${PKG_CONFIG+:} false; then :
16124 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16129 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16130 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16131 ac_save_CPPFLAGS=$CPPFLAGS
16132 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16133 for ac_header in jpeglib.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_JPEGLIB_H 1
16139 _ACEOF
16143 done
16145 if test "$ac_cv_header_jpeglib_h" = "yes"
16146 then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16148 $as_echo_n "checking for -ljpeg... " >&6; }
16149 if ${ac_cv_lib_soname_jpeg+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_check_soname_save_LIBS=$LIBS
16153 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16160 #ifdef __cplusplus
16161 extern "C"
16162 #endif
16163 char jpeg_start_decompress ();
16165 main ()
16167 return jpeg_start_decompress ();
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 case "$LIBEXT" in
16174 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16175 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'` ;;
16176 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16177 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16178 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16179 fi ;;
16180 esac
16181 else
16182 ac_cv_lib_soname_jpeg=
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16186 LIBS=$ac_check_soname_save_LIBS
16188 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16190 $as_echo "not found" >&6; }
16191 JPEG_CFLAGS=""
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16194 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16196 cat >>confdefs.h <<_ACEOF
16197 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16198 _ACEOF
16202 else
16203 JPEG_CFLAGS=""
16205 CPPFLAGS=$ac_save_CPPFLAGS
16206 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16207 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16210 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16211 case "x$with_jpeg" in
16212 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16213 xno) ;;
16214 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16215 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16216 esac
16220 if test "x$with_png" != "xno"
16221 then
16222 if ${PNG_CFLAGS:+false} :; then :
16223 if ${PKG_CONFIG+:} false; then :
16224 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16227 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16228 if ${PNG_LIBS:+false} :; then :
16229 if ${PKG_CONFIG+:} false; then :
16230 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16233 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16235 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16236 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16237 ac_save_CPPFLAGS=$CPPFLAGS
16238 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16239 for ac_header in png.h
16240 do :
16241 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16242 if test "x$ac_cv_header_png_h" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_PNG_H 1
16245 _ACEOF
16249 done
16251 if test "$ac_cv_header_png_h" = "yes"
16252 then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16254 $as_echo_n "checking for -lpng... " >&6; }
16255 if ${ac_cv_lib_soname_png+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 ac_check_soname_save_LIBS=$LIBS
16259 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h. */
16263 /* Override any GCC internal prototype to avoid an error.
16264 Use char because int might match the return type of a GCC
16265 builtin and then its argument prototype would still apply. */
16266 #ifdef __cplusplus
16267 extern "C"
16268 #endif
16269 char png_create_read_struct ();
16271 main ()
16273 return png_create_read_struct ();
16275 return 0;
16277 _ACEOF
16278 if ac_fn_c_try_link "$LINENO"; then :
16279 case "$LIBEXT" in
16280 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16281 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'` ;;
16282 *) 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'`
16283 if ${ac_cv_lib_soname_png:+false} :; then :
16284 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16285 fi ;;
16286 esac
16287 else
16288 ac_cv_lib_soname_png=
16290 rm -f core conftest.err conftest.$ac_objext \
16291 conftest$ac_exeext conftest.$ac_ext
16292 LIBS=$ac_check_soname_save_LIBS
16294 if ${ac_cv_lib_soname_png:+false} :; then :
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16296 $as_echo "not found" >&6; }
16297 PNG_CFLAGS=""
16298 else
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16300 $as_echo "$ac_cv_lib_soname_png" >&6; }
16302 cat >>confdefs.h <<_ACEOF
16303 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16304 _ACEOF
16308 else
16309 PNG_CFLAGS=""
16311 CPPFLAGS=$ac_save_CPPFLAGS
16312 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16313 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16316 if test "x$ac_cv_lib_soname_png" = "x"; then :
16317 case "x$with_png" in
16318 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16319 xno) ;;
16320 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16321 This is an error since --with-png was requested." "$LINENO" 5 ;;
16322 esac
16326 if test "x$with_tiff" != "xno"
16327 then
16328 if ${TIFF_CFLAGS:+false} :; then :
16329 if ${PKG_CONFIG+:} false; then :
16330 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16334 if ${TIFF_LIBS:+false} :; then :
16335 if ${PKG_CONFIG+:} false; then :
16336 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16341 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16342 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16343 ac_save_CPPFLAGS=$CPPFLAGS
16344 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16345 for ac_header in tiffio.h
16346 do :
16347 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16348 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_TIFFIO_H 1
16351 _ACEOF
16355 done
16357 if test "$ac_cv_header_tiffio_h" = "yes"
16358 then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16360 $as_echo_n "checking for -ltiff... " >&6; }
16361 if ${ac_cv_lib_soname_tiff+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 ac_check_soname_save_LIBS=$LIBS
16365 LIBS="-ltiff $TIFF_LIBS $LIBS"
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16369 /* Override any GCC internal prototype to avoid an error.
16370 Use char because int might match the return type of a GCC
16371 builtin and then its argument prototype would still apply. */
16372 #ifdef __cplusplus
16373 extern "C"
16374 #endif
16375 char TIFFClientOpen ();
16377 main ()
16379 return TIFFClientOpen ();
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"; then :
16385 case "$LIBEXT" in
16386 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16387 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'` ;;
16388 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16389 if ${ac_cv_lib_soname_tiff:+false} :; then :
16390 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16391 fi ;;
16392 esac
16393 else
16394 ac_cv_lib_soname_tiff=
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_soname_save_LIBS
16400 if ${ac_cv_lib_soname_tiff:+false} :; then :
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16402 $as_echo "not found" >&6; }
16404 else
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16406 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16408 cat >>confdefs.h <<_ACEOF
16409 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16410 _ACEOF
16415 CPPFLAGS=$ac_save_CPPFLAGS
16416 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16417 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16420 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16421 case "x$with_tiff" in
16422 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16423 xno) ;;
16424 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16425 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16426 esac
16430 if test "x$with_mpg123" != "xno"
16431 then
16432 if ${MPG123_CFLAGS:+false} :; then :
16433 if ${PKG_CONFIG+:} false; then :
16434 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16438 if ${MPG123_LIBS:+false} :; then :
16439 if ${PKG_CONFIG+:} false; then :
16440 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16444 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16445 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16446 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16447 ac_save_CPPFLAGS=$CPPFLAGS
16448 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16449 for ac_header in mpg123.h
16450 do :
16451 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16452 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_MPG123_H 1
16455 _ACEOF
16459 done
16461 if test "$ac_cv_header_mpg123_h" = "yes"
16462 then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16464 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16465 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16466 $as_echo_n "(cached) " >&6
16467 else
16468 ac_check_lib_save_LIBS=$LIBS
16469 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16473 /* Override any GCC internal prototype to avoid an error.
16474 Use char because int might match the return type of a GCC
16475 builtin and then its argument prototype would still apply. */
16476 #ifdef __cplusplus
16477 extern "C"
16478 #endif
16479 char mpg123_feed ();
16481 main ()
16483 return mpg123_feed ();
16485 return 0;
16487 _ACEOF
16488 if ac_fn_c_try_link "$LINENO"; then :
16489 ac_cv_lib_mpg123_mpg123_feed=yes
16490 else
16491 ac_cv_lib_mpg123_mpg123_feed=no
16493 rm -f core conftest.err conftest.$ac_objext \
16494 conftest$ac_exeext conftest.$ac_ext
16495 LIBS=$ac_check_lib_save_LIBS
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16498 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16499 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16501 else
16502 MPG123_LIBS=""
16505 else
16506 MPG123_CFLAGS=""
16507 MPG123_LIBS=""
16509 CPPFLAGS=$ac_save_CPPFLAGS
16510 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16511 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16514 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16515 case "x$with_mpg123" in
16516 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16517 xno) ;;
16518 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16519 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16520 esac
16521 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16523 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16525 if test "$ac_cv_header_AL_al_h" = "yes"
16526 then
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16528 $as_echo_n "checking for -lopenal... " >&6; }
16529 if ${ac_cv_lib_soname_openal+:} false; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16532 ac_check_soname_save_LIBS=$LIBS
16533 LIBS="-lopenal $LIBS"
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16537 /* Override any GCC internal prototype to avoid an error.
16538 Use char because int might match the return type of a GCC
16539 builtin and then its argument prototype would still apply. */
16540 #ifdef __cplusplus
16541 extern "C"
16542 #endif
16543 char alGetSource3i ();
16545 main ()
16547 return alGetSource3i ();
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"; then :
16553 case "$LIBEXT" in
16554 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16555 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'` ;;
16556 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16557 if ${ac_cv_lib_soname_openal:+false} :; then :
16558 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16559 fi ;;
16560 esac
16561 else
16562 ac_cv_lib_soname_openal=
16564 rm -f core conftest.err conftest.$ac_objext \
16565 conftest$ac_exeext conftest.$ac_ext
16566 LIBS=$ac_check_soname_save_LIBS
16568 if ${ac_cv_lib_soname_openal:+false} :; then :
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16570 $as_echo "not found" >&6; }
16572 else
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16574 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16576 cat >>confdefs.h <<_ACEOF
16577 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16578 _ACEOF
16580 OPENAL_LIBS="-lopenal"
16582 ac_cv_lib_openal=yes
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_OPENAL 1
16586 _ACEOF
16590 if test "x$ac_cv_lib_openal" != xyes; then :
16591 case "x$with_openal" in
16592 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16593 xno) ;;
16594 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16595 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16596 esac
16597 enable_openal32=${enable_openal32:-no}
16600 if test "x$ac_cv_lib_soname_FAudio" = "x"
16601 then
16602 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16603 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16604 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16605 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16606 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16607 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16608 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16609 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16610 enable_xapofx1_1=${enable_xapofx1_1:-no}
16611 enable_xapofx1_2=${enable_xapofx1_2:-no}
16612 enable_xapofx1_3=${enable_xapofx1_3:-no}
16613 enable_xapofx1_4=${enable_xapofx1_4:-no}
16614 enable_xapofx1_5=${enable_xapofx1_5:-no}
16615 enable_xaudio2_0=${enable_xaudio2_0:-no}
16616 enable_xaudio2_1=${enable_xaudio2_1:-no}
16617 enable_xaudio2_2=${enable_xaudio2_2:-no}
16618 enable_xaudio2_3=${enable_xaudio2_3:-no}
16619 enable_xaudio2_4=${enable_xaudio2_4:-no}
16620 enable_xaudio2_5=${enable_xaudio2_5:-no}
16621 enable_xaudio2_6=${enable_xaudio2_6:-no}
16622 enable_xaudio2_7=${enable_xaudio2_7:-no}
16623 enable_xaudio2_8=${enable_xaudio2_8:-no}
16624 enable_xaudio2_9=${enable_xaudio2_9:-no}
16627 if test "$ac_cv_header_kstat_h" = "yes"
16628 then
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16630 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16631 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16634 ac_check_lib_save_LIBS=$LIBS
16635 LIBS="-lkstat $LIBS"
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16639 /* Override any GCC internal prototype to avoid an error.
16640 Use char because int might match the return type of a GCC
16641 builtin and then its argument prototype would still apply. */
16642 #ifdef __cplusplus
16643 extern "C"
16644 #endif
16645 char kstat_open ();
16647 main ()
16649 return kstat_open ();
16651 return 0;
16653 _ACEOF
16654 if ac_fn_c_try_link "$LINENO"; then :
16655 ac_cv_lib_kstat_kstat_open=yes
16656 else
16657 ac_cv_lib_kstat_kstat_open=no
16659 rm -f core conftest.err conftest.$ac_objext \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_lib_save_LIBS
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16664 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16665 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16667 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16669 KSTAT_LIBS="-lkstat"
16675 if test "$ac_cv_header_libprocstat_h" = "yes"
16676 then
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16678 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16679 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 ac_check_lib_save_LIBS=$LIBS
16683 LIBS="-lprocstat $LIBS"
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16687 /* Override any GCC internal prototype to avoid an error.
16688 Use char because int might match the return type of a GCC
16689 builtin and then its argument prototype would still apply. */
16690 #ifdef __cplusplus
16691 extern "C"
16692 #endif
16693 char procstat_open_sysctl ();
16695 main ()
16697 return procstat_open_sysctl ();
16699 return 0;
16701 _ACEOF
16702 if ac_fn_c_try_link "$LINENO"; then :
16703 ac_cv_lib_procstat_procstat_open_sysctl=yes
16704 else
16705 ac_cv_lib_procstat_procstat_open_sysctl=no
16707 rm -f core conftest.err conftest.$ac_objext \
16708 conftest$ac_exeext conftest.$ac_ext
16709 LIBS=$ac_check_lib_save_LIBS
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16712 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16713 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16715 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16717 PROCSTAT_LIBS="-lprocstat"
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16724 $as_echo_n "checking for -lodbc... " >&6; }
16725 if ${ac_cv_lib_soname_odbc+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 ac_check_soname_save_LIBS=$LIBS
16729 LIBS="-lodbc $LIBS"
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16733 /* Override any GCC internal prototype to avoid an error.
16734 Use char because int might match the return type of a GCC
16735 builtin and then its argument prototype would still apply. */
16736 #ifdef __cplusplus
16737 extern "C"
16738 #endif
16739 char SQLConnect ();
16741 main ()
16743 return SQLConnect ();
16745 return 0;
16747 _ACEOF
16748 if ac_fn_c_try_link "$LINENO"; then :
16749 case "$LIBEXT" in
16750 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16751 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'` ;;
16752 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16753 if ${ac_cv_lib_soname_odbc:+false} :; then :
16754 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16755 fi ;;
16756 esac
16757 else
16758 ac_cv_lib_soname_odbc=
16760 rm -f core conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16762 LIBS=$ac_check_soname_save_LIBS
16764 if ${ac_cv_lib_soname_odbc:+false} :; then :
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16766 $as_echo "not found" >&6; }
16767 cat >>confdefs.h <<_ACEOF
16768 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16769 _ACEOF
16771 else
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16773 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16775 cat >>confdefs.h <<_ACEOF
16776 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16777 _ACEOF
16782 if test "x$with_netapi" != "xno"
16783 then
16784 if ${NETAPI_CFLAGS:+false} :; then :
16785 if ${PKG_CONFIG+:} false; then :
16786 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16790 if ${NETAPI_LIBS:+false} :; then :
16791 if ${PKG_CONFIG+:} false; then :
16792 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16797 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16798 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16799 ac_save_CPPFLAGS=$CPPFLAGS
16800 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16802 $as_echo_n "checking for -lnetapi... " >&6; }
16803 if ${ac_cv_lib_soname_netapi+:} false; then :
16804 $as_echo_n "(cached) " >&6
16805 else
16806 ac_check_soname_save_LIBS=$LIBS
16807 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16811 /* Override any GCC internal prototype to avoid an error.
16812 Use char because int might match the return type of a GCC
16813 builtin and then its argument prototype would still apply. */
16814 #ifdef __cplusplus
16815 extern "C"
16816 #endif
16817 char libnetapi_init ();
16819 main ()
16821 return libnetapi_init ();
16823 return 0;
16825 _ACEOF
16826 if ac_fn_c_try_link "$LINENO"; then :
16827 case "$LIBEXT" in
16828 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16829 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'` ;;
16830 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16831 if ${ac_cv_lib_soname_netapi:+false} :; then :
16832 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16833 fi ;;
16834 esac
16835 else
16836 ac_cv_lib_soname_netapi=
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16840 LIBS=$ac_check_soname_save_LIBS
16842 if ${ac_cv_lib_soname_netapi:+false} :; then :
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16844 $as_echo "not found" >&6; }
16845 cat >>confdefs.h <<_ACEOF
16846 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16847 _ACEOF
16849 else
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16851 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16853 cat >>confdefs.h <<_ACEOF
16854 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16855 _ACEOF
16859 CPPFLAGS=$ac_save_CPPFLAGS
16860 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16861 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16865 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16866 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16867 then
16868 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16871 if test "x$with_vulkan" != "xno"
16872 then
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16874 $as_echo_n "checking for -lvulkan... " >&6; }
16875 if ${ac_cv_lib_soname_vulkan+:} false; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 ac_check_soname_save_LIBS=$LIBS
16879 LIBS="-lvulkan $LIBS"
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h. */
16883 /* Override any GCC internal prototype to avoid an error.
16884 Use char because int might match the return type of a GCC
16885 builtin and then its argument prototype would still apply. */
16886 #ifdef __cplusplus
16887 extern "C"
16888 #endif
16889 char vkGetInstanceProcAddr ();
16891 main ()
16893 return vkGetInstanceProcAddr ();
16895 return 0;
16897 _ACEOF
16898 if ac_fn_c_try_link "$LINENO"; then :
16899 case "$LIBEXT" in
16900 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16901 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'` ;;
16902 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16903 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16904 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16905 fi ;;
16906 esac
16907 else
16908 ac_cv_lib_soname_vulkan=
16910 rm -f core conftest.err conftest.$ac_objext \
16911 conftest$ac_exeext conftest.$ac_ext
16912 LIBS=$ac_check_soname_save_LIBS
16914 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16916 $as_echo "not found" >&6; }
16918 else
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16920 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16922 cat >>confdefs.h <<_ACEOF
16923 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16924 _ACEOF
16928 if test "x$ac_cv_lib_soname_vulkan" = "x"
16929 then
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16931 $as_echo_n "checking for -lMoltenVK... " >&6; }
16932 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_check_soname_save_LIBS=$LIBS
16936 LIBS="-lMoltenVK $LIBS"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16940 /* Override any GCC internal prototype to avoid an error.
16941 Use char because int might match the return type of a GCC
16942 builtin and then its argument prototype would still apply. */
16943 #ifdef __cplusplus
16944 extern "C"
16945 #endif
16946 char vkGetInstanceProcAddr ();
16948 main ()
16950 return vkGetInstanceProcAddr ();
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 case "$LIBEXT" in
16957 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16958 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'` ;;
16959 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16960 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16961 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16962 fi ;;
16963 esac
16964 else
16965 ac_cv_lib_soname_MoltenVK=
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16969 LIBS=$ac_check_soname_save_LIBS
16971 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16973 $as_echo "not found" >&6; }
16975 else
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16977 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16979 cat >>confdefs.h <<_ACEOF
16980 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16981 _ACEOF
16987 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16988 case "x$with_vulkan" in
16989 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16990 xno) ;;
16991 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16992 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16993 esac
16997 if test "x$with_vkd3d" != "xno"
16998 then
16999 if ${VKD3D_CFLAGS:+false} :; then :
17000 if ${PKG_CONFIG+:} false; then :
17001 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17005 if ${VKD3D_LIBS:+false} :; then :
17006 if ${PKG_CONFIG+:} false; then :
17007 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17012 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17013 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17014 ac_save_CPPFLAGS=$CPPFLAGS
17015 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17017 $as_echo_n "checking for -lvkd3d... " >&6; }
17018 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 ac_check_soname_save_LIBS=$LIBS
17022 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17026 /* Override any GCC internal prototype to avoid an error.
17027 Use char because int might match the return type of a GCC
17028 builtin and then its argument prototype would still apply. */
17029 #ifdef __cplusplus
17030 extern "C"
17031 #endif
17032 char vkd3d_get_dxgi_format ();
17034 main ()
17036 return vkd3d_get_dxgi_format ();
17038 return 0;
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"; then :
17042 case "$LIBEXT" in
17043 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17044 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'` ;;
17045 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17046 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17047 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17048 fi ;;
17049 esac
17050 else
17051 ac_cv_lib_soname_vkd3d=
17053 rm -f core conftest.err conftest.$ac_objext \
17054 conftest$ac_exeext conftest.$ac_ext
17055 LIBS=$ac_check_soname_save_LIBS
17057 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17059 $as_echo "not found" >&6; }
17061 else
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17063 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17065 cat >>confdefs.h <<_ACEOF
17066 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17067 _ACEOF
17071 CPPFLAGS=$ac_save_CPPFLAGS
17072 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17073 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17076 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17077 case "x$with_vkd3d" in
17078 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17079 xno) ;;
17080 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17081 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17082 esac
17085 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17088 EXTRACFLAGS=""
17090 if test "x${GCC}" = "xyes"
17091 then
17092 EXTRACFLAGS="-Wall -pipe"
17094 saved_CFLAGS=$CFLAGS
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17096 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17097 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__Werror_unknown_warning_option=yes
17108 else
17109 ac_cv_cflags__Werror_unknown_warning_option=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17116 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17117 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17118 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17121 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17122 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__Werror_unused_command_line_argument=yes
17133 else
17134 ac_cv_cflags__Werror_unused_command_line_argument=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17141 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17142 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17143 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17146 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17147 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17158 else
17159 ac_cv_cflags__Werror_ignored_optimization_argument=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17166 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17167 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17168 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17171 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17172 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -fcf-protection=none"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__fcf_protection_none=yes
17183 else
17184 ac_cv_cflags__fcf_protection_none=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17191 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17192 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17196 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17197 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -fno-stack-protector"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__fno_stack_protector=yes
17208 else
17209 ac_cv_cflags__fno_stack_protector=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17216 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17217 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17221 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17222 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -fno-strict-aliasing"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__fno_strict_aliasing=yes
17233 else
17234 ac_cv_cflags__fno_strict_aliasing=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17241 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17242 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17246 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17247 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Wdeclaration_after_statement=yes
17258 else
17259 ac_cv_cflags__Wdeclaration_after_statement=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17266 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17267 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17271 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17272 if ${ac_cv_cflags__Wempty_body+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wempty-body"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wempty_body=yes
17283 else
17284 ac_cv_cflags__Wempty_body=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17291 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17292 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17293 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17296 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17297 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_wine_try_cflags_saved=$CFLAGS
17301 CFLAGS="$CFLAGS -Wignored-qualifiers"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 int main(int argc, char **argv) { return 0; }
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_cflags__Wignored_qualifiers=yes
17308 else
17309 ac_cv_cflags__Wignored_qualifiers=no
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17313 CFLAGS=$ac_wine_try_cflags_saved
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17316 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17317 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17318 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17321 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17322 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 ac_wine_try_cflags_saved=$CFLAGS
17326 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 int main(int argc, char **argv) { return 0; }
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_cflags__Wpacked_not_aligned=yes
17333 else
17334 ac_cv_cflags__Wpacked_not_aligned=no
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 CFLAGS=$ac_wine_try_cflags_saved
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17341 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17342 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17343 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17346 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17347 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 ac_wine_try_cflags_saved=$CFLAGS
17351 CFLAGS="$CFLAGS -Wpragma-pack"
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 int main(int argc, char **argv) { return 0; }
17355 _ACEOF
17356 if ac_fn_c_try_link "$LINENO"; then :
17357 ac_cv_cflags__Wpragma_pack=yes
17358 else
17359 ac_cv_cflags__Wpragma_pack=no
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17363 CFLAGS=$ac_wine_try_cflags_saved
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17366 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17367 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17368 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17371 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17372 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17373 $as_echo_n "(cached) " >&6
17374 else
17375 ac_wine_try_cflags_saved=$CFLAGS
17376 CFLAGS="$CFLAGS -Wshift-overflow=2"
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 int main(int argc, char **argv) { return 0; }
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"; then :
17382 ac_cv_cflags__Wshift_overflow_2=yes
17383 else
17384 ac_cv_cflags__Wshift_overflow_2=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17388 CFLAGS=$ac_wine_try_cflags_saved
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17391 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17392 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17393 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17396 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17397 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 ac_wine_try_cflags_saved=$CFLAGS
17401 CFLAGS="$CFLAGS -Wstrict-prototypes"
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 int main(int argc, char **argv) { return 0; }
17405 _ACEOF
17406 if ac_fn_c_try_link "$LINENO"; then :
17407 ac_cv_cflags__Wstrict_prototypes=yes
17408 else
17409 ac_cv_cflags__Wstrict_prototypes=no
17411 rm -f core conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17413 CFLAGS=$ac_wine_try_cflags_saved
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17416 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17417 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17418 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17421 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17422 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425 ac_wine_try_cflags_saved=$CFLAGS
17426 CFLAGS="$CFLAGS -Wtype-limits"
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 int main(int argc, char **argv) { return 0; }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432 ac_cv_cflags__Wtype_limits=yes
17433 else
17434 ac_cv_cflags__Wtype_limits=no
17436 rm -f core conftest.err conftest.$ac_objext \
17437 conftest$ac_exeext conftest.$ac_ext
17438 CFLAGS=$ac_wine_try_cflags_saved
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17441 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17442 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17443 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17446 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17447 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 ac_wine_try_cflags_saved=$CFLAGS
17451 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 int main(int argc, char **argv) { return 0; }
17455 _ACEOF
17456 if ac_fn_c_try_link "$LINENO"; then :
17457 ac_cv_cflags__Wunused_but_set_parameter=yes
17458 else
17459 ac_cv_cflags__Wunused_but_set_parameter=no
17461 rm -f core conftest.err conftest.$ac_objext \
17462 conftest$ac_exeext conftest.$ac_ext
17463 CFLAGS=$ac_wine_try_cflags_saved
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17466 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17467 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17468 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17471 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17472 if ${ac_cv_cflags__Wvla+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 ac_wine_try_cflags_saved=$CFLAGS
17476 CFLAGS="$CFLAGS -Wvla"
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 int main(int argc, char **argv) { return 0; }
17480 _ACEOF
17481 if ac_fn_c_try_link "$LINENO"; then :
17482 ac_cv_cflags__Wvla=yes
17483 else
17484 ac_cv_cflags__Wvla=no
17486 rm -f core conftest.err conftest.$ac_objext \
17487 conftest$ac_exeext conftest.$ac_ext
17488 CFLAGS=$ac_wine_try_cflags_saved
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17491 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17492 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17493 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17496 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17497 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500 ac_wine_try_cflags_saved=$CFLAGS
17501 CFLAGS="$CFLAGS -Wwrite-strings"
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 int main(int argc, char **argv) { return 0; }
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"; then :
17507 ac_cv_cflags__Wwrite_strings=yes
17508 else
17509 ac_cv_cflags__Wwrite_strings=no
17511 rm -f core conftest.err conftest.$ac_objext \
17512 conftest$ac_exeext conftest.$ac_ext
17513 CFLAGS=$ac_wine_try_cflags_saved
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17516 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17517 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17518 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17521 if test -z "$CROSSTARGET"
17522 then
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17524 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17525 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528 ac_wine_try_cflags_saved=$CFLAGS
17529 CFLAGS="$CFLAGS -fexcess-precision=standard"
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 int main(int argc, char **argv) { return 0; }
17533 _ACEOF
17534 if ac_fn_c_try_link "$LINENO"; then :
17535 ac_cv_cflags__fexcess_precision_standard=yes
17536 else
17537 ac_cv_cflags__fexcess_precision_standard=no
17539 rm -f core conftest.err conftest.$ac_objext \
17540 conftest$ac_exeext conftest.$ac_ext
17541 CFLAGS=$ac_wine_try_cflags_saved
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17544 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17545 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17546 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17552 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17553 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 ac_wine_try_cflags_saved=$CFLAGS
17557 CFLAGS="$CFLAGS -Wpointer-arith"
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17560 int main(int argc, char **argv) { return 0; }
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"; then :
17563 ac_cv_cflags__Wpointer_arith=yes
17564 else
17565 ac_cv_cflags__Wpointer_arith=no
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17569 CFLAGS=$ac_wine_try_cflags_saved
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17572 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17573 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17574 saved_string_h_CFLAGS=$CFLAGS
17575 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17577 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17578 if ${ac_cv_c_string_h_warnings+:} false; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 #include <string.h>
17585 main ()
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_compile "$LINENO"; then :
17593 ac_cv_c_string_h_warnings=no
17594 else
17595 ac_cv_c_string_h_warnings=yes
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17600 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17601 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17602 CFLAGS=$saved_string_h_CFLAGS
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17606 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17607 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 ac_wine_try_cflags_saved=$CFLAGS
17611 CFLAGS="$CFLAGS -Wlogical-op"
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 int main(int argc, char **argv) { return 0; }
17615 _ACEOF
17616 if ac_fn_c_try_link "$LINENO"; then :
17617 ac_cv_cflags__Wlogical_op=yes
17618 else
17619 ac_cv_cflags__Wlogical_op=no
17621 rm -f core conftest.err conftest.$ac_objext \
17622 conftest$ac_exeext conftest.$ac_ext
17623 CFLAGS=$ac_wine_try_cflags_saved
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17626 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17627 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17628 saved_string_h_CFLAGS=$CFLAGS
17629 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17631 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17632 if ${ac_cv_c_logicalop_noisy+:} false; then :
17633 $as_echo_n "(cached) " >&6
17634 else
17635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17636 /* end confdefs.h. */
17637 #include <string.h>
17638 char*f(const char *h,char n) {return strchr(h,n);}
17640 main ()
17644 return 0;
17646 _ACEOF
17647 if ac_fn_c_try_compile "$LINENO"; then :
17648 ac_cv_c_logicalop_noisy=no
17649 else
17650 ac_cv_c_logicalop_noisy=yes
17652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17655 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17656 CFLAGS=$saved_string_h_CFLAGS
17657 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17660 for ac_flag in $CFLAGS; do
17661 case $ac_flag in
17662 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17663 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17664 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 ac_wine_try_cflags_saved=$CFLAGS
17668 CFLAGS="$CFLAGS -gdwarf-2"
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 int main(int argc, char **argv) { return 0; }
17672 _ACEOF
17673 if ac_fn_c_try_link "$LINENO"; then :
17674 ac_cv_cflags__gdwarf_2=yes
17675 else
17676 ac_cv_cflags__gdwarf_2=no
17678 rm -f core conftest.err conftest.$ac_objext \
17679 conftest$ac_exeext conftest.$ac_ext
17680 CFLAGS=$ac_wine_try_cflags_saved
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17683 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17684 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17685 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17688 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17689 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 ac_wine_try_cflags_saved=$CFLAGS
17693 CFLAGS="$CFLAGS -gstrict-dwarf"
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 int main(int argc, char **argv) { return 0; }
17697 _ACEOF
17698 if ac_fn_c_try_link "$LINENO"; then :
17699 ac_cv_cflags__gstrict_dwarf=yes
17700 else
17701 ac_cv_cflags__gstrict_dwarf=no
17703 rm -f core conftest.err conftest.$ac_objext \
17704 conftest$ac_exeext conftest.$ac_ext
17705 CFLAGS=$ac_wine_try_cflags_saved
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17708 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17709 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17710 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17711 fi ;;
17712 esac
17713 done
17715 MSVCRTFLAGS=""
17717 case $host_os in
17718 mingw32*) ;;
17719 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17720 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17721 if ${ac_cv_cflags__fno_builtin+:} false; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17724 ac_wine_try_cflags_saved=$CFLAGS
17725 CFLAGS="$CFLAGS -fno-builtin"
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 int main(int argc, char **argv) { return 0; }
17729 _ACEOF
17730 if ac_fn_c_try_link "$LINENO"; then :
17731 ac_cv_cflags__fno_builtin=yes
17732 else
17733 ac_cv_cflags__fno_builtin=no
17735 rm -f core conftest.err conftest.$ac_objext \
17736 conftest$ac_exeext conftest.$ac_ext
17737 CFLAGS=$ac_wine_try_cflags_saved
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17740 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17741 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17742 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17745 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17746 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17749 ac_wine_try_cflags_saved=$CFLAGS
17750 CFLAGS="$CFLAGS -fshort-wchar"
17751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17753 int main(int argc, char **argv) { return 0; }
17754 _ACEOF
17755 if ac_fn_c_try_link "$LINENO"; then :
17756 ac_cv_cflags__fshort_wchar=yes
17757 else
17758 ac_cv_cflags__fshort_wchar=no
17760 rm -f core conftest.err conftest.$ac_objext \
17761 conftest$ac_exeext conftest.$ac_ext
17762 CFLAGS=$ac_wine_try_cflags_saved
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17765 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17766 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17767 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17768 fi ;;
17769 esac
17771 case $host_cpu in
17772 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17773 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17774 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17775 $as_echo_n "(cached) " >&6
17776 else
17777 ac_wine_try_cflags_saved=$CFLAGS
17778 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 int main(int argc, char **argv) { return 0; }
17782 _ACEOF
17783 if ac_fn_c_try_link "$LINENO"; then :
17784 ac_cv_cflags__fno_omit_frame_pointer=yes
17785 else
17786 ac_cv_cflags__fno_omit_frame_pointer=no
17788 rm -f core conftest.err conftest.$ac_objext \
17789 conftest$ac_exeext conftest.$ac_ext
17790 CFLAGS=$ac_wine_try_cflags_saved
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17793 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17794 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17795 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17796 fi ;;
17797 *x86_64*)
17798 case $host_os in
17799 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17800 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17801 if ${ac_cv_cflags__Wno_format+:} false; then :
17802 $as_echo_n "(cached) " >&6
17803 else
17804 ac_wine_try_cflags_saved=$CFLAGS
17805 CFLAGS="$CFLAGS -Wno-format"
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 int main(int argc, char **argv) { return 0; }
17809 _ACEOF
17810 if ac_fn_c_try_link "$LINENO"; then :
17811 ac_cv_cflags__Wno_format=yes
17812 else
17813 ac_cv_cflags__Wno_format=no
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17817 CFLAGS=$ac_wine_try_cflags_saved
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17820 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17821 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17822 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17823 fi ;;
17824 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17825 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17826 if ${ac_cv_cflags__mabi_ms+:} false; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 ac_wine_try_cflags_saved=$CFLAGS
17830 CFLAGS="$CFLAGS -mabi=ms"
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 int main(int argc, char **argv) { return 0; }
17834 _ACEOF
17835 if ac_fn_c_try_link "$LINENO"; then :
17836 ac_cv_cflags__mabi_ms=yes
17837 else
17838 ac_cv_cflags__mabi_ms=no
17840 rm -f core conftest.err conftest.$ac_objext \
17841 conftest$ac_exeext conftest.$ac_ext
17842 CFLAGS=$ac_wine_try_cflags_saved
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17845 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17846 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17847 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17848 fi ;;
17849 esac ;;
17850 esac
17852 CFLAGS=$saved_CFLAGS
17854 if test "x$enable_werror" = "xyes"
17855 then
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17857 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17858 if ${ac_cv_cflags__Werror+:} false; then :
17859 $as_echo_n "(cached) " >&6
17860 else
17861 ac_wine_try_cflags_saved=$CFLAGS
17862 CFLAGS="$CFLAGS -Werror"
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 int main(int argc, char **argv) { return 0; }
17866 _ACEOF
17867 if ac_fn_c_try_link "$LINENO"; then :
17868 ac_cv_cflags__Werror=yes
17869 else
17870 ac_cv_cflags__Werror=no
17872 rm -f core conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17874 CFLAGS=$ac_wine_try_cflags_saved
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17877 $as_echo "$ac_cv_cflags__Werror" >&6; }
17878 if test "x$ac_cv_cflags__Werror" = xyes; then :
17879 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17886 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17887 if ${ac_cv_c_fortify_enabled+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892 #include <string.h>
17894 main ()
17896 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17897 #error Fortify enabled
17898 #endif
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 ac_cv_c_fortify_enabled=no
17905 else
17906 ac_cv_c_fortify_enabled=yes
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17911 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17912 if test "$ac_cv_c_fortify_enabled" = yes
17913 then
17914 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17919 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17920 if ${ac_cv_c_cfi_support+:} false; then :
17921 $as_echo_n "(cached) " >&6
17922 else
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17925 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17927 main ()
17931 return 0;
17933 _ACEOF
17934 if ac_fn_c_try_compile "$LINENO"; then :
17935 ac_cv_c_cfi_support="yes"
17936 else
17937 ac_cv_c_cfi_support="no"
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17942 $as_echo "$ac_cv_c_cfi_support" >&6; }
17943 if test "$ac_cv_c_cfi_support" = "yes"
17944 then
17945 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17946 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17947 else
17948 if test "x$enable_win64" = "xyes"
17949 then
17950 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17955 case $build_os in
17956 cygwin*|mingw32*) TOOLSEXT=".exe"
17958 esac
17960 case $host_os in
17961 linux*)
17962 case $host_cpu in
17963 *i[3456789]86*|x86_64*|*aarch64*)
17964 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17965 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17967 esac
17969 esac
17972 ac_save_CFLAGS="$CFLAGS"
17973 CFLAGS="$CFLAGS $BUILTINFLAG"
17974 for ac_func in \
17975 __res_get_state \
17976 __res_getservers \
17977 _spawnvp \
17978 epoll_create \
17979 ffs \
17980 finitef \
17981 fnmatch \
17982 fork \
17983 fpclass \
17984 fstatfs \
17985 fstatvfs \
17986 futimens \
17987 futimes \
17988 futimesat \
17989 getattrlist \
17990 getauxval \
17991 getifaddrs \
17992 getopt_long_only \
17993 kqueue \
17994 lstat \
17995 mach_continuous_time \
17996 pipe2 \
17997 poll \
17998 port_create \
17999 prctl \
18000 pread \
18001 proc_pidinfo \
18002 pwrite \
18003 readdir \
18004 readlink \
18005 sched_yield \
18006 select \
18007 setproctitle \
18008 setprogname \
18009 settimeofday \
18010 sigprocmask \
18011 statfs \
18012 statvfs \
18013 strnlen \
18014 strtold \
18015 symlink \
18016 sysinfo \
18017 tcdrain \
18018 thr_kill2 \
18019 usleep
18021 do :
18022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18024 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18025 cat >>confdefs.h <<_ACEOF
18026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18027 _ACEOF
18030 done
18032 CFLAGS="$ac_save_CFLAGS"
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18035 $as_echo_n "checking for library containing dlopen... " >&6; }
18036 if ${ac_cv_search_dlopen+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 ac_func_search_save_LIBS=$LIBS
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 /* Override any GCC internal prototype to avoid an error.
18044 Use char because int might match the return type of a GCC
18045 builtin and then its argument prototype would still apply. */
18046 #ifdef __cplusplus
18047 extern "C"
18048 #endif
18049 char dlopen ();
18051 main ()
18053 return dlopen ();
18055 return 0;
18057 _ACEOF
18058 for ac_lib in '' dl; do
18059 if test -z "$ac_lib"; then
18060 ac_res="none required"
18061 else
18062 ac_res=-l$ac_lib
18063 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18065 if ac_fn_c_try_link "$LINENO"; then :
18066 ac_cv_search_dlopen=$ac_res
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext
18070 if ${ac_cv_search_dlopen+:} false; then :
18071 break
18073 done
18074 if ${ac_cv_search_dlopen+:} false; then :
18076 else
18077 ac_cv_search_dlopen=no
18079 rm conftest.$ac_ext
18080 LIBS=$ac_func_search_save_LIBS
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18083 $as_echo "$ac_cv_search_dlopen" >&6; }
18084 ac_res=$ac_cv_search_dlopen
18085 if test "$ac_res" != no; then :
18086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18090 ac_wine_check_funcs_save_LIBS="$LIBS"
18091 LIBS="$LIBS $DL_LIBS"
18092 for ac_func in dladdr dlinfo
18093 do :
18094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18097 cat >>confdefs.h <<_ACEOF
18098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18099 _ACEOF
18102 done
18104 LIBS="$ac_wine_check_funcs_save_LIBS"
18106 if test "$ac_cv_func_poll" = no
18107 then
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18109 $as_echo_n "checking for poll in -lpoll... " >&6; }
18110 if ${ac_cv_lib_poll_poll+:} false; then :
18111 $as_echo_n "(cached) " >&6
18112 else
18113 ac_check_lib_save_LIBS=$LIBS
18114 LIBS="-lpoll $LIBS"
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18118 /* Override any GCC internal prototype to avoid an error.
18119 Use char because int might match the return type of a GCC
18120 builtin and then its argument prototype would still apply. */
18121 #ifdef __cplusplus
18122 extern "C"
18123 #endif
18124 char poll ();
18126 main ()
18128 return poll ();
18130 return 0;
18132 _ACEOF
18133 if ac_fn_c_try_link "$LINENO"; then :
18134 ac_cv_lib_poll_poll=yes
18135 else
18136 ac_cv_lib_poll_poll=no
18138 rm -f core conftest.err conftest.$ac_objext \
18139 conftest$ac_exeext conftest.$ac_ext
18140 LIBS=$ac_check_lib_save_LIBS
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18143 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18144 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18145 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18146 POLL_LIBS="-lpoll"
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18153 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18154 if ${ac_cv_search_gethostbyname+:} false; then :
18155 $as_echo_n "(cached) " >&6
18156 else
18157 ac_func_search_save_LIBS=$LIBS
18158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18161 /* Override any GCC internal prototype to avoid an error.
18162 Use char because int might match the return type of a GCC
18163 builtin and then its argument prototype would still apply. */
18164 #ifdef __cplusplus
18165 extern "C"
18166 #endif
18167 char gethostbyname ();
18169 main ()
18171 return gethostbyname ();
18173 return 0;
18175 _ACEOF
18176 for ac_lib in '' nsl; do
18177 if test -z "$ac_lib"; then
18178 ac_res="none required"
18179 else
18180 ac_res=-l$ac_lib
18181 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18183 if ac_fn_c_try_link "$LINENO"; then :
18184 ac_cv_search_gethostbyname=$ac_res
18186 rm -f core conftest.err conftest.$ac_objext \
18187 conftest$ac_exeext
18188 if ${ac_cv_search_gethostbyname+:} false; then :
18189 break
18191 done
18192 if ${ac_cv_search_gethostbyname+:} false; then :
18194 else
18195 ac_cv_search_gethostbyname=no
18197 rm conftest.$ac_ext
18198 LIBS=$ac_func_search_save_LIBS
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18201 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18202 ac_res=$ac_cv_search_gethostbyname
18203 if test "$ac_res" != no; then :
18204 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18210 $as_echo_n "checking for library containing connect... " >&6; }
18211 if ${ac_cv_search_connect+:} false; then :
18212 $as_echo_n "(cached) " >&6
18213 else
18214 ac_func_search_save_LIBS=$LIBS
18215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 /* Override any GCC internal prototype to avoid an error.
18219 Use char because int might match the return type of a GCC
18220 builtin and then its argument prototype would still apply. */
18221 #ifdef __cplusplus
18222 extern "C"
18223 #endif
18224 char connect ();
18226 main ()
18228 return connect ();
18230 return 0;
18232 _ACEOF
18233 for ac_lib in '' socket; do
18234 if test -z "$ac_lib"; then
18235 ac_res="none required"
18236 else
18237 ac_res=-l$ac_lib
18238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18240 if ac_fn_c_try_link "$LINENO"; then :
18241 ac_cv_search_connect=$ac_res
18243 rm -f core conftest.err conftest.$ac_objext \
18244 conftest$ac_exeext
18245 if ${ac_cv_search_connect+:} false; then :
18246 break
18248 done
18249 if ${ac_cv_search_connect+:} false; then :
18251 else
18252 ac_cv_search_connect=no
18254 rm conftest.$ac_ext
18255 LIBS=$ac_func_search_save_LIBS
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18258 $as_echo "$ac_cv_search_connect" >&6; }
18259 ac_res=$ac_cv_search_connect
18260 if test "$ac_res" != no; then :
18261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18267 $as_echo_n "checking for library containing inet_aton... " >&6; }
18268 if ${ac_cv_search_inet_aton+:} false; then :
18269 $as_echo_n "(cached) " >&6
18270 else
18271 ac_func_search_save_LIBS=$LIBS
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18275 /* Override any GCC internal prototype to avoid an error.
18276 Use char because int might match the return type of a GCC
18277 builtin and then its argument prototype would still apply. */
18278 #ifdef __cplusplus
18279 extern "C"
18280 #endif
18281 char inet_aton ();
18283 main ()
18285 return inet_aton ();
18287 return 0;
18289 _ACEOF
18290 for ac_lib in '' resolv; do
18291 if test -z "$ac_lib"; then
18292 ac_res="none required"
18293 else
18294 ac_res=-l$ac_lib
18295 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18297 if ac_fn_c_try_link "$LINENO"; then :
18298 ac_cv_search_inet_aton=$ac_res
18300 rm -f core conftest.err conftest.$ac_objext \
18301 conftest$ac_exeext
18302 if ${ac_cv_search_inet_aton+:} false; then :
18303 break
18305 done
18306 if ${ac_cv_search_inet_aton+:} false; then :
18308 else
18309 ac_cv_search_inet_aton=no
18311 rm conftest.$ac_ext
18312 LIBS=$ac_func_search_save_LIBS
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18315 $as_echo "$ac_cv_search_inet_aton" >&6; }
18316 ac_res=$ac_cv_search_inet_aton
18317 if test "$ac_res" != no; then :
18318 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18323 for ac_func in \
18324 getaddrinfo \
18325 getnameinfo \
18326 getnetbyname \
18327 getprotobyname \
18328 getprotobynumber \
18329 getservbyport \
18331 do :
18332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18334 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18335 cat >>confdefs.h <<_ACEOF
18336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18337 _ACEOF
18340 done
18343 case $host_os in
18344 darwin*|macosx*) ;;
18345 *) ac_save_LIBS=$LIBS
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18347 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18348 if ${ac_cv_search_clock_gettime+:} false; then :
18349 $as_echo_n "(cached) " >&6
18350 else
18351 ac_func_search_save_LIBS=$LIBS
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18355 /* Override any GCC internal prototype to avoid an error.
18356 Use char because int might match the return type of a GCC
18357 builtin and then its argument prototype would still apply. */
18358 #ifdef __cplusplus
18359 extern "C"
18360 #endif
18361 char clock_gettime ();
18363 main ()
18365 return clock_gettime ();
18367 return 0;
18369 _ACEOF
18370 for ac_lib in '' rt; do
18371 if test -z "$ac_lib"; then
18372 ac_res="none required"
18373 else
18374 ac_res=-l$ac_lib
18375 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18377 if ac_fn_c_try_link "$LINENO"; then :
18378 ac_cv_search_clock_gettime=$ac_res
18380 rm -f core conftest.err conftest.$ac_objext \
18381 conftest$ac_exeext
18382 if ${ac_cv_search_clock_gettime+:} false; then :
18383 break
18385 done
18386 if ${ac_cv_search_clock_gettime+:} false; then :
18388 else
18389 ac_cv_search_clock_gettime=no
18391 rm conftest.$ac_ext
18392 LIBS=$ac_func_search_save_LIBS
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18395 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18396 ac_res=$ac_cv_search_clock_gettime
18397 if test "$ac_res" != no; then :
18398 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18400 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18402 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18406 LIBS=$ac_save_LIBS
18408 esac
18410 if test "x$with_ldap" != "xno"
18411 then
18412 if ${LDAP_CFLAGS:+false} :; then :
18413 if ${PKG_CONFIG+:} false; then :
18414 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18418 if ${LDAP_LIBS:+false} :; then :
18419 if ${PKG_CONFIG+:} false; then :
18420 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18424 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18425 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18426 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18427 ac_save_CPPFLAGS=$CPPFLAGS
18428 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18429 for ac_header in ldap.h lber.h
18430 do :
18431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18432 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18433 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18434 cat >>confdefs.h <<_ACEOF
18435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18436 _ACEOF
18440 done
18442 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18443 then
18444 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18446 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18448 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18449 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18450 $as_echo_n "(cached) " >&6
18451 else
18452 ac_check_lib_save_LIBS=$LIBS
18453 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18457 /* Override any GCC internal prototype to avoid an error.
18458 Use char because int might match the return type of a GCC
18459 builtin and then its argument prototype would still apply. */
18460 #ifdef __cplusplus
18461 extern "C"
18462 #endif
18463 char ldap_initialize ();
18465 main ()
18467 return ldap_initialize ();
18469 return 0;
18471 _ACEOF
18472 if ac_fn_c_try_link "$LINENO"; then :
18473 ac_cv_lib_ldap_r_ldap_initialize=yes
18474 else
18475 ac_cv_lib_ldap_r_ldap_initialize=no
18477 rm -f core conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18479 LIBS=$ac_check_lib_save_LIBS
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18482 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18483 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18485 $as_echo_n "checking for ber_init in -llber... " >&6; }
18486 if ${ac_cv_lib_lber_ber_init+:} false; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18489 ac_check_lib_save_LIBS=$LIBS
18490 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18494 /* Override any GCC internal prototype to avoid an error.
18495 Use char because int might match the return type of a GCC
18496 builtin and then its argument prototype would still apply. */
18497 #ifdef __cplusplus
18498 extern "C"
18499 #endif
18500 char ber_init ();
18502 main ()
18504 return ber_init ();
18506 return 0;
18508 _ACEOF
18509 if ac_fn_c_try_link "$LINENO"; then :
18510 ac_cv_lib_lber_ber_init=yes
18511 else
18512 ac_cv_lib_lber_ber_init=no
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18516 LIBS=$ac_check_lib_save_LIBS
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18519 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18520 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18522 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18524 else
18525 LDAP_LIBS=""
18528 else
18529 LDAP_LIBS=""
18532 else
18533 LDAP_LIBS=""
18536 ac_wine_check_funcs_save_LIBS="$LIBS"
18537 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18538 for ac_func in \
18539 ldap_count_references \
18540 ldap_first_reference \
18541 ldap_next_reference \
18542 ldap_parse_reference \
18543 ldap_parse_sort_control \
18544 ldap_parse_sortresponse_control \
18545 ldap_parse_vlv_control \
18546 ldap_parse_vlvresponse_control
18547 do :
18548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18551 cat >>confdefs.h <<_ACEOF
18552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18553 _ACEOF
18556 done
18558 LIBS="$ac_wine_check_funcs_save_LIBS"
18559 else
18560 LDAP_LIBS=""
18562 CPPFLAGS=$ac_save_CPPFLAGS
18563 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18564 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18567 if test "x$LDAP_LIBS" = "x"; then :
18568 case "x$with_ldap" in
18569 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18570 xno) ;;
18571 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18572 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18573 esac
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18578 $as_echo_n "checking for sched_setaffinity... " >&6; }
18579 if ${wine_cv_have_sched_setaffinity+:} false; then :
18580 $as_echo_n "(cached) " >&6
18581 else
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 #define _GNU_SOURCE
18585 #include <sched.h>
18587 main ()
18589 sched_setaffinity(0, 0, 0);
18591 return 0;
18593 _ACEOF
18594 if ac_fn_c_try_link "$LINENO"; then :
18595 wine_cv_have_sched_setaffinity=yes
18596 else
18597 wine_cv_have_sched_setaffinity=no
18599 rm -f core conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18603 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18604 if test "$wine_cv_have_sched_setaffinity" = "yes"
18605 then
18607 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18612 $as_echo_n "checking for fallocate... " >&6; }
18613 if ${wine_cv_have_fallocate+:} false; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 #define _GNU_SOURCE
18619 #include <fcntl.h>
18621 main ()
18623 fallocate(-1, 0, 0, 0);
18625 return 0;
18627 _ACEOF
18628 if ac_fn_c_try_link "$LINENO"; then :
18629 wine_cv_have_fallocate=yes
18630 else
18631 wine_cv_have_fallocate=no
18633 rm -f core conftest.err conftest.$ac_objext \
18634 conftest$ac_exeext conftest.$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18637 $as_echo "$wine_cv_have_fallocate" >&6; }
18638 if test "$wine_cv_have_fallocate" = "yes"
18639 then
18641 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18647 $as_echo_n "checking for inline... " >&6; }
18648 if ${ac_cv_c_inline+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 ac_cv_c_inline=no
18652 for ac_kw in inline __inline__ __inline; do
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 #ifndef __cplusplus
18656 typedef int foo_t;
18657 static $ac_kw foo_t static_foo () {return 0; }
18658 $ac_kw foo_t foo () {return 0; }
18659 #endif
18661 _ACEOF
18662 if ac_fn_c_try_compile "$LINENO"; then :
18663 ac_cv_c_inline=$ac_kw
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666 test "$ac_cv_c_inline" != no && break
18667 done
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18671 $as_echo "$ac_cv_c_inline" >&6; }
18673 case $ac_cv_c_inline in
18674 inline | yes) ;;
18676 case $ac_cv_c_inline in
18677 no) ac_val=;;
18678 *) ac_val=$ac_cv_c_inline;;
18679 esac
18680 cat >>confdefs.h <<_ACEOF
18681 #ifndef __cplusplus
18682 #define inline $ac_val
18683 #endif
18684 _ACEOF
18686 esac
18688 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18689 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18691 cat >>confdefs.h <<_ACEOF
18692 #define HAVE_FSBLKCNT_T 1
18693 _ACEOF
18697 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18698 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18700 cat >>confdefs.h <<_ACEOF
18701 #define HAVE_FSFILCNT_T 1
18702 _ACEOF
18707 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18708 #include <signal.h>
18710 if test "x$ac_cv_type_sigset_t" = xyes; then :
18712 cat >>confdefs.h <<_ACEOF
18713 #define HAVE_SIGSET_T 1
18714 _ACEOF
18719 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18721 if test "x$ac_cv_type_request_sense" = xyes; then :
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_REQUEST_SENSE 1
18725 _ACEOF
18731 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18732 #ifdef HAVE_SYS_SOCKET_H
18733 #include <sys/socket.h>
18734 #endif
18735 #ifdef HAVE_SYS_SOCKETVAR_H
18736 #include <sys/socketvar.h>
18737 #endif
18738 #ifdef HAVE_NET_ROUTE_H
18739 #include <net/route.h>
18740 #endif
18741 #ifdef HAVE_NETINET_IN_H
18742 #include <netinet/in.h>
18743 #endif
18744 #ifdef HAVE_NETINET_IN_SYSTM_H
18745 #include <netinet/in_systm.h>
18746 #endif
18747 #ifdef HAVE_NETINET_IP_H
18748 #include <netinet/ip.h>
18749 #endif
18750 #ifdef HAVE_NETINET_IN_PCB_H
18751 #include <netinet/in_pcb.h>
18752 #endif
18754 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_STRUCT_XINPGEN 1
18758 _ACEOF
18764 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18765 #include <linux/input.h>
18766 #endif
18768 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18772 _ACEOF
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18779 $as_echo_n "checking for if_nameindex... " >&6; }
18780 if ${wine_cv_have_if_nameindex+:} false; then :
18781 $as_echo_n "(cached) " >&6
18782 else
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 #ifdef HAVE_SYS_TYPES_H
18786 #include <sys/types.h>
18787 #endif
18788 #ifdef HAVE_SYS_SOCKET_H
18789 #include <sys/socket.h>
18790 #endif
18791 #ifdef HAVE_NET_IF_H
18792 # include <net/if.h>
18793 #endif
18795 main ()
18797 struct if_nameindex *p = if_nameindex(); return p->if_index;
18799 return 0;
18801 _ACEOF
18802 if ac_fn_c_try_link "$LINENO"; then :
18803 wine_cv_have_if_nameindex=yes
18804 else
18805 wine_cv_have_if_nameindex=no
18807 rm -f core conftest.err conftest.$ac_objext \
18808 conftest$ac_exeext conftest.$ac_ext
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18811 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18812 if test "$wine_cv_have_if_nameindex" = "yes"
18813 then
18815 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18820 $as_echo_n "checking for sigaddset... " >&6; }
18821 if ${wine_cv_have_sigaddset+:} false; then :
18822 $as_echo_n "(cached) " >&6
18823 else
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18826 #include <signal.h>
18828 main ()
18830 sigset_t set; sigaddset(&set,SIGTERM);
18832 return 0;
18834 _ACEOF
18835 if ac_fn_c_try_link "$LINENO"; then :
18836 wine_cv_have_sigaddset=yes
18837 else
18838 wine_cv_have_sigaddset=no
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18844 $as_echo "$wine_cv_have_sigaddset" >&6; }
18845 if test "$wine_cv_have_sigaddset" = "yes"
18846 then
18848 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18854 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18855 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18856 $as_echo_n "(cached) " >&6
18857 else
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 #include <netdb.h>
18862 main ()
18865 char *name=0;
18866 struct hostent he;
18867 struct hostent *result;
18868 char *buf=0;
18869 int bufsize=0;
18870 int errnr;
18871 char *addr=0;
18872 int addrlen=0;
18873 int addrtype=0;
18874 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18875 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18878 return 0;
18880 _ACEOF
18881 if ac_fn_c_try_link "$LINENO"; then :
18882 wine_cv_linux_gethostbyname_r_6=yes
18883 else
18884 wine_cv_linux_gethostbyname_r_6=no
18887 rm -f core conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext conftest.$ac_ext
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18892 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18893 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18894 then
18896 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18900 if test "$ac_cv_header_linux_joystick_h" = "yes"
18901 then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18903 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18904 if ${wine_cv_linux_joystick_22_api+:} false; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18910 #include <sys/ioctl.h>
18911 #include <sys/types.h>
18912 #include <linux/joystick.h>
18914 struct js_event blub;
18915 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18916 #error "no 2.2 header"
18917 #endif
18920 main ()
18922 /*empty*/
18924 return 0;
18926 _ACEOF
18927 if ac_fn_c_try_compile "$LINENO"; then :
18928 wine_cv_linux_joystick_22_api=yes
18929 else
18930 wine_cv_linux_joystick_22_api=no
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18936 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18937 if test "$wine_cv_linux_joystick_22_api" = "yes"
18938 then
18940 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18946 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18947 #ifdef HAVE_SYS_PARAM_H
18948 # include <sys/param.h>
18949 #endif
18950 #ifdef HAVE_SYS_MOUNT_H
18951 # include <sys/mount.h>
18952 #endif
18953 #ifdef HAVE_SYS_VFS_H
18954 # include <sys/vfs.h>
18955 #endif
18956 #ifdef HAVE_SYS_STATFS_H
18957 # include <sys/statfs.h>
18958 #endif
18960 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18962 cat >>confdefs.h <<_ACEOF
18963 #define HAVE_STRUCT_STATFS_F_BFREE 1
18964 _ACEOF
18968 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18969 #ifdef HAVE_SYS_PARAM_H
18970 # include <sys/param.h>
18971 #endif
18972 #ifdef HAVE_SYS_MOUNT_H
18973 # include <sys/mount.h>
18974 #endif
18975 #ifdef HAVE_SYS_VFS_H
18976 # include <sys/vfs.h>
18977 #endif
18978 #ifdef HAVE_SYS_STATFS_H
18979 # include <sys/statfs.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_PARAM_H
18992 # include <sys/param.h>
18993 #endif
18994 #ifdef HAVE_SYS_MOUNT_H
18995 # include <sys/mount.h>
18996 #endif
18997 #ifdef HAVE_SYS_VFS_H
18998 # include <sys/vfs.h>
18999 #endif
19000 #ifdef HAVE_SYS_STATFS_H
19001 # include <sys/statfs.h>
19002 #endif
19004 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19008 _ACEOF
19012 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19013 #ifdef HAVE_SYS_PARAM_H
19014 # include <sys/param.h>
19015 #endif
19016 #ifdef HAVE_SYS_MOUNT_H
19017 # include <sys/mount.h>
19018 #endif
19019 #ifdef HAVE_SYS_VFS_H
19020 # include <sys/vfs.h>
19021 #endif
19022 #ifdef HAVE_SYS_STATFS_H
19023 # include <sys/statfs.h>
19024 #endif
19026 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_STRUCT_STATFS_F_FFREE 1
19030 _ACEOF
19034 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19035 #ifdef HAVE_SYS_PARAM_H
19036 # include <sys/param.h>
19037 #endif
19038 #ifdef HAVE_SYS_MOUNT_H
19039 # include <sys/mount.h>
19040 #endif
19041 #ifdef HAVE_SYS_VFS_H
19042 # include <sys/vfs.h>
19043 #endif
19044 #ifdef HAVE_SYS_STATFS_H
19045 # include <sys/statfs.h>
19046 #endif
19048 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19050 cat >>confdefs.h <<_ACEOF
19051 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19052 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19057 #ifdef HAVE_SYS_PARAM_H
19058 # include <sys/param.h>
19059 #endif
19060 #ifdef HAVE_SYS_MOUNT_H
19061 # include <sys/mount.h>
19062 #endif
19063 #ifdef HAVE_SYS_VFS_H
19064 # include <sys/vfs.h>
19065 #endif
19066 #ifdef HAVE_SYS_STATFS_H
19067 # include <sys/statfs.h>
19068 #endif
19070 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19074 _ACEOF
19080 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19081 #include <sys/statvfs.h>
19082 #endif
19084 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19088 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19095 #include <dirent.h>
19096 #endif
19098 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19102 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19109 #ifdef HAVE_SYS_SOCKET_H
19110 # include <sys/socket.h>
19111 #endif
19112 #ifdef HAVE_SYS_UN_H
19113 # include <sys/un.h>
19114 #endif
19116 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19125 #ifdef HAVE_SYS_SOCKET_H
19126 # include <sys/socket.h>
19127 #endif
19128 #ifdef HAVE_SYS_UN_H
19129 # include <sys/un.h>
19130 #endif
19132 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19136 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19141 #ifdef HAVE_SYS_SOCKET_H
19142 # include <sys/socket.h>
19143 #endif
19144 #ifdef HAVE_SYS_UN_H
19145 # include <sys/un.h>
19146 #endif
19148 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19152 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19159 #ifdef HAVE_SCSI_SG_H
19160 #include <scsi/sg.h>
19161 #endif
19163 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_SCSIREQ_T_CMD 1
19167 _ACEOF
19171 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>
19172 #ifdef HAVE_SCSI_SG_H
19173 #include <scsi/sg.h>
19174 #endif
19176 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19180 _ACEOF
19186 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19188 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_SIGINFO_T_SI_FD 1
19192 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19199 #ifdef HAVE_SYS_MTIO_H
19200 #include <sys/mtio.h>
19201 #endif
19203 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19207 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19212 #ifdef HAVE_SYS_MTIO_H
19213 #include <sys/mtio.h>
19214 #endif
19216 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19220 _ACEOF
19224 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19225 #ifdef HAVE_SYS_MTIO_H
19226 #include <sys/mtio.h>
19227 #endif
19229 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19233 _ACEOF
19239 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19240 #include <getopt.h>
19241 #endif
19243 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT_OPTION_NAME 1
19247 _ACEOF
19253 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19254 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19258 _ACEOF
19262 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19263 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19265 cat >>confdefs.h <<_ACEOF
19266 #define HAVE_STRUCT_STAT_ST_MTIM 1
19267 _ACEOF
19271 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19272 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19276 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19281 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_STRUCT_STAT_ST_CTIM 1
19285 _ACEOF
19289 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19290 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19294 _ACEOF
19298 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19299 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_STAT_ST_ATIM 1
19303 _ACEOF
19307 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19308 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19310 cat >>confdefs.h <<_ACEOF
19311 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19312 _ACEOF
19316 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19317 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19321 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19326 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19330 _ACEOF
19334 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19335 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19337 cat >>confdefs.h <<_ACEOF
19338 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19339 _ACEOF
19343 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19344 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19346 cat >>confdefs.h <<_ACEOF
19347 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19348 _ACEOF
19352 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19353 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19355 cat >>confdefs.h <<_ACEOF
19356 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19357 _ACEOF
19363 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
19364 #include <sys/types.h>
19365 #endif
19366 #ifdef HAVE_NETINET_IN_H
19367 #include <netinet/in.h>
19368 #endif
19370 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19374 _ACEOF
19380 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19381 #include <sys/types.h>
19382 #endif
19383 #ifdef HAVE_NETINET_IN_H
19384 #include <netinet/in.h>
19385 #endif
19386 #ifdef HAVE_RESOLV_H
19387 #include <resolv.h>
19388 #endif
19390 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19392 cat >>confdefs.h <<_ACEOF
19393 #define HAVE_STRUCT___RES_STATE 1
19394 _ACEOF
19400 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
19401 #include <resolv.h>
19402 #endif
19404 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19406 cat >>confdefs.h <<_ACEOF
19407 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19408 _ACEOF
19414 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19415 #include <sys/types.h>
19416 #endif
19417 #ifdef HAVE_NETINET_IN_H
19418 # include <netinet/in.h>
19419 #endif
19420 #ifdef HAVE_ARPA_NAMESER_H
19421 # include <arpa/nameser.h>
19422 #endif
19424 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19426 cat >>confdefs.h <<_ACEOF
19427 #define HAVE_NS_MSG__MSG_PTR 1
19428 _ACEOF
19434 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19435 #include <sys/types.h>
19436 #endif
19437 #ifdef HAVE_NETINET_IN_H
19438 #include <netinet/in.h>
19439 #endif
19440 #ifdef HAVE_NETINET_IP_H
19441 #include <netinet/ip.h>
19442 #endif
19443 #ifdef HAVE_NETINET_IP_ICMP_H
19444 #include <netinet/ip_icmp.h>
19445 #endif
19446 #ifdef HAVE_NETINET_ICMP_VAR_H
19447 #include <netinet/icmp_var.h>
19448 #endif
19450 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19452 cat >>confdefs.h <<_ACEOF
19453 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19454 _ACEOF
19460 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19461 #include <sys/types.h>
19462 #endif
19463 #ifdef HAVE_ALIAS_H
19464 #include <alias.h>
19465 #endif
19466 #ifdef HAVE_SYS_SOCKET_H
19467 #include <sys/socket.h>
19468 #endif
19469 #ifdef HAVE_SYS_SOCKETVAR_H
19470 #include <sys/socketvar.h>
19471 #endif
19472 #ifdef HAVE_SYS_TIMEOUT_H
19473 #include <sys/timeout.h>
19474 #endif
19475 #ifdef HAVE_NETINET_IN_H
19476 #include <netinet/in.h>
19477 #endif
19478 #ifdef HAVE_NETINET_IN_SYSTM_H
19479 #include <netinet/in_systm.h>
19480 #endif
19481 #ifdef HAVE_NETINET_IP_H
19482 #include <netinet/ip.h>
19483 #endif
19484 #ifdef HAVE_NETINET_IP_VAR_H
19485 #include <netinet/ip_var.h>
19486 #endif
19487 #ifdef HAVE_NETINET_IP_ICMP_H
19488 #include <netinet/ip_icmp.h>
19489 #endif
19490 #ifdef HAVE_NETINET_ICMP_VAR_H
19491 #include <netinet/icmp_var.h>
19492 #endif
19494 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19498 _ACEOF
19504 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19505 #include <sys/types.h>
19506 #endif
19507 #ifdef HAVE_SYS_SOCKETVAR_H
19508 #include <sys/socketvar.h>
19509 #endif
19510 #ifdef HAVE_NETINET_IN_H
19511 #include <netinet/in.h>
19512 #endif
19513 #ifdef HAVE_NETINET_IP_VAR_H
19514 #include <netinet/ip_var.h>
19515 #endif
19517 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19519 cat >>confdefs.h <<_ACEOF
19520 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19521 _ACEOF
19527 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
19528 #include <netinet/ip_var.h>
19529 #endif
19531 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19533 cat >>confdefs.h <<_ACEOF
19534 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19535 _ACEOF
19541 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19542 #include <sys/types.h>
19543 #endif
19544 #ifdef HAVE_SYS_SOCKETVAR_H
19545 #include <sys/socketvar.h>
19546 #endif
19547 #ifdef HAVE_NETINET_IN_H
19548 #include <netinet/in.h>
19549 #endif
19550 #ifdef HAVE_NETINET_TCP_H
19551 #include <netinet/tcp.h>
19552 #endif
19553 #ifdef HAVE_NETINET_TCP_VAR_H
19554 #include <netinet/tcp_var.h>
19555 #endif
19557 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19559 cat >>confdefs.h <<_ACEOF
19560 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19561 _ACEOF
19567 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
19568 #include <netinet/tcp_var.h>
19569 #endif
19571 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19573 cat >>confdefs.h <<_ACEOF
19574 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19575 _ACEOF
19581 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19582 #include <sys/types.h>
19583 #endif
19584 #ifdef HAVE_NETINET_IN_H
19585 #include <netinet/in.h>
19586 #endif
19587 #ifdef HAVE_NETINET_IP_VAR_H
19588 #include <netinet/ip_var.h>
19589 #endif
19590 #ifdef HAVE_NETINET_UDP_H
19591 #include <netinet/udp.h>
19592 #endif
19593 #ifdef HAVE_NETINET_UDP_VAR_H
19594 #include <netinet/udp_var.h>
19595 #endif
19597 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19599 cat >>confdefs.h <<_ACEOF
19600 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19601 _ACEOF
19607 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19608 #include <sys/types.h>
19609 #endif
19610 #ifdef HAVE_NET_IF_H
19611 # include <net/if.h>
19612 #endif
19614 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19616 cat >>confdefs.h <<_ACEOF
19617 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19618 _ACEOF
19624 ac_save_LIBS="$LIBS"
19625 LIBS="$LIBS -lm"
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19627 $as_echo_n "checking for isfinite... " >&6; }
19628 if ${ac_cv_have_isfinite+:} false; then :
19629 $as_echo_n "(cached) " >&6
19630 else
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19633 #define _GNU_SOURCE
19634 #include <math.h>
19636 main ()
19638 float f = 0.0; return isfinite(f)
19640 return 0;
19642 _ACEOF
19643 if ac_fn_c_try_link "$LINENO"; then :
19644 ac_cv_have_isfinite="yes"
19645 else
19646 ac_cv_have_isfinite="no"
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext conftest.$ac_ext
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19652 $as_echo "$ac_cv_have_isfinite" >&6; }
19653 if test "$ac_cv_have_isfinite" = "yes"
19654 then
19656 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19661 $as_echo_n "checking for isinf... " >&6; }
19662 if ${ac_cv_have_isinf+:} false; then :
19663 $as_echo_n "(cached) " >&6
19664 else
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 #include <math.h>
19669 main ()
19671 float f = 0.0; return isinf(f)
19673 return 0;
19675 _ACEOF
19676 if ac_fn_c_try_link "$LINENO"; then :
19677 ac_cv_have_isinf="yes"
19678 else
19679 ac_cv_have_isinf="no"
19681 rm -f core conftest.err conftest.$ac_objext \
19682 conftest$ac_exeext conftest.$ac_ext
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19685 $as_echo "$ac_cv_have_isinf" >&6; }
19686 if test "$ac_cv_have_isinf" = "yes"
19687 then
19689 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19694 $as_echo_n "checking for isnan... " >&6; }
19695 if ${ac_cv_have_isnan+:} false; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #include <math.h>
19702 main ()
19704 float f = 0.0; return isnan(f)
19706 return 0;
19708 _ACEOF
19709 if ac_fn_c_try_link "$LINENO"; then :
19710 ac_cv_have_isnan="yes"
19711 else
19712 ac_cv_have_isnan="no"
19714 rm -f core conftest.err conftest.$ac_objext \
19715 conftest$ac_exeext conftest.$ac_ext
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19718 $as_echo "$ac_cv_have_isnan" >&6; }
19719 if test "$ac_cv_have_isnan" = "yes"
19720 then
19722 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19726 for ac_func in \
19727 acosh \
19728 acoshf \
19729 asinh \
19730 asinhf \
19731 atanh \
19732 atanhf \
19733 cbrt \
19734 cbrtf \
19735 erf \
19736 erfc \
19737 erfcf \
19738 erff \
19739 exp2 \
19740 exp2f \
19741 expm1 \
19742 expm1f \
19743 fma \
19744 fmaf \
19745 ilogb \
19746 ilogbf \
19747 j0 \
19748 j1 \
19749 jn \
19750 lgamma \
19751 lgammaf \
19752 llrint \
19753 llrintf \
19754 llround \
19755 llroundf \
19756 log1p \
19757 log1pf \
19758 log2 \
19759 log2f \
19760 lrint \
19761 lrintf \
19762 lround \
19763 lroundf \
19764 nearbyint \
19765 nearbyintf \
19766 nexttoward \
19767 nexttowardf \
19768 remainder \
19769 remainderf \
19770 remquo \
19771 remquof \
19772 rint \
19773 rintf \
19774 round \
19775 roundf \
19776 tgamma \
19777 tgammaf \
19778 trunc \
19779 truncf \
19780 y0 \
19781 y1 \
19784 do :
19785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19788 cat >>confdefs.h <<_ACEOF
19789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19790 _ACEOF
19793 done
19795 LIBS="$ac_save_LIBS"
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19798 $as_echo_n "checking for __builtin_popcount... " >&6; }
19799 if ${ac_cv_have___builtin_popcount+:} false; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19806 main ()
19808 return __builtin_popcount(1)
19810 return 0;
19812 _ACEOF
19813 if ac_fn_c_try_link "$LINENO"; then :
19814 ac_cv_have___builtin_popcount="yes"
19815 else
19816 ac_cv_have___builtin_popcount="no"
19818 rm -f core conftest.err conftest.$ac_objext \
19819 conftest$ac_exeext conftest.$ac_ext
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19822 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19823 if test "$ac_cv_have___builtin_popcount" = "yes"
19824 then
19826 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19831 $as_echo_n "checking for __clear_cache... " >&6; }
19832 if ${ac_cv_have___clear_cache+:} false; then :
19833 $as_echo_n "(cached) " >&6
19834 else
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19839 main ()
19841 __clear_cache((void*)0, (void*)0); return 0;
19843 return 0;
19845 _ACEOF
19846 if ac_fn_c_try_link "$LINENO"; then :
19847 ac_cv_have___clear_cache="yes"
19848 else
19849 ac_cv_have___clear_cache="no"
19851 rm -f core conftest.err conftest.$ac_objext \
19852 conftest$ac_exeext conftest.$ac_ext
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19855 $as_echo "$ac_cv_have___clear_cache" >&6; }
19856 if test "$ac_cv_have___clear_cache" = "yes"
19857 then
19859 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19864 case $host_cpu in
19865 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19866 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19867 if ${ac_cv_cpp_def___i386__+:} false; then :
19868 $as_echo_n "(cached) " >&6
19869 else
19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19872 #ifndef __i386__
19874 #endif
19875 _ACEOF
19876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19877 $EGREP "yes" >/dev/null 2>&1; then :
19878 ac_cv_cpp_def___i386__=yes
19879 else
19880 ac_cv_cpp_def___i386__=no
19882 rm -f conftest*
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19886 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19887 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19888 CFLAGS="$CFLAGS -D__i386__"
19889 LINTFLAGS="$LINTFLAGS -D__i386__"
19890 fi ;;
19891 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19892 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19893 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19894 $as_echo_n "(cached) " >&6
19895 else
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #ifndef __x86_64__
19900 #endif
19901 _ACEOF
19902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19903 $EGREP "yes" >/dev/null 2>&1; then :
19904 ac_cv_cpp_def___x86_64__=yes
19905 else
19906 ac_cv_cpp_def___x86_64__=no
19908 rm -f conftest*
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19912 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19913 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19914 CFLAGS="$CFLAGS -D__x86_64__"
19915 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19916 fi ;;
19917 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19918 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19919 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19920 $as_echo_n "(cached) " >&6
19921 else
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #ifndef __sparc64__
19926 #endif
19927 _ACEOF
19928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19929 $EGREP "yes" >/dev/null 2>&1; then :
19930 ac_cv_cpp_def___sparc64__=yes
19931 else
19932 ac_cv_cpp_def___sparc64__=no
19934 rm -f conftest*
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19938 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19939 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19940 CFLAGS="$CFLAGS -D__sparc64__"
19941 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19942 fi ;;
19943 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19944 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19945 if ${ac_cv_cpp_def___sparc__+:} false; then :
19946 $as_echo_n "(cached) " >&6
19947 else
19948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19949 /* end confdefs.h. */
19950 #ifndef __sparc__
19952 #endif
19953 _ACEOF
19954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19955 $EGREP "yes" >/dev/null 2>&1; then :
19956 ac_cv_cpp_def___sparc__=yes
19957 else
19958 ac_cv_cpp_def___sparc__=no
19960 rm -f conftest*
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19964 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19965 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19966 CFLAGS="$CFLAGS -D__sparc__"
19967 LINTFLAGS="$LINTFLAGS -D__sparc__"
19968 fi ;;
19969 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19970 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19971 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19972 $as_echo_n "(cached) " >&6
19973 else
19974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h. */
19976 #ifndef __powerpc64__
19978 #endif
19979 _ACEOF
19980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19981 $EGREP "yes" >/dev/null 2>&1; then :
19982 ac_cv_cpp_def___powerpc64__=yes
19983 else
19984 ac_cv_cpp_def___powerpc64__=no
19986 rm -f conftest*
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19990 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19991 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19992 CFLAGS="$CFLAGS -D__powerpc64__"
19993 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19994 fi ;;
19995 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19996 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19997 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19998 $as_echo_n "(cached) " >&6
19999 else
20000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20001 /* end confdefs.h. */
20002 #ifndef __powerpc__
20004 #endif
20005 _ACEOF
20006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20007 $EGREP "yes" >/dev/null 2>&1; then :
20008 ac_cv_cpp_def___powerpc__=yes
20009 else
20010 ac_cv_cpp_def___powerpc__=no
20012 rm -f conftest*
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20016 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20017 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20018 CFLAGS="$CFLAGS -D__powerpc__"
20019 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20020 fi ;;
20021 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20022 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20023 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20024 $as_echo_n "(cached) " >&6
20025 else
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #ifndef __aarch64__
20030 #endif
20031 _ACEOF
20032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20033 $EGREP "yes" >/dev/null 2>&1; then :
20034 ac_cv_cpp_def___aarch64__=yes
20035 else
20036 ac_cv_cpp_def___aarch64__=no
20038 rm -f conftest*
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20042 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20043 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20044 CFLAGS="$CFLAGS -D__aarch64__"
20045 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20046 fi ;;
20047 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20048 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20049 if ${ac_cv_cpp_def___arm__+:} false; then :
20050 $as_echo_n "(cached) " >&6
20051 else
20052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20053 /* end confdefs.h. */
20054 #ifndef __arm__
20056 #endif
20057 _ACEOF
20058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20059 $EGREP "yes" >/dev/null 2>&1; then :
20060 ac_cv_cpp_def___arm__=yes
20061 else
20062 ac_cv_cpp_def___arm__=no
20064 rm -f conftest*
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20068 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20069 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20070 CFLAGS="$CFLAGS -D__arm__"
20071 LINTFLAGS="$LINTFLAGS -D__arm__"
20072 fi ;;
20073 esac
20075 case $host_vendor in
20076 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20077 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20078 if ${ac_cv_cpp_def___sun__+:} false; then :
20079 $as_echo_n "(cached) " >&6
20080 else
20081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20082 /* end confdefs.h. */
20083 #ifndef __sun__
20085 #endif
20086 _ACEOF
20087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20088 $EGREP "yes" >/dev/null 2>&1; then :
20089 ac_cv_cpp_def___sun__=yes
20090 else
20091 ac_cv_cpp_def___sun__=no
20093 rm -f conftest*
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20097 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20098 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20099 CFLAGS="$CFLAGS -D__sun__"
20100 LINTFLAGS="$LINTFLAGS -D__sun__"
20101 fi ;;
20102 esac
20108 ac_config_commands="$ac_config_commands include/stamp-h"
20110 $as_echo_n "creating Makefile rules..." >&6
20112 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20113 OPENGL_LIBS = $OPENGL_LIBS
20114 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20115 IOKIT_LIBS = $IOKIT_LIBS
20116 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20117 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20118 CORESERVICES_LIBS = $CORESERVICES_LIBS
20119 APPKIT_LIBS = $APPKIT_LIBS
20120 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20121 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20122 SECURITY_LIBS = $SECURITY_LIBS
20123 COREAUDIO_LIBS = $COREAUDIO_LIBS
20124 OPENAL_LIBS = $OPENAL_LIBS
20125 OPENCL_LIBS = $OPENCL_LIBS
20126 QUICKTIME_LIBS = $QUICKTIME_LIBS
20127 CARBON_LIBS = $CARBON_LIBS
20128 METAL_LIBS = $METAL_LIBS
20129 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20130 PTHREAD_LIBS = $PTHREAD_LIBS
20131 X_CFLAGS = $X_CFLAGS
20132 X_PRE_LIBS = $X_PRE_LIBS
20133 X_LIBS = $X_LIBS
20134 X_EXTRA_LIBS = $X_EXTRA_LIBS
20135 PCAP_LIBS = $PCAP_LIBS
20136 XML2_CFLAGS = $XML2_CFLAGS
20137 XML2_LIBS = $XML2_LIBS
20138 XSLT_CFLAGS = $XSLT_CFLAGS
20139 XSLT_LIBS = $XSLT_LIBS
20140 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20141 INOTIFY_LIBS = $INOTIFY_LIBS
20142 DBUS_CFLAGS = $DBUS_CFLAGS
20143 DBUS_LIBS = $DBUS_LIBS
20144 HAL_CFLAGS = $HAL_CFLAGS
20145 HAL_LIBS = $HAL_LIBS
20146 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20147 GNUTLS_LIBS = $GNUTLS_LIBS
20148 SANE_CFLAGS = $SANE_CFLAGS
20149 SANE_LIBS = $SANE_LIBS
20150 USB_CFLAGS = $USB_CFLAGS
20151 USB_LIBS = $USB_LIBS
20152 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20153 GPHOTO2_LIBS = $GPHOTO2_LIBS
20154 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20155 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20156 RESOLV_LIBS = $RESOLV_LIBS
20157 LCMS2_CFLAGS = $LCMS2_CFLAGS
20158 LCMS2_LIBS = $LCMS2_LIBS
20159 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20160 FREETYPE_LIBS = $FREETYPE_LIBS
20161 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20162 PULSE_CFLAGS = $PULSE_CFLAGS
20163 PULSE_LIBS = $PULSE_LIBS
20164 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20165 GSTREAMER_LIBS = $GSTREAMER_LIBS
20166 ALSA_LIBS = $ALSA_LIBS
20167 OSS4_CFLAGS = $OSS4_CFLAGS
20168 OSS4_LIBS = $OSS4_LIBS
20169 UDEV_CFLAGS = $UDEV_CFLAGS
20170 UDEV_LIBS = $UDEV_LIBS
20171 UNWIND_CFLAGS = $UNWIND_CFLAGS
20172 UNWIND_LIBS = $UNWIND_LIBS
20173 SDL2_CFLAGS = $SDL2_CFLAGS
20174 SDL2_LIBS = $SDL2_LIBS
20175 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20176 FAUDIO_LIBS = $FAUDIO_LIBS
20177 CAPI20_CFLAGS = $CAPI20_CFLAGS
20178 CAPI20_LIBS = $CAPI20_LIBS
20179 CUPS_CFLAGS = $CUPS_CFLAGS
20180 CUPS_LIBS = $CUPS_LIBS
20181 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20182 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20183 KRB5_CFLAGS = $KRB5_CFLAGS
20184 KRB5_LIBS = $KRB5_LIBS
20185 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20186 GSSAPI_LIBS = $GSSAPI_LIBS
20187 JPEG_CFLAGS = $JPEG_CFLAGS
20188 JPEG_LIBS = $JPEG_LIBS
20189 PNG_CFLAGS = $PNG_CFLAGS
20190 PNG_LIBS = $PNG_LIBS
20191 TIFF_CFLAGS = $TIFF_CFLAGS
20192 TIFF_LIBS = $TIFF_LIBS
20193 MPG123_CFLAGS = $MPG123_CFLAGS
20194 MPG123_LIBS = $MPG123_LIBS
20195 KSTAT_LIBS = $KSTAT_LIBS
20196 PROCSTAT_LIBS = $PROCSTAT_LIBS
20197 NETAPI_CFLAGS = $NETAPI_CFLAGS
20198 NETAPI_LIBS = $NETAPI_LIBS
20199 VKD3D_CFLAGS = $VKD3D_CFLAGS
20200 VKD3D_LIBS = $VKD3D_LIBS
20201 POLL_LIBS = $POLL_LIBS
20202 RT_LIBS = $RT_LIBS
20203 LDAP_CFLAGS = $LDAP_CFLAGS
20204 LDAP_LIBS = $LDAP_LIBS
20209 wine_fn_append_rule "
20210 # Rules automatically generated by configure
20212 .INIT: Makefile
20213 .MAKEFILEDEPS:
20214 all: Makefile
20215 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20216 @./config.status Make.tmp Makefile
20217 depend: \$(MAKEDEP) dummy
20218 \$(MAKEDEP)"
20220 ac_config_links="$ac_config_links wine:tools/winewrapper"
20221 wine_fn_config_symlink wine
20222 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20223 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20224 wine_fn_config_symlink wine64
20227 wine_fn_config_makefile dlls/acledit enable_acledit
20228 wine_fn_config_makefile dlls/aclui enable_aclui
20229 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20230 wine_fn_config_makefile dlls/activeds enable_activeds
20231 wine_fn_config_makefile dlls/activeds/tests enable_tests
20232 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20233 wine_fn_config_makefile dlls/adsiid enable_adsiid
20234 wine_fn_config_makefile dlls/adsldp enable_adsldp
20235 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20236 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20237 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20238 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20239 wine_fn_config_makefile dlls/advpack enable_advpack
20240 wine_fn_config_makefile dlls/advpack/tests enable_tests
20241 wine_fn_config_makefile dlls/amsi enable_amsi
20242 wine_fn_config_makefile dlls/amstream enable_amstream
20243 wine_fn_config_makefile dlls/amstream/tests enable_tests
20244 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20247 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20249 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20269 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20270 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20275 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20276 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20278 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20279 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20282 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20298 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20299 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20302 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20310 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20311 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20318 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20320 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20322 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20323 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20324 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20351 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20353 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20354 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20364 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20369 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20370 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20375 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20377 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20396 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20397 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20407 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20417 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20428 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20432 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20434 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20436 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20437 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20438 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20439 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20442 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20443 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20444 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20445 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20447 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20448 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20450 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20453 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20455 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20457 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20461 wine_fn_config_makefile dlls/apphelp enable_apphelp
20462 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20463 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20464 wine_fn_config_makefile dlls/atl enable_atl
20465 wine_fn_config_makefile dlls/atl/tests enable_tests
20466 wine_fn_config_makefile dlls/atl100 enable_atl100
20467 wine_fn_config_makefile dlls/atl100/tests enable_tests
20468 wine_fn_config_makefile dlls/atl110 enable_atl110
20469 wine_fn_config_makefile dlls/atl80 enable_atl80
20470 wine_fn_config_makefile dlls/atl80/tests enable_tests
20471 wine_fn_config_makefile dlls/atl90 enable_atl90
20472 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20473 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20474 wine_fn_config_makefile dlls/atmlib enable_atmlib
20475 wine_fn_config_makefile dlls/authz enable_authz
20476 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20477 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20478 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20479 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20480 wine_fn_config_makefile dlls/avrt enable_avrt
20481 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20482 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20483 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20484 wine_fn_config_makefile dlls/browseui enable_browseui
20485 wine_fn_config_makefile dlls/browseui/tests enable_tests
20486 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20487 wine_fn_config_makefile dlls/cabinet enable_cabinet
20488 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20489 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20490 wine_fn_config_makefile dlls/cards enable_cards
20491 wine_fn_config_makefile dlls/cdosys enable_cdosys
20492 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20493 wine_fn_config_makefile dlls/clusapi enable_clusapi
20494 wine_fn_config_makefile dlls/combase enable_combase
20495 wine_fn_config_makefile dlls/combase/tests enable_tests
20496 wine_fn_config_makefile dlls/comcat enable_comcat
20497 wine_fn_config_makefile dlls/comcat/tests enable_tests
20498 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20499 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20500 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20501 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20502 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20503 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20504 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20505 wine_fn_config_makefile dlls/compstui enable_compstui
20506 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20507 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20508 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20509 wine_fn_config_makefile dlls/connect enable_connect
20510 wine_fn_config_makefile dlls/credui enable_credui
20511 wine_fn_config_makefile dlls/credui/tests enable_tests
20512 wine_fn_config_makefile dlls/crtdll enable_crtdll
20513 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20514 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20515 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20516 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20517 wine_fn_config_makefile dlls/cryptext enable_cryptext
20518 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20519 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20520 wine_fn_config_makefile dlls/cryptui enable_cryptui
20521 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20522 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20523 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20524 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20525 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20526 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20527 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20528 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20529 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20530 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20531 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20532 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20533 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20534 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20535 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20536 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20537 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20538 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20539 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20540 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20541 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20542 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20543 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20544 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20545 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20546 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20547 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20548 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20549 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20550 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20551 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20552 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20553 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20554 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20555 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20556 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20557 wine_fn_config_makefile dlls/d3dim enable_d3dim
20558 wine_fn_config_makefile dlls/d3drm enable_d3drm
20559 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20560 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20561 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20562 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20563 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20564 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20565 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20566 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20567 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20568 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20569 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20570 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20571 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20572 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20573 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20574 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20575 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20576 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20577 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20578 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20579 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20580 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20581 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20582 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20583 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20584 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20585 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20586 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20587 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20588 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20589 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20590 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20591 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20592 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20593 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20594 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20595 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20596 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20597 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20598 wine_fn_config_makefile dlls/davclnt enable_davclnt
20599 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20600 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20601 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20602 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20603 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20604 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20605 wine_fn_config_makefile dlls/ddraw enable_ddraw
20606 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20607 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20608 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20609 wine_fn_config_makefile dlls/devenum enable_devenum
20610 wine_fn_config_makefile dlls/devenum/tests enable_tests
20611 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20612 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20613 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20614 wine_fn_config_makefile dlls/difxapi enable_difxapi
20615 wine_fn_config_makefile dlls/dinput enable_dinput
20616 wine_fn_config_makefile dlls/dinput/tests enable_tests
20617 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20618 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20619 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20620 wine_fn_config_makefile dlls/dispex enable_dispex
20621 wine_fn_config_makefile dlls/dispex/tests enable_tests
20622 wine_fn_config_makefile dlls/display.drv16 enable_win16
20623 wine_fn_config_makefile dlls/dmband enable_dmband
20624 wine_fn_config_makefile dlls/dmband/tests enable_tests
20625 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20626 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20627 wine_fn_config_makefile dlls/dmime enable_dmime
20628 wine_fn_config_makefile dlls/dmime/tests enable_tests
20629 wine_fn_config_makefile dlls/dmloader enable_dmloader
20630 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20631 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20632 wine_fn_config_makefile dlls/dmscript enable_dmscript
20633 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20634 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20635 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20636 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20637 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20638 wine_fn_config_makefile dlls/dmusic enable_dmusic
20639 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20640 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20641 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20642 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20643 wine_fn_config_makefile dlls/dplay enable_dplay
20644 wine_fn_config_makefile dlls/dplayx enable_dplayx
20645 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20646 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20647 wine_fn_config_makefile dlls/dpnet enable_dpnet
20648 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20649 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20650 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20651 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20652 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20653 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20654 wine_fn_config_makefile dlls/drmclien enable_drmclien
20655 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20656 wine_fn_config_makefile dlls/dsound enable_dsound
20657 wine_fn_config_makefile dlls/dsound/tests enable_tests
20658 wine_fn_config_makefile dlls/dsquery enable_dsquery
20659 wine_fn_config_makefile dlls/dssenh enable_dssenh
20660 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20661 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20662 wine_fn_config_makefile dlls/dswave enable_dswave
20663 wine_fn_config_makefile dlls/dswave/tests enable_tests
20664 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20665 wine_fn_config_makefile dlls/dwrite enable_dwrite
20666 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20667 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20668 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20669 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20670 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20671 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20672 wine_fn_config_makefile dlls/dxgi enable_dxgi
20673 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20674 wine_fn_config_makefile dlls/dxguid enable_dxguid
20675 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20676 wine_fn_config_makefile dlls/esent enable_esent
20677 wine_fn_config_makefile dlls/evr enable_evr
20678 wine_fn_config_makefile dlls/evr/tests enable_tests
20679 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20680 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20681 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20682 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20683 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20684 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20685 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20686 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20687 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20688 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20689 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20690 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20691 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20692 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20693 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20694 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20695 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20699 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20700 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20701 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20702 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20703 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20704 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20705 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20706 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20707 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20708 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20709 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20710 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20711 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20712 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20713 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20714 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20715 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20716 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20717 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20718 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20719 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20720 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20721 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
20722 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20723 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20724 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20725 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20726 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20727 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20728 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20729 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20730 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20731 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20732 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20733 wine_fn_config_makefile dlls/faultrep enable_faultrep
20734 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20735 wine_fn_config_makefile dlls/feclient enable_feclient
20736 wine_fn_config_makefile dlls/fltlib enable_fltlib
20737 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20738 wine_fn_config_makefile dlls/fntcache enable_fntcache
20739 wine_fn_config_makefile dlls/fontsub enable_fontsub
20740 wine_fn_config_makefile dlls/fusion enable_fusion
20741 wine_fn_config_makefile dlls/fusion/tests enable_tests
20742 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20743 wine_fn_config_makefile dlls/gameux enable_gameux
20744 wine_fn_config_makefile dlls/gameux/tests enable_tests
20745 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20746 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20747 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20748 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20749 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20750 wine_fn_config_makefile dlls/glu32 enable_glu32
20751 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20752 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20753 wine_fn_config_makefile dlls/hal enable_hal
20754 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20755 wine_fn_config_makefile dlls/hid enable_hid
20756 wine_fn_config_makefile dlls/hid/tests enable_tests
20757 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20758 wine_fn_config_makefile dlls/hlink enable_hlink
20759 wine_fn_config_makefile dlls/hlink/tests enable_tests
20760 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20761 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20762 wine_fn_config_makefile dlls/http.sys enable_http_sys
20763 wine_fn_config_makefile dlls/httpapi enable_httpapi
20764 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20765 wine_fn_config_makefile dlls/iccvid enable_iccvid
20766 wine_fn_config_makefile dlls/icmp enable_icmp
20767 wine_fn_config_makefile dlls/ieframe enable_ieframe
20768 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20769 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20770 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20771 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20772 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20773 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20774 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20775 wine_fn_config_makefile dlls/imm32 enable_imm32
20776 wine_fn_config_makefile dlls/imm32/tests enable_tests
20777 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20778 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20779 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20780 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20781 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20782 wine_fn_config_makefile dlls/infosoft enable_infosoft
20783 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20784 wine_fn_config_makefile dlls/initpki enable_initpki
20785 wine_fn_config_makefile dlls/inkobj enable_inkobj
20786 wine_fn_config_makefile dlls/inseng enable_inseng
20787 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20788 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20789 wine_fn_config_makefile dlls/iprop enable_iprop
20790 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20791 wine_fn_config_makefile dlls/itircl enable_itircl
20792 wine_fn_config_makefile dlls/itss enable_itss
20793 wine_fn_config_makefile dlls/itss/tests enable_tests
20794 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20795 wine_fn_config_makefile dlls/jscript enable_jscript
20796 wine_fn_config_makefile dlls/jscript/tests enable_tests
20797 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20798 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20799 wine_fn_config_makefile dlls/kerberos enable_kerberos
20800 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20801 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20802 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20803 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20804 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20805 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20806 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20807 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20808 wine_fn_config_makefile dlls/ksuser enable_ksuser
20809 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20810 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20811 wine_fn_config_makefile dlls/loadperf enable_loadperf
20812 wine_fn_config_makefile dlls/localspl enable_localspl
20813 wine_fn_config_makefile dlls/localspl/tests enable_tests
20814 wine_fn_config_makefile dlls/localui enable_localui
20815 wine_fn_config_makefile dlls/localui/tests enable_tests
20816 wine_fn_config_makefile dlls/lz32 enable_lz32
20817 wine_fn_config_makefile dlls/lz32/tests enable_tests
20818 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20819 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20820 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20821 wine_fn_config_makefile dlls/mapistub enable_mapistub
20822 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20823 wine_fn_config_makefile dlls/mcicda enable_mcicda
20824 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20825 wine_fn_config_makefile dlls/mciseq enable_mciseq
20826 wine_fn_config_makefile dlls/mciwave enable_mciwave
20827 wine_fn_config_makefile dlls/mf enable_mf
20828 wine_fn_config_makefile dlls/mf/tests enable_tests
20829 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20830 wine_fn_config_makefile dlls/mferror enable_mferror
20831 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20832 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20833 wine_fn_config_makefile dlls/mfplat enable_mfplat
20834 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20835 wine_fn_config_makefile dlls/mfplay enable_mfplay
20836 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20837 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20838 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20839 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20840 wine_fn_config_makefile dlls/midimap enable_midimap
20841 wine_fn_config_makefile dlls/mlang enable_mlang
20842 wine_fn_config_makefile dlls/mlang/tests enable_tests
20843 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20844 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20845 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20846 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20847 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20848 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20849 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20850 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20851 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20852 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20853 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20854 wine_fn_config_makefile dlls/mpr enable_mpr
20855 wine_fn_config_makefile dlls/mpr/tests enable_tests
20856 wine_fn_config_makefile dlls/mprapi enable_mprapi
20857 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20858 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20859 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20860 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20861 wine_fn_config_makefile dlls/msado15 enable_msado15
20862 wine_fn_config_makefile dlls/msado15/tests enable_tests
20863 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20864 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20865 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20866 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20867 wine_fn_config_makefile dlls/mscms enable_mscms
20868 wine_fn_config_makefile dlls/mscms/tests enable_tests
20869 wine_fn_config_makefile dlls/mscoree enable_mscoree
20870 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20871 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20872 wine_fn_config_makefile dlls/msctf enable_msctf
20873 wine_fn_config_makefile dlls/msctf/tests enable_tests
20874 wine_fn_config_makefile dlls/msctfp enable_msctfp
20875 wine_fn_config_makefile dlls/msdaps enable_msdaps
20876 wine_fn_config_makefile dlls/msdelta enable_msdelta
20877 wine_fn_config_makefile dlls/msdmo enable_msdmo
20878 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20879 wine_fn_config_makefile dlls/msdrm enable_msdrm
20880 wine_fn_config_makefile dlls/msftedit enable_msftedit
20881 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20882 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20883 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20884 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20885 wine_fn_config_makefile dlls/mshtml enable_mshtml
20886 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20887 wine_fn_config_makefile dlls/msi enable_msi
20888 wine_fn_config_makefile dlls/msi/tests enable_tests
20889 wine_fn_config_makefile dlls/msident enable_msident
20890 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20891 wine_fn_config_makefile dlls/msimsg enable_msimsg
20892 wine_fn_config_makefile dlls/msimtf enable_msimtf
20893 wine_fn_config_makefile dlls/msisip enable_msisip
20894 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20895 wine_fn_config_makefile dlls/msls31 enable_msls31
20896 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20897 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20898 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20899 wine_fn_config_makefile dlls/msports enable_msports
20900 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20901 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20902 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20903 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20904 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20905 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20906 wine_fn_config_makefile dlls/mstask enable_mstask
20907 wine_fn_config_makefile dlls/mstask/tests enable_tests
20908 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20909 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20910 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20911 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20912 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20913 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20914 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20915 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20916 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20917 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20918 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20919 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20920 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20921 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20922 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20923 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20924 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20925 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20926 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20927 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20928 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20929 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20930 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20931 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20932 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20933 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20934 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20935 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20936 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20937 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20938 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20939 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20940 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20941 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20942 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20943 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20944 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20945 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20946 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20947 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20948 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20949 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20950 wine_fn_config_makefile dlls/mswsock enable_mswsock
20951 wine_fn_config_makefile dlls/msxml enable_msxml
20952 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20953 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20954 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20955 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20956 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20957 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20958 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20959 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20960 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20961 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20962 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20963 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20964 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20965 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20966 wine_fn_config_makefile dlls/netprofm enable_netprofm
20967 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20968 wine_fn_config_makefile dlls/newdev enable_newdev
20969 wine_fn_config_makefile dlls/ninput enable_ninput
20970 wine_fn_config_makefile dlls/ninput/tests enable_tests
20971 wine_fn_config_makefile dlls/normaliz enable_normaliz
20972 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20973 wine_fn_config_makefile dlls/npptools enable_npptools
20974 wine_fn_config_makefile dlls/ntdll enable_ntdll
20975 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20976 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20977 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20978 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20979 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20980 wine_fn_config_makefile dlls/ntprint enable_ntprint
20981 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20982 wine_fn_config_makefile dlls/objsel enable_objsel
20983 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20984 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20985 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20986 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20987 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20988 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20989 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20990 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20991 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20992 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20993 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20994 wine_fn_config_makefile dlls/ole32 enable_ole32
20995 wine_fn_config_makefile dlls/ole32/tests enable_tests
20996 wine_fn_config_makefile dlls/oleacc enable_oleacc
20997 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20998 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20999 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21000 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21001 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21002 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21003 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21004 wine_fn_config_makefile dlls/oledlg enable_oledlg
21005 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21006 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21007 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21008 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21009 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21010 wine_fn_config_makefile dlls/opcservices enable_opcservices
21011 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21012 wine_fn_config_makefile dlls/openal32 enable_openal32
21013 wine_fn_config_makefile dlls/opencl enable_opencl
21014 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21015 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21016 wine_fn_config_makefile dlls/packager enable_packager
21017 wine_fn_config_makefile dlls/packager/tests enable_tests
21018 wine_fn_config_makefile dlls/pdh enable_pdh
21019 wine_fn_config_makefile dlls/pdh/tests enable_tests
21020 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21021 wine_fn_config_makefile dlls/pidgen enable_pidgen
21022 wine_fn_config_makefile dlls/powrprof enable_powrprof
21023 wine_fn_config_makefile dlls/printui enable_printui
21024 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21025 wine_fn_config_makefile dlls/propsys enable_propsys
21026 wine_fn_config_makefile dlls/propsys/tests enable_tests
21027 wine_fn_config_makefile dlls/psapi enable_psapi
21028 wine_fn_config_makefile dlls/psapi/tests enable_tests
21029 wine_fn_config_makefile dlls/pstorec enable_pstorec
21030 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21031 wine_fn_config_makefile dlls/qasf enable_qasf
21032 wine_fn_config_makefile dlls/qasf/tests enable_tests
21033 wine_fn_config_makefile dlls/qcap enable_qcap
21034 wine_fn_config_makefile dlls/qcap/tests enable_tests
21035 wine_fn_config_makefile dlls/qdvd enable_qdvd
21036 wine_fn_config_makefile dlls/qedit enable_qedit
21037 wine_fn_config_makefile dlls/qedit/tests enable_tests
21038 wine_fn_config_makefile dlls/qmgr enable_qmgr
21039 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21040 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21041 wine_fn_config_makefile dlls/quartz enable_quartz
21042 wine_fn_config_makefile dlls/quartz/tests enable_tests
21043 wine_fn_config_makefile dlls/query enable_query
21044 wine_fn_config_makefile dlls/qwave enable_qwave
21045 wine_fn_config_makefile dlls/qwave/tests enable_tests
21046 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21047 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21048 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21049 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21050 wine_fn_config_makefile dlls/regapi enable_regapi
21051 wine_fn_config_makefile dlls/resutils enable_resutils
21052 wine_fn_config_makefile dlls/riched20 enable_riched20
21053 wine_fn_config_makefile dlls/riched20/tests enable_tests
21054 wine_fn_config_makefile dlls/riched32 enable_riched32
21055 wine_fn_config_makefile dlls/riched32/tests enable_tests
21056 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21057 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21058 wine_fn_config_makefile dlls/rsabase enable_rsabase
21059 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21060 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21061 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21062 wine_fn_config_makefile dlls/rtutils enable_rtutils
21063 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21064 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21065 wine_fn_config_makefile dlls/samlib enable_samlib
21066 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21067 wine_fn_config_makefile dlls/sapi enable_sapi
21068 wine_fn_config_makefile dlls/sapi/tests enable_tests
21069 wine_fn_config_makefile dlls/sas enable_sas
21070 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21071 wine_fn_config_makefile dlls/sccbase enable_sccbase
21072 wine_fn_config_makefile dlls/schannel enable_schannel
21073 wine_fn_config_makefile dlls/schannel/tests enable_tests
21074 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21075 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21076 wine_fn_config_makefile dlls/scrobj enable_scrobj
21077 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21078 wine_fn_config_makefile dlls/scrrun enable_scrrun
21079 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21080 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21081 wine_fn_config_makefile dlls/sechost enable_sechost
21082 wine_fn_config_makefile dlls/secur32 enable_secur32
21083 wine_fn_config_makefile dlls/secur32/tests enable_tests
21084 wine_fn_config_makefile dlls/security enable_security
21085 wine_fn_config_makefile dlls/sensapi enable_sensapi
21086 wine_fn_config_makefile dlls/serialui enable_serialui
21087 wine_fn_config_makefile dlls/serialui/tests enable_tests
21088 wine_fn_config_makefile dlls/setupapi enable_setupapi
21089 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21090 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21091 wine_fn_config_makefile dlls/sfc enable_sfc
21092 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21093 wine_fn_config_makefile dlls/shcore enable_shcore
21094 wine_fn_config_makefile dlls/shcore/tests enable_tests
21095 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21096 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21097 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21098 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21099 wine_fn_config_makefile dlls/shell32 enable_shell32
21100 wine_fn_config_makefile dlls/shell32/tests enable_tests
21101 wine_fn_config_makefile dlls/shfolder enable_shfolder
21102 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21103 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21104 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21105 wine_fn_config_makefile dlls/slc enable_slc
21106 wine_fn_config_makefile dlls/slc/tests enable_tests
21107 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21108 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21109 wine_fn_config_makefile dlls/softpub enable_softpub
21110 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21111 wine_fn_config_makefile dlls/spoolss enable_spoolss
21112 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21113 wine_fn_config_makefile dlls/srclient enable_srclient
21114 wine_fn_config_makefile dlls/sspicli enable_sspicli
21115 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21116 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21117 wine_fn_config_makefile dlls/sti enable_sti
21118 wine_fn_config_makefile dlls/sti/tests enable_tests
21119 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21120 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21121 wine_fn_config_makefile dlls/strmbase enable_strmbase
21122 wine_fn_config_makefile dlls/strmdll enable_strmdll
21123 wine_fn_config_makefile dlls/strmiids enable_strmiids
21124 wine_fn_config_makefile dlls/svrapi enable_svrapi
21125 wine_fn_config_makefile dlls/sxs enable_sxs
21126 wine_fn_config_makefile dlls/sxs/tests enable_tests
21127 wine_fn_config_makefile dlls/system.drv16 enable_win16
21128 wine_fn_config_makefile dlls/t2embed enable_t2embed
21129 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21130 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21131 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21132 wine_fn_config_makefile dlls/taskschd enable_taskschd
21133 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21134 wine_fn_config_makefile dlls/tdh enable_tdh
21135 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21136 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21137 wine_fn_config_makefile dlls/traffic enable_traffic
21138 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21139 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21140 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21141 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21142 wine_fn_config_makefile dlls/tzres enable_tzres
21143 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21144 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21145 wine_fn_config_makefile dlls/uianimation enable_uianimation
21146 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21147 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21148 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21149 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21150 wine_fn_config_makefile dlls/unicows enable_unicows
21151 wine_fn_config_makefile dlls/updspapi enable_updspapi
21152 wine_fn_config_makefile dlls/url enable_url
21153 wine_fn_config_makefile dlls/urlmon enable_urlmon
21154 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21155 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21156 wine_fn_config_makefile dlls/user.exe16 enable_win16
21157 wine_fn_config_makefile dlls/user32 enable_user32
21158 wine_fn_config_makefile dlls/user32/tests enable_tests
21159 wine_fn_config_makefile dlls/userenv enable_userenv
21160 wine_fn_config_makefile dlls/userenv/tests enable_tests
21161 wine_fn_config_makefile dlls/usp10 enable_usp10
21162 wine_fn_config_makefile dlls/usp10/tests enable_tests
21163 wine_fn_config_makefile dlls/utildll enable_utildll
21164 wine_fn_config_makefile dlls/uuid enable_uuid
21165 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21166 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21167 wine_fn_config_makefile dlls/vbscript enable_vbscript
21168 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21169 wine_fn_config_makefile dlls/vcomp enable_vcomp
21170 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21171 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21172 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21173 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21174 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21175 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21176 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21177 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21178 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21179 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21180 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21181 wine_fn_config_makefile dlls/version enable_version
21182 wine_fn_config_makefile dlls/version/tests enable_tests
21183 wine_fn_config_makefile dlls/vga enable_vga
21184 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21185 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21186 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21187 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21188 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21189 wine_fn_config_makefile dlls/vssapi enable_vssapi
21190 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21191 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21192 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21193 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21194 wine_fn_config_makefile dlls/w32skrnl enable_win16
21195 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21196 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21197 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21198 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21199 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21200 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21201 wine_fn_config_makefile dlls/wdscore enable_wdscore
21202 wine_fn_config_makefile dlls/webservices enable_webservices
21203 wine_fn_config_makefile dlls/webservices/tests enable_tests
21204 wine_fn_config_makefile dlls/wer enable_wer
21205 wine_fn_config_makefile dlls/wer/tests enable_tests
21206 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21207 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21208 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21209 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21210 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21211 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21212 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21213 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21214 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21215 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21216 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21217 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21218 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21219 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21220 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21221 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21222 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21223 wine_fn_config_makefile dlls/wined3d enable_wined3d
21224 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21225 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21226 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21227 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21228 wine_fn_config_makefile dlls/winemapi enable_winemapi
21229 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21230 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21231 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21232 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21233 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21234 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21235 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21236 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21237 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21238 wine_fn_config_makefile dlls/wing32 enable_wing32
21239 wine_fn_config_makefile dlls/winhttp enable_winhttp
21240 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21241 wine_fn_config_makefile dlls/wininet enable_wininet
21242 wine_fn_config_makefile dlls/wininet/tests enable_tests
21243 wine_fn_config_makefile dlls/winmm enable_winmm
21244 wine_fn_config_makefile dlls/winmm/tests enable_tests
21245 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21246 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21247 wine_fn_config_makefile dlls/winscard enable_winscard
21248 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21249 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21250 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21251 wine_fn_config_makefile dlls/winsta enable_winsta
21252 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21253 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21254 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21255 wine_fn_config_makefile dlls/wintrust enable_wintrust
21256 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21257 wine_fn_config_makefile dlls/winusb enable_winusb
21258 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21259 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21260 wine_fn_config_makefile dlls/wlanui enable_wlanui
21261 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21262 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21263 wine_fn_config_makefile dlls/wmasf enable_wmasf
21264 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21265 wine_fn_config_makefile dlls/wmi enable_wmi
21266 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21267 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21268 wine_fn_config_makefile dlls/wmp enable_wmp
21269 wine_fn_config_makefile dlls/wmp/tests enable_tests
21270 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21271 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21272 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21273 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21274 wine_fn_config_makefile dlls/wow32 enable_win16
21275 wine_fn_config_makefile dlls/wpc enable_wpc
21276 wine_fn_config_makefile dlls/wpc/tests enable_tests
21277 wine_fn_config_makefile dlls/wpcap enable_wpcap
21278 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21279 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21280 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21281 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21282 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21283 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21284 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21285 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21286 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21287 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21288 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21289 wine_fn_config_makefile dlls/wuapi enable_wuapi
21290 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21291 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21292 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21293 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21294 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21295 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21296 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21297 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21298 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21299 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21300 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21301 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21302 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21303 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21304 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21305 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21306 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21307 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21308 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21309 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21310 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21311 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21312 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21313 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21314 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21315 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21316 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21317 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21318 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21319 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21320 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21321 wine_fn_config_makefile dlls/xmllite enable_xmllite
21322 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21323 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21324 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21325 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21326 wine_fn_config_makefile fonts enable_fonts
21327 wine_fn_config_makefile include enable_include
21328 wine_fn_config_makefile libs/port enable_port
21329 wine_fn_config_makefile libs/wine enable_wine
21330 wine_fn_config_makefile libs/wpp enable_wpp
21331 wine_fn_config_makefile loader enable_loader
21332 wine_fn_config_makefile nls enable_nls
21333 wine_fn_config_makefile po enable_po
21334 wine_fn_config_makefile programs/arp enable_arp
21335 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21336 wine_fn_config_makefile programs/attrib enable_attrib
21337 wine_fn_config_makefile programs/cabarc enable_cabarc
21338 wine_fn_config_makefile programs/cacls enable_cacls
21339 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21340 wine_fn_config_makefile programs/clock enable_clock
21341 wine_fn_config_makefile programs/cmd enable_cmd
21342 wine_fn_config_makefile programs/cmd/tests enable_tests
21343 wine_fn_config_makefile programs/conhost enable_conhost
21344 wine_fn_config_makefile programs/control enable_control
21345 wine_fn_config_makefile programs/cscript enable_cscript
21346 wine_fn_config_makefile programs/dism enable_dism
21347 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21348 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21349 wine_fn_config_makefile programs/eject enable_eject
21350 wine_fn_config_makefile programs/expand enable_expand
21351 wine_fn_config_makefile programs/explorer enable_explorer
21352 wine_fn_config_makefile programs/extrac32 enable_extrac32
21353 wine_fn_config_makefile programs/fc enable_fc
21354 wine_fn_config_makefile programs/find enable_find
21355 wine_fn_config_makefile programs/find/tests enable_tests
21356 wine_fn_config_makefile programs/findstr enable_findstr
21357 wine_fn_config_makefile programs/fsutil enable_fsutil
21358 wine_fn_config_makefile programs/hh enable_hh
21359 wine_fn_config_makefile programs/hostname enable_hostname
21360 wine_fn_config_makefile programs/icacls enable_icacls
21361 wine_fn_config_makefile programs/icinfo enable_icinfo
21362 wine_fn_config_makefile programs/iexplore enable_iexplore
21363 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21364 wine_fn_config_makefile programs/lodctr enable_lodctr
21365 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21366 wine_fn_config_makefile programs/mshta enable_mshta
21367 wine_fn_config_makefile programs/msidb enable_msidb
21368 wine_fn_config_makefile programs/msiexec enable_msiexec
21369 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21370 wine_fn_config_makefile programs/net enable_net
21371 wine_fn_config_makefile programs/netsh enable_netsh
21372 wine_fn_config_makefile programs/netstat enable_netstat
21373 wine_fn_config_makefile programs/ngen enable_ngen
21374 wine_fn_config_makefile programs/notepad enable_notepad
21375 wine_fn_config_makefile programs/oleview enable_oleview
21376 wine_fn_config_makefile programs/ping enable_ping
21377 wine_fn_config_makefile programs/plugplay enable_plugplay
21378 wine_fn_config_makefile programs/powershell enable_powershell
21379 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21380 wine_fn_config_makefile programs/progman enable_progman
21381 wine_fn_config_makefile programs/reg enable_reg
21382 wine_fn_config_makefile programs/reg/tests enable_tests
21383 wine_fn_config_makefile programs/regasm enable_regasm
21384 wine_fn_config_makefile programs/regedit enable_regedit
21385 wine_fn_config_makefile programs/regedit/tests enable_tests
21386 wine_fn_config_makefile programs/regini enable_regini
21387 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21388 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21389 wine_fn_config_makefile programs/rpcss enable_rpcss
21390 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21391 wine_fn_config_makefile programs/rundll32 enable_rundll32
21392 wine_fn_config_makefile programs/sc enable_sc
21393 wine_fn_config_makefile programs/schtasks enable_schtasks
21394 wine_fn_config_makefile programs/schtasks/tests enable_tests
21395 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21396 wine_fn_config_makefile programs/secedit enable_secedit
21397 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21398 wine_fn_config_makefile programs/services enable_services
21399 wine_fn_config_makefile programs/services/tests enable_tests
21400 wine_fn_config_makefile programs/shutdown enable_shutdown
21401 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21402 wine_fn_config_makefile programs/start enable_start
21403 wine_fn_config_makefile programs/subst enable_subst
21404 wine_fn_config_makefile programs/svchost enable_svchost
21405 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21406 wine_fn_config_makefile programs/taskkill enable_taskkill
21407 wine_fn_config_makefile programs/tasklist enable_tasklist
21408 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21409 wine_fn_config_makefile programs/termsv enable_termsv
21410 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21411 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21412 wine_fn_config_makefile programs/view enable_view
21413 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21414 wine_fn_config_makefile programs/whoami enable_whoami
21415 wine_fn_config_makefile programs/wineboot enable_wineboot
21416 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21417 wine_fn_config_makefile programs/winecfg enable_winecfg
21418 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21419 wine_fn_config_makefile programs/winedbg enable_winedbg
21420 wine_fn_config_makefile programs/winedevice enable_winedevice
21421 wine_fn_config_makefile programs/winefile enable_winefile
21422 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21423 wine_fn_config_makefile programs/winemine enable_winemine
21424 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21425 wine_fn_config_makefile programs/winepath enable_winepath
21426 wine_fn_config_makefile programs/winetest enable_winetest
21427 wine_fn_config_makefile programs/winevdm enable_win16
21428 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21429 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21430 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21431 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21432 wine_fn_config_makefile programs/winver enable_winver
21433 wine_fn_config_makefile programs/wmic enable_wmic
21434 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21435 wine_fn_config_makefile programs/wordpad enable_wordpad
21436 wine_fn_config_makefile programs/write enable_write
21437 wine_fn_config_makefile programs/wscript enable_wscript
21438 wine_fn_config_makefile programs/wscript/tests enable_tests
21439 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21440 wine_fn_config_makefile programs/wusa enable_wusa
21441 wine_fn_config_makefile programs/xcopy enable_xcopy
21442 wine_fn_config_makefile programs/xcopy/tests enable_tests
21443 wine_fn_config_makefile server enable_server
21444 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21445 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21446 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21447 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21448 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21449 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21450 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21451 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21452 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21455 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21456 wine_fn_append_file CONFIGURE_TARGETS "tags"
21457 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21458 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21459 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21460 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21461 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21462 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21464 if test "x$enable_tools" != xno
21465 then
21466 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21467 ac_config_commands="$ac_config_commands tools/makedep"
21471 ac_config_commands="$ac_config_commands Makefile"
21474 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21478 if test "x$enable_maintainer_mode" = xyes
21479 then
21480 wine_fn_append_rule "configure: configure.ac aclocal.m4
21481 autoconf --warnings=all
21482 include/config.h.in: include/stamp-h.in
21483 include/stamp-h.in: configure.ac aclocal.m4
21484 autoheader --warnings=all
21485 @echo timestamp > \$@"
21488 if test "x$enable_tools" != xno
21489 then
21490 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21491 @./config.status tools/makedep
21492 Makefile: tools/makedep$ac_exeext
21493 fonts: tools/sfnt2fon
21494 include: tools tools/widl"
21495 else
21496 wine_fn_append_rule "\$(MAKEDEP):
21497 @echo \"You need to run make in $TOOLSDIR first\" && false"
21500 if test -n "$with_wine64"
21501 then
21502 case "$with_wine64" in
21503 /*) reldir="" ;;
21504 *) reldir="../" ;;
21505 esac
21506 rm -f fonts server 2>/dev/null
21507 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21508 loader/wine64 loader/wine64-preloader:
21509 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21510 $with_wine64/loader/wine:
21511 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21512 $with_wine64/loader/wine-preloader:
21513 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21514 clean::
21515 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21516 else
21517 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21518 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21519 fonts \
21520 loader/wine.inf \
21521 loader/winebus.inf \
21522 loader/winehid.inf \
21523 loader/wineusb.inf \
21524 nls \
21525 programs/msidb/msidb \
21526 programs/msiexec/msiexec \
21527 programs/notepad/notepad \
21528 programs/regedit/regedit \
21529 programs/regsvr32/regsvr32 \
21530 programs/wineboot/wineboot \
21531 programs/winecfg/winecfg \
21532 programs/wineconsole/wineconsole \
21533 programs/winedbg/winedbg \
21534 programs/winefile/winefile \
21535 programs/winemine/winemine \
21536 programs/winepath/winepath \
21537 server/wineserver"
21539 case $host_os in
21540 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21541 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21542 esac
21545 $as_echo " done" >&6
21546 cat >confcache <<\_ACEOF
21547 # This file is a shell script that caches the results of configure
21548 # tests run on this system so they can be shared between configure
21549 # scripts and configure runs, see configure's option --config-cache.
21550 # It is not useful on other systems. If it contains results you don't
21551 # want to keep, you may remove or edit it.
21553 # config.status only pays attention to the cache file if you give it
21554 # the --recheck option to rerun configure.
21556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21558 # following values.
21560 _ACEOF
21562 # The following way of writing the cache mishandles newlines in values,
21563 # but we know of no workaround that is simple, portable, and efficient.
21564 # So, we kill variables containing newlines.
21565 # Ultrix sh set writes to stderr and can't be redirected directly,
21566 # and sets the high bit in the cache file unless we assign to the vars.
21568 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21569 eval ac_val=\$$ac_var
21570 case $ac_val in #(
21571 *${as_nl}*)
21572 case $ac_var in #(
21573 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21574 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21575 esac
21576 case $ac_var in #(
21577 _ | IFS | as_nl) ;; #(
21578 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21579 *) { eval $ac_var=; unset $ac_var;} ;;
21580 esac ;;
21581 esac
21582 done
21584 (set) 2>&1 |
21585 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21586 *${as_nl}ac_space=\ *)
21587 # `set' does not quote correctly, so add quotes: double-quote
21588 # substitution turns \\\\ into \\, and sed turns \\ into \.
21589 sed -n \
21590 "s/'/'\\\\''/g;
21591 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21592 ;; #(
21594 # `set' quotes correctly as required by POSIX, so do not add quotes.
21595 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21597 esac |
21598 sort
21600 sed '
21601 /^ac_cv_env_/b end
21602 t clear
21603 :clear
21604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21605 t end
21606 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21607 :end' >>confcache
21608 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21609 if test -w "$cache_file"; then
21610 if test "x$cache_file" != "x/dev/null"; then
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21612 $as_echo "$as_me: updating cache $cache_file" >&6;}
21613 if test ! -f "$cache_file" || test -h "$cache_file"; then
21614 cat confcache >"$cache_file"
21615 else
21616 case $cache_file in #(
21617 */* | ?:*)
21618 mv -f confcache "$cache_file"$$ &&
21619 mv -f "$cache_file"$$ "$cache_file" ;; #(
21621 mv -f confcache "$cache_file" ;;
21622 esac
21625 else
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21627 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21630 rm -f confcache
21632 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21633 # Let make expand exec_prefix.
21634 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21636 DEFS=-DHAVE_CONFIG_H
21638 ac_libobjs=
21639 ac_ltlibobjs=
21641 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21642 # 1. Remove the extension, and $U if already installed.
21643 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21644 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21645 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21646 # will be set to the directory where LIBOBJS objects are built.
21647 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21648 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21649 done
21650 LIBOBJS=$ac_libobjs
21652 LTLIBOBJS=$ac_ltlibobjs
21656 : "${CONFIG_STATUS=./config.status}"
21657 ac_write_fail=0
21658 ac_clean_files_save=$ac_clean_files
21659 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21661 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21662 as_write_fail=0
21663 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21664 #! $SHELL
21665 # Generated by $as_me.
21666 # Run this file to recreate the current configuration.
21667 # Compiler output produced by configure, useful for debugging
21668 # configure, is in config.log if it exists.
21670 debug=false
21671 ac_cs_recheck=false
21672 ac_cs_silent=false
21674 SHELL=\${CONFIG_SHELL-$SHELL}
21675 export SHELL
21676 _ASEOF
21677 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21678 ## -------------------- ##
21679 ## M4sh Initialization. ##
21680 ## -------------------- ##
21682 # Be more Bourne compatible
21683 DUALCASE=1; export DUALCASE # for MKS sh
21684 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21685 emulate sh
21686 NULLCMD=:
21687 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21688 # is contrary to our usage. Disable this feature.
21689 alias -g '${1+"$@"}'='"$@"'
21690 setopt NO_GLOB_SUBST
21691 else
21692 case `(set -o) 2>/dev/null` in #(
21693 *posix*) :
21694 set -o posix ;; #(
21695 *) :
21697 esac
21701 as_nl='
21703 export as_nl
21704 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21705 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21708 # Prefer a ksh shell builtin over an external printf program on Solaris,
21709 # but without wasting forks for bash or zsh.
21710 if test -z "$BASH_VERSION$ZSH_VERSION" \
21711 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21712 as_echo='print -r --'
21713 as_echo_n='print -rn --'
21714 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21715 as_echo='printf %s\n'
21716 as_echo_n='printf %s'
21717 else
21718 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21719 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21720 as_echo_n='/usr/ucb/echo -n'
21721 else
21722 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21723 as_echo_n_body='eval
21724 arg=$1;
21725 case $arg in #(
21726 *"$as_nl"*)
21727 expr "X$arg" : "X\\(.*\\)$as_nl";
21728 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21729 esac;
21730 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21732 export as_echo_n_body
21733 as_echo_n='sh -c $as_echo_n_body as_echo'
21735 export as_echo_body
21736 as_echo='sh -c $as_echo_body as_echo'
21739 # The user is always right.
21740 if test "${PATH_SEPARATOR+set}" != set; then
21741 PATH_SEPARATOR=:
21742 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21743 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21744 PATH_SEPARATOR=';'
21749 # IFS
21750 # We need space, tab and new line, in precisely that order. Quoting is
21751 # there to prevent editors from complaining about space-tab.
21752 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21753 # splitting by setting IFS to empty value.)
21754 IFS=" "" $as_nl"
21756 # Find who we are. Look in the path if we contain no directory separator.
21757 as_myself=
21758 case $0 in #((
21759 *[\\/]* ) as_myself=$0 ;;
21760 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21761 for as_dir in $PATH
21763 IFS=$as_save_IFS
21764 test -z "$as_dir" && as_dir=.
21765 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21766 done
21767 IFS=$as_save_IFS
21770 esac
21771 # We did not find ourselves, most probably we were run as `sh COMMAND'
21772 # in which case we are not to be found in the path.
21773 if test "x$as_myself" = x; then
21774 as_myself=$0
21776 if test ! -f "$as_myself"; then
21777 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21778 exit 1
21781 # Unset variables that we do not need and which cause bugs (e.g. in
21782 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21783 # suppresses any "Segmentation fault" message there. '((' could
21784 # trigger a bug in pdksh 5.2.14.
21785 for as_var in BASH_ENV ENV MAIL MAILPATH
21786 do eval test x\${$as_var+set} = xset \
21787 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21788 done
21789 PS1='$ '
21790 PS2='> '
21791 PS4='+ '
21793 # NLS nuisances.
21794 LC_ALL=C
21795 export LC_ALL
21796 LANGUAGE=C
21797 export LANGUAGE
21799 # CDPATH.
21800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21803 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21804 # ----------------------------------------
21805 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21806 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21807 # script with STATUS, using 1 if that was 0.
21808 as_fn_error ()
21810 as_status=$1; test $as_status -eq 0 && as_status=1
21811 if test "$4"; then
21812 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21813 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21815 $as_echo "$as_me: error: $2" >&2
21816 as_fn_exit $as_status
21817 } # as_fn_error
21820 # as_fn_set_status STATUS
21821 # -----------------------
21822 # Set $? to STATUS, without forking.
21823 as_fn_set_status ()
21825 return $1
21826 } # as_fn_set_status
21828 # as_fn_exit STATUS
21829 # -----------------
21830 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21831 as_fn_exit ()
21833 set +e
21834 as_fn_set_status $1
21835 exit $1
21836 } # as_fn_exit
21838 # as_fn_unset VAR
21839 # ---------------
21840 # Portably unset VAR.
21841 as_fn_unset ()
21843 { eval $1=; unset $1;}
21845 as_unset=as_fn_unset
21846 # as_fn_append VAR VALUE
21847 # ----------------------
21848 # Append the text in VALUE to the end of the definition contained in VAR. Take
21849 # advantage of any shell optimizations that allow amortized linear growth over
21850 # repeated appends, instead of the typical quadratic growth present in naive
21851 # implementations.
21852 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21853 eval 'as_fn_append ()
21855 eval $1+=\$2
21857 else
21858 as_fn_append ()
21860 eval $1=\$$1\$2
21862 fi # as_fn_append
21864 # as_fn_arith ARG...
21865 # ------------------
21866 # Perform arithmetic evaluation on the ARGs, and store the result in the
21867 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21868 # must be portable across $(()) and expr.
21869 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21870 eval 'as_fn_arith ()
21872 as_val=$(( $* ))
21874 else
21875 as_fn_arith ()
21877 as_val=`expr "$@" || test $? -eq 1`
21879 fi # as_fn_arith
21882 if expr a : '\(a\)' >/dev/null 2>&1 &&
21883 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21884 as_expr=expr
21885 else
21886 as_expr=false
21889 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21890 as_basename=basename
21891 else
21892 as_basename=false
21895 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21896 as_dirname=dirname
21897 else
21898 as_dirname=false
21901 as_me=`$as_basename -- "$0" ||
21902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21903 X"$0" : 'X\(//\)$' \| \
21904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21905 $as_echo X/"$0" |
21906 sed '/^.*\/\([^/][^/]*\)\/*$/{
21907 s//\1/
21910 /^X\/\(\/\/\)$/{
21911 s//\1/
21914 /^X\/\(\/\).*/{
21915 s//\1/
21918 s/.*/./; q'`
21920 # Avoid depending upon Character Ranges.
21921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21924 as_cr_digits='0123456789'
21925 as_cr_alnum=$as_cr_Letters$as_cr_digits
21927 ECHO_C= ECHO_N= ECHO_T=
21928 case `echo -n x` in #(((((
21929 -n*)
21930 case `echo 'xy\c'` in
21931 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21932 xy) ECHO_C='\c';;
21933 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21934 ECHO_T=' ';;
21935 esac;;
21937 ECHO_N='-n';;
21938 esac
21940 rm -f conf$$ conf$$.exe conf$$.file
21941 if test -d conf$$.dir; then
21942 rm -f conf$$.dir/conf$$.file
21943 else
21944 rm -f conf$$.dir
21945 mkdir conf$$.dir 2>/dev/null
21947 if (echo >conf$$.file) 2>/dev/null; then
21948 if ln -s conf$$.file conf$$ 2>/dev/null; then
21949 as_ln_s='ln -s'
21950 # ... but there are two gotchas:
21951 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21952 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21953 # In both cases, we have to default to `cp -pR'.
21954 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21955 as_ln_s='cp -pR'
21956 elif ln conf$$.file conf$$ 2>/dev/null; then
21957 as_ln_s=ln
21958 else
21959 as_ln_s='cp -pR'
21961 else
21962 as_ln_s='cp -pR'
21964 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21965 rmdir conf$$.dir 2>/dev/null
21968 # as_fn_mkdir_p
21969 # -------------
21970 # Create "$as_dir" as a directory, including parents if necessary.
21971 as_fn_mkdir_p ()
21974 case $as_dir in #(
21975 -*) as_dir=./$as_dir;;
21976 esac
21977 test -d "$as_dir" || eval $as_mkdir_p || {
21978 as_dirs=
21979 while :; do
21980 case $as_dir in #(
21981 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21982 *) as_qdir=$as_dir;;
21983 esac
21984 as_dirs="'$as_qdir' $as_dirs"
21985 as_dir=`$as_dirname -- "$as_dir" ||
21986 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21987 X"$as_dir" : 'X\(//\)[^/]' \| \
21988 X"$as_dir" : 'X\(//\)$' \| \
21989 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21990 $as_echo X"$as_dir" |
21991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21992 s//\1/
21995 /^X\(\/\/\)[^/].*/{
21996 s//\1/
21999 /^X\(\/\/\)$/{
22000 s//\1/
22003 /^X\(\/\).*/{
22004 s//\1/
22007 s/.*/./; q'`
22008 test -d "$as_dir" && break
22009 done
22010 test -z "$as_dirs" || eval "mkdir $as_dirs"
22011 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22014 } # as_fn_mkdir_p
22015 if mkdir -p . 2>/dev/null; then
22016 as_mkdir_p='mkdir -p "$as_dir"'
22017 else
22018 test -d ./-p && rmdir ./-p
22019 as_mkdir_p=false
22023 # as_fn_executable_p FILE
22024 # -----------------------
22025 # Test if FILE is an executable regular file.
22026 as_fn_executable_p ()
22028 test -f "$1" && test -x "$1"
22029 } # as_fn_executable_p
22030 as_test_x='test -x'
22031 as_executable_p=as_fn_executable_p
22033 # Sed expression to map a string onto a valid CPP name.
22034 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22036 # Sed expression to map a string onto a valid variable name.
22037 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22040 exec 6>&1
22041 ## ----------------------------------- ##
22042 ## Main body of $CONFIG_STATUS script. ##
22043 ## ----------------------------------- ##
22044 _ASEOF
22045 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22048 # Save the log message, to keep $0 and so on meaningful, and to
22049 # report actual input values of CONFIG_FILES etc. instead of their
22050 # values after options handling.
22051 ac_log="
22052 This file was extended by Wine $as_me 5.9, which was
22053 generated by GNU Autoconf 2.69. Invocation command line was
22055 CONFIG_FILES = $CONFIG_FILES
22056 CONFIG_HEADERS = $CONFIG_HEADERS
22057 CONFIG_LINKS = $CONFIG_LINKS
22058 CONFIG_COMMANDS = $CONFIG_COMMANDS
22059 $ $0 $@
22061 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22064 _ACEOF
22066 case $ac_config_files in *"
22067 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22068 esac
22070 case $ac_config_headers in *"
22071 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22072 esac
22075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22076 # Files that config.status was made for.
22077 config_files="$ac_config_files"
22078 config_headers="$ac_config_headers"
22079 config_links="$ac_config_links"
22080 config_commands="$ac_config_commands"
22082 _ACEOF
22084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22085 ac_cs_usage="\
22086 \`$as_me' instantiates files and other configuration actions
22087 from templates according to the current configuration. Unless the files
22088 and actions are specified as TAGs, all are instantiated by default.
22090 Usage: $0 [OPTION]... [TAG]...
22092 -h, --help print this help, then exit
22093 -V, --version print version number and configuration settings, then exit
22094 --config print configuration, then exit
22095 -q, --quiet, --silent
22096 do not print progress messages
22097 -d, --debug don't remove temporary files
22098 --recheck update $as_me by reconfiguring in the same conditions
22099 --file=FILE[:TEMPLATE]
22100 instantiate the configuration file FILE
22101 --header=FILE[:TEMPLATE]
22102 instantiate the configuration header FILE
22104 Configuration files:
22105 $config_files
22107 Configuration headers:
22108 $config_headers
22110 Configuration links:
22111 $config_links
22113 Configuration commands:
22114 $config_commands
22116 Report bugs to <wine-devel@winehq.org>.
22117 Wine home page: <https://www.winehq.org>."
22119 _ACEOF
22120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22121 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22122 ac_cs_version="\\
22123 Wine config.status 5.9
22124 configured by $0, generated by GNU Autoconf 2.69,
22125 with options \\"\$ac_cs_config\\"
22127 Copyright (C) 2012 Free Software Foundation, Inc.
22128 This config.status script is free software; the Free Software Foundation
22129 gives unlimited permission to copy, distribute and modify it."
22131 ac_pwd='$ac_pwd'
22132 srcdir='$srcdir'
22133 test -n "\$AWK" || AWK=awk
22134 _ACEOF
22136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22137 # The default lists apply if the user does not specify any file.
22138 ac_need_defaults=:
22139 while test $# != 0
22141 case $1 in
22142 --*=?*)
22143 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22144 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22145 ac_shift=:
22147 --*=)
22148 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22149 ac_optarg=
22150 ac_shift=:
22153 ac_option=$1
22154 ac_optarg=$2
22155 ac_shift=shift
22157 esac
22159 case $ac_option in
22160 # Handling of the options.
22161 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22162 ac_cs_recheck=: ;;
22163 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22164 $as_echo "$ac_cs_version"; exit ;;
22165 --config | --confi | --conf | --con | --co | --c )
22166 $as_echo "$ac_cs_config"; exit ;;
22167 --debug | --debu | --deb | --de | --d | -d )
22168 debug=: ;;
22169 --file | --fil | --fi | --f )
22170 $ac_shift
22171 case $ac_optarg in
22172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22173 '') as_fn_error $? "missing file argument" ;;
22174 esac
22175 as_fn_append CONFIG_FILES " '$ac_optarg'"
22176 ac_need_defaults=false;;
22177 --header | --heade | --head | --hea )
22178 $ac_shift
22179 case $ac_optarg in
22180 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22181 esac
22182 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22183 ac_need_defaults=false;;
22184 --he | --h)
22185 # Conflict between --help and --header
22186 as_fn_error $? "ambiguous option: \`$1'
22187 Try \`$0 --help' for more information.";;
22188 --help | --hel | -h )
22189 $as_echo "$ac_cs_usage"; exit ;;
22190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22191 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22192 ac_cs_silent=: ;;
22194 # This is an error.
22195 -*) as_fn_error $? "unrecognized option: \`$1'
22196 Try \`$0 --help' for more information." ;;
22198 *) as_fn_append ac_config_targets " $1"
22199 ac_need_defaults=false ;;
22201 esac
22202 shift
22203 done
22205 ac_configure_extra_args=
22207 if $ac_cs_silent; then
22208 exec 6>/dev/null
22209 ac_configure_extra_args="$ac_configure_extra_args --silent"
22212 _ACEOF
22213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22214 if \$ac_cs_recheck; then
22215 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22216 shift
22217 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22218 CONFIG_SHELL='$SHELL'
22219 export CONFIG_SHELL
22220 exec "\$@"
22223 _ACEOF
22224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22225 exec 5>>config.log
22227 echo
22228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22229 ## Running $as_me. ##
22230 _ASBOX
22231 $as_echo "$ac_log"
22232 } >&5
22234 _ACEOF
22235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22237 # INIT-COMMANDS
22239 wine_fn_output_makedep ()
22241 as_dir=tools; as_fn_mkdir_p
22242 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22244 wine_fn_output_makefile ()
22246 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22247 `cat $wine_rules_file`
22248 _WINE_EOF
22249 as_fn_error $? "could not create Makefile" "$LINENO" 5
22252 _ACEOF
22254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22256 # Handling of arguments.
22257 for ac_config_target in $ac_config_targets
22259 case $ac_config_target in
22260 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22261 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22262 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22263 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22264 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22265 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22266 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22268 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22269 esac
22270 done
22273 # If the user did not use the arguments to specify the items to instantiate,
22274 # then the envvar interface is used. Set only those that are not.
22275 # We use the long form for the default assignment because of an extremely
22276 # bizarre bug on SunOS 4.1.3.
22277 if $ac_need_defaults; then
22278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22280 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22281 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22284 # Have a temporary directory for convenience. Make it in the build tree
22285 # simply because there is no reason against having it here, and in addition,
22286 # creating and moving files from /tmp can sometimes cause problems.
22287 # Hook for its removal unless debugging.
22288 # Note that there is a small window in which the directory will not be cleaned:
22289 # after its creation but before its name has been assigned to `$tmp'.
22290 $debug ||
22292 tmp= ac_tmp=
22293 trap 'exit_status=$?
22294 : "${ac_tmp:=$tmp}"
22295 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22297 trap 'as_fn_exit 1' 1 2 13 15
22299 # Create a (secure) tmp directory for tmp files.
22302 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22303 test -d "$tmp"
22304 } ||
22306 tmp=./conf$$-$RANDOM
22307 (umask 077 && mkdir "$tmp")
22308 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22309 ac_tmp=$tmp
22311 # Set up the scripts for CONFIG_FILES section.
22312 # No need to generate them if there are no CONFIG_FILES.
22313 # This happens for instance with `./config.status config.h'.
22314 if test -n "$CONFIG_FILES"; then
22317 ac_cr=`echo X | tr X '\015'`
22318 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22319 # But we know of no other shell where ac_cr would be empty at this
22320 # point, so we can use a bashism as a fallback.
22321 if test "x$ac_cr" = x; then
22322 eval ac_cr=\$\'\\r\'
22324 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22325 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22326 ac_cs_awk_cr='\\r'
22327 else
22328 ac_cs_awk_cr=$ac_cr
22331 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22332 _ACEOF
22336 echo "cat >conf$$subs.awk <<_ACEOF" &&
22337 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22338 echo "_ACEOF"
22339 } >conf$$subs.sh ||
22340 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22341 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22342 ac_delim='%!_!# '
22343 for ac_last_try in false false false false false :; do
22344 . ./conf$$subs.sh ||
22345 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22347 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22348 if test $ac_delim_n = $ac_delim_num; then
22349 break
22350 elif $ac_last_try; then
22351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22352 else
22353 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22355 done
22356 rm -f conf$$subs.sh
22358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22359 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22360 _ACEOF
22361 sed -n '
22363 s/^/S["/; s/!.*/"]=/
22366 s/^[^!]*!//
22367 :repl
22368 t repl
22369 s/'"$ac_delim"'$//
22370 t delim
22373 s/\(.\{148\}\)..*/\1/
22374 t more1
22375 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22378 b repl
22379 :more1
22380 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22383 s/.\{148\}//
22384 t nl
22385 :delim
22387 s/\(.\{148\}\)..*/\1/
22388 t more2
22389 s/["\\]/\\&/g; s/^/"/; s/$/"/
22392 :more2
22393 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22396 s/.\{148\}//
22397 t delim
22398 ' <conf$$subs.awk | sed '
22399 /^[^""]/{
22401 s/\n//
22403 ' >>$CONFIG_STATUS || ac_write_fail=1
22404 rm -f conf$$subs.awk
22405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22406 _ACAWK
22407 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22408 for (key in S) S_is_set[key] = 1
22409 FS = "\a"
22413 line = $ 0
22414 nfields = split(line, field, "@")
22415 substed = 0
22416 len = length(field[1])
22417 for (i = 2; i < nfields; i++) {
22418 key = field[i]
22419 keylen = length(key)
22420 if (S_is_set[key]) {
22421 value = S[key]
22422 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22423 len += length(value) + length(field[++i])
22424 substed = 1
22425 } else
22426 len += 1 + keylen
22429 print line
22432 _ACAWK
22433 _ACEOF
22434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22435 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22436 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22437 else
22439 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22440 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22441 _ACEOF
22443 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22444 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22445 # trailing colons and then remove the whole line if VPATH becomes empty
22446 # (actually we leave an empty line to preserve line numbers).
22447 if test "x$srcdir" = x.; then
22448 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22450 s///
22451 s/^/:/
22452 s/[ ]*$/:/
22453 s/:\$(srcdir):/:/g
22454 s/:\${srcdir}:/:/g
22455 s/:@srcdir@:/:/g
22456 s/^:*//
22457 s/:*$//
22459 s/\(=[ ]*\).*/\1/
22461 s/\n//
22462 s/^[^=]*=[ ]*$//
22466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22467 fi # test -n "$CONFIG_FILES"
22469 # Set up the scripts for CONFIG_HEADERS section.
22470 # No need to generate them if there are no CONFIG_HEADERS.
22471 # This happens for instance with `./config.status Makefile'.
22472 if test -n "$CONFIG_HEADERS"; then
22473 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22474 BEGIN {
22475 _ACEOF
22477 # Transform confdefs.h into an awk script `defines.awk', embedded as
22478 # here-document in config.status, that substitutes the proper values into
22479 # config.h.in to produce config.h.
22481 # Create a delimiter string that does not exist in confdefs.h, to ease
22482 # handling of long lines.
22483 ac_delim='%!_!# '
22484 for ac_last_try in false false :; do
22485 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22486 if test -z "$ac_tt"; then
22487 break
22488 elif $ac_last_try; then
22489 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22490 else
22491 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22493 done
22495 # For the awk script, D is an array of macro values keyed by name,
22496 # likewise P contains macro parameters if any. Preserve backslash
22497 # newline sequences.
22499 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22500 sed -n '
22501 s/.\{148\}/&'"$ac_delim"'/g
22502 t rset
22503 :rset
22504 s/^[ ]*#[ ]*define[ ][ ]*/ /
22505 t def
22507 :def
22508 s/\\$//
22509 t bsnl
22510 s/["\\]/\\&/g
22511 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22512 D["\1"]=" \3"/p
22513 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22515 :bsnl
22516 s/["\\]/\\&/g
22517 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22518 D["\1"]=" \3\\\\\\n"\\/p
22519 t cont
22520 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22521 t cont
22523 :cont
22525 s/.\{148\}/&'"$ac_delim"'/g
22526 t clear
22527 :clear
22528 s/\\$//
22529 t bsnlc
22530 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22532 :bsnlc
22533 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22534 b cont
22535 ' <confdefs.h | sed '
22536 s/'"$ac_delim"'/"\\\
22537 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22540 for (key in D) D_is_set[key] = 1
22541 FS = "\a"
22543 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22544 line = \$ 0
22545 split(line, arg, " ")
22546 if (arg[1] == "#") {
22547 defundef = arg[2]
22548 mac1 = arg[3]
22549 } else {
22550 defundef = substr(arg[1], 2)
22551 mac1 = arg[2]
22553 split(mac1, mac2, "(") #)
22554 macro = mac2[1]
22555 prefix = substr(line, 1, index(line, defundef) - 1)
22556 if (D_is_set[macro]) {
22557 # Preserve the white space surrounding the "#".
22558 print prefix "define", macro P[macro] D[macro]
22559 next
22560 } else {
22561 # Replace #undef with comments. This is necessary, for example,
22562 # in the case of _POSIX_SOURCE, which is predefined and required
22563 # on some systems where configure will not decide to define it.
22564 if (defundef == "undef") {
22565 print "/*", prefix defundef, macro, "*/"
22566 next
22570 { print }
22571 _ACAWK
22572 _ACEOF
22573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22574 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22575 fi # test -n "$CONFIG_HEADERS"
22578 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22579 shift
22580 for ac_tag
22582 case $ac_tag in
22583 :[FHLC]) ac_mode=$ac_tag; continue;;
22584 esac
22585 case $ac_mode$ac_tag in
22586 :[FHL]*:*);;
22587 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22588 :[FH]-) ac_tag=-:-;;
22589 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22590 esac
22591 ac_save_IFS=$IFS
22592 IFS=:
22593 set x $ac_tag
22594 IFS=$ac_save_IFS
22595 shift
22596 ac_file=$1
22597 shift
22599 case $ac_mode in
22600 :L) ac_source=$1;;
22601 :[FH])
22602 ac_file_inputs=
22603 for ac_f
22605 case $ac_f in
22606 -) ac_f="$ac_tmp/stdin";;
22607 *) # Look for the file first in the build tree, then in the source tree
22608 # (if the path is not absolute). The absolute path cannot be DOS-style,
22609 # because $ac_f cannot contain `:'.
22610 test -f "$ac_f" ||
22611 case $ac_f in
22612 [\\/$]*) false;;
22613 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22614 esac ||
22615 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22616 esac
22617 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22618 as_fn_append ac_file_inputs " '$ac_f'"
22619 done
22621 # Let's still pretend it is `configure' which instantiates (i.e., don't
22622 # use $as_me), people would be surprised to read:
22623 # /* config.h. Generated by config.status. */
22624 configure_input='Generated from '`
22625 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22626 `' by configure.'
22627 if test x"$ac_file" != x-; then
22628 configure_input="$ac_file. $configure_input"
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22630 $as_echo "$as_me: creating $ac_file" >&6;}
22632 # Neutralize special characters interpreted by sed in replacement strings.
22633 case $configure_input in #(
22634 *\&* | *\|* | *\\* )
22635 ac_sed_conf_input=`$as_echo "$configure_input" |
22636 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22637 *) ac_sed_conf_input=$configure_input;;
22638 esac
22640 case $ac_tag in
22641 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22643 esac
22645 esac
22647 ac_dir=`$as_dirname -- "$ac_file" ||
22648 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22649 X"$ac_file" : 'X\(//\)[^/]' \| \
22650 X"$ac_file" : 'X\(//\)$' \| \
22651 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22652 $as_echo X"$ac_file" |
22653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22654 s//\1/
22657 /^X\(\/\/\)[^/].*/{
22658 s//\1/
22661 /^X\(\/\/\)$/{
22662 s//\1/
22665 /^X\(\/\).*/{
22666 s//\1/
22669 s/.*/./; q'`
22670 as_dir="$ac_dir"; as_fn_mkdir_p
22671 ac_builddir=.
22673 case "$ac_dir" in
22674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22677 # A ".." for each directory in $ac_dir_suffix.
22678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22679 case $ac_top_builddir_sub in
22680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22682 esac ;;
22683 esac
22684 ac_abs_top_builddir=$ac_pwd
22685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22686 # for backward compatibility:
22687 ac_top_builddir=$ac_top_build_prefix
22689 case $srcdir in
22690 .) # We are building in place.
22691 ac_srcdir=.
22692 ac_top_srcdir=$ac_top_builddir_sub
22693 ac_abs_top_srcdir=$ac_pwd ;;
22694 [\\/]* | ?:[\\/]* ) # Absolute name.
22695 ac_srcdir=$srcdir$ac_dir_suffix;
22696 ac_top_srcdir=$srcdir
22697 ac_abs_top_srcdir=$srcdir ;;
22698 *) # Relative name.
22699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22700 ac_top_srcdir=$ac_top_build_prefix$srcdir
22701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22702 esac
22703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22706 case $ac_mode in
22709 # CONFIG_FILE
22712 _ACEOF
22714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22715 # If the template does not know about datarootdir, expand it.
22716 # FIXME: This hack should be removed a few years after 2.60.
22717 ac_datarootdir_hack=; ac_datarootdir_seen=
22718 ac_sed_dataroot='
22719 /datarootdir/ {
22723 /@datadir@/p
22724 /@docdir@/p
22725 /@infodir@/p
22726 /@localedir@/p
22727 /@mandir@/p'
22728 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22729 *datarootdir*) ac_datarootdir_seen=yes;;
22730 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22732 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22733 _ACEOF
22734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22735 ac_datarootdir_hack='
22736 s&@datadir@&$datadir&g
22737 s&@docdir@&$docdir&g
22738 s&@infodir@&$infodir&g
22739 s&@localedir@&$localedir&g
22740 s&@mandir@&$mandir&g
22741 s&\\\${datarootdir}&$datarootdir&g' ;;
22742 esac
22743 _ACEOF
22745 # Neutralize VPATH when `$srcdir' = `.'.
22746 # Shell code in configure.ac might set extrasub.
22747 # FIXME: do we really want to maintain this feature?
22748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22749 ac_sed_extra="$ac_vpsub
22750 $extrasub
22751 _ACEOF
22752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22755 s|@configure_input@|$ac_sed_conf_input|;t t
22756 s&@top_builddir@&$ac_top_builddir_sub&;t t
22757 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22758 s&@srcdir@&$ac_srcdir&;t t
22759 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22760 s&@top_srcdir@&$ac_top_srcdir&;t t
22761 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22762 s&@builddir@&$ac_builddir&;t t
22763 s&@abs_builddir@&$ac_abs_builddir&;t t
22764 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22765 $ac_datarootdir_hack
22767 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22768 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22771 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22773 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22775 which seems to be undefined. Please make sure it is defined" >&5
22776 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22777 which seems to be undefined. Please make sure it is defined" >&2;}
22779 rm -f "$ac_tmp/stdin"
22780 case $ac_file in
22781 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22782 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22783 esac \
22784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22788 # CONFIG_HEADER
22790 if test x"$ac_file" != x-; then
22792 $as_echo "/* $configure_input */" \
22793 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22794 } >"$ac_tmp/config.h" \
22795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22796 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22798 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22799 else
22800 rm -f "$ac_file"
22801 mv "$ac_tmp/config.h" "$ac_file" \
22802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22804 else
22805 $as_echo "/* $configure_input */" \
22806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22807 || as_fn_error $? "could not create -" "$LINENO" 5
22812 # CONFIG_LINK
22815 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22817 else
22818 # Prefer the file from the source tree if names are identical.
22819 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22820 ac_source=$srcdir/$ac_source
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22824 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22826 if test ! -r "$ac_source"; then
22827 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22829 rm -f "$ac_file"
22831 # Try a relative symlink, then a hard link, then a copy.
22832 case $ac_source in
22833 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22834 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22835 esac
22836 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22837 ln "$ac_source" "$ac_file" 2>/dev/null ||
22838 cp -p "$ac_source" "$ac_file" ||
22839 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22843 $as_echo "$as_me: executing $ac_file commands" >&6;}
22845 esac
22848 case $ac_file$ac_mode in
22849 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22850 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22851 "Makefile":C) wine_fn_output_makefile Makefile ;;
22853 esac
22854 done # for ac_tag
22857 as_fn_exit 0
22858 _ACEOF
22859 ac_clean_files=$ac_clean_files_save
22861 test $ac_write_fail = 0 ||
22862 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22865 # configure is writing to config.log, and then calls config.status.
22866 # config.status does its own redirection, appending to config.log.
22867 # Unfortunately, on DOS this fails, as config.log is still kept open
22868 # by configure, so config.status won't be able to write to it; its
22869 # output is simply discarded. So we exec the FD to /dev/null,
22870 # effectively closing config.log, so it can be properly (re)opened and
22871 # appended to by config.status. When coming back to configure, we
22872 # need to make the FD available again.
22873 if test "$no_create" != yes; then
22874 ac_cs_success=:
22875 ac_config_status_args=
22876 test "$silent" = yes &&
22877 ac_config_status_args="$ac_config_status_args --quiet"
22878 exec 5>/dev/null
22879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22880 exec 5>>config.log
22881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22882 # would make configure fail if this is the last instruction.
22883 $ac_cs_success || as_fn_exit 1
22885 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22887 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22891 if test "$no_create" = "yes"
22892 then
22893 exit 0
22896 ac_save_IFS="$IFS"
22897 if test "x$wine_notices" != x; then
22898 echo >&6
22899 IFS="|"
22900 for msg in $wine_notices; do
22901 IFS="$ac_save_IFS"
22902 if ${msg:+false} :; then :
22904 else
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22906 $as_echo "$as_me: $msg" >&6;}
22908 done
22910 IFS="|"
22911 for msg in $wine_warnings; do
22912 IFS="$ac_save_IFS"
22913 if ${msg:+false} :; then :
22915 else
22916 echo >&2
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22918 $as_echo "$as_me: WARNING: $msg" >&2;}
22920 done
22921 IFS="$ac_save_IFS"
22923 $as_echo "
22924 $as_me: Finished. Do '${ac_make}' to compile Wine.
22925 " >&6