user32: Fix NULL dereference in UnregisterDeviceNotification.
[wine.git] / configure
blobb652ddbf79af5869df42bf18cd4e01205b41ca2f
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_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dsuiext
1271 enable_dswave
1272 enable_dwmapi
1273 enable_dwrite
1274 enable_dx8vb
1275 enable_dxdiagn
1276 enable_dxerr8
1277 enable_dxerr9
1278 enable_dxgi
1279 enable_dxguid
1280 enable_dxva2
1281 enable_esent
1282 enable_evr
1283 enable_explorerframe
1284 enable_ext_ms_win_authz_context_l1_1_0
1285 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1286 enable_ext_ms_win_dwmapi_ext_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_0
1288 enable_ext_ms_win_gdi_dc_create_l1_1_1
1289 enable_ext_ms_win_gdi_dc_l1_2_0
1290 enable_ext_ms_win_gdi_devcaps_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_0
1292 enable_ext_ms_win_gdi_draw_l1_1_1
1293 enable_ext_ms_win_gdi_font_l1_1_0
1294 enable_ext_ms_win_gdi_font_l1_1_1
1295 enable_ext_ms_win_gdi_render_l1_1_0
1296 enable_ext_ms_win_kernel32_package_current_l1_1_0
1297 enable_ext_ms_win_kernel32_package_l1_1_1
1298 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1299 enable_ext_ms_win_ntuser_draw_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_1_0
1301 enable_ext_ms_win_ntuser_gui_l1_3_0
1302 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1303 enable_ext_ms_win_ntuser_message_l1_1_0
1304 enable_ext_ms_win_ntuser_message_l1_1_1
1305 enable_ext_ms_win_ntuser_misc_l1_1_0
1306 enable_ext_ms_win_ntuser_misc_l1_2_0
1307 enable_ext_ms_win_ntuser_misc_l1_5_1
1308 enable_ext_ms_win_ntuser_mouse_l1_1_0
1309 enable_ext_ms_win_ntuser_private_l1_1_1
1310 enable_ext_ms_win_ntuser_private_l1_3_1
1311 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_0
1314 enable_ext_ms_win_ntuser_window_l1_1_1
1315 enable_ext_ms_win_ntuser_window_l1_1_4
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1317 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1318 enable_ext_ms_win_oleacc_l1_1_0
1319 enable_ext_ms_win_ras_rasapi32_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1322 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1327 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1330 enable_ext_ms_win_security_credui_l1_1_0
1331 enable_ext_ms_win_security_cryptui_l1_1_0
1332 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1333 enable_ext_ms_win_shell_comdlg32_l1_1_0
1334 enable_ext_ms_win_shell_shell32_l1_2_0
1335 enable_ext_ms_win_uxtheme_themes_l1_1_0
1336 enable_faultrep
1337 enable_feclient
1338 enable_fltlib
1339 enable_fltmgr_sys
1340 enable_fntcache
1341 enable_fontsub
1342 enable_fusion
1343 enable_fwpuclnt
1344 enable_gameux
1345 enable_gdi32
1346 enable_gdiplus
1347 enable_glu32
1348 enable_gphoto2_ds
1349 enable_gpkcsp
1350 enable_hal
1351 enable_hhctrl_ocx
1352 enable_hid
1353 enable_hidclass_sys
1354 enable_hlink
1355 enable_hnetcfg
1356 enable_http_sys
1357 enable_httpapi
1358 enable_iccvid
1359 enable_icmp
1360 enable_ieframe
1361 enable_ieproxy
1362 enable_imaadp32_acm
1363 enable_imagehlp
1364 enable_imm32
1365 enable_inetcomm
1366 enable_inetcpl_cpl
1367 enable_inetmib1
1368 enable_infosoft
1369 enable_initpki
1370 enable_inkobj
1371 enable_inseng
1372 enable_iphlpapi
1373 enable_iprop
1374 enable_irprops_cpl
1375 enable_itircl
1376 enable_itss
1377 enable_joy_cpl
1378 enable_jscript
1379 enable_jsproxy
1380 enable_kerberos
1381 enable_kernel32
1382 enable_kernelbase
1383 enable_ksecdd_sys
1384 enable_ksproxy_ax
1385 enable_ksuser
1386 enable_ktmw32
1387 enable_l3codeca_acm
1388 enable_loadperf
1389 enable_localspl
1390 enable_localui
1391 enable_lz32
1392 enable_mapi32
1393 enable_mapistub
1394 enable_mciavi32
1395 enable_mcicda
1396 enable_mciqtz32
1397 enable_mciseq
1398 enable_mciwave
1399 enable_mf
1400 enable_mf3216
1401 enable_mferror
1402 enable_mfmediaengine
1403 enable_mfplat
1404 enable_mfplay
1405 enable_mfreadwrite
1406 enable_mfuuid
1407 enable_mgmtapi
1408 enable_midimap
1409 enable_mlang
1410 enable_mmcndmgr
1411 enable_mmdevapi
1412 enable_mountmgr_sys
1413 enable_mp3dmod
1414 enable_mpr
1415 enable_mprapi
1416 enable_msacm32_drv
1417 enable_msacm32
1418 enable_msado15
1419 enable_msadp32_acm
1420 enable_msasn1
1421 enable_mscat32
1422 enable_mscms
1423 enable_mscoree
1424 enable_mscorwks
1425 enable_msctf
1426 enable_msctfp
1427 enable_msdaps
1428 enable_msdelta
1429 enable_msdmo
1430 enable_msdrm
1431 enable_msftedit
1432 enable_msg711_acm
1433 enable_msgsm32_acm
1434 enable_mshtml_tlb
1435 enable_mshtml
1436 enable_msi
1437 enable_msident
1438 enable_msimg32
1439 enable_msimsg
1440 enable_msimtf
1441 enable_msisip
1442 enable_msisys_ocx
1443 enable_msls31
1444 enable_msnet32
1445 enable_mspatcha
1446 enable_msports
1447 enable_msrle32
1448 enable_msscript_ocx
1449 enable_mssign32
1450 enable_mssip32
1451 enable_mstask
1452 enable_msvcirt
1453 enable_msvcm80
1454 enable_msvcm90
1455 enable_msvcp100
1456 enable_msvcp110
1457 enable_msvcp120
1458 enable_msvcp120_app
1459 enable_msvcp140
1460 enable_msvcp60
1461 enable_msvcp70
1462 enable_msvcp71
1463 enable_msvcp80
1464 enable_msvcp90
1465 enable_msvcr100
1466 enable_msvcr110
1467 enable_msvcr120
1468 enable_msvcr120_app
1469 enable_msvcr70
1470 enable_msvcr71
1471 enable_msvcr80
1472 enable_msvcr90
1473 enable_msvcrt
1474 enable_msvcrt20
1475 enable_msvcrt40
1476 enable_msvcrtd
1477 enable_msvfw32
1478 enable_msvidc32
1479 enable_mswsock
1480 enable_msxml
1481 enable_msxml2
1482 enable_msxml3
1483 enable_msxml4
1484 enable_msxml6
1485 enable_mtxdm
1486 enable_ncrypt
1487 enable_nddeapi
1488 enable_ndis_sys
1489 enable_netapi32
1490 enable_netcfgx
1491 enable_netprofm
1492 enable_newdev
1493 enable_ninput
1494 enable_normaliz
1495 enable_npmshtml
1496 enable_npptools
1497 enable_ntdll
1498 enable_ntdsapi
1499 enable_ntoskrnl_exe
1500 enable_ntprint
1501 enable_objsel
1502 enable_odbc32
1503 enable_odbcbcp
1504 enable_odbccp32
1505 enable_odbccu32
1506 enable_ole32
1507 enable_oleacc
1508 enable_oleaut32
1509 enable_olecli32
1510 enable_oledb32
1511 enable_oledlg
1512 enable_olepro32
1513 enable_olesvr32
1514 enable_olethk32
1515 enable_opcservices
1516 enable_openal32
1517 enable_opencl
1518 enable_opengl32
1519 enable_packager
1520 enable_pdh
1521 enable_photometadatahandler
1522 enable_pidgen
1523 enable_powrprof
1524 enable_printui
1525 enable_prntvpt
1526 enable_propsys
1527 enable_psapi
1528 enable_pstorec
1529 enable_qasf
1530 enable_qcap
1531 enable_qdvd
1532 enable_qedit
1533 enable_qmgr
1534 enable_qmgrprxy
1535 enable_quartz
1536 enable_query
1537 enable_qwave
1538 enable_rasapi32
1539 enable_rasdlg
1540 enable_regapi
1541 enable_resutils
1542 enable_riched20
1543 enable_riched32
1544 enable_rpcrt4
1545 enable_rsabase
1546 enable_rsaenh
1547 enable_rstrtmgr
1548 enable_rtutils
1549 enable_rtworkq
1550 enable_samlib
1551 enable_sane_ds
1552 enable_sapi
1553 enable_sas
1554 enable_scarddlg
1555 enable_sccbase
1556 enable_schannel
1557 enable_schedsvc
1558 enable_scrobj
1559 enable_scrrun
1560 enable_scsiport_sys
1561 enable_sechost
1562 enable_secur32
1563 enable_security
1564 enable_sensapi
1565 enable_serialui
1566 enable_setupapi
1567 enable_sfc
1568 enable_sfc_os
1569 enable_shcore
1570 enable_shdoclc
1571 enable_shdocvw
1572 enable_shell32
1573 enable_shfolder
1574 enable_shlwapi
1575 enable_slbcsp
1576 enable_slc
1577 enable_snmpapi
1578 enable_softpub
1579 enable_spoolss
1580 enable_srclient
1581 enable_sspicli
1582 enable_stdole2_tlb
1583 enable_stdole32_tlb
1584 enable_sti
1585 enable_strmbase
1586 enable_strmdll
1587 enable_strmiids
1588 enable_svrapi
1589 enable_sxs
1590 enable_t2embed
1591 enable_tapi32
1592 enable_taskschd
1593 enable_tdh
1594 enable_tdi_sys
1595 enable_traffic
1596 enable_twain_32
1597 enable_tzres
1598 enable_ucrtbase
1599 enable_uianimation
1600 enable_uiautomationcore
1601 enable_uiribbon
1602 enable_unicows
1603 enable_updspapi
1604 enable_url
1605 enable_urlmon
1606 enable_usbd_sys
1607 enable_user32
1608 enable_userenv
1609 enable_usp10
1610 enable_utildll
1611 enable_uuid
1612 enable_uxtheme
1613 enable_vbscript
1614 enable_vcomp
1615 enable_vcomp100
1616 enable_vcomp110
1617 enable_vcomp120
1618 enable_vcomp140
1619 enable_vcomp90
1620 enable_vcruntime140
1621 enable_vcruntime140_1
1622 enable_vdmdbg
1623 enable_version
1624 enable_vga
1625 enable_virtdisk
1626 enable_vssapi
1627 enable_vulkan_1
1628 enable_wbemdisp
1629 enable_wbemprox
1630 enable_wbemuuid
1631 enable_wdscore
1632 enable_webservices
1633 enable_wer
1634 enable_wevtapi
1635 enable_wiaservc
1636 enable_wimgapi
1637 enable_windowscodecs
1638 enable_windowscodecsext
1639 enable_winealsa_drv
1640 enable_wineandroid_drv
1641 enable_winebus_sys
1642 enable_winecoreaudio_drv
1643 enable_winecrt0
1644 enable_wined3d
1645 enable_winegstreamer
1646 enable_winehid_sys
1647 enable_winejoystick_drv
1648 enable_winemac_drv
1649 enable_winemapi
1650 enable_wineoss_drv
1651 enable_wineps_drv
1652 enable_winepulse_drv
1653 enable_wineqtdecoder
1654 enable_wineusb_sys
1655 enable_winevulkan
1656 enable_winex11_drv
1657 enable_wing32
1658 enable_winhttp
1659 enable_wininet
1660 enable_winmm
1661 enable_winnls32
1662 enable_winscard
1663 enable_winspool_drv
1664 enable_winsta
1665 enable_wintab32
1666 enable_wintrust
1667 enable_winusb
1668 enable_wlanapi
1669 enable_wlanui
1670 enable_wldap32
1671 enable_wmasf
1672 enable_wmcodecdspuuid
1673 enable_wmi
1674 enable_wmiutils
1675 enable_wmp
1676 enable_wmphoto
1677 enable_wmvcore
1678 enable_wnaspi32
1679 enable_wpc
1680 enable_wpcap
1681 enable_ws2_32
1682 enable_wsdapi
1683 enable_wshom_ocx
1684 enable_wsnmp32
1685 enable_wsock32
1686 enable_wtsapi32
1687 enable_wuapi
1688 enable_wuaueng
1689 enable_x3daudio1_0
1690 enable_x3daudio1_1
1691 enable_x3daudio1_2
1692 enable_x3daudio1_3
1693 enable_x3daudio1_4
1694 enable_x3daudio1_5
1695 enable_x3daudio1_6
1696 enable_x3daudio1_7
1697 enable_xapofx1_1
1698 enable_xapofx1_2
1699 enable_xapofx1_3
1700 enable_xapofx1_4
1701 enable_xapofx1_5
1702 enable_xaudio2_0
1703 enable_xaudio2_1
1704 enable_xaudio2_2
1705 enable_xaudio2_3
1706 enable_xaudio2_4
1707 enable_xaudio2_5
1708 enable_xaudio2_6
1709 enable_xaudio2_7
1710 enable_xaudio2_8
1711 enable_xaudio2_9
1712 enable_xinput1_1
1713 enable_xinput1_2
1714 enable_xinput1_3
1715 enable_xinput1_4
1716 enable_xinput9_1_0
1717 enable_xmllite
1718 enable_xolehlp
1719 enable_xpsprint
1720 enable_xpssvcs
1721 enable_fonts
1722 enable_include
1723 enable_port
1724 enable_wine
1725 enable_wpp
1726 enable_loader
1727 enable_nls
1728 enable_po
1729 enable_arp
1730 enable_aspnet_regiis
1731 enable_attrib
1732 enable_cabarc
1733 enable_cacls
1734 enable_chcp_com
1735 enable_clock
1736 enable_cmd
1737 enable_conhost
1738 enable_control
1739 enable_cscript
1740 enable_dism
1741 enable_dpnsvr
1742 enable_dxdiag
1743 enable_eject
1744 enable_expand
1745 enable_explorer
1746 enable_extrac32
1747 enable_fc
1748 enable_find
1749 enable_findstr
1750 enable_fsutil
1751 enable_hh
1752 enable_hostname
1753 enable_icacls
1754 enable_icinfo
1755 enable_iexplore
1756 enable_ipconfig
1757 enable_lodctr
1758 enable_mofcomp
1759 enable_mshta
1760 enable_msidb
1761 enable_msiexec
1762 enable_msinfo32
1763 enable_net
1764 enable_netsh
1765 enable_netstat
1766 enable_ngen
1767 enable_notepad
1768 enable_oleview
1769 enable_ping
1770 enable_plugplay
1771 enable_powershell
1772 enable_presentationfontcache
1773 enable_progman
1774 enable_reg
1775 enable_regasm
1776 enable_regedit
1777 enable_regini
1778 enable_regsvcs
1779 enable_regsvr32
1780 enable_rpcss
1781 enable_rundll32
1782 enable_sc
1783 enable_schtasks
1784 enable_sdbinst
1785 enable_secedit
1786 enable_servicemodelreg
1787 enable_services
1788 enable_shutdown
1789 enable_spoolsv
1790 enable_start
1791 enable_subst
1792 enable_svchost
1793 enable_systeminfo
1794 enable_taskkill
1795 enable_tasklist
1796 enable_taskmgr
1797 enable_termsv
1798 enable_uninstaller
1799 enable_unlodctr
1800 enable_view
1801 enable_wevtutil
1802 enable_whoami
1803 enable_wineboot
1804 enable_winebrowser
1805 enable_winecfg
1806 enable_wineconsole
1807 enable_winedbg
1808 enable_winedevice
1809 enable_winefile
1810 enable_winemenubuilder
1811 enable_winemine
1812 enable_winemsibuilder
1813 enable_winepath
1814 enable_winetest
1815 enable_winhlp32
1816 enable_winmgmt
1817 enable_winver
1818 enable_wmic
1819 enable_wmplayer
1820 enable_wordpad
1821 enable_write
1822 enable_wscript
1823 enable_wuauserv
1824 enable_wusa
1825 enable_xcopy
1826 enable_server
1827 enable_tools
1828 enable_sfnt2fon
1829 enable_widl
1830 enable_winebuild
1831 enable_winedump
1832 enable_winegcc
1833 enable_winemaker
1834 enable_wmc
1835 enable_wrc
1837 ac_precious_vars='build_alias
1838 host_alias
1839 target_alias
1841 CFLAGS
1842 LDFLAGS
1843 LIBS
1844 CPPFLAGS
1846 CXXFLAGS
1849 OBJC
1850 OBJCFLAGS
1851 OBJCPP
1852 XMKMF
1853 XML2_CFLAGS
1854 XML2_LIBS
1855 XSLT_CFLAGS
1856 XSLT_LIBS
1857 INOTIFY_CFLAGS
1858 INOTIFY_LIBS
1859 DBUS_CFLAGS
1860 DBUS_LIBS
1861 HAL_CFLAGS
1862 HAL_LIBS
1863 GNUTLS_CFLAGS
1864 GNUTLS_LIBS
1865 SANE_CFLAGS
1866 SANE_LIBS
1867 USB_CFLAGS
1868 USB_LIBS
1869 GPHOTO2_CFLAGS
1870 GPHOTO2_LIBS
1871 GPHOTO2_PORT_CFLAGS
1872 GPHOTO2_PORT_LIBS
1873 LCMS2_CFLAGS
1874 LCMS2_LIBS
1875 FREETYPE_CFLAGS
1876 FREETYPE_LIBS
1877 PULSE_CFLAGS
1878 PULSE_LIBS
1879 GSTREAMER_CFLAGS
1880 GSTREAMER_LIBS
1881 UDEV_CFLAGS
1882 UDEV_LIBS
1883 UNWIND_CFLAGS
1884 UNWIND_LIBS
1885 SDL2_CFLAGS
1886 SDL2_LIBS
1887 FAUDIO_CFLAGS
1888 FAUDIO_LIBS
1889 CAPI20_CFLAGS
1890 CAPI20_LIBS
1891 CUPS_CFLAGS
1892 CUPS_LIBS
1893 FONTCONFIG_CFLAGS
1894 FONTCONFIG_LIBS
1895 KRB5_CFLAGS
1896 KRB5_LIBS
1897 GSSAPI_CFLAGS
1898 GSSAPI_LIBS
1899 JPEG_CFLAGS
1900 JPEG_LIBS
1901 PNG_CFLAGS
1902 PNG_LIBS
1903 TIFF_CFLAGS
1904 TIFF_LIBS
1905 MPG123_CFLAGS
1906 MPG123_LIBS
1907 NETAPI_CFLAGS
1908 NETAPI_LIBS
1909 VKD3D_CFLAGS
1910 VKD3D_LIBS
1911 LDAP_CFLAGS
1912 LDAP_LIBS'
1915 # Initialize some variables set by options.
1916 ac_init_help=
1917 ac_init_version=false
1918 ac_unrecognized_opts=
1919 ac_unrecognized_sep=
1920 # The variables have the same names as the options, with
1921 # dashes changed to underlines.
1922 cache_file=/dev/null
1923 exec_prefix=NONE
1924 no_create=
1925 no_recursion=
1926 prefix=NONE
1927 program_prefix=NONE
1928 program_suffix=NONE
1929 program_transform_name=s,x,x,
1930 silent=
1931 site=
1932 srcdir=
1933 verbose=
1934 x_includes=NONE
1935 x_libraries=NONE
1937 # Installation directory options.
1938 # These are left unexpanded so users can "make install exec_prefix=/foo"
1939 # and all the variables that are supposed to be based on exec_prefix
1940 # by default will actually change.
1941 # Use braces instead of parens because sh, perl, etc. also accept them.
1942 # (The list follows the same order as the GNU Coding Standards.)
1943 bindir='${exec_prefix}/bin'
1944 sbindir='${exec_prefix}/sbin'
1945 libexecdir='${exec_prefix}/libexec'
1946 datarootdir='${prefix}/share'
1947 datadir='${datarootdir}'
1948 sysconfdir='${prefix}/etc'
1949 sharedstatedir='${prefix}/com'
1950 localstatedir='${prefix}/var'
1951 runstatedir='${localstatedir}/run'
1952 includedir='${prefix}/include'
1953 oldincludedir='/usr/include'
1954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1955 infodir='${datarootdir}/info'
1956 htmldir='${docdir}'
1957 dvidir='${docdir}'
1958 pdfdir='${docdir}'
1959 psdir='${docdir}'
1960 libdir='${exec_prefix}/lib'
1961 localedir='${datarootdir}/locale'
1962 mandir='${datarootdir}/man'
1964 ac_prev=
1965 ac_dashdash=
1966 for ac_option
1968 # If the previous option needs an argument, assign it.
1969 if test -n "$ac_prev"; then
1970 eval $ac_prev=\$ac_option
1971 ac_prev=
1972 continue
1975 case $ac_option in
1976 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1977 *=) ac_optarg= ;;
1978 *) ac_optarg=yes ;;
1979 esac
1981 # Accept the important Cygnus configure options, so we can diagnose typos.
1983 case $ac_dashdash$ac_option in
1985 ac_dashdash=yes ;;
1987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1988 ac_prev=bindir ;;
1989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1990 bindir=$ac_optarg ;;
1992 -build | --build | --buil | --bui | --bu)
1993 ac_prev=build_alias ;;
1994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1995 build_alias=$ac_optarg ;;
1997 -cache-file | --cache-file | --cache-fil | --cache-fi \
1998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1999 ac_prev=cache_file ;;
2000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2002 cache_file=$ac_optarg ;;
2004 --config-cache | -C)
2005 cache_file=config.cache ;;
2007 -datadir | --datadir | --datadi | --datad)
2008 ac_prev=datadir ;;
2009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2010 datadir=$ac_optarg ;;
2012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2013 | --dataroo | --dataro | --datar)
2014 ac_prev=datarootdir ;;
2015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2017 datarootdir=$ac_optarg ;;
2019 -disable-* | --disable-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid feature name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "enable_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval enable_$ac_useropt=no ;;
2035 -docdir | --docdir | --docdi | --doc | --do)
2036 ac_prev=docdir ;;
2037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2038 docdir=$ac_optarg ;;
2040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2041 ac_prev=dvidir ;;
2042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2043 dvidir=$ac_optarg ;;
2045 -enable-* | --enable-*)
2046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2047 # Reject names that are not valid shell variable names.
2048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2049 as_fn_error $? "invalid feature name: $ac_useropt"
2050 ac_useropt_orig=$ac_useropt
2051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2052 case $ac_user_opts in
2054 "enable_$ac_useropt"
2055 "*) ;;
2056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2057 ac_unrecognized_sep=', ';;
2058 esac
2059 eval enable_$ac_useropt=\$ac_optarg ;;
2061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2063 | --exec | --exe | --ex)
2064 ac_prev=exec_prefix ;;
2065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2067 | --exec=* | --exe=* | --ex=*)
2068 exec_prefix=$ac_optarg ;;
2070 -gas | --gas | --ga | --g)
2071 # Obsolete; use --with-gas.
2072 with_gas=yes ;;
2074 -help | --help | --hel | --he | -h)
2075 ac_init_help=long ;;
2076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2077 ac_init_help=recursive ;;
2078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2079 ac_init_help=short ;;
2081 -host | --host | --hos | --ho)
2082 ac_prev=host_alias ;;
2083 -host=* | --host=* | --hos=* | --ho=*)
2084 host_alias=$ac_optarg ;;
2086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2087 ac_prev=htmldir ;;
2088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2089 | --ht=*)
2090 htmldir=$ac_optarg ;;
2092 -includedir | --includedir | --includedi | --included | --include \
2093 | --includ | --inclu | --incl | --inc)
2094 ac_prev=includedir ;;
2095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2096 | --includ=* | --inclu=* | --incl=* | --inc=*)
2097 includedir=$ac_optarg ;;
2099 -infodir | --infodir | --infodi | --infod | --info | --inf)
2100 ac_prev=infodir ;;
2101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2102 infodir=$ac_optarg ;;
2104 -libdir | --libdir | --libdi | --libd)
2105 ac_prev=libdir ;;
2106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2107 libdir=$ac_optarg ;;
2109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2110 | --libexe | --libex | --libe)
2111 ac_prev=libexecdir ;;
2112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2113 | --libexe=* | --libex=* | --libe=*)
2114 libexecdir=$ac_optarg ;;
2116 -localedir | --localedir | --localedi | --localed | --locale)
2117 ac_prev=localedir ;;
2118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2119 localedir=$ac_optarg ;;
2121 -localstatedir | --localstatedir | --localstatedi | --localstated \
2122 | --localstate | --localstat | --localsta | --localst | --locals)
2123 ac_prev=localstatedir ;;
2124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2126 localstatedir=$ac_optarg ;;
2128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2129 ac_prev=mandir ;;
2130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2131 mandir=$ac_optarg ;;
2133 -nfp | --nfp | --nf)
2134 # Obsolete; use --without-fp.
2135 with_fp=no ;;
2137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2138 | --no-cr | --no-c | -n)
2139 no_create=yes ;;
2141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2143 no_recursion=yes ;;
2145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2147 | --oldin | --oldi | --old | --ol | --o)
2148 ac_prev=oldincludedir ;;
2149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2152 oldincludedir=$ac_optarg ;;
2154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2155 ac_prev=prefix ;;
2156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2157 prefix=$ac_optarg ;;
2159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2160 | --program-pre | --program-pr | --program-p)
2161 ac_prev=program_prefix ;;
2162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2164 program_prefix=$ac_optarg ;;
2166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2167 | --program-suf | --program-su | --program-s)
2168 ac_prev=program_suffix ;;
2169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2171 program_suffix=$ac_optarg ;;
2173 -program-transform-name | --program-transform-name \
2174 | --program-transform-nam | --program-transform-na \
2175 | --program-transform-n | --program-transform- \
2176 | --program-transform | --program-transfor \
2177 | --program-transfo | --program-transf \
2178 | --program-trans | --program-tran \
2179 | --progr-tra | --program-tr | --program-t)
2180 ac_prev=program_transform_name ;;
2181 -program-transform-name=* | --program-transform-name=* \
2182 | --program-transform-nam=* | --program-transform-na=* \
2183 | --program-transform-n=* | --program-transform-=* \
2184 | --program-transform=* | --program-transfor=* \
2185 | --program-transfo=* | --program-transf=* \
2186 | --program-trans=* | --program-tran=* \
2187 | --progr-tra=* | --program-tr=* | --program-t=*)
2188 program_transform_name=$ac_optarg ;;
2190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2191 ac_prev=pdfdir ;;
2192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2193 pdfdir=$ac_optarg ;;
2195 -psdir | --psdir | --psdi | --psd | --ps)
2196 ac_prev=psdir ;;
2197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2198 psdir=$ac_optarg ;;
2200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2201 | -silent | --silent | --silen | --sile | --sil)
2202 silent=yes ;;
2204 -runstatedir | --runstatedir | --runstatedi | --runstated \
2205 | --runstate | --runstat | --runsta | --runst | --runs \
2206 | --run | --ru | --r)
2207 ac_prev=runstatedir ;;
2208 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2209 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2210 | --run=* | --ru=* | --r=*)
2211 runstatedir=$ac_optarg ;;
2213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2214 ac_prev=sbindir ;;
2215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2216 | --sbi=* | --sb=*)
2217 sbindir=$ac_optarg ;;
2219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2221 | --sharedst | --shareds | --shared | --share | --shar \
2222 | --sha | --sh)
2223 ac_prev=sharedstatedir ;;
2224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2227 | --sha=* | --sh=*)
2228 sharedstatedir=$ac_optarg ;;
2230 -site | --site | --sit)
2231 ac_prev=site ;;
2232 -site=* | --site=* | --sit=*)
2233 site=$ac_optarg ;;
2235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2236 ac_prev=srcdir ;;
2237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2238 srcdir=$ac_optarg ;;
2240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2241 | --syscon | --sysco | --sysc | --sys | --sy)
2242 ac_prev=sysconfdir ;;
2243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2245 sysconfdir=$ac_optarg ;;
2247 -target | --target | --targe | --targ | --tar | --ta | --t)
2248 ac_prev=target_alias ;;
2249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2250 target_alias=$ac_optarg ;;
2252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2253 verbose=yes ;;
2255 -version | --version | --versio | --versi | --vers | -V)
2256 ac_init_version=: ;;
2258 -with-* | --with-*)
2259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2260 # Reject names that are not valid shell variable names.
2261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2262 as_fn_error $? "invalid package name: $ac_useropt"
2263 ac_useropt_orig=$ac_useropt
2264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2265 case $ac_user_opts in
2267 "with_$ac_useropt"
2268 "*) ;;
2269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2270 ac_unrecognized_sep=', ';;
2271 esac
2272 eval with_$ac_useropt=\$ac_optarg ;;
2274 -without-* | --without-*)
2275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2276 # Reject names that are not valid shell variable names.
2277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2278 as_fn_error $? "invalid package name: $ac_useropt"
2279 ac_useropt_orig=$ac_useropt
2280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2281 case $ac_user_opts in
2283 "with_$ac_useropt"
2284 "*) ;;
2285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2286 ac_unrecognized_sep=', ';;
2287 esac
2288 eval with_$ac_useropt=no ;;
2290 --x)
2291 # Obsolete; use --with-x.
2292 with_x=yes ;;
2294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2295 | --x-incl | --x-inc | --x-in | --x-i)
2296 ac_prev=x_includes ;;
2297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2299 x_includes=$ac_optarg ;;
2301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2303 ac_prev=x_libraries ;;
2304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2306 x_libraries=$ac_optarg ;;
2308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2309 Try \`$0 --help' for more information"
2312 *=*)
2313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2314 # Reject names that are not valid shell variable names.
2315 case $ac_envvar in #(
2316 '' | [0-9]* | *[!_$as_cr_alnum]* )
2317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2318 esac
2319 eval $ac_envvar=\$ac_optarg
2320 export $ac_envvar ;;
2323 # FIXME: should be removed in autoconf 3.0.
2324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2330 esac
2331 done
2333 if test -n "$ac_prev"; then
2334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2335 as_fn_error $? "missing argument to $ac_option"
2338 if test -n "$ac_unrecognized_opts"; then
2339 case $enable_option_checking in
2340 no) ;;
2341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2343 esac
2346 # Check all directory arguments for consistency.
2347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2348 datadir sysconfdir sharedstatedir localstatedir includedir \
2349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2350 libdir localedir mandir runstatedir
2352 eval ac_val=\$$ac_var
2353 # Remove trailing slashes.
2354 case $ac_val in
2355 */ )
2356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2357 eval $ac_var=\$ac_val;;
2358 esac
2359 # Be sure to have absolute directory names.
2360 case $ac_val in
2361 [\\/$]* | ?:[\\/]* ) continue;;
2362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2363 esac
2364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2365 done
2367 # There might be people who depend on the old broken behavior: `$host'
2368 # used to hold the argument of --host etc.
2369 # FIXME: To remove some day.
2370 build=$build_alias
2371 host=$host_alias
2372 target=$target_alias
2374 # FIXME: To remove some day.
2375 if test "x$host_alias" != x; then
2376 if test "x$build_alias" = x; then
2377 cross_compiling=maybe
2378 elif test "x$build_alias" != "x$host_alias"; then
2379 cross_compiling=yes
2383 ac_tool_prefix=
2384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2386 test "$silent" = yes && exec 6>/dev/null
2389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2390 ac_ls_di=`ls -di .` &&
2391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2392 as_fn_error $? "working directory cannot be determined"
2393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2394 as_fn_error $? "pwd does not report name of working directory"
2397 # Find the source files, if location was not specified.
2398 if test -z "$srcdir"; then
2399 ac_srcdir_defaulted=yes
2400 # Try the directory containing this script, then the parent directory.
2401 ac_confdir=`$as_dirname -- "$as_myself" ||
2402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2403 X"$as_myself" : 'X\(//\)[^/]' \| \
2404 X"$as_myself" : 'X\(//\)$' \| \
2405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2406 $as_echo X"$as_myself" |
2407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2408 s//\1/
2411 /^X\(\/\/\)[^/].*/{
2412 s//\1/
2415 /^X\(\/\/\)$/{
2416 s//\1/
2419 /^X\(\/\).*/{
2420 s//\1/
2423 s/.*/./; q'`
2424 srcdir=$ac_confdir
2425 if test ! -r "$srcdir/$ac_unique_file"; then
2426 srcdir=..
2428 else
2429 ac_srcdir_defaulted=no
2431 if test ! -r "$srcdir/$ac_unique_file"; then
2432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2436 ac_abs_confdir=`(
2437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2438 pwd)`
2439 # When building in place, set srcdir=.
2440 if test "$ac_abs_confdir" = "$ac_pwd"; then
2441 srcdir=.
2443 # Remove unnecessary trailing slashes from srcdir.
2444 # Double slashes in file names in object file debugging info
2445 # mess up M-x gdb in Emacs.
2446 case $srcdir in
2447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2448 esac
2449 for ac_var in $ac_precious_vars; do
2450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2451 eval ac_env_${ac_var}_value=\$${ac_var}
2452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2454 done
2457 # Report the --help message.
2459 if test "$ac_init_help" = "long"; then
2460 # Omit some internal or obsolete options to make the list less imposing.
2461 # This message is too long to be a string in the A/UX 3.1 sh.
2462 cat <<_ACEOF
2463 \`configure' configures Wine 5.9 to adapt to many kinds of systems.
2465 Usage: $0 [OPTION]... [VAR=VALUE]...
2467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2468 VAR=VALUE. See below for descriptions of some of the useful variables.
2470 Defaults for the options are specified in brackets.
2472 Configuration:
2473 -h, --help display this help and exit
2474 --help=short display options specific to this package
2475 --help=recursive display the short help of all the included packages
2476 -V, --version display version information and exit
2477 -q, --quiet, --silent do not print \`checking ...' messages
2478 --cache-file=FILE cache test results in FILE [disabled]
2479 -C, --config-cache alias for \`--cache-file=config.cache'
2480 -n, --no-create do not create output files
2481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2483 Installation directories:
2484 --prefix=PREFIX install architecture-independent files in PREFIX
2485 [$ac_default_prefix]
2486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2487 [PREFIX]
2489 By default, \`make install' will install all the files in
2490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2492 for instance \`--prefix=\$HOME'.
2494 For better control, use the options below.
2496 Fine tuning of the installation directories:
2497 --bindir=DIR user executables [EPREFIX/bin]
2498 --sbindir=DIR system admin executables [EPREFIX/sbin]
2499 --libexecdir=DIR program executables [EPREFIX/libexec]
2500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2503 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2504 --libdir=DIR object code libraries [EPREFIX/lib]
2505 --includedir=DIR C header files [PREFIX/include]
2506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2509 --infodir=DIR info documentation [DATAROOTDIR/info]
2510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2511 --mandir=DIR man documentation [DATAROOTDIR/man]
2512 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2513 --htmldir=DIR html documentation [DOCDIR]
2514 --dvidir=DIR dvi documentation [DOCDIR]
2515 --pdfdir=DIR pdf documentation [DOCDIR]
2516 --psdir=DIR ps documentation [DOCDIR]
2517 _ACEOF
2519 cat <<\_ACEOF
2521 X features:
2522 --x-includes=DIR X include files are in DIR
2523 --x-libraries=DIR X library files are in DIR
2525 System types:
2526 --build=BUILD configure for building on BUILD [guessed]
2527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2528 _ACEOF
2531 if test -n "$ac_init_help"; then
2532 case $ac_init_help in
2533 short | recursive ) echo "Configuration of Wine 5.9:";;
2534 esac
2535 cat <<\_ACEOF
2537 Optional Features:
2538 --disable-option-checking ignore unrecognized --enable/--with options
2539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2541 --disable-win16 do not include Win16 support
2542 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2543 binaries)
2544 --disable-tests do not build the regression tests
2545 --enable-maintainer-mode
2546 enable maintainer-specific build rules
2547 --enable-werror treat compilation warnings as errors
2548 --disable-largefile omit support for large files
2550 Optional Packages:
2551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2553 --without-alsa do not use the Alsa sound support
2554 --without-capi do not use CAPI (ISDN support)
2555 --without-cms do not use CMS (color management support)
2556 --without-coreaudio do not use the CoreAudio sound support
2557 --without-cups do not use CUPS
2558 --without-curses do not use (n)curses
2559 --without-dbus do not use DBus (dynamic device support)
2560 --without-faudio do not use FAudio (XAudio2 support)
2561 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2562 --without-fontconfig do not use fontconfig
2563 --without-freetype do not use the FreeType library
2564 --without-gettext do not use gettext
2565 --with-gettextpo use the GetTextPO library to rebuild po files
2566 --without-gphoto do not use gphoto (Digital Camera support)
2567 --without-glu do not use the GLU library
2568 --without-gnutls do not use GnuTLS (schannel support)
2569 --without-gsm do not use libgsm (GSM 06.10 codec support)
2570 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2571 --without-gstreamer do not use GStreamer (codecs support)
2572 --without-hal do not use HAL (dynamic device support)
2573 --without-inotify do not use inotify (filesystem change notifications)
2574 --without-jpeg do not use JPEG
2575 --without-krb5 do not use krb5 (Kerberos)
2576 --without-ldap do not use LDAP
2577 --without-mingw do not use the MinGW cross-compiler
2578 --without-mpg123 do not use the mpg123 library
2579 --without-netapi do not use the Samba NetAPI library
2580 --without-openal do not use OpenAL
2581 --without-opencl do not use OpenCL
2582 --without-opengl do not use OpenGL
2583 --without-osmesa do not use the OSMesa library
2584 --without-oss do not use the OSS sound support
2585 --without-pcap do not use the Packet Capture library
2586 --without-png do not use PNG
2587 --without-pthread do not use the pthread library
2588 --without-pulse do not use PulseAudio sound support
2589 --without-sane do not use SANE (scanner support)
2590 --without-sdl do not use SDL
2591 --without-tiff do not use TIFF
2592 --without-udev do not use udev (plug and play support)
2593 --without-unwind do not use the libunwind library (exception
2594 handling)
2595 --without-usb do not use the libusb library
2596 --without-v4l2 do not use v4l2 (video capture)
2597 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2598 --without-vulkan do not use Vulkan
2599 --without-xcomposite do not use the Xcomposite extension
2600 --without-xcursor do not use the Xcursor extension
2601 --without-xfixes do not use Xfixes for clipboard change notifications
2602 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2603 --without-xinput do not use the Xinput extension
2604 --without-xinput2 do not use the Xinput 2 extension
2605 --without-xml do not use XML
2606 --without-xrandr do not use Xrandr (multi-monitor support)
2607 --without-xrender do not use the Xrender extension
2608 --without-xshape do not use the Xshape extension
2609 --without-xshm do not use XShm (shared memory extension)
2610 --without-xslt do not use XSLT
2611 --without-xxf86vm do not use XFree video mode extension
2612 --with-wine-tools=DIR use Wine tools from directory DIR
2613 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2614 --with-x use the X Window System
2616 Some influential environment variables:
2617 CC C compiler command
2618 CFLAGS C compiler flags
2619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2620 nonstandard directory <lib dir>
2621 LIBS libraries to pass to the linker, e.g. -l<library>
2622 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2623 you have headers in a nonstandard directory <include dir>
2624 CXX C++ compiler command
2625 CXXFLAGS C++ compiler flags
2626 CPP C preprocessor
2627 OBJC Objective C compiler command
2628 OBJCFLAGS Objective C compiler flags
2629 OBJCPP Objective C preprocessor
2630 XMKMF Path to xmkmf, Makefile generator for X Window System
2631 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2632 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2633 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2634 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2635 INOTIFY_CFLAGS
2636 C compiler flags for libinotify, overriding pkg-config
2637 INOTIFY_LIBS
2638 Linker flags for libinotify, overriding pkg-config
2639 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2640 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2641 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2642 HAL_LIBS Linker flags for hal, overriding pkg-config
2643 GNUTLS_CFLAGS
2644 C compiler flags for gnutls, overriding pkg-config
2645 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2646 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2647 SANE_LIBS Linker flags for libsane, overriding pkg-config
2648 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2649 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2650 GPHOTO2_CFLAGS
2651 C compiler flags for libgphoto2, overriding pkg-config
2652 GPHOTO2_LIBS
2653 Linker flags for libgphoto2, overriding pkg-config
2654 GPHOTO2_PORT_CFLAGS
2655 C compiler flags for libgphoto2_port, overriding pkg-config
2656 GPHOTO2_PORT_LIBS
2657 Linker flags for libgphoto2_port, overriding pkg-config
2658 LCMS2_CFLAGS
2659 C compiler flags for lcms2, overriding pkg-config
2660 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2661 FREETYPE_CFLAGS
2662 C compiler flags for freetype2, overriding pkg-config
2663 FREETYPE_LIBS
2664 Linker flags for freetype2, overriding pkg-config
2665 PULSE_CFLAGS
2666 C compiler flags for libpulse, overriding pkg-config
2667 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2668 GSTREAMER_CFLAGS
2669 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2670 gstreamer-audio-1.0, overriding pkg-config
2671 GSTREAMER_LIBS
2672 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2673 gstreamer-audio-1.0, overriding pkg-config
2674 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2675 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2676 UNWIND_CFLAGS
2677 C compiler flags for libunwind, overriding pkg-config
2678 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2679 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2680 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2681 FAUDIO_CFLAGS
2682 C compiler flags for faudio, overriding pkg-config
2683 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2684 CAPI20_CFLAGS
2685 C compiler flags for capi20, overriding pkg-config
2686 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2687 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2688 CUPS_LIBS Linker flags for cups, overriding pkg-config
2689 FONTCONFIG_CFLAGS
2690 C compiler flags for fontconfig, overriding pkg-config
2691 FONTCONFIG_LIBS
2692 Linker flags for fontconfig, overriding pkg-config
2693 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2694 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2695 GSSAPI_CFLAGS
2696 C compiler flags for krb5-gssapi, overriding pkg-config
2697 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2698 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2699 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2700 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2701 PNG_LIBS Linker flags for libpng, overriding pkg-config
2702 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2703 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2704 MPG123_CFLAGS
2705 C compiler flags for libmpg123, overriding pkg-config
2706 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2707 NETAPI_CFLAGS
2708 C compiler flags for netapi, overriding pkg-config
2709 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2710 VKD3D_CFLAGS
2711 C compiler flags for libvkd3d, overriding pkg-config
2712 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2713 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2714 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2716 Use these variables to override the choices made by `configure' or to help
2717 it to find libraries and programs with nonstandard names/locations.
2719 Report bugs to <wine-devel@winehq.org>.
2720 Wine home page: <https://www.winehq.org>.
2721 _ACEOF
2722 ac_status=$?
2725 if test "$ac_init_help" = "recursive"; then
2726 # If there are subdirs, report their specific --help.
2727 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2728 test -d "$ac_dir" ||
2729 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2730 continue
2731 ac_builddir=.
2733 case "$ac_dir" in
2734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2737 # A ".." for each directory in $ac_dir_suffix.
2738 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2739 case $ac_top_builddir_sub in
2740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2742 esac ;;
2743 esac
2744 ac_abs_top_builddir=$ac_pwd
2745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2746 # for backward compatibility:
2747 ac_top_builddir=$ac_top_build_prefix
2749 case $srcdir in
2750 .) # We are building in place.
2751 ac_srcdir=.
2752 ac_top_srcdir=$ac_top_builddir_sub
2753 ac_abs_top_srcdir=$ac_pwd ;;
2754 [\\/]* | ?:[\\/]* ) # Absolute name.
2755 ac_srcdir=$srcdir$ac_dir_suffix;
2756 ac_top_srcdir=$srcdir
2757 ac_abs_top_srcdir=$srcdir ;;
2758 *) # Relative name.
2759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2760 ac_top_srcdir=$ac_top_build_prefix$srcdir
2761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2762 esac
2763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2765 cd "$ac_dir" || { ac_status=$?; continue; }
2766 # Check for guested configure.
2767 if test -f "$ac_srcdir/configure.gnu"; then
2768 echo &&
2769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2770 elif test -f "$ac_srcdir/configure"; then
2771 echo &&
2772 $SHELL "$ac_srcdir/configure" --help=recursive
2773 else
2774 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2775 fi || ac_status=$?
2776 cd "$ac_pwd" || { ac_status=$?; break; }
2777 done
2780 test -n "$ac_init_help" && exit $ac_status
2781 if $ac_init_version; then
2782 cat <<\_ACEOF
2783 Wine configure 5.9
2784 generated by GNU Autoconf 2.69
2786 Copyright (C) 2012 Free Software Foundation, Inc.
2787 This configure script is free software; the Free Software Foundation
2788 gives unlimited permission to copy, distribute and modify it.
2789 _ACEOF
2790 exit
2793 ## ------------------------ ##
2794 ## Autoconf initialization. ##
2795 ## ------------------------ ##
2797 # ac_fn_c_try_compile LINENO
2798 # --------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then :
2823 ac_retval=0
2824 else
2825 $as_echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_c_try_compile
2835 # ac_fn_cxx_try_compile LINENO
2836 # ----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_cxx_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext
2842 if { { ac_try="$ac_compile"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2850 ac_status=$?
2851 if test -s conftest.err; then
2852 grep -v '^ *+' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2854 mv -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then :
2861 ac_retval=0
2862 else
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_cxx_try_compile
2873 # ac_fn_c_try_link LINENO
2874 # -----------------------
2875 # Try to link conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_c_try_link ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext conftest$ac_exeext
2880 if { { ac_try="$ac_link"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_link") 2>conftest.err
2888 ac_status=$?
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest$ac_exeext && {
2899 test "$cross_compiling" = yes ||
2900 test -x conftest$ac_exeext
2901 }; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2910 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2911 # interfere with the next link command; also delete a directory that is
2912 # left behind by Apple's compiler. We do this before executing the actions.
2913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status $ac_retval
2917 } # ac_fn_c_try_link
2919 # ac_fn_c_try_cpp LINENO
2920 # ----------------------
2921 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2922 ac_fn_c_try_cpp ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 if { { ac_try="$ac_cpp conftest.$ac_ext"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } > conftest.i && {
2941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 }; then :
2944 ac_retval=0
2945 else
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 ac_retval=1
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 as_fn_set_status $ac_retval
2954 } # ac_fn_c_try_cpp
2956 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2957 # -------------------------------------------------------
2958 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2959 # the include files in INCLUDES and setting the cache variable VAR
2960 # accordingly.
2961 ac_fn_c_check_header_mongrel ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if eval \${$3+:} false; then :
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2966 $as_echo_n "checking for $2... " >&6; }
2967 if eval \${$3+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 eval ac_res=\$$3
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 else
2974 # Is the header compilable?
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2976 $as_echo_n "checking $2 usability... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 ac_header_compiler=yes
2984 else
2985 ac_header_compiler=no
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2989 $as_echo "$ac_header_compiler" >&6; }
2991 # Is the header present?
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2993 $as_echo_n "checking $2 presence... " >&6; }
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2996 #include <$2>
2997 _ACEOF
2998 if ac_fn_c_try_cpp "$LINENO"; then :
2999 ac_header_preproc=yes
3000 else
3001 ac_header_preproc=no
3003 rm -f conftest.err conftest.i conftest.$ac_ext
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3005 $as_echo "$ac_header_preproc" >&6; }
3007 # So? What about this header?
3008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3009 yes:no: )
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3011 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3015 no:yes:* )
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3017 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3019 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3021 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3023 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3025 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3026 ( $as_echo "## ------------------------------------ ##
3027 ## Report this to wine-devel@winehq.org ##
3028 ## ------------------------------------ ##"
3029 ) | sed "s/^/$as_me: WARNING: /" >&2
3031 esac
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3033 $as_echo_n "checking for $2... " >&6; }
3034 if eval \${$3+:} false; then :
3035 $as_echo_n "(cached) " >&6
3036 else
3037 eval "$3=\$ac_header_compiler"
3039 eval ac_res=\$$3
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 $as_echo "$ac_res" >&6; }
3043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3045 } # ac_fn_c_check_header_mongrel
3047 # ac_fn_c_try_run LINENO
3048 # ----------------------
3049 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3050 # that executables *can* be run.
3051 ac_fn_c_try_run ()
3053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3054 if { { ac_try="$ac_link"
3055 case "(($ac_try" in
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3058 esac
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link") 2>&5
3062 ac_status=$?
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then :
3075 ac_retval=0
3076 else
3077 $as_echo "$as_me: program exited with status $ac_status" >&5
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 ac_retval=$ac_status
3083 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 as_fn_set_status $ac_retval
3087 } # ac_fn_c_try_run
3089 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3090 # -------------------------------------------------------
3091 # Tests whether HEADER exists and can be compiled using the include files in
3092 # INCLUDES, setting the cache variable VAR accordingly.
3093 ac_fn_c_check_header_compile ()
3095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3097 $as_echo_n "checking for $2... " >&6; }
3098 if eval \${$3+:} false; then :
3099 $as_echo_n "(cached) " >&6
3100 else
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 #include <$2>
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 eval "$3=yes"
3108 else
3109 eval "$3=no"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 $as_echo "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_header_compile
3120 # ac_fn_objc_try_compile LINENO
3121 # -----------------------------
3122 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3123 ac_fn_objc_try_compile ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 rm -f conftest.$ac_objext
3127 if { { ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_compile") 2>conftest.err
3135 ac_status=$?
3136 if test -s conftest.err; then
3137 grep -v '^ *+' conftest.err >conftest.er1
3138 cat conftest.er1 >&5
3139 mv -f conftest.er1 conftest.err
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; } && {
3143 test -z "$ac_objc_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then :
3146 ac_retval=0
3147 else
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_retval=1
3153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 as_fn_set_status $ac_retval
3156 } # ac_fn_objc_try_compile
3158 # ac_fn_objc_try_cpp LINENO
3159 # -------------------------
3160 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3161 ac_fn_objc_try_cpp ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 if { { ac_try="$ac_cpp conftest.$ac_ext"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3172 ac_status=$?
3173 if test -s conftest.err; then
3174 grep -v '^ *+' conftest.err >conftest.er1
3175 cat conftest.er1 >&5
3176 mv -f conftest.er1 conftest.err
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; } > conftest.i && {
3180 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3181 test ! -s conftest.err
3182 }; then :
3183 ac_retval=0
3184 else
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 ac_retval=1
3190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191 as_fn_set_status $ac_retval
3193 } # ac_fn_objc_try_cpp
3195 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3196 # ----------------------------------------------------------
3197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3198 # the include files in INCLUDES and setting the cache variable VAR
3199 # accordingly.
3200 ac_fn_objc_check_header_mongrel ()
3202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203 if eval \${$3+:} false; then :
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 eval ac_res=\$$3
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3211 $as_echo "$ac_res" >&6; }
3212 else
3213 # Is the header compilable?
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3215 $as_echo_n "checking $2 usability... " >&6; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3219 #include <$2>
3220 _ACEOF
3221 if ac_fn_objc_try_compile "$LINENO"; then :
3222 ac_header_compiler=yes
3223 else
3224 ac_header_compiler=no
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3228 $as_echo "$ac_header_compiler" >&6; }
3230 # Is the header present?
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3232 $as_echo_n "checking $2 presence... " >&6; }
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3235 #include <$2>
3236 _ACEOF
3237 if ac_fn_objc_try_cpp "$LINENO"; then :
3238 ac_header_preproc=yes
3239 else
3240 ac_header_preproc=no
3242 rm -f conftest.err conftest.i conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3244 $as_echo "$ac_header_preproc" >&6; }
3246 # So? What about this header?
3247 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3248 yes:no: )
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3254 no:yes:* )
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3258 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3262 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3265 ( $as_echo "## ------------------------------------ ##
3266 ## Report this to wine-devel@winehq.org ##
3267 ## ------------------------------------ ##"
3268 ) | sed "s/^/$as_me: WARNING: /" >&2
3270 esac
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 eval "$3=\$ac_header_compiler"
3278 eval ac_res=\$$3
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3280 $as_echo "$ac_res" >&6; }
3282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3284 } # ac_fn_objc_check_header_mongrel
3286 # ac_fn_c_check_func LINENO FUNC VAR
3287 # ----------------------------------
3288 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3289 ac_fn_c_check_func ()
3291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3293 $as_echo_n "checking for $2... " >&6; }
3294 if eval \${$3+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3299 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3301 #define $2 innocuous_$2
3303 /* System header to define __stub macros and hopefully few prototypes,
3304 which can conflict with char $2 (); below.
3305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3306 <limits.h> exists even on freestanding compilers. */
3308 #ifdef __STDC__
3309 # include <limits.h>
3310 #else
3311 # include <assert.h>
3312 #endif
3314 #undef $2
3316 /* Override any GCC internal prototype to avoid an error.
3317 Use char because int might match the return type of a GCC
3318 builtin and then its argument prototype would still apply. */
3319 #ifdef __cplusplus
3320 extern "C"
3321 #endif
3322 char $2 ();
3323 /* The GNU C library defines this for functions which it implements
3324 to always fail with ENOSYS. Some functions are actually named
3325 something starting with __ and the normal name is an alias. */
3326 #if defined __stub_$2 || defined __stub___$2
3327 choke me
3328 #endif
3331 main ()
3333 return $2 ();
3335 return 0;
3337 _ACEOF
3338 if ac_fn_c_try_link "$LINENO"; then :
3339 eval "$3=yes"
3340 else
3341 eval "$3=no"
3343 rm -f core conftest.err conftest.$ac_objext \
3344 conftest$ac_exeext conftest.$ac_ext
3346 eval ac_res=\$$3
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3348 $as_echo "$ac_res" >&6; }
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 } # ac_fn_c_check_func
3353 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3354 # ----------------------------------------------------
3355 # Tries to find if the field MEMBER exists in type AGGR, after including
3356 # INCLUDES, setting cache variable VAR accordingly.
3357 ac_fn_c_check_member ()
3359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3361 $as_echo_n "checking for $2.$3... " >&6; }
3362 if eval \${$4+:} false; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3371 static $2 ac_aggr;
3372 if (ac_aggr.$3)
3373 return 0;
3375 return 0;
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 eval "$4=yes"
3380 else
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 main ()
3387 static $2 ac_aggr;
3388 if (sizeof ac_aggr.$3)
3389 return 0;
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 eval "$4=yes"
3396 else
3397 eval "$4=no"
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 eval ac_res=\$$4
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3405 $as_echo "$ac_res" >&6; }
3406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3408 } # ac_fn_c_check_member
3410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3411 # -------------------------------------------
3412 # Tests whether TYPE exists after having included INCLUDES, setting cache
3413 # variable VAR accordingly.
3414 ac_fn_c_check_type ()
3416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3418 $as_echo_n "checking for $2... " >&6; }
3419 if eval \${$3+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 eval "$3=no"
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 main ()
3429 if (sizeof ($2))
3430 return 0;
3432 return 0;
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3442 if (sizeof (($2)))
3443 return 0;
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3450 else
3451 eval "$3=yes"
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 eval ac_res=\$$3
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3459 $as_echo "$ac_res" >&6; }
3460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3462 } # ac_fn_c_check_type
3463 cat >config.log <<_ACEOF
3464 This file contains any messages produced by compilers while
3465 running configure, to aid debugging if configure makes a mistake.
3467 It was created by Wine $as_me 5.9, which was
3468 generated by GNU Autoconf 2.69. Invocation command line was
3470 $ $0 $@
3472 _ACEOF
3473 exec 5>>config.log
3475 cat <<_ASUNAME
3476 ## --------- ##
3477 ## Platform. ##
3478 ## --------- ##
3480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3497 _ASUNAME
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 $as_echo "PATH: $as_dir"
3505 done
3506 IFS=$as_save_IFS
3508 } >&5
3510 cat >&5 <<_ACEOF
3513 ## ----------- ##
3514 ## Core tests. ##
3515 ## ----------- ##
3517 _ACEOF
3520 # Keep a trace of the command line.
3521 # Strip out --no-create and --no-recursion so they do not pile up.
3522 # Strip out --silent because we don't want to record it for future runs.
3523 # Also quote any args containing shell meta-characters.
3524 # Make two passes to allow for proper duplicate-argument suppression.
3525 ac_configure_args=
3526 ac_configure_args0=
3527 ac_configure_args1=
3528 ac_must_keep_next=false
3529 for ac_pass in 1 2
3531 for ac_arg
3533 case $ac_arg in
3534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3536 | -silent | --silent | --silen | --sile | --sil)
3537 continue ;;
3538 *\'*)
3539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3540 esac
3541 case $ac_pass in
3542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3544 as_fn_append ac_configure_args1 " '$ac_arg'"
3545 if test $ac_must_keep_next = true; then
3546 ac_must_keep_next=false # Got value, back to normal.
3547 else
3548 case $ac_arg in
3549 *=* | --config-cache | -C | -disable-* | --disable-* \
3550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3552 | -with-* | --with-* | -without-* | --without-* | --x)
3553 case "$ac_configure_args0 " in
3554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3555 esac
3557 -* ) ac_must_keep_next=true ;;
3558 esac
3560 as_fn_append ac_configure_args " '$ac_arg'"
3562 esac
3563 done
3564 done
3565 { ac_configure_args0=; unset ac_configure_args0;}
3566 { ac_configure_args1=; unset ac_configure_args1;}
3568 # When interrupted or exit'd, cleanup temporary files, and complete
3569 # config.log. We remove comments because anyway the quotes in there
3570 # would cause problems or look ugly.
3571 # WARNING: Use '\'' to represent an apostrophe within the trap.
3572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3573 trap 'exit_status=$?
3574 # Save into config.log some information that might help in debugging.
3576 echo
3578 $as_echo "## ---------------- ##
3579 ## Cache variables. ##
3580 ## ---------------- ##"
3581 echo
3582 # The following way of writing the cache mishandles newlines in values,
3584 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3585 eval ac_val=\$$ac_var
3586 case $ac_val in #(
3587 *${as_nl}*)
3588 case $ac_var in #(
3589 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3591 esac
3592 case $ac_var in #(
3593 _ | IFS | as_nl) ;; #(
3594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3595 *) { eval $ac_var=; unset $ac_var;} ;;
3596 esac ;;
3597 esac
3598 done
3599 (set) 2>&1 |
3600 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3601 *${as_nl}ac_space=\ *)
3602 sed -n \
3603 "s/'\''/'\''\\\\'\'''\''/g;
3604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3605 ;; #(
3607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3609 esac |
3610 sort
3612 echo
3614 $as_echo "## ----------------- ##
3615 ## Output variables. ##
3616 ## ----------------- ##"
3617 echo
3618 for ac_var in $ac_subst_vars
3620 eval ac_val=\$$ac_var
3621 case $ac_val in
3622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3623 esac
3624 $as_echo "$ac_var='\''$ac_val'\''"
3625 done | sort
3626 echo
3628 if test -n "$ac_subst_files"; then
3629 $as_echo "## ------------------- ##
3630 ## File substitutions. ##
3631 ## ------------------- ##"
3632 echo
3633 for ac_var in $ac_subst_files
3635 eval ac_val=\$$ac_var
3636 case $ac_val in
3637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3638 esac
3639 $as_echo "$ac_var='\''$ac_val'\''"
3640 done | sort
3641 echo
3644 if test -s confdefs.h; then
3645 $as_echo "## ----------- ##
3646 ## confdefs.h. ##
3647 ## ----------- ##"
3648 echo
3649 cat confdefs.h
3650 echo
3652 test "$ac_signal" != 0 &&
3653 $as_echo "$as_me: caught signal $ac_signal"
3654 $as_echo "$as_me: exit $exit_status"
3655 } >&5
3656 rm -f core *.core core.conftest.* &&
3657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3658 exit $exit_status
3660 for ac_signal in 1 2 13 15; do
3661 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3662 done
3663 ac_signal=0
3665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3666 rm -f -r conftest* confdefs.h
3668 $as_echo "/* confdefs.h */" > confdefs.h
3670 # Predefined preprocessor variables.
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_NAME "$PACKAGE_NAME"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3682 _ACEOF
3684 cat >>confdefs.h <<_ACEOF
3685 #define PACKAGE_STRING "$PACKAGE_STRING"
3686 _ACEOF
3688 cat >>confdefs.h <<_ACEOF
3689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3690 _ACEOF
3692 cat >>confdefs.h <<_ACEOF
3693 #define PACKAGE_URL "$PACKAGE_URL"
3694 _ACEOF
3697 # Let the site file select an alternate cache file if it wants to.
3698 # Prefer an explicitly selected file to automatically selected ones.
3699 ac_site_file1=NONE
3700 ac_site_file2=NONE
3701 if test -n "$CONFIG_SITE"; then
3702 # We do not want a PATH search for config.site.
3703 case $CONFIG_SITE in #((
3704 -*) ac_site_file1=./$CONFIG_SITE;;
3705 */*) ac_site_file1=$CONFIG_SITE;;
3706 *) ac_site_file1=./$CONFIG_SITE;;
3707 esac
3708 elif test "x$prefix" != xNONE; then
3709 ac_site_file1=$prefix/share/config.site
3710 ac_site_file2=$prefix/etc/config.site
3711 else
3712 ac_site_file1=$ac_default_prefix/share/config.site
3713 ac_site_file2=$ac_default_prefix/etc/config.site
3715 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3717 test "x$ac_site_file" = xNONE && continue
3718 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3720 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3721 sed 's/^/| /' "$ac_site_file" >&5
3722 . "$ac_site_file" \
3723 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3725 as_fn_error $? "failed to load site script $ac_site_file
3726 See \`config.log' for more details" "$LINENO" 5; }
3728 done
3730 if test -r "$cache_file"; then
3731 # Some versions of bash will fail to source /dev/null (special files
3732 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3733 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3735 $as_echo "$as_me: loading cache $cache_file" >&6;}
3736 case $cache_file in
3737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3738 *) . "./$cache_file";;
3739 esac
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3743 $as_echo "$as_me: creating cache $cache_file" >&6;}
3744 >$cache_file
3747 # Check that the precious variables saved in the cache have kept the same
3748 # value.
3749 ac_cache_corrupted=false
3750 for ac_var in $ac_precious_vars; do
3751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3752 eval ac_new_set=\$ac_env_${ac_var}_set
3753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3754 eval ac_new_val=\$ac_env_${ac_var}_value
3755 case $ac_old_set,$ac_new_set in
3756 set,)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3759 ac_cache_corrupted=: ;;
3760 ,set)
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3763 ac_cache_corrupted=: ;;
3764 ,);;
3766 if test "x$ac_old_val" != "x$ac_new_val"; then
3767 # differences in whitespace do not lead to failure.
3768 ac_old_val_w=`echo x $ac_old_val`
3769 ac_new_val_w=`echo x $ac_new_val`
3770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3773 ac_cache_corrupted=:
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3777 eval $ac_var=\$ac_old_val
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3783 fi;;
3784 esac
3785 # Pass precious variables to config.status.
3786 if test "$ac_new_set" = set; then
3787 case $ac_new_val in
3788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3789 *) ac_arg=$ac_var=$ac_new_val ;;
3790 esac
3791 case " $ac_configure_args " in
3792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3794 esac
3796 done
3797 if $ac_cache_corrupted; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3802 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3804 ## -------------------- ##
3805 ## Main body of script. ##
3806 ## -------------------- ##
3808 ac_ext=c
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 ac_config_headers="$ac_config_headers include/config.h"
3818 ac_aux_dir=
3819 for ac_dir in tools "$srcdir"/tools; do
3820 if test -f "$ac_dir/install-sh"; then
3821 ac_aux_dir=$ac_dir
3822 ac_install_sh="$ac_aux_dir/install-sh -c"
3823 break
3824 elif test -f "$ac_dir/install.sh"; then
3825 ac_aux_dir=$ac_dir
3826 ac_install_sh="$ac_aux_dir/install.sh -c"
3827 break
3828 elif test -f "$ac_dir/shtool"; then
3829 ac_aux_dir=$ac_dir
3830 ac_install_sh="$ac_aux_dir/shtool install -c"
3831 break
3833 done
3834 if test -z "$ac_aux_dir"; then
3835 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3838 # These three variables are undocumented and unsupported,
3839 # and are intended to be withdrawn in a future Autoconf release.
3840 # They can cause serious problems if a builder's source tree is in a directory
3841 # whose full name contains unusual characters.
3842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3848 libwine_version="1.0"
3852 # Check whether --enable-win16 was given.
3853 if test "${enable_win16+set}" = set; then :
3854 enableval=$enable_win16;
3857 # Check whether --enable-win64 was given.
3858 if test "${enable_win64+set}" = set; then :
3859 enableval=$enable_win64;
3862 # Check whether --enable-tests was given.
3863 if test "${enable_tests+set}" = set; then :
3864 enableval=$enable_tests;
3867 # Check whether --enable-maintainer-mode was given.
3868 if test "${enable_maintainer_mode+set}" = set; then :
3869 enableval=$enable_maintainer_mode;
3872 # Check whether --enable-werror was given.
3873 if test "${enable_werror+set}" = set; then :
3874 enableval=$enable_werror;
3879 # Check whether --with-alsa was given.
3880 if test "${with_alsa+set}" = set; then :
3881 withval=$with_alsa;
3885 # Check whether --with-capi was given.
3886 if test "${with_capi+set}" = set; then :
3887 withval=$with_capi;
3891 # Check whether --with-cms was given.
3892 if test "${with_cms+set}" = set; then :
3893 withval=$with_cms;
3897 # Check whether --with-coreaudio was given.
3898 if test "${with_coreaudio+set}" = set; then :
3899 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3903 # Check whether --with-cups was given.
3904 if test "${with_cups+set}" = set; then :
3905 withval=$with_cups;
3909 # Check whether --with-curses was given.
3910 if test "${with_curses+set}" = set; then :
3911 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3915 # Check whether --with-dbus was given.
3916 if test "${with_dbus+set}" = set; then :
3917 withval=$with_dbus;
3921 # Check whether --with-faudio was given.
3922 if test "${with_faudio+set}" = set; then :
3923 withval=$with_faudio;
3927 # Check whether --with-float-abi was given.
3928 if test "${with_float_abi+set}" = set; then :
3929 withval=$with_float_abi;
3933 # Check whether --with-fontconfig was given.
3934 if test "${with_fontconfig+set}" = set; then :
3935 withval=$with_fontconfig;
3939 # Check whether --with-freetype was given.
3940 if test "${with_freetype+set}" = set; then :
3941 withval=$with_freetype;
3945 # Check whether --with-gettext was given.
3946 if test "${with_gettext+set}" = set; then :
3947 withval=$with_gettext;
3951 # Check whether --with-gettextpo was given.
3952 if test "${with_gettextpo+set}" = set; then :
3953 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3957 # Check whether --with-gphoto was given.
3958 if test "${with_gphoto+set}" = set; then :
3959 withval=$with_gphoto;
3963 # Check whether --with-glu was given.
3964 if test "${with_glu+set}" = set; then :
3965 withval=$with_glu;
3969 # Check whether --with-gnutls was given.
3970 if test "${with_gnutls+set}" = set; then :
3971 withval=$with_gnutls;
3975 # Check whether --with-gsm was given.
3976 if test "${with_gsm+set}" = set; then :
3977 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3981 # Check whether --with-gssapi was given.
3982 if test "${with_gssapi+set}" = set; then :
3983 withval=$with_gssapi;
3987 # Check whether --with-gstreamer was given.
3988 if test "${with_gstreamer+set}" = set; then :
3989 withval=$with_gstreamer;
3993 # Check whether --with-hal was given.
3994 if test "${with_hal+set}" = set; then :
3995 withval=$with_hal;
3999 # Check whether --with-inotify was given.
4000 if test "${with_inotify+set}" = set; then :
4001 withval=$with_inotify;
4005 # Check whether --with-jpeg was given.
4006 if test "${with_jpeg+set}" = set; then :
4007 withval=$with_jpeg;
4011 # Check whether --with-krb5 was given.
4012 if test "${with_krb5+set}" = set; then :
4013 withval=$with_krb5;
4017 # Check whether --with-ldap was given.
4018 if test "${with_ldap+set}" = set; then :
4019 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4023 # Check whether --with-mingw was given.
4024 if test "${with_mingw+set}" = set; then :
4025 withval=$with_mingw;
4029 # Check whether --with-mpg123 was given.
4030 if test "${with_mpg123+set}" = set; then :
4031 withval=$with_mpg123;
4035 # Check whether --with-netapi was given.
4036 if test "${with_netapi+set}" = set; then :
4037 withval=$with_netapi;
4041 # Check whether --with-openal was given.
4042 if test "${with_openal+set}" = set; then :
4043 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4047 # Check whether --with-opencl was given.
4048 if test "${with_opencl+set}" = set; then :
4049 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4053 # Check whether --with-opengl was given.
4054 if test "${with_opengl+set}" = set; then :
4055 withval=$with_opengl;
4059 # Check whether --with-osmesa was given.
4060 if test "${with_osmesa+set}" = set; then :
4061 withval=$with_osmesa;
4065 # Check whether --with-oss was given.
4066 if test "${with_oss+set}" = set; then :
4067 withval=$with_oss;
4071 # Check whether --with-pcap was given.
4072 if test "${with_pcap+set}" = set; then :
4073 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4077 # Check whether --with-png was given.
4078 if test "${with_png+set}" = set; then :
4079 withval=$with_png;
4083 # Check whether --with-pthread was given.
4084 if test "${with_pthread+set}" = set; then :
4085 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4089 # Check whether --with-pulse was given.
4090 if test "${with_pulse+set}" = set; then :
4091 withval=$with_pulse;
4095 # Check whether --with-sane was given.
4096 if test "${with_sane+set}" = set; then :
4097 withval=$with_sane;
4101 # Check whether --with-sdl was given.
4102 if test "${with_sdl+set}" = set; then :
4103 withval=$with_sdl;
4107 # Check whether --with-tiff was given.
4108 if test "${with_tiff+set}" = set; then :
4109 withval=$with_tiff;
4113 # Check whether --with-udev was given.
4114 if test "${with_udev+set}" = set; then :
4115 withval=$with_udev;
4119 # Check whether --with-unwind was given.
4120 if test "${with_unwind+set}" = set; then :
4121 withval=$with_unwind;
4125 # Check whether --with-usb was given.
4126 if test "${with_usb+set}" = set; then :
4127 withval=$with_usb;
4131 # Check whether --with-v4l2 was given.
4132 if test "${with_v4l2+set}" = set; then :
4133 withval=$with_v4l2;
4137 # Check whether --with-vkd3d was given.
4138 if test "${with_vkd3d+set}" = set; then :
4139 withval=$with_vkd3d;
4143 # Check whether --with-vulkan was given.
4144 if test "${with_vulkan+set}" = set; then :
4145 withval=$with_vulkan;
4149 # Check whether --with-xcomposite was given.
4150 if test "${with_xcomposite+set}" = set; then :
4151 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4155 # Check whether --with-xcursor was given.
4156 if test "${with_xcursor+set}" = set; then :
4157 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4161 # Check whether --with-xfixes was given.
4162 if test "${with_xfixes+set}" = set; then :
4163 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4167 # Check whether --with-xinerama was given.
4168 if test "${with_xinerama+set}" = set; then :
4169 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4173 # Check whether --with-xinput was given.
4174 if test "${with_xinput+set}" = set; then :
4175 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4179 # Check whether --with-xinput2 was given.
4180 if test "${with_xinput2+set}" = set; then :
4181 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4185 # Check whether --with-xml was given.
4186 if test "${with_xml+set}" = set; then :
4187 withval=$with_xml;
4191 # Check whether --with-xrandr was given.
4192 if test "${with_xrandr+set}" = set; then :
4193 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4197 # Check whether --with-xrender was given.
4198 if test "${with_xrender+set}" = set; then :
4199 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4203 # Check whether --with-xshape was given.
4204 if test "${with_xshape+set}" = set; then :
4205 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4209 # Check whether --with-xshm was given.
4210 if test "${with_xshm+set}" = set; then :
4211 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4215 # Check whether --with-xslt was given.
4216 if test "${with_xslt+set}" = set; then :
4217 withval=$with_xslt;
4221 # Check whether --with-xxf86vm was given.
4222 if test "${with_xxf86vm+set}" = set; then :
4223 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
4228 # Check whether --with-wine-tools was given.
4229 if test "${with_wine_tools+set}" = set; then :
4230 withval=$with_wine_tools;
4234 # Check whether --with-wine64 was given.
4235 if test "${with_wine64+set}" = set; then :
4236 withval=$with_wine64;
4240 # Make sure we can run config.sub.
4241 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4242 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4245 $as_echo_n "checking build system type... " >&6; }
4246 if ${ac_cv_build+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_build_alias=$build_alias
4250 test "x$ac_build_alias" = x &&
4251 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4252 test "x$ac_build_alias" = x &&
4253 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4254 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4255 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4259 $as_echo "$ac_cv_build" >&6; }
4260 case $ac_cv_build in
4261 *-*-*) ;;
4262 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4263 esac
4264 build=$ac_cv_build
4265 ac_save_IFS=$IFS; IFS='-'
4266 set x $ac_cv_build
4267 shift
4268 build_cpu=$1
4269 build_vendor=$2
4270 shift; shift
4271 # Remember, the first character of IFS is used to create $*,
4272 # except with old shells:
4273 build_os=$*
4274 IFS=$ac_save_IFS
4275 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4279 $as_echo_n "checking host system type... " >&6; }
4280 if ${ac_cv_host+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test "x$host_alias" = x; then
4284 ac_cv_host=$ac_cv_build
4285 else
4286 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4287 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4292 $as_echo "$ac_cv_host" >&6; }
4293 case $ac_cv_host in
4294 *-*-*) ;;
4295 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4296 esac
4297 host=$ac_cv_host
4298 ac_save_IFS=$IFS; IFS='-'
4299 set x $ac_cv_host
4300 shift
4301 host_cpu=$1
4302 host_vendor=$2
4303 shift; shift
4304 # Remember, the first character of IFS is used to create $*,
4305 # except with old shells:
4306 host_os=$*
4307 IFS=$ac_save_IFS
4308 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4314 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4315 set x ${MAKE-make}
4316 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4317 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat >conftest.make <<\_ACEOF
4321 SHELL = /bin/sh
4322 all:
4323 @echo '@@@%%%=$(MAKE)=@@@%%%'
4324 _ACEOF
4325 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4326 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4327 *@@@%%%=?*=@@@%%%*)
4328 eval ac_cv_prog_make_${ac_make}_set=yes;;
4330 eval ac_cv_prog_make_${ac_make}_set=no;;
4331 esac
4332 rm -f conftest.make
4334 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4336 $as_echo "yes" >&6; }
4337 SET_MAKE=
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4341 SET_MAKE="MAKE=${MAKE-make}"
4344 ac_ext=c
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 if test -n "$ac_tool_prefix"; then
4350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4351 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_CC+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CC"; then
4358 ac_cv_prog_CC="$CC" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CC=$ac_cv_prog_CC
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$ac_cv_prog_CC"; then
4389 ac_ct_CC=$CC
4390 # Extract the first word of "gcc", so it can be a program name with args.
4391 set dummy gcc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$ac_ct_CC"; then
4398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CC="gcc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4418 if test -n "$ac_ct_CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4420 $as_echo "$ac_ct_CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4426 if test "x$ac_ct_CC" = x; then
4427 CC=""
4428 else
4429 case $cross_compiling:$ac_tool_warned in
4430 yes:)
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4434 esac
4435 CC=$ac_ct_CC
4437 else
4438 CC="$ac_cv_prog_CC"
4441 if test -z "$CC"; then
4442 if test -n "$ac_tool_prefix"; then
4443 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4444 set dummy ${ac_tool_prefix}cc; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_CC+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CC"; then
4451 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_CC="${ac_tool_prefix}cc"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CC=$ac_cv_prog_CC
4471 if test -n "$CC"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4473 $as_echo "$CC" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4482 if test -z "$CC"; then
4483 # Extract the first word of "cc", so it can be a program name with args.
4484 set dummy cc; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_CC+:} false; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4492 else
4493 ac_prog_rejected=no
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH
4497 IFS=$as_save_IFS
4498 test -z "$as_dir" && as_dir=.
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4502 ac_prog_rejected=yes
4503 continue
4505 ac_cv_prog_CC="cc"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4509 done
4510 done
4511 IFS=$as_save_IFS
4513 if test $ac_prog_rejected = yes; then
4514 # We found a bogon in the path, so make sure we never use it.
4515 set dummy $ac_cv_prog_CC
4516 shift
4517 if test $# != 0; then
4518 # We chose a different compiler from the bogus one.
4519 # However, it has the same basename, so the bogon will be chosen
4520 # first if we set CC to just the basename; use the full file name.
4521 shift
4522 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4527 CC=$ac_cv_prog_CC
4528 if test -n "$CC"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4530 $as_echo "$CC" >&6; }
4531 else
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4538 if test -z "$CC"; then
4539 if test -n "$ac_tool_prefix"; then
4540 for ac_prog in cl.exe
4542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_CC+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$CC"; then
4550 ac_cv_prog_CC="$CC" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 CC=$ac_cv_prog_CC
4570 if test -n "$CC"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4572 $as_echo "$CC" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$CC" && break
4580 done
4582 if test -z "$CC"; then
4583 ac_ct_CC=$CC
4584 for ac_prog in cl.exe
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 if test -n "$ac_ct_CC"; then
4594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CC="$ac_prog"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4609 IFS=$as_save_IFS
4613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4614 if test -n "$ac_ct_CC"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4616 $as_echo "$ac_ct_CC" >&6; }
4617 else
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4623 test -n "$ac_ct_CC" && break
4624 done
4626 if test "x$ac_ct_CC" = x; then
4627 CC=""
4628 else
4629 case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635 CC=$ac_ct_CC
4642 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error $? "no acceptable C compiler found in \$PATH
4645 See \`config.log' for more details" "$LINENO" 5; }
4647 # Provide some information about the compiler.
4648 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4649 set X $ac_compile
4650 ac_compiler=$2
4651 for ac_option in --version -v -V -qversion; do
4652 { { ac_try="$ac_compiler $ac_option >&5"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4660 ac_status=$?
4661 if test -s conftest.err; then
4662 sed '10a\
4663 ... rest of stderr output deleted ...
4664 10q' conftest.err >conftest.er1
4665 cat conftest.er1 >&5
4667 rm -f conftest.er1 conftest.err
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }
4670 done
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 ac_clean_files_save=$ac_clean_files
4684 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4685 # Try to create an executable without -o first, disregard a.out.
4686 # It will help us diagnose broken compilers, and finding out an intuition
4687 # of exeext.
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4689 $as_echo_n "checking whether the C compiler works... " >&6; }
4690 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4692 # The possible output files:
4693 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4695 ac_rmfiles=
4696 for ac_file in $ac_files
4698 case $ac_file in
4699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4700 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4701 esac
4702 done
4703 rm -f $ac_rmfiles
4705 if { { ac_try="$ac_link_default"
4706 case "(($ac_try" in
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4709 esac
4710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_link_default") 2>&5
4713 ac_status=$?
4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4715 test $ac_status = 0; }; then :
4716 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4717 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4718 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4719 # so that the user can short-circuit this test for compilers unknown to
4720 # Autoconf.
4721 for ac_file in $ac_files ''
4723 test -f "$ac_file" || continue
4724 case $ac_file in
4725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4727 [ab].out )
4728 # We found the default executable, but exeext='' is most
4729 # certainly right.
4730 break;;
4731 *.* )
4732 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4733 then :; else
4734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4736 # We set ac_cv_exeext here because the later test for it is not
4737 # safe: cross compilers may not add the suffix if given an `-o'
4738 # argument, so we may need to know it at that point already.
4739 # Even if this section looks crufty: it has the advantage of
4740 # actually working.
4741 break;;
4743 break;;
4744 esac
4745 done
4746 test "$ac_cv_exeext" = no && ac_cv_exeext=
4748 else
4749 ac_file=''
4751 if test -z "$ac_file"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4754 $as_echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4759 as_fn_error 77 "C compiler cannot create executables
4760 See \`config.log' for more details" "$LINENO" 5; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4766 $as_echo_n "checking for C compiler default output file name... " >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4768 $as_echo "$ac_file" >&6; }
4769 ac_exeext=$ac_cv_exeext
4771 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4772 ac_clean_files=$ac_clean_files_save
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4774 $as_echo_n "checking for suffix of executables... " >&6; }
4775 if { { ac_try="$ac_link"
4776 case "(($ac_try" in
4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4779 esac
4780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781 $as_echo "$ac_try_echo"; } >&5
4782 (eval "$ac_link") 2>&5
4783 ac_status=$?
4784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785 test $ac_status = 0; }; then :
4786 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4787 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4788 # work properly (i.e., refer to `conftest.exe'), while it won't with
4789 # `rm'.
4790 for ac_file in conftest.exe conftest conftest.*; do
4791 test -f "$ac_file" || continue
4792 case $ac_file in
4793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4794 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4795 break;;
4796 * ) break;;
4797 esac
4798 done
4799 else
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest conftest$ac_cv_exeext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4807 $as_echo "$ac_cv_exeext" >&6; }
4809 rm -f conftest.$ac_ext
4810 EXEEXT=$ac_cv_exeext
4811 ac_exeext=$EXEEXT
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 #include <stdio.h>
4816 main ()
4818 FILE *f = fopen ("conftest.out", "w");
4819 return ferror (f) || fclose (f) != 0;
4822 return 0;
4824 _ACEOF
4825 ac_clean_files="$ac_clean_files conftest.out"
4826 # Check that the compiler produces executables we can run. If not, either
4827 # the compiler is broken, or we cross compile.
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4829 $as_echo_n "checking whether we are cross compiling... " >&6; }
4830 if test "$cross_compiling" != yes; then
4831 { { ac_try="$ac_link"
4832 case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4835 esac
4836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4837 $as_echo "$ac_try_echo"; } >&5
4838 (eval "$ac_link") 2>&5
4839 ac_status=$?
4840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4841 test $ac_status = 0; }
4842 if { ac_try='./conftest$ac_cv_exeext'
4843 { { case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4848 $as_echo "$ac_try_echo"; } >&5
4849 (eval "$ac_try") 2>&5
4850 ac_status=$?
4851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4852 test $ac_status = 0; }; }; then
4853 cross_compiling=no
4854 else
4855 if test "$cross_compiling" = maybe; then
4856 cross_compiling=yes
4857 else
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot run C compiled programs.
4861 If you meant to cross compile, use \`--host'.
4862 See \`config.log' for more details" "$LINENO" 5; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4867 $as_echo "$cross_compiling" >&6; }
4869 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4870 ac_clean_files=$ac_clean_files_save
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4872 $as_echo_n "checking for suffix of object files... " >&6; }
4873 if ${ac_cv_objext+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 rm -f conftest.o conftest.obj
4888 if { { ac_try="$ac_compile"
4889 case "(($ac_try" in
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 *) ac_try_echo=$ac_try;;
4892 esac
4893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4894 $as_echo "$ac_try_echo"; } >&5
4895 (eval "$ac_compile") 2>&5
4896 ac_status=$?
4897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4898 test $ac_status = 0; }; then :
4899 for ac_file in conftest.o conftest.obj conftest.*; do
4900 test -f "$ac_file" || continue;
4901 case $ac_file in
4902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4903 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4904 break;;
4905 esac
4906 done
4907 else
4908 $as_echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4913 as_fn_error $? "cannot compute suffix of object files: cannot compile
4914 See \`config.log' for more details" "$LINENO" 5; }
4916 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4919 $as_echo "$ac_cv_objext" >&6; }
4920 OBJEXT=$ac_cv_objext
4921 ac_objext=$OBJEXT
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4923 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4924 if ${ac_cv_c_compiler_gnu+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4933 #ifndef __GNUC__
4934 choke me
4935 #endif
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_compiler_gnu=yes
4943 else
4944 ac_compiler_gnu=no
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4951 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4952 if test $ac_compiler_gnu = yes; then
4953 GCC=yes
4954 else
4955 GCC=
4957 ac_test_CFLAGS=${CFLAGS+set}
4958 ac_save_CFLAGS=$CFLAGS
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4960 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4961 if ${ac_cv_prog_cc_g+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 ac_save_c_werror_flag=$ac_c_werror_flag
4965 ac_c_werror_flag=yes
4966 ac_cv_prog_cc_g=no
4967 CFLAGS="-g"
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_compile "$LINENO"; then :
4980 ac_cv_prog_cc_g=yes
4981 else
4982 CFLAGS=""
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4996 else
4997 ac_c_werror_flag=$ac_save_c_werror_flag
4998 CFLAGS="-g"
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_compile "$LINENO"; then :
5011 ac_cv_prog_cc_g=yes
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_c_werror_flag=$ac_save_c_werror_flag
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5021 $as_echo "$ac_cv_prog_cc_g" >&6; }
5022 if test "$ac_test_CFLAGS" = set; then
5023 CFLAGS=$ac_save_CFLAGS
5024 elif test $ac_cv_prog_cc_g = yes; then
5025 if test "$GCC" = yes; then
5026 CFLAGS="-g -O2"
5027 else
5028 CFLAGS="-g"
5030 else
5031 if test "$GCC" = yes; then
5032 CFLAGS="-O2"
5033 else
5034 CFLAGS=
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5038 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5039 if ${ac_cv_prog_cc_c89+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 ac_cv_prog_cc_c89=no
5043 ac_save_CC=$CC
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 #include <stdarg.h>
5047 #include <stdio.h>
5048 struct stat;
5049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5050 struct buf { int x; };
5051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5052 static char *e (p, i)
5053 char **p;
5054 int i;
5056 return p[i];
5058 static char *f (char * (*g) (char **, int), char **p, ...)
5060 char *s;
5061 va_list v;
5062 va_start (v,p);
5063 s = g (p, va_arg (v,int));
5064 va_end (v);
5065 return s;
5068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5069 function prototypes and stuff, but not '\xHH' hex character constants.
5070 These don't provoke an error unfortunately, instead are silently treated
5071 as 'x'. The following induces an error, until -std is added to get
5072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5073 array size at least. It's necessary to write '\x00'==0 to get something
5074 that's true only with -std. */
5075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5077 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5078 inside strings and character constants. */
5079 #define FOO(x) 'x'
5080 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5082 int test (int i, double x);
5083 struct s1 {int (*f) (int a);};
5084 struct s2 {int (*f) (double a);};
5085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5086 int argc;
5087 char **argv;
5089 main ()
5091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5093 return 0;
5095 _ACEOF
5096 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5097 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5099 CC="$ac_save_CC $ac_arg"
5100 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_cv_prog_cc_c89=$ac_arg
5103 rm -f core conftest.err conftest.$ac_objext
5104 test "x$ac_cv_prog_cc_c89" != "xno" && break
5105 done
5106 rm -f conftest.$ac_ext
5107 CC=$ac_save_CC
5110 # AC_CACHE_VAL
5111 case "x$ac_cv_prog_cc_c89" in
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5114 $as_echo "none needed" >&6; } ;;
5115 xno)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5117 $as_echo "unsupported" >&6; } ;;
5119 CC="$CC $ac_cv_prog_cc_c89"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5121 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5122 esac
5123 if test "x$ac_cv_prog_cc_c89" != xno; then :
5127 ac_ext=c
5128 ac_cpp='$CPP $CPPFLAGS'
5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133 ac_ext=cpp
5134 ac_cpp='$CXXCPP $CPPFLAGS'
5135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5138 if test -z "$CXX"; then
5139 if test -n "$CCC"; then
5140 CXX=$CCC
5141 else
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_CXX+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$CXX"; then
5153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 CXX=$ac_cv_prog_CXX
5173 if test -n "$CXX"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5175 $as_echo "$CXX" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$CXX" && break
5183 done
5185 if test -z "$CXX"; then
5186 ac_ct_CXX=$CXX
5187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy $ac_prog; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$ac_ct_CXX"; then
5197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ac_ct_CXX="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5217 if test -n "$ac_ct_CXX"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5219 $as_echo "$ac_ct_CXX" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$ac_ct_CXX" && break
5227 done
5229 if test "x$ac_ct_CXX" = x; then
5230 CXX="g++"
5231 else
5232 case $cross_compiling:$ac_tool_warned in
5233 yes:)
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned=yes ;;
5237 esac
5238 CXX=$ac_ct_CXX
5244 # Provide some information about the compiler.
5245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5246 set X $ac_compile
5247 ac_compiler=$2
5248 for ac_option in --version -v -V -qversion; do
5249 { { ac_try="$ac_compiler $ac_option >&5"
5250 case "(($ac_try" in
5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252 *) ac_try_echo=$ac_try;;
5253 esac
5254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5255 $as_echo "$ac_try_echo"; } >&5
5256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5257 ac_status=$?
5258 if test -s conftest.err; then
5259 sed '10a\
5260 ... rest of stderr output deleted ...
5261 10q' conftest.err >conftest.er1
5262 cat conftest.er1 >&5
5264 rm -f conftest.er1 conftest.err
5265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5266 test $ac_status = 0; }
5267 done
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5270 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5271 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5278 main ()
5280 #ifndef __GNUC__
5281 choke me
5282 #endif
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_compiler_gnu=yes
5290 else
5291 ac_compiler_gnu=no
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5298 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5299 if test $ac_compiler_gnu = yes; then
5300 GXX=yes
5301 else
5302 GXX=
5304 ac_test_CXXFLAGS=${CXXFLAGS+set}
5305 ac_save_CXXFLAGS=$CXXFLAGS
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5307 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5308 if ${ac_cv_prog_cxx_g+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5312 ac_cxx_werror_flag=yes
5313 ac_cv_prog_cxx_g=no
5314 CXXFLAGS="-g"
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main ()
5323 return 0;
5325 _ACEOF
5326 if ac_fn_cxx_try_compile "$LINENO"; then :
5327 ac_cv_prog_cxx_g=yes
5328 else
5329 CXXFLAGS=""
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5343 else
5344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5345 CXXFLAGS="-g"
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5354 return 0;
5356 _ACEOF
5357 if ac_fn_cxx_try_compile "$LINENO"; then :
5358 ac_cv_prog_cxx_g=yes
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5369 if test "$ac_test_CXXFLAGS" = set; then
5370 CXXFLAGS=$ac_save_CXXFLAGS
5371 elif test $ac_cv_prog_cxx_g = yes; then
5372 if test "$GXX" = yes; then
5373 CXXFLAGS="-g -O2"
5374 else
5375 CXXFLAGS="-g"
5377 else
5378 if test "$GXX" = yes; then
5379 CXXFLAGS="-O2"
5380 else
5381 CXXFLAGS=
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_CPPBIN+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$CPPBIN"; then
5399 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 CPPBIN=$ac_cv_prog_CPPBIN
5419 if test -n "$CPPBIN"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5421 $as_echo "$CPPBIN" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5429 if test -z "$ac_cv_prog_CPPBIN"; then
5430 ac_ct_CPPBIN=$CPPBIN
5431 # Extract the first word of "cpp", so it can be a program name with args.
5432 set dummy cpp; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$ac_ct_CPPBIN"; then
5439 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_ac_ct_CPPBIN="cpp"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5459 if test -n "$ac_ct_CPPBIN"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5461 $as_echo "$ac_ct_CPPBIN" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5467 if test "x$ac_ct_CPPBIN" = x; then
5468 CPPBIN="cpp"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474 ac_tool_warned=yes ;;
5475 esac
5476 CPPBIN=$ac_ct_CPPBIN
5478 else
5479 CPPBIN="$ac_cv_prog_CPPBIN"
5483 cat >>confdefs.h <<_ACEOF
5484 #define EXEEXT "$ac_exeext"
5485 _ACEOF
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ld; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_LD+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$LD"; then
5496 ac_cv_prog_LD="$LD" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_LD="${ac_tool_prefix}ld"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 LD=$ac_cv_prog_LD
5516 if test -n "$LD"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5518 $as_echo "$LD" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_LD"; then
5527 ac_ct_LD=$LD
5528 # Extract the first word of "ld", so it can be a program name with args.
5529 set dummy ld; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$ac_ct_LD"; then
5536 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_LD="ld"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5556 if test -n "$ac_ct_LD"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5558 $as_echo "$ac_ct_LD" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_LD" = x; then
5565 LD=""
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573 LD=$ac_ct_LD
5575 else
5576 LD="$ac_cv_prog_LD"
5580 case $host in
5581 *-darwin*)
5582 with_fontconfig=${with_fontconfig:-no}
5584 *-mingw32*|*-cygwin*)
5585 enable_win16=${enable_win16:-no}
5586 with_mingw=${with_mingw:-no}
5587 CFLAGS="$CFLAGS -D_WIN32"
5589 esac
5591 case $host in
5592 x86_64*|amd64*)
5593 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5594 then
5595 CC="$CC -m32"
5596 CXX="$CXX -m32"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5599 $as_echo_n "checking whether $CC works... " >&6; }
5600 if ${wine_cv_cc_m32+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5607 main ()
5611 return 0;
5613 _ACEOF
5614 if ac_fn_c_try_link "$LINENO"; then :
5615 wine_cv_cc_m32=yes
5616 else
5617 wine_cv_cc_m32=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5623 $as_echo "$wine_cv_cc_m32" >&6; }
5624 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
5625 host_cpu="i386"
5626 notice_platform="32-bit "
5627 TARGETFLAGS="-m32"
5629 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5630 export PKG_CONFIG_PATH
5631 enable_win16=${enable_win16:-yes}
5632 with_unwind=${with_unwind:-no}
5633 else
5634 if test "x${GCC}" = "xyes"
5635 then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5637 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5638 if ${wine_cv_builtin_ms_va_list+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #include <stdarg.h>
5645 main ()
5647 void func(__builtin_ms_va_list *args);
5649 return 0;
5651 _ACEOF
5652 if ac_fn_c_try_compile "$LINENO"; then :
5653 wine_cv_builtin_ms_va_list=yes
5654 else
5655 wine_cv_builtin_ms_va_list=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5660 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5661 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
5663 CC="$CC -m64"
5664 CXX="$CXX -m64"
5665 host_cpu="x86_64"
5666 notice_platform="64-bit "
5667 TARGETFLAGS="-m64"
5671 arm*)
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5673 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5674 if ${wine_cv_thumb+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 int ac_test(int i) { return i; }
5681 main ()
5683 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_link "$LINENO"; then :
5689 wine_cv_thumb=yes
5690 else
5691 wine_cv_thumb=no
5693 rm -f core conftest.err conftest.$ac_objext \
5694 conftest$ac_exeext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5697 $as_echo "$wine_cv_thumb" >&6; }
5698 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5699 case $with_float_abi in
5700 soft|softfp|hard)
5701 float_abi=$with_float_abi ;;
5703 case $host_os in
5704 *eabihf)
5705 float_abi=hard ;;
5707 float_abi=softfp
5708 saved_CFLAGS=$CFLAGS
5709 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5711 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5712 if ${wine_cv_float_abi+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5719 main ()
5721 asm("vmrs r2,fpscr");
5723 return 0;
5725 _ACEOF
5726 if ac_fn_c_try_link "$LINENO"; then :
5727 wine_cv_float_abi=yes
5728 else
5729 wine_cv_float_abi=no
5731 rm -f core conftest.err conftest.$ac_objext \
5732 conftest$ac_exeext conftest.$ac_ext
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5735 $as_echo "$wine_cv_float_abi" >&6; }
5736 if test $wine_cv_float_abi = no
5737 then
5738 float_abi=soft
5739 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5741 CFLAGS=$saved_CFLAGS
5742 esac
5744 esac
5745 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5746 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5749 aarch64*)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5751 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5752 if ${wine_cv_builtin_ms_va_list+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5757 #include <stdarg.h>
5759 main ()
5761 void func(__builtin_ms_va_list *args);
5763 return 0;
5765 _ACEOF
5766 if ac_fn_c_try_compile "$LINENO"; then :
5767 wine_cv_builtin_ms_va_list=yes
5768 else
5769 wine_cv_builtin_ms_va_list=no
5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5774 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5775 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5777 i[3456789]86*)
5778 enable_win16=${enable_win16:-yes}
5779 with_unwind=${with_unwind:-no}
5781 esac
5783 enable_win16=${enable_win16:-no}
5784 enable_win64=${enable_win64:-no}
5786 enable_winetest=${enable_winetest:-$enable_tests}
5788 if test "x$enable_win64" = "xyes"
5789 then
5790 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5791 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5792 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5796 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5797 if ${wine_cv_toolsdir+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 wine_cv_toolsdir="$with_wine_tools"
5801 if test -z "$with_wine_tools"; then
5802 if test "$cross_compiling" = "yes"; then
5803 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5804 elif test -n "$with_wine64"; then
5805 wine_cv_toolsdir="$with_wine64"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5810 $as_echo "$wine_cv_toolsdir" >&6; }
5811 if test -z "$wine_cv_toolsdir"; then
5812 wine_makedep=tools/makedep
5813 TOOLSDIR="\$(top_builddir)"
5815 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5816 wine_makedep=$wine_cv_toolsdir/tools/makedep
5817 case "$wine_cv_toolsdir" in
5818 /*) TOOLSDIR=$wine_cv_toolsdir
5820 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5822 esac
5823 enable_tools=${enable_tools:-no}
5824 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5825 else
5826 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5828 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5829 then
5830 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5834 for ac_prog in flex
5836 # Extract the first word of "$ac_prog", so it can be a program name with args.
5837 set dummy $ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_FLEX+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$FLEX"; then
5844 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_FLEX="$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 FLEX=$ac_cv_prog_FLEX
5864 if test -n "$FLEX"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5866 $as_echo "$FLEX" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$FLEX" && break
5874 done
5875 test -n "$FLEX" || FLEX="none"
5877 if test "$FLEX" = "none"
5878 then
5879 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5882 $as_echo_n "checking whether flex is recent enough... " >&6; }
5883 if ${wine_cv_recent_flex+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 cat >conftest.l <<EOF
5887 %top{
5888 #include "prediluvian.h"
5892 if $FLEX -t conftest.l >/dev/null 2>&5
5893 then
5894 wine_cv_recent_flex=yes
5895 else
5896 wine_cv_recent_flex=no
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5900 $as_echo "$wine_cv_recent_flex" >&6; }
5901 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
5903 for ac_prog in bison
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_BISON+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$BISON"; then
5913 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_BISON="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 BISON=$ac_cv_prog_BISON
5933 if test -n "$BISON"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5935 $as_echo "$BISON" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$BISON" && break
5943 done
5944 test -n "$BISON" || BISON="none"
5946 if test "$BISON" = "none"
5947 then
5948 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5951 $as_echo_n "checking whether bison is recent enough... " >&6; }
5952 if ${wine_cv_recent_bison+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 cat >conftest.y <<EOF
5956 %define parse.error verbose
5958 empty: ;
5960 if $BISON conftest.y >/dev/null 2>&5
5961 then
5962 wine_cv_recent_bison=yes
5963 else
5964 wine_cv_recent_bison=no
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5968 $as_echo "$wine_cv_recent_bison" >&6; }
5969 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
5971 if test -n "$ac_tool_prefix"; then
5972 for ac_prog in ar gar
5974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_AR+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$AR"; then
5982 ac_cv_prog_AR="$AR" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 AR=$ac_cv_prog_AR
6002 if test -n "$AR"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6004 $as_echo "$AR" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$AR" && break
6012 done
6014 if test -z "$AR"; then
6015 ac_ct_AR=$AR
6016 for ac_prog in ar gar
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$ac_ct_AR"; then
6026 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_ac_ct_AR="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6046 if test -n "$ac_ct_AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6048 $as_echo "$ac_ct_AR" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$ac_ct_AR" && break
6056 done
6058 if test "x$ac_ct_AR" = x; then
6059 AR="ar"
6060 else
6061 case $cross_compiling:$ac_tool_warned in
6062 yes:)
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned=yes ;;
6066 esac
6067 AR=$ac_ct_AR
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}strip; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_STRIP+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$STRIP"; then
6080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 STRIP=$ac_cv_prog_STRIP
6100 if test -n "$STRIP"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6102 $as_echo "$STRIP" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 if test -z "$ac_cv_prog_STRIP"; then
6111 ac_ct_STRIP=$STRIP
6112 # Extract the first word of "strip", so it can be a program name with args.
6113 set dummy strip; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_STRIP"; then
6120 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_STRIP="strip"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6140 if test -n "$ac_ct_STRIP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6142 $as_echo "$ac_ct_STRIP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6148 if test "x$ac_ct_STRIP" = x; then
6149 STRIP="strip"
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 STRIP=$ac_ct_STRIP
6159 else
6160 STRIP="$ac_cv_prog_STRIP"
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_RANLIB+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$RANLIB"; then
6172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 RANLIB=$ac_cv_prog_RANLIB
6192 if test -n "$RANLIB"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6194 $as_echo "$RANLIB" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6202 if test -z "$ac_cv_prog_RANLIB"; then
6203 ac_ct_RANLIB=$RANLIB
6204 # Extract the first word of "ranlib", so it can be a program name with args.
6205 set dummy ranlib; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$ac_ct_RANLIB"; then
6212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_ac_ct_RANLIB="ranlib"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6232 if test -n "$ac_ct_RANLIB"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6234 $as_echo "$ac_ct_RANLIB" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6240 if test "x$ac_ct_RANLIB" = x; then
6241 RANLIB=":"
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 RANLIB=$ac_ct_RANLIB
6251 else
6252 RANLIB="$ac_cv_prog_RANLIB"
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6256 $as_echo_n "checking whether ln -s works... " >&6; }
6257 LN_S=$as_ln_s
6258 if test "$LN_S" = "ln -s"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6260 $as_echo "yes" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6263 $as_echo "no, using $LN_S" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6267 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6268 if ${ac_cv_path_GREP+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 if test -z "$GREP"; then
6272 ac_path_GREP_found=false
6273 # Loop through the user's path and test for each of PROGNAME-LIST
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6277 IFS=$as_save_IFS
6278 test -z "$as_dir" && as_dir=.
6279 for ac_prog in grep ggrep; do
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6282 as_fn_executable_p "$ac_path_GREP" || continue
6283 # Check for GNU ac_path_GREP and select it if it is found.
6284 # Check for GNU $ac_path_GREP
6285 case `"$ac_path_GREP" --version 2>&1` in
6286 *GNU*)
6287 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6289 ac_count=0
6290 $as_echo_n 0123456789 >"conftest.in"
6291 while :
6293 cat "conftest.in" "conftest.in" >"conftest.tmp"
6294 mv "conftest.tmp" "conftest.in"
6295 cp "conftest.in" "conftest.nl"
6296 $as_echo 'GREP' >> "conftest.nl"
6297 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6298 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6299 as_fn_arith $ac_count + 1 && ac_count=$as_val
6300 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6301 # Best one so far, save it but keep looking for a better one
6302 ac_cv_path_GREP="$ac_path_GREP"
6303 ac_path_GREP_max=$ac_count
6305 # 10*(2^10) chars as input seems more than enough
6306 test $ac_count -gt 10 && break
6307 done
6308 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6309 esac
6311 $ac_path_GREP_found && break 3
6312 done
6313 done
6314 done
6315 IFS=$as_save_IFS
6316 if test -z "$ac_cv_path_GREP"; then
6317 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6319 else
6320 ac_cv_path_GREP=$GREP
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6325 $as_echo "$ac_cv_path_GREP" >&6; }
6326 GREP="$ac_cv_path_GREP"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6330 $as_echo_n "checking for egrep... " >&6; }
6331 if ${ac_cv_path_EGREP+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6335 then ac_cv_path_EGREP="$GREP -E"
6336 else
6337 if test -z "$EGREP"; then
6338 ac_path_EGREP_found=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_prog in egrep; do
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6348 as_fn_executable_p "$ac_path_EGREP" || continue
6349 # Check for GNU ac_path_EGREP and select it if it is found.
6350 # Check for GNU $ac_path_EGREP
6351 case `"$ac_path_EGREP" --version 2>&1` in
6352 *GNU*)
6353 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6355 ac_count=0
6356 $as_echo_n 0123456789 >"conftest.in"
6357 while :
6359 cat "conftest.in" "conftest.in" >"conftest.tmp"
6360 mv "conftest.tmp" "conftest.in"
6361 cp "conftest.in" "conftest.nl"
6362 $as_echo 'EGREP' >> "conftest.nl"
6363 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6364 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6365 as_fn_arith $ac_count + 1 && ac_count=$as_val
6366 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_EGREP="$ac_path_EGREP"
6369 ac_path_EGREP_max=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6373 done
6374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 esac
6377 $ac_path_EGREP_found && break 3
6378 done
6379 done
6380 done
6381 IFS=$as_save_IFS
6382 if test -z "$ac_cv_path_EGREP"; then
6383 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6385 else
6386 ac_cv_path_EGREP=$EGREP
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6392 $as_echo "$ac_cv_path_EGREP" >&6; }
6393 EGREP="$ac_cv_path_EGREP"
6396 # Extract the first word of "ldconfig", so it can be a program name with args.
6397 set dummy ldconfig; ac_word=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_path_LDCONFIG+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 case $LDCONFIG in
6404 [\\/]* | ?:[\\/]*)
6405 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in /sbin /usr/sbin $PATH
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 break 2
6419 done
6420 done
6421 IFS=$as_save_IFS
6423 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6425 esac
6427 LDCONFIG=$ac_cv_path_LDCONFIG
6428 if test -n "$LDCONFIG"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6430 $as_echo "$LDCONFIG" >&6; }
6431 else
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6437 for ac_prog in msgfmt
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy $ac_prog; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_MSGFMT+:} false; then :
6444 $as_echo_n "(cached) " >&6
6445 else
6446 if test -n "$MSGFMT"; then
6447 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6448 else
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH
6452 IFS=$as_save_IFS
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_MSGFMT="$ac_prog"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 break 2
6460 done
6461 done
6462 IFS=$as_save_IFS
6466 MSGFMT=$ac_cv_prog_MSGFMT
6467 if test -n "$MSGFMT"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6469 $as_echo "$MSGFMT" >&6; }
6470 else
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6476 test -n "$MSGFMT" && break
6477 done
6478 test -n "$MSGFMT" || MSGFMT="false"
6480 if ${ac_tool_prefix+:} false; then :
6481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if test -n "$PKG_CONFIG"; then
6489 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6494 IFS=$as_save_IFS
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6502 done
6503 done
6504 IFS=$as_save_IFS
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6509 if test -n "$PKG_CONFIG"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6511 $as_echo "$PKG_CONFIG" >&6; }
6512 else
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6519 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6520 if test "x$cross_compiling" = xyes; then :
6522 else
6523 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6524 # Extract the first word of "pkg-config", so it can be a program name with args.
6525 set dummy pkg-config; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 if test -n "$PKG_CONFIG"; then
6532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6537 IFS=$as_save_IFS
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_PKG_CONFIG="pkg-config"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 break 2
6545 done
6546 done
6547 IFS=$as_save_IFS
6551 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test -n "$PKG_CONFIG"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6554 $as_echo "$PKG_CONFIG" >&6; }
6555 else
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6562 else
6563 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6566 if test "x$enable_maintainer_mode" != "xyes"
6567 then
6568 FONTFORGE=""
6569 RSVG=""
6570 CONVERT=""
6571 ICOTOOL=""
6572 else
6573 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6574 for ac_prog in fontforge
6576 # Extract the first word of "$ac_prog", so it can be a program name with args.
6577 set dummy $ac_prog; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_FONTFORGE+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$FONTFORGE"; then
6584 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_FONTFORGE="$ac_prog"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 FONTFORGE=$ac_cv_prog_FONTFORGE
6604 if test -n "$FONTFORGE"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6606 $as_echo "$FONTFORGE" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6613 test -n "$FONTFORGE" && break
6614 done
6615 test -n "$FONTFORGE" || FONTFORGE="false"
6617 for ac_prog in rsvg-convert rsvg
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_RSVG+:} false; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$RSVG"; then
6627 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_RSVG="$ac_prog"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 RSVG=$ac_cv_prog_RSVG
6647 if test -n "$RSVG"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6649 $as_echo "$RSVG" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6656 test -n "$RSVG" && break
6657 done
6658 test -n "$RSVG" || RSVG="false"
6660 for ac_prog in convert
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_CONVERT+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 if test -n "$CONVERT"; then
6670 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_CONVERT="$ac_prog"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 CONVERT=$ac_cv_prog_CONVERT
6690 if test -n "$CONVERT"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6692 $as_echo "$CONVERT" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6699 test -n "$CONVERT" && break
6700 done
6701 test -n "$CONVERT" || CONVERT="false"
6703 for ac_prog in icotool
6705 # Extract the first word of "$ac_prog", so it can be a program name with args.
6706 set dummy $ac_prog; ac_word=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_prog_ICOTOOL+:} false; then :
6710 $as_echo_n "(cached) " >&6
6711 else
6712 if test -n "$ICOTOOL"; then
6713 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6718 IFS=$as_save_IFS
6719 test -z "$as_dir" && as_dir=.
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_ICOTOOL="$ac_prog"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 IFS=$as_save_IFS
6732 ICOTOOL=$ac_cv_prog_ICOTOOL
6733 if test -n "$ICOTOOL"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6735 $as_echo "$ICOTOOL" >&6; }
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6742 test -n "$ICOTOOL" && break
6743 done
6744 test -n "$ICOTOOL" || ICOTOOL="false"
6746 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6747 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6749 if test "$CONVERT" = false
6750 then
6751 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6754 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6755 convert_version=`convert --version | head -n1`
6756 if test "x$convert_version" != "x"
6757 then
6758 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6759 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6760 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6761 then
6762 CONVERT=false
6765 if test "$CONVERT" = false
6766 then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6768 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6769 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6770 else
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6772 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6776 if test "$ICOTOOL" = false
6777 then
6778 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6781 $as_echo_n "checking for recent enough icotool... " >&6; }
6782 icotool_version=`icotool --version | head -n1`
6783 if test "x$icotool_version" != "x"
6784 then
6785 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6786 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6787 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6788 then
6789 ICOTOOL=false
6790 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6793 if test "$ICOTOOL" = false
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6796 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6797 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6800 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6804 with_gettext=yes
6805 with_gettextpo=yes
6807 enable_werror=yes
6810 test "x$with_gettext" != xno || MSGFMT=false
6811 if test "$MSGFMT" != "false"
6812 then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6814 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6815 if ${wine_cv_msgfmt_contexts+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 cat >conftest.po <<EOF
6819 # comment
6820 msgctxt "ctxt"
6821 msgid "id"
6822 msgstr "str"
6824 if $MSGFMT -o /dev/null conftest.po 2>&5
6825 then
6826 wine_cv_msgfmt_contexts=yes
6827 else
6828 wine_cv_msgfmt_contexts=no
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6832 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6833 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6835 if test "$MSGFMT" = false; then :
6836 case "x$with_gettext" in
6837 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6838 xno) ;;
6839 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6840 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6841 esac
6842 enable_po=${enable_po:-no}
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6847 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6848 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6849 $as_echo_n "(cached) " >&6
6850 else
6851 ac_check_lib_save_LIBS=$LIBS
6852 LIBS="-li386 $LIBS"
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6856 /* Override any GCC internal prototype to avoid an error.
6857 Use char because int might match the return type of a GCC
6858 builtin and then its argument prototype would still apply. */
6859 #ifdef __cplusplus
6860 extern "C"
6861 #endif
6862 char i386_set_ldt ();
6864 main ()
6866 return i386_set_ldt ();
6868 return 0;
6870 _ACEOF
6871 if ac_fn_c_try_link "$LINENO"; then :
6872 ac_cv_lib_i386_i386_set_ldt=yes
6873 else
6874 ac_cv_lib_i386_i386_set_ldt=no
6876 rm -f core conftest.err conftest.$ac_objext \
6877 conftest$ac_exeext conftest.$ac_ext
6878 LIBS=$ac_check_lib_save_LIBS
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6881 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6882 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6883 I386_LIBS="-li386"
6888 OPENGL_LIBS=""
6892 # Check whether --enable-largefile was given.
6893 if test "${enable_largefile+set}" = set; then :
6894 enableval=$enable_largefile;
6897 if test "$enable_largefile" != no; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6900 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6901 if ${ac_cv_sys_largefile_CC+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 ac_cv_sys_largefile_CC=no
6905 if test "$GCC" != yes; then
6906 ac_save_CC=$CC
6907 while :; do
6908 # IRIX 6.2 and later do not support large files by default,
6909 # so use the C compiler's -n32 option if that helps.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <sys/types.h>
6913 /* Check that off_t can represent 2**63 - 1 correctly.
6914 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6915 since some C++ compilers masquerading as C compilers
6916 incorrectly reject 9223372036854775807. */
6917 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6918 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6919 && LARGE_OFF_T % 2147483647 == 1)
6920 ? 1 : -1];
6922 main ()
6926 return 0;
6928 _ACEOF
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 break
6932 rm -f core conftest.err conftest.$ac_objext
6933 CC="$CC -n32"
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_sys_largefile_CC=' -n32'; break
6937 rm -f core conftest.err conftest.$ac_objext
6938 break
6939 done
6940 CC=$ac_save_CC
6941 rm -f conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6945 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6946 if test "$ac_cv_sys_largefile_CC" != no; then
6947 CC=$CC$ac_cv_sys_largefile_CC
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6951 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6952 if ${ac_cv_sys_file_offset_bits+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 while :; do
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6959 /* Check that off_t can represent 2**63 - 1 correctly.
6960 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6961 since some C++ compilers masquerading as C compilers
6962 incorrectly reject 9223372036854775807. */
6963 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6964 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6965 && LARGE_OFF_T % 2147483647 == 1)
6966 ? 1 : -1];
6968 main ()
6972 return 0;
6974 _ACEOF
6975 if ac_fn_c_try_compile "$LINENO"; then :
6976 ac_cv_sys_file_offset_bits=no; break
6978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #define _FILE_OFFSET_BITS 64
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=64; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 ac_cv_sys_file_offset_bits=unknown
7004 break
7005 done
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7008 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7009 case $ac_cv_sys_file_offset_bits in #(
7010 no | unknown) ;;
7012 cat >>confdefs.h <<_ACEOF
7013 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7014 _ACEOF
7016 esac
7017 rm -rf conftest*
7018 if test $ac_cv_sys_file_offset_bits = unknown; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7020 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7021 if ${ac_cv_sys_large_files+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 while :; do
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 /* Check that off_t can represent 2**63 - 1 correctly.
7029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7030 since some C++ compilers masquerading as C compilers
7031 incorrectly reject 9223372036854775807. */
7032 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7034 && LARGE_OFF_T % 2147483647 == 1)
7035 ? 1 : -1];
7037 main ()
7041 return 0;
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_large_files=no; break
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #define _LARGE_FILES 1
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=1; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 ac_cv_sys_large_files=unknown
7073 break
7074 done
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7077 $as_echo "$ac_cv_sys_large_files" >&6; }
7078 case $ac_cv_sys_large_files in #(
7079 no | unknown) ;;
7081 cat >>confdefs.h <<_ACEOF
7082 #define _LARGE_FILES $ac_cv_sys_large_files
7083 _ACEOF
7085 esac
7086 rm -rf conftest*
7093 ac_ext=c
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7102 CPP=
7104 if test -z "$CPP"; then
7105 if ${ac_cv_prog_CPP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7111 ac_preproc_ok=false
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #ifdef __STDC__
7123 # include <limits.h>
7124 #else
7125 # include <assert.h>
7126 #endif
7127 Syntax error
7128 _ACEOF
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7131 else
7132 # Broken: fails on valid input.
7133 continue
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7142 _ACEOF
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7145 continue
7146 else
7147 # Passes both tests.
7148 ac_preproc_ok=:
7149 break
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 done
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7157 break
7160 done
7161 ac_cv_prog_CPP=$CPP
7164 CPP=$ac_cv_prog_CPP
7165 else
7166 ac_cv_prog_CPP=$CPP
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7170 ac_preproc_ok=false
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #ifdef __STDC__
7182 # include <limits.h>
7183 #else
7184 # include <assert.h>
7185 #endif
7186 Syntax error
7187 _ACEOF
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7190 else
7191 # Broken: fails on valid input.
7192 continue
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7204 continue
7205 else
7206 # Passes both tests.
7207 ac_preproc_ok=:
7208 break
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 done
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7217 else
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5; }
7224 ac_ext=c
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if ${ac_cv_header_stdc+:} false; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <stdlib.h>
7239 #include <stdarg.h>
7240 #include <string.h>
7241 #include <float.h>
7244 main ()
7248 return 0;
7250 _ACEOF
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <string.h>
7264 _ACEOF
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f conftest*
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <stdlib.h>
7281 _ACEOF
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7285 else
7286 ac_cv_header_stdc=no
7288 rm -f conftest*
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7296 else
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ctype.h>
7300 #include <stdlib.h>
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7304 #else
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7310 #endif
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7314 main ()
7316 int i;
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7320 return 2;
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_run "$LINENO"; then :
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 _ACEOF
7357 done
7360 for ac_header in \
7361 AL/al.h \
7362 ApplicationServices/ApplicationServices.h \
7363 AudioToolbox/AudioConverter.h \
7364 AudioUnit/AudioUnit.h \
7365 AudioUnit/AudioComponent.h \
7366 CL/cl.h \
7367 Carbon/Carbon.h \
7368 CommonCrypto/CommonCryptor.h \
7369 CoreAudio/CoreAudio.h \
7370 CoreServices/CoreServices.h \
7371 DiskArbitration/DiskArbitration.h \
7372 EGL/egl.h \
7373 IOKit/IOKitLib.h \
7374 IOKit/hid/IOHIDLib.h \
7375 OpenAL/al.h \
7376 OpenCL/opencl.h \
7377 QuickTime/ImageCompression.h \
7378 Security/Security.h \
7379 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7380 SystemConfiguration/SCNetworkConfiguration.h \
7381 alias.h \
7382 arpa/inet.h \
7383 arpa/nameser.h \
7384 asm/types.h \
7385 asm/user.h \
7386 curses.h \
7387 dirent.h \
7388 dlfcn.h \
7389 elf.h \
7390 float.h \
7391 fnmatch.h \
7392 getopt.h \
7393 gettext-po.h \
7394 grp.h \
7395 gsm.h \
7396 gsm/gsm.h \
7397 ieeefp.h \
7398 inet/mib2.h \
7399 kstat.h \
7400 libproc.h \
7401 link.h \
7402 linux/cdrom.h \
7403 linux/compiler.h \
7404 linux/filter.h \
7405 linux/hdreg.h \
7406 linux/hidraw.h \
7407 linux/input.h \
7408 linux/ioctl.h \
7409 linux/joystick.h \
7410 linux/major.h \
7411 linux/param.h \
7412 linux/serial.h \
7413 linux/types.h \
7414 linux/ucdrom.h \
7415 lwp.h \
7416 mach-o/nlist.h \
7417 mach-o/loader.h \
7418 mach/mach.h \
7419 mach/machine.h \
7420 machine/cpu.h \
7421 machine/sysarch.h \
7422 mntent.h \
7423 ncurses.h \
7424 netdb.h \
7425 netinet/in.h \
7426 netinet/in_systm.h \
7427 netinet/tcp.h \
7428 netinet/tcp_fsm.h \
7429 pcap/pcap.h \
7430 poll.h \
7431 port.h \
7432 pthread.h \
7433 pwd.h \
7434 sasl/sasl.h \
7435 sched.h \
7436 scsi/scsi.h \
7437 scsi/scsi_ioctl.h \
7438 scsi/sg.h \
7439 stdbool.h \
7440 stdint.h \
7441 stropts.h \
7442 sys/attr.h \
7443 sys/auxv.h \
7444 sys/cdio.h \
7445 sys/epoll.h \
7446 sys/event.h \
7447 sys/filio.h \
7448 sys/ioctl.h \
7449 sys/ipc.h \
7450 sys/link.h \
7451 sys/mman.h \
7452 sys/modem.h \
7453 sys/msg.h \
7454 sys/mtio.h \
7455 sys/param.h \
7456 sys/poll.h \
7457 sys/prctl.h \
7458 sys/protosw.h \
7459 sys/ptrace.h \
7460 sys/queue.h \
7461 sys/resource.h \
7462 sys/scsiio.h \
7463 sys/shm.h \
7464 sys/signal.h \
7465 sys/socket.h \
7466 sys/socketvar.h \
7467 sys/sockio.h \
7468 sys/statvfs.h \
7469 sys/strtio.h \
7470 sys/syscall.h \
7471 sys/sysinfo.h \
7472 sys/tihdr.h \
7473 sys/time.h \
7474 sys/timeout.h \
7475 sys/times.h \
7476 sys/uio.h \
7477 sys/user.h \
7478 sys/utsname.h \
7479 sys/vnode.h \
7480 sys/wait.h \
7481 syscall.h \
7482 termios.h \
7483 unistd.h \
7484 utime.h \
7485 valgrind/memcheck.h \
7486 valgrind/valgrind.h
7488 do :
7489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7490 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7491 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7492 cat >>confdefs.h <<_ACEOF
7493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7494 _ACEOF
7498 done
7500 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7501 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7503 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7508 if test $ac_cv_header_sys_mkdev_h = no; then
7509 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7510 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7512 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7519 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7520 if ${ac_cv_header_stat_broken+:} false; then :
7521 $as_echo_n "(cached) " >&6
7522 else
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7525 #include <sys/types.h>
7526 #include <sys/stat.h>
7528 #if defined S_ISBLK && defined S_IFDIR
7529 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7530 #endif
7532 #if defined S_ISBLK && defined S_IFCHR
7533 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7534 #endif
7536 #if defined S_ISLNK && defined S_IFREG
7537 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7538 #endif
7540 #if defined S_ISSOCK && defined S_IFREG
7541 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7542 #endif
7544 _ACEOF
7545 if ac_fn_c_try_compile "$LINENO"; then :
7546 ac_cv_header_stat_broken=no
7547 else
7548 ac_cv_header_stat_broken=yes
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7553 $as_echo "$ac_cv_header_stat_broken" >&6; }
7554 if test $ac_cv_header_stat_broken = yes; then
7556 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7562 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7563 do :
7564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7565 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7566 #ifdef HAVE_SYS_PARAM_H
7567 # include <sys/param.h>
7568 #endif
7570 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7571 cat >>confdefs.h <<_ACEOF
7572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7573 _ACEOF
7577 done
7580 saved_sysctl_h_CFLAGS=$CFLAGS
7581 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7582 for ac_header in sys/sysctl.h
7583 do :
7584 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7585 #ifdef HAVE_SYS_PARAM_H
7586 # include <sys/param.h>
7587 #endif
7589 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7590 cat >>confdefs.h <<_ACEOF
7591 #define HAVE_SYS_SYSCTL_H 1
7592 _ACEOF
7596 done
7598 CFLAGS=$saved_sysctl_h_CFLAGS
7600 for ac_header in \
7601 netinet/ip.h \
7602 net/if.h \
7603 net/if_arp.h \
7604 net/if_dl.h \
7605 net/if_types.h \
7606 net/route.h \
7607 netinet/if_ether.h \
7608 netinet/if_inarp.h \
7609 netinet/in_pcb.h \
7610 netinet/ip_icmp.h \
7611 netinet/ip_var.h \
7612 netinet/udp.h \
7613 netipx/ipx.h \
7614 sys/un.h \
7616 do :
7617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7619 #ifdef HAVE_SYS_SOCKET_H
7620 # include <sys/socket.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKETVAR_H
7623 # include <sys/socketvar.h>
7624 #endif
7625 #ifdef HAVE_NET_ROUTE_H
7626 # include <net/route.h>
7627 #endif
7628 #ifdef HAVE_NETINET_IN_H
7629 # include <netinet/in.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_SYSTM_H
7632 # include <netinet/in_systm.h>
7633 #endif
7634 #ifdef HAVE_NET_IF_H
7635 # include <net/if.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_H
7638 # include <netinet/ip.h>
7639 #endif
7641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7644 _ACEOF
7648 done
7651 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7652 do :
7653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7655 #ifdef HAVE_ALIAS_H
7656 # include <alias.h>
7657 #endif
7658 #ifdef HAVE_SYS_SOCKET_H
7659 # include <sys/socket.h>
7660 #endif
7661 #ifdef HAVE_SYS_SOCKETVAR_H
7662 # include <sys/socketvar.h>
7663 #endif
7664 #ifdef HAVE_SYS_TIMEOUT_H
7665 # include <sys/timeout.h>
7666 #endif
7667 #ifdef HAVE_NETINET_IN_H
7668 # include <netinet/in.h>
7669 #endif
7670 #ifdef HAVE_NETINET_IN_SYSTM_H
7671 # include <netinet/in_systm.h>
7672 #endif
7673 #ifdef HAVE_NETINET_IP_H
7674 # include <netinet/ip.h>
7675 #endif
7676 #ifdef HAVE_NETINET_IP_VAR_H
7677 # include <netinet/ip_var.h>
7678 #endif
7679 #ifdef HAVE_NETINET_IP_ICMP_H
7680 # include <netinet/ip_icmp.h>
7681 #endif
7682 #ifdef HAVE_NETINET_UDP_H
7683 # include <netinet/udp.h>
7684 #endif
7685 #ifdef HAVE_NETINET_TCP_H
7686 # include <netinet/tcp.h>
7687 #endif
7688 #ifdef HAVE_NETINET_TCP_TIMER_H
7689 #include <netinet/tcp_timer.h>
7690 #endif
7692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7693 cat >>confdefs.h <<_ACEOF
7694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7695 _ACEOF
7699 done
7702 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7703 do :
7704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7706 #ifdef HAVE_ASM_TYPES_H
7707 # include <asm/types.h>
7708 #endif
7709 #ifdef HAVE_SYS_SOCKET_H
7710 # include <sys/socket.h>
7711 #endif
7712 #ifdef HAVE_LINUX_TYPES_H
7713 # include <linux/types.h>
7714 #endif
7716 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7719 _ACEOF
7723 done
7726 for ac_header in resolv.h
7727 do :
7728 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7729 #ifdef HAVE_SYS_SOCKET_H
7730 # include <sys/socket.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IN_H
7733 # include <netinet/in.h>
7734 #endif
7735 #ifdef HAVE_ARPA_NAMESER_H
7736 # include <arpa/nameser.h>
7737 #endif
7739 if test "x$ac_cv_header_resolv_h" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_RESOLV_H 1
7742 _ACEOF
7746 done
7749 for ac_header in ifaddrs.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7753 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7754 cat >>confdefs.h <<_ACEOF
7755 #define HAVE_IFADDRS_H 1
7756 _ACEOF
7760 done
7763 for ac_header in sys/ucontext.h
7764 do :
7765 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7767 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_SYS_UCONTEXT_H 1
7770 _ACEOF
7774 done
7777 for ac_header in sys/thr.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7780 #ifdef HAVE_SYS_UCONTEXT_H
7781 #include <sys/ucontext.h>
7782 #endif
7784 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_SYS_THR_H 1
7787 _ACEOF
7791 done
7794 for ac_header in pthread_np.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7797 #include <pthread.h>
7798 #endif
7800 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_PTHREAD_NP_H 1
7803 _ACEOF
7807 done
7810 for ac_header in linux/videodev2.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7813 #include <sys/time.h>
7814 #endif
7815 #include <sys/types.h>
7816 #ifdef HAVE_ASM_TYPES_H
7817 #include <asm/types.h>
7818 #endif
7820 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_LINUX_VIDEODEV2_H 1
7823 _ACEOF
7827 done
7830 for ac_header in libprocstat.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7833 #include <sys/param.h>
7834 #endif
7835 #ifdef HAVE_SYS_QUEUE_H
7836 #include <sys/queue.h>
7837 #endif
7838 #ifdef HAVE_SYS_SOCKET_H
7839 #include <sys/socket.h>
7840 #endif
7842 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define HAVE_LIBPROCSTAT_H 1
7845 _ACEOF
7849 done
7853 DLLFLAGS="-D_REENTRANT"
7855 LDRPATH_INSTALL=""
7857 LDRPATH_LOCAL=""
7859 LDDLLFLAGS=""
7861 LDEXECFLAGS=""
7863 TOP_INSTALL_LIB=""
7865 TOP_INSTALL_DEV=""
7867 WINELOADER_LDFLAGS=""
7869 WINEPRELOADER_LDFLAGS=""
7871 LIBEXT="so"
7872 DLLEXT=".so"
7873 # Extract the first word of "ldd", so it can be a program name with args.
7874 set dummy ldd; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_path_LDD+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 case $LDD in
7881 [\\/]* | ?:[\\/]*)
7882 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 as_dummy="/sbin:/usr/sbin:$PATH"
7887 for as_dir in $as_dummy
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7901 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7903 esac
7905 LDD=$ac_cv_path_LDD
7906 if test -n "$LDD"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7908 $as_echo "$LDD" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}otool; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_OTOOL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$OTOOL"; then
7924 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 OTOOL=$ac_cv_prog_OTOOL
7944 if test -n "$OTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7946 $as_echo "$OTOOL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7954 if test -z "$ac_cv_prog_OTOOL"; then
7955 ac_ct_OTOOL=$OTOOL
7956 # Extract the first word of "otool", so it can be a program name with args.
7957 set dummy otool; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$ac_ct_OTOOL"; then
7964 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_ac_ct_OTOOL="otool"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7983 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7984 if test -n "$ac_ct_OTOOL"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7986 $as_echo "$ac_ct_OTOOL" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7992 if test "x$ac_ct_OTOOL" = x; then
7993 OTOOL="otool"
7994 else
7995 case $cross_compiling:$ac_tool_warned in
7996 yes:)
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7999 ac_tool_warned=yes ;;
8000 esac
8001 OTOOL=$ac_ct_OTOOL
8003 else
8004 OTOOL="$ac_cv_prog_OTOOL"
8007 if test -n "$ac_tool_prefix"; then
8008 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8009 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_READELF+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$READELF"; then
8016 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 READELF=$ac_cv_prog_READELF
8036 if test -n "$READELF"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8038 $as_echo "$READELF" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8046 if test -z "$ac_cv_prog_READELF"; then
8047 ac_ct_READELF=$READELF
8048 # Extract the first word of "readelf", so it can be a program name with args.
8049 set dummy readelf; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 if test -n "$ac_ct_READELF"; then
8056 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8057 else
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 for as_dir in $PATH
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_ac_ct_READELF="readelf"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8069 done
8070 done
8071 IFS=$as_save_IFS
8075 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8076 if test -n "$ac_ct_READELF"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8078 $as_echo "$ac_ct_READELF" >&6; }
8079 else
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8084 if test "x$ac_ct_READELF" = x; then
8085 READELF="true"
8086 else
8087 case $cross_compiling:$ac_tool_warned in
8088 yes:)
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091 ac_tool_warned=yes ;;
8092 esac
8093 READELF=$ac_ct_READELF
8095 else
8096 READELF="$ac_cv_prog_READELF"
8099 wine_rules_file=conf$$rules.make
8100 rm -f $wine_rules_file
8101 SUBDIRS=""
8103 DISABLED_SUBDIRS=""
8105 CONFIGURE_TARGETS=""
8108 wine_fn_append_file ()
8110 as_fn_append $1 " \\$as_nl $2"
8113 wine_fn_append_rule ()
8115 $as_echo "$1" >>$wine_rules_file
8118 wine_fn_config_makefile ()
8120 wine_fn_append_file SUBDIRS $1
8121 if eval test \"x\$"$2"\" = x"no"; then :
8122 wine_fn_append_file DISABLED_SUBDIRS $1
8126 wine_fn_config_symlink ()
8128 ac_links=$@
8129 wine_fn_append_rule \
8130 "$ac_links:
8131 @./config.status \$@"
8132 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8135 wine_binary="wine"
8136 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8137 WINELOADER_PROGRAMS="$wine_binary"
8139 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8141 case $host_os in
8142 cygwin*|mingw32*)
8143 if test -n "$ac_tool_prefix"; then
8144 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8145 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_DLLTOOL+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 if test -n "$DLLTOOL"; then
8152 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8157 IFS=$as_save_IFS
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 break 2
8165 done
8166 done
8167 IFS=$as_save_IFS
8171 DLLTOOL=$ac_cv_prog_DLLTOOL
8172 if test -n "$DLLTOOL"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8174 $as_echo "$DLLTOOL" >&6; }
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8182 if test -z "$ac_cv_prog_DLLTOOL"; then
8183 ac_ct_DLLTOOL=$DLLTOOL
8184 # Extract the first word of "dlltool", so it can be a program name with args.
8185 set dummy dlltool; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 if test -n "$ac_ct_DLLTOOL"; then
8192 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8193 else
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 for as_dir in $PATH
8197 IFS=$as_save_IFS
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203 break 2
8205 done
8206 done
8207 IFS=$as_save_IFS
8211 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8212 if test -n "$ac_ct_DLLTOOL"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8214 $as_echo "$ac_ct_DLLTOOL" >&6; }
8215 else
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8220 if test "x$ac_ct_DLLTOOL" = x; then
8221 DLLTOOL="false"
8222 else
8223 case $cross_compiling:$ac_tool_warned in
8224 yes:)
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8227 ac_tool_warned=yes ;;
8228 esac
8229 DLLTOOL=$ac_ct_DLLTOOL
8231 else
8232 DLLTOOL="$ac_cv_prog_DLLTOOL"
8235 LIBEXT="dll"
8236 DLLEXT=""
8237 case $host_cpu in
8238 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8239 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8240 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 ac_wine_try_cflags_saved=$CFLAGS
8244 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 int main(int argc, char **argv) { return 0; }
8248 _ACEOF
8249 if ac_fn_c_try_link "$LINENO"; then :
8250 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8251 else
8252 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8254 rm -f core conftest.err conftest.$ac_objext \
8255 conftest$ac_exeext conftest.$ac_ext
8256 CFLAGS=$ac_wine_try_cflags_saved
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8259 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8260 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8261 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8262 fi ;;
8263 esac
8264 enable_iphlpapi=${enable_iphlpapi:-no}
8265 enable_kernel32=${enable_kernel32:-no}
8266 enable_ntdll=${enable_ntdll:-no}
8267 enable_ws2_32=${enable_ws2_32:-no}
8268 enable_loader=${enable_loader:-no}
8269 enable_server=${enable_server:-no}
8270 with_x=${with_x:-no}
8271 with_pthread=${with_pthread:-no}
8274 darwin*|macosx*)
8275 ac_ext=m
8276 ac_cpp='$OBJCPP $CPPFLAGS'
8277 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8278 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8279 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8281 ac_ext=m
8282 ac_cpp='$OBJCPP $CPPFLAGS'
8283 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8284 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8285 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8286 if test -n "$ac_tool_prefix"; then
8287 for ac_prog in gcc objcc objc cc CC
8289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8292 $as_echo_n "checking for $ac_word... " >&6; }
8293 if ${ac_cv_prog_OBJC+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 if test -n "$OBJC"; then
8297 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8298 else
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 for as_dir in $PATH
8302 IFS=$as_save_IFS
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8306 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 break 2
8310 done
8311 done
8312 IFS=$as_save_IFS
8316 OBJC=$ac_cv_prog_OBJC
8317 if test -n "$OBJC"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8319 $as_echo "$OBJC" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8326 test -n "$OBJC" && break
8327 done
8329 if test -z "$OBJC"; then
8330 ac_ct_OBJC=$OBJC
8331 for ac_prog in gcc objcc objc cc CC
8333 # Extract the first word of "$ac_prog", so it can be a program name with args.
8334 set dummy $ac_prog; ac_word=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8336 $as_echo_n "checking for $ac_word... " >&6; }
8337 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 if test -n "$ac_ct_OBJC"; then
8341 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8342 else
8343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8344 for as_dir in $PATH
8346 IFS=$as_save_IFS
8347 test -z "$as_dir" && as_dir=.
8348 for ac_exec_ext in '' $ac_executable_extensions; do
8349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8350 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 break 2
8354 done
8355 done
8356 IFS=$as_save_IFS
8360 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8361 if test -n "$ac_ct_OBJC"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8363 $as_echo "$ac_ct_OBJC" >&6; }
8364 else
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8370 test -n "$ac_ct_OBJC" && break
8371 done
8373 if test "x$ac_ct_OBJC" = x; then
8374 OBJC="gcc"
8375 else
8376 case $cross_compiling:$ac_tool_warned in
8377 yes:)
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8380 ac_tool_warned=yes ;;
8381 esac
8382 OBJC=$ac_ct_OBJC
8386 # Provide some information about the compiler.
8387 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8388 set X $ac_compile
8389 ac_compiler=$2
8390 for ac_option in --version -v -V -qversion; do
8391 { { ac_try="$ac_compiler $ac_option >&5"
8392 case "(($ac_try" in
8393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8394 *) ac_try_echo=$ac_try;;
8395 esac
8396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8397 $as_echo "$ac_try_echo"; } >&5
8398 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8399 ac_status=$?
8400 if test -s conftest.err; then
8401 sed '10a\
8402 ... rest of stderr output deleted ...
8403 10q' conftest.err >conftest.er1
8404 cat conftest.er1 >&5
8406 rm -f conftest.er1 conftest.err
8407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8408 test $ac_status = 0; }
8409 done
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8412 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8413 if ${ac_cv_objc_compiler_gnu+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8420 main ()
8422 #ifndef __GNUC__
8423 choke me
8424 #endif
8427 return 0;
8429 _ACEOF
8430 if ac_fn_objc_try_compile "$LINENO"; then :
8431 ac_compiler_gnu=yes
8432 else
8433 ac_compiler_gnu=no
8435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8436 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8440 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8441 if test $ac_compiler_gnu = yes; then
8442 GOBJC=yes
8443 else
8444 GOBJC=
8446 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8447 ac_save_OBJCFLAGS=$OBJCFLAGS
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8449 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8450 if ${ac_cv_prog_objc_g+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_save_objc_werror_flag=$ac_objc_werror_flag
8454 ac_objc_werror_flag=yes
8455 ac_cv_prog_objc_g=no
8456 OBJCFLAGS="-g"
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8461 main ()
8465 return 0;
8467 _ACEOF
8468 if ac_fn_objc_try_compile "$LINENO"; then :
8469 ac_cv_prog_objc_g=yes
8470 else
8471 OBJCFLAGS=""
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8476 main ()
8480 return 0;
8482 _ACEOF
8483 if ac_fn_objc_try_compile "$LINENO"; then :
8485 else
8486 ac_objc_werror_flag=$ac_save_objc_werror_flag
8487 OBJCFLAGS="-g"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8492 main ()
8496 return 0;
8498 _ACEOF
8499 if ac_fn_objc_try_compile "$LINENO"; then :
8500 ac_cv_prog_objc_g=yes
8502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8507 ac_objc_werror_flag=$ac_save_objc_werror_flag
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8510 $as_echo "$ac_cv_prog_objc_g" >&6; }
8511 if test "$ac_test_OBJCFLAGS" = set; then
8512 OBJCFLAGS=$ac_save_OBJCFLAGS
8513 elif test $ac_cv_prog_objc_g = yes; then
8514 if test "$GOBJC" = yes; then
8515 OBJCFLAGS="-g -O2"
8516 else
8517 OBJCFLAGS="-g"
8519 else
8520 if test "$GOBJC" = yes; then
8521 OBJCFLAGS="-O2"
8522 else
8523 OBJCFLAGS=
8526 ac_ext=m
8527 ac_cpp='$OBJCPP $CPPFLAGS'
8528 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8529 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8530 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8533 ac_ext=m
8534 ac_cpp='$OBJCPP $CPPFLAGS'
8535 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8536 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8537 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8539 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8540 if test -z "$OBJCPP"; then
8541 if ${ac_cv_prog_OBJCPP+:} false; then :
8542 $as_echo_n "(cached) " >&6
8543 else
8544 # Double quotes because OBJCPP needs to be expanded
8545 for OBJCPP in "$OBJC -E" "/lib/cpp"
8547 ac_preproc_ok=false
8548 for ac_objc_preproc_warn_flag in '' yes
8550 # Use a header file that comes with gcc, so configuring glibc
8551 # with a fresh cross-compiler works.
8552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8553 # <limits.h> exists even on freestanding compilers.
8554 # On the NeXT, cc -E runs the code through the compiler's parser,
8555 # not just through cpp. "Syntax error" is here to catch this case.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 #ifdef __STDC__
8559 # include <limits.h>
8560 #else
8561 # include <assert.h>
8562 #endif
8563 Syntax error
8564 _ACEOF
8565 if ac_fn_objc_try_cpp "$LINENO"; then :
8567 else
8568 # Broken: fails on valid input.
8569 continue
8571 rm -f conftest.err conftest.i conftest.$ac_ext
8573 # OK, works on sane cases. Now check whether nonexistent headers
8574 # can be detected and how.
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 #include <ac_nonexistent.h>
8578 _ACEOF
8579 if ac_fn_objc_try_cpp "$LINENO"; then :
8580 # Broken: success on invalid input.
8581 continue
8582 else
8583 # Passes both tests.
8584 ac_preproc_ok=:
8585 break
8587 rm -f conftest.err conftest.i conftest.$ac_ext
8589 done
8590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8591 rm -f conftest.i conftest.err conftest.$ac_ext
8592 if $ac_preproc_ok; then :
8593 break
8596 done
8597 ac_cv_prog_OBJCPP=$OBJCPP
8600 OBJCPP=$ac_cv_prog_OBJCPP
8601 else
8602 ac_cv_prog_OBJCPP=$OBJCPP
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8605 $as_echo "$OBJCPP" >&6; }
8606 ac_preproc_ok=false
8607 for ac_objc_preproc_warn_flag in '' yes
8609 # Use a header file that comes with gcc, so configuring glibc
8610 # with a fresh cross-compiler works.
8611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8612 # <limits.h> exists even on freestanding compilers.
8613 # On the NeXT, cc -E runs the code through the compiler's parser,
8614 # not just through cpp. "Syntax error" is here to catch this case.
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 #ifdef __STDC__
8618 # include <limits.h>
8619 #else
8620 # include <assert.h>
8621 #endif
8622 Syntax error
8623 _ACEOF
8624 if ac_fn_objc_try_cpp "$LINENO"; then :
8626 else
8627 # Broken: fails on valid input.
8628 continue
8630 rm -f conftest.err conftest.i conftest.$ac_ext
8632 # OK, works on sane cases. Now check whether nonexistent headers
8633 # can be detected and how.
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #include <ac_nonexistent.h>
8637 _ACEOF
8638 if ac_fn_objc_try_cpp "$LINENO"; then :
8639 # Broken: success on invalid input.
8640 continue
8641 else
8642 # Passes both tests.
8643 ac_preproc_ok=:
8644 break
8646 rm -f conftest.err conftest.i conftest.$ac_ext
8648 done
8649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8650 rm -f conftest.i conftest.err conftest.$ac_ext
8651 if $ac_preproc_ok; then :
8653 else
8654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8656 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8657 See \`config.log' for more details" "$LINENO" 5; }
8660 ac_ext=m
8661 ac_cpp='$OBJCPP $CPPFLAGS'
8662 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8663 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8664 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8667 for ac_header in Metal/Metal.h
8668 do :
8669 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8670 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8671 cat >>confdefs.h <<_ACEOF
8672 #define HAVE_METAL_METAL_H 1
8673 _ACEOF
8677 done
8679 ac_ext=c
8680 ac_cpp='$CPP $CPPFLAGS'
8681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8685 LIBEXT="dylib"
8686 DLLFLAGS="$DLLFLAGS -fPIC"
8687 LDDLLFLAGS="-fPIC"
8688 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8689 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8690 COREFOUNDATION_LIBS="-framework CoreFoundation"
8692 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8694 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8696 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8698 CORESERVICES_LIBS="-framework CoreServices"
8700 APPKIT_LIBS="-framework AppKit"
8702 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8705 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8707 wine_can_build_preloader=yes
8708 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8710 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8711 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 int main(int argc, char **argv) { return 0; }
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_cflags__Wl__no_new_main__e__main=yes
8722 else
8723 ac_cv_cflags__Wl__no_new_main__e__main=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8730 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8731 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8732 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8734 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8735 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8746 else
8747 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8754 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8755 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8756 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8757 else
8758 { $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
8759 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8760 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 int main(int argc, char **argv) { return 0; }
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8771 else
8772 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 CFLAGS=$ac_wine_try_cflags_saved
8778 { $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
8779 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8780 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8781 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8782 else
8783 wine_can_build_preloader=no
8786 else
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8788 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8789 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8800 else
8801 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8808 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8809 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8810 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8811 else
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8813 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8814 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8825 else
8826 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8833 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8834 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8835 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8836 else
8837 wine_can_build_preloader=no
8841 if test "$wine_can_build_preloader" = "yes"
8842 then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8844 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8845 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8846 $as_echo_n "(cached) " >&6
8847 else
8848 ac_wine_try_cflags_saved=$CFLAGS
8849 CFLAGS="$CFLAGS -Wl,-no_pie"
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8852 int main(int argc, char **argv) { return 0; }
8853 _ACEOF
8854 if ac_fn_c_try_link "$LINENO"; then :
8855 ac_cv_cflags__Wl__no_pie=yes
8856 else
8857 ac_cv_cflags__Wl__no_pie=no
8859 rm -f core conftest.err conftest.$ac_objext \
8860 conftest$ac_exeext conftest.$ac_ext
8861 CFLAGS=$ac_wine_try_cflags_saved
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8864 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8865 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8866 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8868 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8869 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8870 else
8871 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8874 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8875 then
8876 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8879 if test "$ac_cv_header_Security_Security_h" = "yes"
8880 then
8881 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8883 ac_save_LIBS="$LIBS"
8884 LIBS="$LIBS $SECURITY_LIBS"
8885 for ac_func in SSLCopyPeerCertificates
8886 do :
8887 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8888 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8889 cat >>confdefs.h <<_ACEOF
8890 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8891 _ACEOF
8894 done
8896 LIBS="$ac_save_LIBS"
8898 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8899 then
8900 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8901 then
8902 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8904 else
8905 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8908 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8909 ac_save_LIBS="$LIBS"
8910 LIBS="$LIBS $COREAUDIO_LIBS"
8911 for ac_func in AUGraphAddNode
8912 do :
8913 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8914 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8915 cat >>confdefs.h <<_ACEOF
8916 #define HAVE_AUGRAPHADDNODE 1
8917 _ACEOF
8920 done
8922 LIBS="$ac_save_LIBS"
8924 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8925 then
8926 OPENAL_LIBS="-framework OpenAL"
8929 cat >>confdefs.h <<_ACEOF
8930 #define HAVE_OPENAL 1
8931 _ACEOF
8933 ac_cv_lib_openal=yes
8935 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8936 then
8937 OPENCL_LIBS="-framework OpenCL"
8939 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8941 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8942 then
8943 ac_save_LIBS="$LIBS"
8944 LIBS="$LIBS $IOKIT_LIBS"
8945 for ac_func in IOHIDManagerCreate
8946 do :
8947 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8948 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8949 cat >>confdefs.h <<_ACEOF
8950 #define HAVE_IOHIDMANAGERCREATE 1
8951 _ACEOF
8954 done
8956 LIBS="$ac_save_LIBS"
8958 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8959 then
8960 ac_save_LIBS="$LIBS"
8961 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8963 $as_echo_n "checking for the QuickTime framework... " >&6; }
8964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8965 /* end confdefs.h. */
8966 #include <QuickTime/ImageCompression.h>
8968 main ()
8970 CodecManagerVersion(NULL);
8972 return 0;
8974 _ACEOF
8975 if ac_fn_c_try_link "$LINENO"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8977 $as_echo "yes" >&6; }
8978 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8980 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8981 else
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8983 $as_echo "no" >&6; }
8984 ac_cv_header_QuickTime_ImageCompression_h=no
8986 rm -f core conftest.err conftest.$ac_objext \
8987 conftest$ac_exeext conftest.$ac_ext
8988 LIBS="$ac_save_LIBS"
8990 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8991 then
8992 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8994 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8995 then
8996 CARBON_LIBS="-framework Carbon"
8999 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9000 then
9001 METAL_LIBS="-framework Metal -framework QuartzCore"
9005 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9006 then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9008 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9009 ac_ext=m
9010 ac_cpp='$OBJCPP $CPPFLAGS'
9011 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9012 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9013 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 #include <Metal/Metal.h>
9019 main ()
9021 id<MTLDevice> device; device.registryID;
9023 return 0;
9025 _ACEOF
9026 if ac_fn_objc_try_compile "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9030 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9034 $as_echo "no" >&6; }
9036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9037 ac_ext=c
9038 ac_cpp='$CPP $CPPFLAGS'
9039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9045 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9046 then
9047 ac_save_LIBS="$LIBS"
9048 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9049 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9050 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9051 enable_winemac_drv=${enable_winemac_drv:-yes}
9054 LIBS="$ac_save_LIBS"
9057 if test "x$enable_win16" = "xyes"
9058 then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9060 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9061 if test "$cross_compiling" = yes; then :
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9063 $as_echo "cross-compiling, assuming yes" >&6; }
9064 else
9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9067 asm(".text\n"
9068 "bad:\tnop;nop\n"
9069 "good:\tnop;nop\n\t"
9070 ".globl _testfunc\n"
9071 "_testfunc:\tcallw good");
9072 extern void testfunc();
9074 main ()
9076 unsigned short *p = (unsigned short *)testfunc;
9077 return p[0] != 0xe866 || p[1] != 0xfffa
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_run "$LINENO"; then :
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9084 $as_echo "yes" >&6; }
9085 else
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9087 $as_echo "no" >&6; }
9088 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
9090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9091 conftest.$ac_objext conftest.beam conftest.$ac_ext
9096 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9098 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9100 WINELOADER_DEPENDS="wine_info.plist"
9102 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9103 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9106 linux-android*)
9107 DLLFLAGS="$DLLFLAGS -fPIC"
9108 LDDLLFLAGS="-fPIC"
9109 LDEXECFLAGS="-Wl,-pie"
9110 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9112 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9113 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9114 $as_echo_n "(cached) " >&6
9115 else
9116 ac_wine_try_cflags_saved=$CFLAGS
9117 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9119 /* end confdefs.h. */
9120 int main(int argc, char **argv) { return 0; }
9121 _ACEOF
9122 if ac_fn_c_try_link "$LINENO"; then :
9123 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9124 else
9125 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 CFLAGS=$ac_wine_try_cflags_saved
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9132 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9133 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9134 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9136 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9137 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9139 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9140 if eval \${$as_ac_var+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_wine_try_cflags_saved=$CFLAGS
9144 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 int main(int argc, char **argv) { return 0; }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 eval "$as_ac_var=yes"
9151 else
9152 eval "$as_ac_var=no"
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 CFLAGS=$ac_wine_try_cflags_saved
9158 eval ac_res=\$$as_ac_var
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9160 $as_echo "$ac_res" >&6; }
9161 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9162 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9163 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9164 else
9165 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9167 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9168 if eval \${$as_ac_var+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_wine_try_cflags_saved=$CFLAGS
9172 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9175 int main(int argc, char **argv) { return 0; }
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 eval "$as_ac_var=yes"
9179 else
9180 eval "$as_ac_var=no"
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 CFLAGS=$ac_wine_try_cflags_saved
9186 eval ac_res=\$$as_ac_var
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9188 $as_echo "$ac_res" >&6; }
9189 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9190 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9191 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9195 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9196 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9197 $as_echo_n "(cached) " >&6
9198 else
9199 ac_wine_try_cflags_saved=$CFLAGS
9200 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9203 int main(int argc, char **argv) { return 0; }
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 ac_cv_cflags__Wl___enable_new_dtags=yes
9207 else
9208 ac_cv_cflags__Wl___enable_new_dtags=no
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 CFLAGS=$ac_wine_try_cflags_saved
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9215 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9216 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9217 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9220 LIBWINE_SHAREDLIB="libwine.so"
9222 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9224 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9227 $as_echo_n "checking for -lEGL... " >&6; }
9228 if ${ac_cv_lib_soname_EGL+:} false; then :
9229 $as_echo_n "(cached) " >&6
9230 else
9231 ac_check_soname_save_LIBS=$LIBS
9232 LIBS="-lEGL $LIBS"
9233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9236 /* Override any GCC internal prototype to avoid an error.
9237 Use char because int might match the return type of a GCC
9238 builtin and then its argument prototype would still apply. */
9239 #ifdef __cplusplus
9240 extern "C"
9241 #endif
9242 char eglGetProcAddress ();
9244 main ()
9246 return eglGetProcAddress ();
9248 return 0;
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 case "$LIBEXT" in
9253 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9254 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'` ;;
9255 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9256 if ${ac_cv_lib_soname_EGL:+false} :; then :
9257 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9258 fi ;;
9259 esac
9260 else
9261 ac_cv_lib_soname_EGL=
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LIBS=$ac_check_soname_save_LIBS
9267 if ${ac_cv_lib_soname_EGL:+false} :; then :
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9269 $as_echo "not found" >&6; }
9271 else
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9273 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9275 cat >>confdefs.h <<_ACEOF
9276 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9277 _ACEOF
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9282 $as_echo_n "checking for -lGLESv2... " >&6; }
9283 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 ac_check_soname_save_LIBS=$LIBS
9287 LIBS="-lGLESv2 $LIBS"
9288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9291 /* Override any GCC internal prototype to avoid an error.
9292 Use char because int might match the return type of a GCC
9293 builtin and then its argument prototype would still apply. */
9294 #ifdef __cplusplus
9295 extern "C"
9296 #endif
9297 char glFlush ();
9299 main ()
9301 return glFlush ();
9303 return 0;
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 case "$LIBEXT" in
9308 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9309 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'` ;;
9310 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9311 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9312 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9313 fi ;;
9314 esac
9315 else
9316 ac_cv_lib_soname_GLESv2=
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_soname_save_LIBS
9322 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9324 $as_echo "not found" >&6; }
9326 else
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9328 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9330 cat >>confdefs.h <<_ACEOF
9331 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9332 _ACEOF
9337 if test "x$exec_prefix" = xNONE
9338 then
9339 case $host_cpu in
9340 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9341 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9342 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9343 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9344 esac
9349 case $host_cpu in
9350 *i[3456789]86*)
9351 DLLFLAGS="$DLLFLAGS -fno-PIC"
9352 LDDLLFLAGS="-fno-PIC" ;;
9354 DLLFLAGS="$DLLFLAGS -fPIC"
9355 LDDLLFLAGS="-fPIC" ;;
9356 esac
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9358 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9359 if ${ac_cv_c_dll_gnuelf+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_wine_try_cflags_saved=$CFLAGS
9363 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9366 void myfunc() {}
9367 _ACEOF
9368 if ac_fn_c_try_link "$LINENO"; then :
9369 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9370 else
9371 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 CFLAGS=$ac_wine_try_cflags_saved
9376 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9377 ac_cv_c_dll_gnuelf="yes"
9378 else
9379 ac_cv_c_dll_gnuelf="no"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9383 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9384 if test "$ac_cv_c_dll_gnuelf" = "yes"
9385 then
9386 LIBWINE_LDFLAGS="-shared"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9388 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9389 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_wine_try_cflags_saved=$CFLAGS
9393 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9396 int main(int argc, char **argv) { return 0; }
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9400 else
9401 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 CFLAGS=$ac_wine_try_cflags_saved
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9408 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9409 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9410 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9411 else
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9413 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9414 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9415 $as_echo_n "(cached) " >&6
9416 else
9417 ac_wine_try_cflags_saved=$CFLAGS
9418 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9421 int main(int argc, char **argv) { return 0; }
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"; then :
9424 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9425 else
9426 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 CFLAGS=$ac_wine_try_cflags_saved
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9433 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9434 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9435 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9439 echo '{ global: *; };' >conftest.map
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9441 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9442 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_wine_try_cflags_saved=$CFLAGS
9446 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int main(int argc, char **argv) { return 0; }
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9453 else
9454 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 CFLAGS=$ac_wine_try_cflags_saved
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9461 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9462 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9463 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9465 rm -f conftest.map
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9468 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9469 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"; then :
9479 ac_cv_cflags__Wl___export_dynamic=yes
9480 else
9481 ac_cv_cflags__Wl___export_dynamic=no
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 CFLAGS=$ac_wine_try_cflags_saved
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9488 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9489 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9490 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9492 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9494 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9496 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9497 if eval \${$as_ac_var+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_wine_try_cflags_saved=$CFLAGS
9501 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9504 int main(int argc, char **argv) { return 0; }
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 eval "$as_ac_var=yes"
9508 else
9509 eval "$as_ac_var=no"
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 CFLAGS=$ac_wine_try_cflags_saved
9515 eval ac_res=\$$as_ac_var
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9517 $as_echo "$ac_res" >&6; }
9518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9519 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9520 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9521 else
9522 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9524 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9525 if eval \${$as_ac_var+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_wine_try_cflags_saved=$CFLAGS
9529 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 eval "$as_ac_var=yes"
9536 else
9537 eval "$as_ac_var=no"
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 CFLAGS=$ac_wine_try_cflags_saved
9543 eval ac_res=\$$as_ac_var
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9545 $as_echo "$ac_res" >&6; }
9546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9547 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9548 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9553 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9554 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_wine_try_cflags_saved=$CFLAGS
9558 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 int main(int argc, char **argv) { return 0; }
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 ac_cv_cflags__Wl___enable_new_dtags=yes
9565 else
9566 ac_cv_cflags__Wl___enable_new_dtags=no
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 CFLAGS=$ac_wine_try_cflags_saved
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9573 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9574 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9575 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9578 case $host_cpu in
9579 *i[3456789]86* | x86_64 | *aarch64*)
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9581 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9582 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 ac_wine_try_cflags_saved=$CFLAGS
9586 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9589 int main(int argc, char **argv) { return 0; }
9590 _ACEOF
9591 if ac_fn_c_try_link "$LINENO"; then :
9592 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9593 else
9594 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 CFLAGS=$ac_wine_try_cflags_saved
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9601 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9602 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9603 case $host_os in
9604 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9605 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9606 esac
9607 else
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9609 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9610 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_wine_try_cflags_saved=$CFLAGS
9614 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9617 int main(int argc, char **argv) { return 0; }
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9621 else
9622 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 CFLAGS=$ac_wine_try_cflags_saved
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9629 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9630 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9631 case $host_os in
9632 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9633 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9634 esac
9636 # Extract the first word of "prelink", so it can be a program name with args.
9637 set dummy prelink; ac_word=$2
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9639 $as_echo_n "checking for $ac_word... " >&6; }
9640 if ${ac_cv_path_PRELINK+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 case $PRELINK in
9644 [\\/]* | ?:[\\/]*)
9645 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9649 for as_dir in /sbin /usr/sbin $PATH
9651 IFS=$as_save_IFS
9652 test -z "$as_dir" && as_dir=.
9653 for ac_exec_ext in '' $ac_executable_extensions; do
9654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9655 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9657 break 2
9659 done
9660 done
9661 IFS=$as_save_IFS
9663 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9665 esac
9667 PRELINK=$ac_cv_path_PRELINK
9668 if test -n "$PRELINK"; then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9670 $as_echo "$PRELINK" >&6; }
9671 else
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9673 $as_echo "no" >&6; }
9677 if test "x$PRELINK" = xfalse
9678 then
9679 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9683 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9684 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 ac_wine_try_cflags_saved=$CFLAGS
9688 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9691 int main(int argc, char **argv) { return 0; }
9692 _ACEOF
9693 if ac_fn_c_try_link "$LINENO"; then :
9694 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9695 else
9696 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 CFLAGS=$ac_wine_try_cflags_saved
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9703 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9704 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9705 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9708 esac
9710 else
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9712 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9713 if ${ac_cv_c_dll_unixware+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 ac_wine_try_cflags_saved=$CFLAGS
9717 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9720 void myfunc() {}
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9724 else
9725 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 CFLAGS=$ac_wine_try_cflags_saved
9730 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9731 ac_cv_c_dll_unixware="yes"
9732 else
9733 ac_cv_c_dll_unixware="no"
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9737 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9738 if test "$ac_cv_c_dll_unixware" = "yes"
9739 then
9740 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9743 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9745 LIBWINE_DEPENDS="wine.map"
9747 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9748 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9750 esac
9752 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9753 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9754 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9755 enable_winemac_drv=${enable_winemac_drv:-no}
9756 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9759 if test "x$with_mingw" != xno
9760 then
9761 case "x$with_mingw" in
9762 x|xyes) case "$host_cpu" in
9763 aarch64*)
9764 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9765 arm*)
9766 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9767 i[3456789]86*)
9768 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
9769 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9770 mingw32-gcc" ;;
9771 x86_64)
9772 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
9773 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9775 ac_prefix_list="" ;;
9776 esac
9777 for ac_prog in $ac_prefix_list
9779 # Extract the first word of "$ac_prog", so it can be a program name with args.
9780 set dummy $ac_prog; ac_word=$2
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9782 $as_echo_n "checking for $ac_word... " >&6; }
9783 if ${ac_cv_prog_CROSSCC+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 if test -n "$CROSSCC"; then
9787 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9788 else
9789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9790 for as_dir in $PATH
9792 IFS=$as_save_IFS
9793 test -z "$as_dir" && as_dir=.
9794 for ac_exec_ext in '' $ac_executable_extensions; do
9795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9796 ac_cv_prog_CROSSCC="$ac_prog"
9797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9798 break 2
9800 done
9801 done
9802 IFS=$as_save_IFS
9806 CROSSCC=$ac_cv_prog_CROSSCC
9807 if test -n "$CROSSCC"; then
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9809 $as_echo "$CROSSCC" >&6; }
9810 else
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9812 $as_echo "no" >&6; }
9816 test -n "$CROSSCC" && break
9817 done
9818 test -n "$CROSSCC" || CROSSCC="false"
9820 *) CROSSCC=$with_mingw ;;
9821 esac
9822 if test "$CROSSCC" != "false"
9823 then
9824 ac_save_CC="$CC"
9825 saved_CFLAGS=$CFLAGS
9826 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9828 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9832 CC="$CROSSCC"
9833 CFLAGS=$CROSSCFLAGS
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9835 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9836 if ${wine_cv_crosscc+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9843 main ()
9847 return 0;
9849 _ACEOF
9850 if ac_fn_c_try_compile "$LINENO"; then :
9851 wine_cv_crosscc=yes
9852 else
9853 wine_cv_crosscc=no
9855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9858 $as_echo "$wine_cv_crosscc" >&6; }
9859 if test $wine_cv_crosscc = yes
9860 then
9861 set x $CROSSCC
9862 shift
9863 while test $# -ge 1
9865 case "$1" in
9866 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9867 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9868 esac
9869 shift
9870 done
9872 llvm_target=$CROSSTARGET
9873 llvm_cflags="-fuse-ld=lld"
9874 if test -z "$llvm_target"
9875 then
9876 case $host_cpu in
9877 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9878 *) llvm_target=$host_cpu-windows-gnu ;;
9879 esac
9881 case $llvm_target in
9882 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9883 esac
9884 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9886 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9887 if eval \${$as_ac_var+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_wine_try_cflags_saved=$CFLAGS
9891 ac_wine_try_cflags_saved_cc=$CC
9892 ac_wine_try_cflags_saved_exeext=$ac_exeext
9893 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9894 CC="$CROSSCC"
9895 ac_exeext=".exe"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int __cdecl mainCRTStartup(void) { return 0; }
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 eval "$as_ac_var=yes"
9902 else
9903 eval "$as_ac_var=no"
9905 rm -f core conftest.err conftest.$ac_objext \
9906 conftest$ac_exeext conftest.$ac_ext
9907 CFLAGS=$ac_wine_try_cflags_saved
9908 CC=$ac_wine_try_cflags_saved_cc
9909 ac_exeext=$ac_wine_try_cflags_saved_exeext
9911 eval ac_res=\$$as_ac_var
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9913 $as_echo "$ac_res" >&6; }
9914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9915 CROSSTARGET=$llvm_target
9916 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9917 DELAYLOADFLAG="-Wl,-delayload,"
9919 CFLAGS="$CFLAGS $llvm_cflags"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9923 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9924 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 ac_wine_try_cflags_saved_cc=$CC
9929 ac_wine_try_cflags_saved_exeext=$ac_exeext
9930 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9931 CC="$CROSSCC"
9932 ac_exeext=".exe"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int __cdecl mainCRTStartup(void) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_crosscflags__fno_strict_aliasing=yes
9939 else
9940 ac_cv_crosscflags__fno_strict_aliasing=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9945 CC=$ac_wine_try_cflags_saved_cc
9946 ac_exeext=$ac_wine_try_cflags_saved_exeext
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9949 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9950 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9951 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9954 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9955 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 ac_wine_try_cflags_saved_cc=$CC
9960 ac_wine_try_cflags_saved_exeext=$ac_exeext
9961 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9962 CC="$CROSSCC"
9963 ac_exeext=".exe"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9966 int __cdecl mainCRTStartup(void) { return 0; }
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9970 else
9971 ac_cv_crosscflags__Werror_unknown_warning_option=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 CFLAGS=$ac_wine_try_cflags_saved
9976 CC=$ac_wine_try_cflags_saved_cc
9977 ac_exeext=$ac_wine_try_cflags_saved_exeext
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9980 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9981 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9982 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9985 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9986 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_wine_try_cflags_saved=$CFLAGS
9990 ac_wine_try_cflags_saved_cc=$CC
9991 ac_wine_try_cflags_saved_exeext=$ac_exeext
9992 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9993 CC="$CROSSCC"
9994 ac_exeext=".exe"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 int __cdecl mainCRTStartup(void) { return 0; }
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10001 else
10002 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 CFLAGS=$ac_wine_try_cflags_saved
10007 CC=$ac_wine_try_cflags_saved_cc
10008 ac_exeext=$ac_wine_try_cflags_saved_exeext
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10011 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10012 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10013 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10016 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10017 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10018 $as_echo_n "(cached) " >&6
10019 else
10020 ac_wine_try_cflags_saved=$CFLAGS
10021 ac_wine_try_cflags_saved_cc=$CC
10022 ac_wine_try_cflags_saved_exeext=$ac_exeext
10023 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10024 CC="$CROSSCC"
10025 ac_exeext=".exe"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 int __cdecl mainCRTStartup(void) { return 0; }
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10032 else
10033 ac_cv_crosscflags__Wdeclaration_after_statement=no
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 CFLAGS=$ac_wine_try_cflags_saved
10038 CC=$ac_wine_try_cflags_saved_cc
10039 ac_exeext=$ac_wine_try_cflags_saved_exeext
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10042 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10043 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10044 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10047 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10048 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_wine_try_cflags_saved=$CFLAGS
10052 ac_wine_try_cflags_saved_cc=$CC
10053 ac_wine_try_cflags_saved_exeext=$ac_exeext
10054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10055 CC="$CROSSCC"
10056 ac_exeext=".exe"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 int __cdecl mainCRTStartup(void) { return 0; }
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 ac_cv_crosscflags__Wempty_body=yes
10063 else
10064 ac_cv_crosscflags__Wempty_body=no
10066 rm -f core conftest.err conftest.$ac_objext \
10067 conftest$ac_exeext conftest.$ac_ext
10068 CFLAGS=$ac_wine_try_cflags_saved
10069 CC=$ac_wine_try_cflags_saved_cc
10070 ac_exeext=$ac_wine_try_cflags_saved_exeext
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10073 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10074 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10078 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10079 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_wine_try_cflags_saved=$CFLAGS
10083 ac_wine_try_cflags_saved_cc=$CC
10084 ac_wine_try_cflags_saved_exeext=$ac_exeext
10085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10086 CC="$CROSSCC"
10087 ac_exeext=".exe"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 int __cdecl mainCRTStartup(void) { return 0; }
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_crosscflags__Wignored_qualifiers=yes
10094 else
10095 ac_cv_crosscflags__Wignored_qualifiers=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 CFLAGS=$ac_wine_try_cflags_saved
10100 CC=$ac_wine_try_cflags_saved_cc
10101 ac_exeext=$ac_wine_try_cflags_saved_exeext
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10104 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10105 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10109 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10110 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_wine_try_cflags_saved=$CFLAGS
10114 ac_wine_try_cflags_saved_cc=$CC
10115 ac_wine_try_cflags_saved_exeext=$ac_exeext
10116 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10117 CC="$CROSSCC"
10118 ac_exeext=".exe"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int __cdecl mainCRTStartup(void) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"; then :
10124 ac_cv_crosscflags__Wpacked_not_aligned=yes
10125 else
10126 ac_cv_crosscflags__Wpacked_not_aligned=no
10128 rm -f core conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10131 CC=$ac_wine_try_cflags_saved_cc
10132 ac_exeext=$ac_wine_try_cflags_saved_exeext
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10135 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10136 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10137 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10140 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10141 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_wine_try_cflags_saved=$CFLAGS
10145 ac_wine_try_cflags_saved_cc=$CC
10146 ac_wine_try_cflags_saved_exeext=$ac_exeext
10147 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10148 CC="$CROSSCC"
10149 ac_exeext=".exe"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int __cdecl mainCRTStartup(void) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_crosscflags__Wpragma_pack=yes
10156 else
10157 ac_cv_crosscflags__Wpragma_pack=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 CFLAGS=$ac_wine_try_cflags_saved
10162 CC=$ac_wine_try_cflags_saved_cc
10163 ac_exeext=$ac_wine_try_cflags_saved_exeext
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10166 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10167 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10168 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10171 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10172 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 ac_wine_try_cflags_saved_cc=$CC
10177 ac_wine_try_cflags_saved_exeext=$ac_exeext
10178 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10179 CC="$CROSSCC"
10180 ac_exeext=".exe"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 int __cdecl mainCRTStartup(void) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_crosscflags__Wshift_overflow_2=yes
10187 else
10188 ac_cv_crosscflags__Wshift_overflow_2=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10193 CC=$ac_wine_try_cflags_saved_cc
10194 ac_exeext=$ac_wine_try_cflags_saved_exeext
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10197 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10198 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10199 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10202 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10203 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 ac_wine_try_cflags_saved_cc=$CC
10208 ac_wine_try_cflags_saved_exeext=$ac_exeext
10209 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10210 CC="$CROSSCC"
10211 ac_exeext=".exe"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int __cdecl mainCRTStartup(void) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_crosscflags__Wstrict_prototypes=yes
10218 else
10219 ac_cv_crosscflags__Wstrict_prototypes=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10224 CC=$ac_wine_try_cflags_saved_cc
10225 ac_exeext=$ac_wine_try_cflags_saved_exeext
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10228 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10229 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10230 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10233 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10234 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 ac_wine_try_cflags_saved_cc=$CC
10239 ac_wine_try_cflags_saved_exeext=$ac_exeext
10240 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10241 CC="$CROSSCC"
10242 ac_exeext=".exe"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int __cdecl mainCRTStartup(void) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 ac_cv_crosscflags__Wtype_limits=yes
10249 else
10250 ac_cv_crosscflags__Wtype_limits=no
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10255 CC=$ac_wine_try_cflags_saved_cc
10256 ac_exeext=$ac_wine_try_cflags_saved_exeext
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10259 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10260 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10261 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10264 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10265 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_wine_try_cflags_saved=$CFLAGS
10269 ac_wine_try_cflags_saved_cc=$CC
10270 ac_wine_try_cflags_saved_exeext=$ac_exeext
10271 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10272 CC="$CROSSCC"
10273 ac_exeext=".exe"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 int __cdecl mainCRTStartup(void) { return 0; }
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10280 else
10281 ac_cv_crosscflags__Wunused_but_set_parameter=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 CFLAGS=$ac_wine_try_cflags_saved
10286 CC=$ac_wine_try_cflags_saved_cc
10287 ac_exeext=$ac_wine_try_cflags_saved_exeext
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10290 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10291 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10292 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10295 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10296 if ${ac_cv_crosscflags__Wvla+:} false; then :
10297 $as_echo_n "(cached) " >&6
10298 else
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 ac_wine_try_cflags_saved_cc=$CC
10301 ac_wine_try_cflags_saved_exeext=$ac_exeext
10302 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10303 CC="$CROSSCC"
10304 ac_exeext=".exe"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 int __cdecl mainCRTStartup(void) { return 0; }
10308 _ACEOF
10309 if ac_fn_c_try_link "$LINENO"; then :
10310 ac_cv_crosscflags__Wvla=yes
10311 else
10312 ac_cv_crosscflags__Wvla=no
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 CFLAGS=$ac_wine_try_cflags_saved
10317 CC=$ac_wine_try_cflags_saved_cc
10318 ac_exeext=$ac_wine_try_cflags_saved_exeext
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10321 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10322 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10323 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10326 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10327 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10328 $as_echo_n "(cached) " >&6
10329 else
10330 ac_wine_try_cflags_saved=$CFLAGS
10331 ac_wine_try_cflags_saved_cc=$CC
10332 ac_wine_try_cflags_saved_exeext=$ac_exeext
10333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10334 CC="$CROSSCC"
10335 ac_exeext=".exe"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10338 int __cdecl mainCRTStartup(void) { return 0; }
10339 _ACEOF
10340 if ac_fn_c_try_link "$LINENO"; then :
10341 ac_cv_crosscflags__Wwrite_strings=yes
10342 else
10343 ac_cv_crosscflags__Wwrite_strings=no
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10348 CC=$ac_wine_try_cflags_saved_cc
10349 ac_exeext=$ac_wine_try_cflags_saved_exeext
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10352 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10353 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10354 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10357 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10358 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10359 $as_echo_n "(cached) " >&6
10360 else
10361 ac_wine_try_cflags_saved=$CFLAGS
10362 ac_wine_try_cflags_saved_cc=$CC
10363 ac_wine_try_cflags_saved_exeext=$ac_exeext
10364 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10365 CC="$CROSSCC"
10366 ac_exeext=".exe"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10369 int __cdecl mainCRTStartup(void) { return 0; }
10370 _ACEOF
10371 if ac_fn_c_try_link "$LINENO"; then :
10372 ac_cv_crosscflags__Wpointer_arith=yes
10373 else
10374 ac_cv_crosscflags__Wpointer_arith=no
10376 rm -f core conftest.err conftest.$ac_objext \
10377 conftest$ac_exeext conftest.$ac_ext
10378 CFLAGS=$ac_wine_try_cflags_saved
10379 CC=$ac_wine_try_cflags_saved_cc
10380 ac_exeext=$ac_wine_try_cflags_saved_exeext
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10383 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10384 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10385 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10388 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10389 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10390 $as_echo_n "(cached) " >&6
10391 else
10392 ac_wine_try_cflags_saved=$CFLAGS
10393 ac_wine_try_cflags_saved_cc=$CC
10394 ac_wine_try_cflags_saved_exeext=$ac_exeext
10395 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10396 CC="$CROSSCC"
10397 ac_exeext=".exe"
10398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10399 /* end confdefs.h. */
10400 int __cdecl mainCRTStartup(void) { return 0; }
10401 _ACEOF
10402 if ac_fn_c_try_link "$LINENO"; then :
10403 ac_cv_crosscflags__Wlogical_op=yes
10404 else
10405 ac_cv_crosscflags__Wlogical_op=no
10407 rm -f core conftest.err conftest.$ac_objext \
10408 conftest$ac_exeext conftest.$ac_ext
10409 CFLAGS=$ac_wine_try_cflags_saved
10410 CC=$ac_wine_try_cflags_saved_cc
10411 ac_exeext=$ac_wine_try_cflags_saved_exeext
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10414 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10415 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10416 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10419 case $host_cpu in
10420 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10421 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10422 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} 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 -fno-omit-frame-pointer"
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__fno_omit_frame_pointer=yes
10437 else
10438 ac_cv_crosscflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
10447 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10448 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10449 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10450 fi ;;
10451 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10452 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10453 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_wine_try_cflags_saved=$CFLAGS
10457 ac_wine_try_cflags_saved_cc=$CC
10458 ac_wine_try_cflags_saved_exeext=$ac_exeext
10459 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10460 CC="$CROSSCC"
10461 ac_exeext=".exe"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10464 int __cdecl mainCRTStartup(void) { return 0; }
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 ac_cv_crosscflags__Wno_format=yes
10468 else
10469 ac_cv_crosscflags__Wno_format=no
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 CFLAGS=$ac_wine_try_cflags_saved
10474 CC=$ac_wine_try_cflags_saved_cc
10475 ac_exeext=$ac_wine_try_cflags_saved_exeext
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10478 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10479 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10480 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10483 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10484 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10485 $as_echo_n "(cached) " >&6
10486 else
10487 ac_wine_try_cflags_saved=$CFLAGS
10488 ac_wine_try_cflags_saved_cc=$CC
10489 ac_wine_try_cflags_saved_exeext=$ac_exeext
10490 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10491 CC="$CROSSCC"
10492 ac_exeext=".exe"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10495 int __cdecl mainCRTStartup(void) { return 0; }
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_crosscflags__Wformat_overflow=yes
10499 else
10500 ac_cv_crosscflags__Wformat_overflow=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 CFLAGS=$ac_wine_try_cflags_saved
10505 CC=$ac_wine_try_cflags_saved_cc
10506 ac_exeext=$ac_wine_try_cflags_saved_exeext
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10509 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10510 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10511 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10514 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10515 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_wine_try_cflags_saved=$CFLAGS
10519 ac_wine_try_cflags_saved_cc=$CC
10520 ac_wine_try_cflags_saved_exeext=$ac_exeext
10521 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10522 CC="$CROSSCC"
10523 ac_exeext=".exe"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10526 int __cdecl mainCRTStartup(void) { return 0; }
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_crosscflags__Wnonnull=yes
10530 else
10531 ac_cv_crosscflags__Wnonnull=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 CFLAGS=$ac_wine_try_cflags_saved
10536 CC=$ac_wine_try_cflags_saved_cc
10537 ac_exeext=$ac_wine_try_cflags_saved_exeext
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10540 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10541 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10542 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10543 fi ;;
10544 esac
10547 if test -z "$CROSSDEBUG"
10548 then
10549 for ac_flag in $CROSSCFLAGS; do
10550 case $ac_flag in
10551 -gdwarf*) CROSSDEBUG=dwarf ;;
10552 -gcodeview) CROSSDEBUG=pdb ;;
10553 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10554 esac
10555 done
10557 case $CROSSDEBUG in
10558 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10559 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10560 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10561 $as_echo_n "(cached) " >&6
10562 else
10563 ac_wine_try_cflags_saved=$CFLAGS
10564 ac_wine_try_cflags_saved_cc=$CC
10565 ac_wine_try_cflags_saved_exeext=$ac_exeext
10566 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10567 CC="$CROSSCC"
10568 ac_exeext=".exe"
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10571 int __cdecl mainCRTStartup(void) { return 0; }
10572 _ACEOF
10573 if ac_fn_c_try_link "$LINENO"; then :
10574 ac_cv_crosscflags__gdwarf_2=yes
10575 else
10576 ac_cv_crosscflags__gdwarf_2=no
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 CFLAGS=$ac_wine_try_cflags_saved
10581 CC=$ac_wine_try_cflags_saved_cc
10582 ac_exeext=$ac_wine_try_cflags_saved_exeext
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10585 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10586 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10587 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10590 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10591 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10592 $as_echo_n "(cached) " >&6
10593 else
10594 ac_wine_try_cflags_saved=$CFLAGS
10595 ac_wine_try_cflags_saved_cc=$CC
10596 ac_wine_try_cflags_saved_exeext=$ac_exeext
10597 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10598 CC="$CROSSCC"
10599 ac_exeext=".exe"
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10602 int __cdecl mainCRTStartup(void) { return 0; }
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 ac_cv_crosscflags__gstrict_dwarf=yes
10606 else
10607 ac_cv_crosscflags__gstrict_dwarf=no
10609 rm -f core conftest.err conftest.$ac_objext \
10610 conftest$ac_exeext conftest.$ac_ext
10611 CFLAGS=$ac_wine_try_cflags_saved
10612 CC=$ac_wine_try_cflags_saved_cc
10613 ac_exeext=$ac_wine_try_cflags_saved_exeext
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10616 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10617 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10618 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10619 fi ;;
10620 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10621 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10622 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10623 $as_echo_n "(cached) " >&6
10624 else
10625 ac_wine_try_cflags_saved=$CFLAGS
10626 ac_wine_try_cflags_saved_cc=$CC
10627 ac_wine_try_cflags_saved_exeext=$ac_exeext
10628 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10629 CC="$CROSSCC"
10630 ac_exeext=".exe"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 int __cdecl mainCRTStartup(void) { return 0; }
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 ac_cv_crosscflags__gcodeview=yes
10637 else
10638 ac_cv_crosscflags__gcodeview=no
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 CFLAGS=$ac_wine_try_cflags_saved
10643 CC=$ac_wine_try_cflags_saved_cc
10644 ac_exeext=$ac_wine_try_cflags_saved_exeext
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10647 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10648 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10649 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10650 fi ;;
10651 esac
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10654 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10655 if ${ac_cv_crosscflags__fexcess_precision_standard+:} 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 -fexcess-precision=standard"
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__fexcess_precision_standard=yes
10670 else
10671 ac_cv_crosscflags__fexcess_precision_standard=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__fexcess_precision_standard" >&5
10680 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10681 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10682 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10686 if test "x$enable_werror" = "xyes"
10687 then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10689 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10690 if ${ac_cv_crosscflags__Werror+:} false; then :
10691 $as_echo_n "(cached) " >&6
10692 else
10693 ac_wine_try_cflags_saved=$CFLAGS
10694 ac_wine_try_cflags_saved_cc=$CC
10695 ac_wine_try_cflags_saved_exeext=$ac_exeext
10696 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10697 CC="$CROSSCC"
10698 ac_exeext=".exe"
10699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10701 int __cdecl mainCRTStartup(void) { return 0; }
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"; then :
10704 ac_cv_crosscflags__Werror=yes
10705 else
10706 ac_cv_crosscflags__Werror=no
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 CFLAGS=$ac_wine_try_cflags_saved
10711 CC=$ac_wine_try_cflags_saved_cc
10712 ac_exeext=$ac_wine_try_cflags_saved_exeext
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10715 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10716 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10717 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10721 CFLAGS=$saved_CFLAGS
10722 CC="$ac_save_CC"
10725 if test "x$CROSSTARGET" = "x"; then :
10726 case "x$with_mingw" in
10727 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10728 xno) ;;
10729 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10730 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10731 esac
10736 if test "$ac_cv_header_pthread_h" = "yes"
10737 then
10738 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10739 if test "x$ac_cv_func_pthread_create" = xyes; then :
10741 else
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10743 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10744 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lpthread $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char pthread_create ();
10760 main ()
10762 return pthread_create ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_pthread_pthread_create=yes
10769 else
10770 ac_cv_lib_pthread_pthread_create=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10777 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10778 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10779 PTHREAD_LIBS="-lpthread"
10786 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10787 case "x$with_pthread" in
10788 xno) ;;
10789 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10790 Wine cannot support threads without libpthread.
10791 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10792 esac
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10798 $as_echo_n "checking for X... " >&6; }
10801 # Check whether --with-x was given.
10802 if test "${with_x+set}" = set; then :
10803 withval=$with_x;
10806 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10807 if test "x$with_x" = xno; then
10808 # The user explicitly disabled X.
10809 have_x=disabled
10810 else
10811 case $x_includes,$x_libraries in #(
10812 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10813 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 # One or both of the vars are not set, and there is no cached value.
10817 ac_x_includes=no ac_x_libraries=no
10818 rm -f -r conftest.dir
10819 if mkdir conftest.dir; then
10820 cd conftest.dir
10821 cat >Imakefile <<'_ACEOF'
10822 incroot:
10823 @echo incroot='${INCROOT}'
10824 usrlibdir:
10825 @echo usrlibdir='${USRLIBDIR}'
10826 libdir:
10827 @echo libdir='${LIBDIR}'
10828 _ACEOF
10829 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10831 for ac_var in incroot usrlibdir libdir; do
10832 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10833 done
10834 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10835 for ac_extension in a so sl dylib la dll; do
10836 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10837 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10838 ac_im_usrlibdir=$ac_im_libdir; break
10840 done
10841 # Screen out bogus values from the imake configuration. They are
10842 # bogus both because they are the default anyway, and because
10843 # using them would break gcc on systems where it needs fixed includes.
10844 case $ac_im_incroot in
10845 /usr/include) ac_x_includes= ;;
10846 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10847 esac
10848 case $ac_im_usrlibdir in
10849 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10850 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10851 esac
10853 cd ..
10854 rm -f -r conftest.dir
10857 # Standard set of common directories for X headers.
10858 # Check X11 before X11Rn because it is often a symlink to the current release.
10859 ac_x_header_dirs='
10860 /usr/X11/include
10861 /usr/X11R7/include
10862 /usr/X11R6/include
10863 /usr/X11R5/include
10864 /usr/X11R4/include
10866 /usr/include/X11
10867 /usr/include/X11R7
10868 /usr/include/X11R6
10869 /usr/include/X11R5
10870 /usr/include/X11R4
10872 /usr/local/X11/include
10873 /usr/local/X11R7/include
10874 /usr/local/X11R6/include
10875 /usr/local/X11R5/include
10876 /usr/local/X11R4/include
10878 /usr/local/include/X11
10879 /usr/local/include/X11R7
10880 /usr/local/include/X11R6
10881 /usr/local/include/X11R5
10882 /usr/local/include/X11R4
10884 /usr/X386/include
10885 /usr/x386/include
10886 /usr/XFree86/include/X11
10888 /usr/include
10889 /usr/local/include
10890 /usr/unsupported/include
10891 /usr/athena/include
10892 /usr/local/x11r5/include
10893 /usr/lpp/Xamples/include
10895 /usr/openwin/include
10896 /usr/openwin/share/include'
10898 if test "$ac_x_includes" = no; then
10899 # Guess where to find include files, by looking for Xlib.h.
10900 # First, try using that file with no special directory specified.
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10903 #include <X11/Xlib.h>
10904 _ACEOF
10905 if ac_fn_c_try_cpp "$LINENO"; then :
10906 # We can compile using X headers with no special include directory.
10907 ac_x_includes=
10908 else
10909 for ac_dir in $ac_x_header_dirs; do
10910 if test -r "$ac_dir/X11/Xlib.h"; then
10911 ac_x_includes=$ac_dir
10912 break
10914 done
10916 rm -f conftest.err conftest.i conftest.$ac_ext
10917 fi # $ac_x_includes = no
10919 if test "$ac_x_libraries" = no; then
10920 # Check for the libraries.
10921 # See if we find them without any special options.
10922 # Don't add to $LIBS permanently.
10923 ac_save_LIBS=$LIBS
10924 LIBS="-lX11 $LIBS"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 #include <X11/Xlib.h>
10929 main ()
10931 XrmInitialize ()
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 LIBS=$ac_save_LIBS
10938 # We can link X programs with no special library path.
10939 ac_x_libraries=
10940 else
10941 LIBS=$ac_save_LIBS
10942 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10944 # Don't even attempt the hair of trying to link an X program!
10945 for ac_extension in a so sl dylib la dll; do
10946 if test -r "$ac_dir/libX11.$ac_extension"; then
10947 ac_x_libraries=$ac_dir
10948 break 2
10950 done
10951 done
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 fi # $ac_x_libraries = no
10957 case $ac_x_includes,$ac_x_libraries in #(
10958 no,* | *,no | *\'*)
10959 # Didn't find X, or a directory has "'" in its name.
10960 ac_cv_have_x="have_x=no";; #(
10962 # Record where we found X for the cache.
10963 ac_cv_have_x="have_x=yes\
10964 ac_x_includes='$ac_x_includes'\
10965 ac_x_libraries='$ac_x_libraries'"
10966 esac
10968 ;; #(
10969 *) have_x=yes;;
10970 esac
10971 eval "$ac_cv_have_x"
10972 fi # $with_x != no
10974 if test "$have_x" != yes; then
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10976 $as_echo "$have_x" >&6; }
10977 no_x=yes
10978 else
10979 # If each of the values was on the command line, it overrides each guess.
10980 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10981 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10982 # Update the cache value to reflect the command line values.
10983 ac_cv_have_x="have_x=yes\
10984 ac_x_includes='$x_includes'\
10985 ac_x_libraries='$x_libraries'"
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10987 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10990 if test "$no_x" = yes; then
10991 # Not all programs may use this symbol, but it does not hurt to define it.
10993 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10995 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10996 else
10997 if test -n "$x_includes"; then
10998 X_CFLAGS="$X_CFLAGS -I$x_includes"
11001 # It would also be nice to do this for all -L options, not just this one.
11002 if test -n "$x_libraries"; then
11003 X_LIBS="$X_LIBS -L$x_libraries"
11004 # For Solaris; some versions of Sun CC require a space after -R and
11005 # others require no space. Words are not sufficient . . . .
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11007 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11008 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11009 ac_xsave_c_werror_flag=$ac_c_werror_flag
11010 ac_c_werror_flag=yes
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11015 main ()
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11024 $as_echo "no" >&6; }
11025 X_LIBS="$X_LIBS -R$x_libraries"
11026 else
11027 LIBS="$ac_xsave_LIBS -R $x_libraries"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11032 main ()
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11041 $as_echo "yes" >&6; }
11042 X_LIBS="$X_LIBS -R $x_libraries"
11043 else
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11045 $as_echo "neither works" >&6; }
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11050 rm -f core conftest.err conftest.$ac_objext \
11051 conftest$ac_exeext conftest.$ac_ext
11052 ac_c_werror_flag=$ac_xsave_c_werror_flag
11053 LIBS=$ac_xsave_LIBS
11056 # Check for system-dependent libraries X programs must link with.
11057 # Do this before checking for the system-independent R6 libraries
11058 # (-lICE), since we may need -lsocket or whatever for X linking.
11060 if test "$ISC" = yes; then
11061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11062 else
11063 # Martyn Johnson says this is needed for Ultrix, if the X
11064 # libraries were built with DECnet support. And Karl Berry says
11065 # the Alpha needs dnet_stub (dnet does not exist).
11066 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11073 #ifdef __cplusplus
11074 extern "C"
11075 #endif
11076 char XOpenDisplay ();
11078 main ()
11080 return XOpenDisplay ();
11082 return 0;
11084 _ACEOF
11085 if ac_fn_c_try_link "$LINENO"; then :
11087 else
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11089 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11090 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11091 $as_echo_n "(cached) " >&6
11092 else
11093 ac_check_lib_save_LIBS=$LIBS
11094 LIBS="-ldnet $LIBS"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11101 #ifdef __cplusplus
11102 extern "C"
11103 #endif
11104 char dnet_ntoa ();
11106 main ()
11108 return dnet_ntoa ();
11110 return 0;
11112 _ACEOF
11113 if ac_fn_c_try_link "$LINENO"; then :
11114 ac_cv_lib_dnet_dnet_ntoa=yes
11115 else
11116 ac_cv_lib_dnet_dnet_ntoa=no
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11123 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11124 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11125 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11128 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11130 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11131 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-ldnet_stub $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char dnet_ntoa ();
11147 main ()
11149 return dnet_ntoa ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11156 else
11157 ac_cv_lib_dnet_stub_dnet_ntoa=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11164 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11165 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11166 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS="$ac_xsave_LIBS"
11175 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11176 # to get the SysV transport functions.
11177 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11178 # needs -lnsl.
11179 # The nsl library prevents programs from opening the X display
11180 # on Irix 5.2, according to T.E. Dickey.
11181 # The functions gethostbyname, getservbyname, and inet_addr are
11182 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11183 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11184 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11188 if test $ac_cv_func_gethostbyname = no; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11190 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11191 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lnsl $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char gethostbyname ();
11207 main ()
11209 return gethostbyname ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_nsl_gethostbyname=yes
11216 else
11217 ac_cv_lib_nsl_gethostbyname=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11224 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11225 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11229 if test $ac_cv_lib_nsl_gethostbyname = no; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11231 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11232 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lbsd $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char gethostbyname ();
11248 main ()
11250 return gethostbyname ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_bsd_gethostbyname=yes
11257 else
11258 ac_cv_lib_bsd_gethostbyname=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11265 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11266 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11273 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11274 # socket/setsockopt and other routines are undefined under SCO ODT
11275 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11276 # on later versions), says Simon Leinen: it contains gethostby*
11277 # variants that don't use the name server (or something). -lsocket
11278 # must be given before -lnsl if both are needed. We assume that
11279 # if connect needs -lnsl, so does gethostbyname.
11280 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11281 if test "x$ac_cv_func_connect" = xyes; then :
11285 if test $ac_cv_func_connect = no; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11287 $as_echo_n "checking for connect in -lsocket... " >&6; }
11288 if ${ac_cv_lib_socket_connect+:} false; then :
11289 $as_echo_n "(cached) " >&6
11290 else
11291 ac_check_lib_save_LIBS=$LIBS
11292 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 /* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11299 #ifdef __cplusplus
11300 extern "C"
11301 #endif
11302 char connect ();
11304 main ()
11306 return connect ();
11308 return 0;
11310 _ACEOF
11311 if ac_fn_c_try_link "$LINENO"; then :
11312 ac_cv_lib_socket_connect=yes
11313 else
11314 ac_cv_lib_socket_connect=no
11316 rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_lib_save_LIBS
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11321 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11322 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11323 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11328 # Guillermo Gomez says -lposix is necessary on A/UX.
11329 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11330 if test "x$ac_cv_func_remove" = xyes; then :
11334 if test $ac_cv_func_remove = no; then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11336 $as_echo_n "checking for remove in -lposix... " >&6; }
11337 if ${ac_cv_lib_posix_remove+:} false; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-lposix $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char remove ();
11353 main ()
11355 return remove ();
11357 return 0;
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_posix_remove=yes
11362 else
11363 ac_cv_lib_posix_remove=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11370 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11371 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11377 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11378 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11379 if test "x$ac_cv_func_shmat" = xyes; then :
11383 if test $ac_cv_func_shmat = no; then
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11385 $as_echo_n "checking for shmat in -lipc... " >&6; }
11386 if ${ac_cv_lib_ipc_shmat+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-lipc $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char shmat ();
11402 main ()
11404 return shmat ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_ipc_shmat=yes
11411 else
11412 ac_cv_lib_ipc_shmat=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11419 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11420 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11421 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11427 # Check for libraries that X11R6 Xt/Xaw programs need.
11428 ac_save_LDFLAGS=$LDFLAGS
11429 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11430 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11431 # check for ICE first), but we must link in the order -lSM -lICE or
11432 # we get undefined symbols. So assume we have SM if we have ICE.
11433 # These have to be linked with before -lX11, unlike the other
11434 # libraries we check for below, so use a different variable.
11435 # John Interrante, Karl Berry
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11437 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11438 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char IceConnectionNumber ();
11454 main ()
11456 return IceConnectionNumber ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 ac_cv_lib_ICE_IceConnectionNumber=yes
11463 else
11464 ac_cv_lib_ICE_IceConnectionNumber=no
11466 rm -f core conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11471 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11472 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11473 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11476 LDFLAGS=$ac_save_LDFLAGS
11481 if test "$have_x" = "yes"
11482 then
11483 ac_save_CPPFLAGS="$CPPFLAGS"
11484 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11487 $as_echo_n "checking for -lX11... " >&6; }
11488 if ${ac_cv_lib_soname_X11+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_soname_save_LIBS=$LIBS
11492 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char XCreateWindow ();
11504 main ()
11506 return XCreateWindow ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 case "$LIBEXT" in
11513 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11516 if ${ac_cv_lib_soname_X11:+false} :; then :
11517 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 fi ;;
11519 esac
11520 else
11521 ac_cv_lib_soname_X11=
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_soname_save_LIBS
11527 if ${ac_cv_lib_soname_X11:+false} :; then :
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11529 $as_echo "not found" >&6; }
11531 else
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11533 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11535 cat >>confdefs.h <<_ACEOF
11536 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11537 _ACEOF
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11542 $as_echo_n "checking for -lXext... " >&6; }
11543 if ${ac_cv_lib_soname_Xext+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_soname_save_LIBS=$LIBS
11547 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char XextCreateExtension ();
11559 main ()
11561 return XextCreateExtension ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 case "$LIBEXT" in
11568 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11571 if ${ac_cv_lib_soname_Xext:+false} :; then :
11572 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 fi ;;
11574 esac
11575 else
11576 ac_cv_lib_soname_Xext=
11578 rm -f core conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_soname_save_LIBS
11582 if ${ac_cv_lib_soname_Xext:+false} :; then :
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11584 $as_echo "not found" >&6; }
11586 else
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11588 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11590 cat >>confdefs.h <<_ACEOF
11591 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11592 _ACEOF
11594 X_LIBS="$X_LIBS -lXext"
11596 X_LIBS="$X_LIBS -lX11"
11598 for ac_header in X11/Xlib.h \
11599 X11/XKBlib.h \
11600 X11/Xutil.h \
11601 X11/Xcursor/Xcursor.h \
11602 X11/extensions/shape.h \
11603 X11/extensions/XInput.h \
11604 X11/extensions/XInput2.h \
11605 X11/extensions/XShm.h \
11606 X11/extensions/Xcomposite.h \
11607 X11/extensions/Xfixes.h \
11608 X11/extensions/Xinerama.h \
11609 X11/extensions/Xrandr.h \
11610 X11/extensions/Xrender.h \
11611 X11/extensions/xf86vmode.h \
11612 X11/extensions/xf86vmproto.h
11613 do :
11614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11616 # include <X11/Xlib.h>
11617 #endif
11618 #ifdef HAVE_X11_XUTIL_H
11619 # include <X11/Xutil.h>
11620 #endif
11622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11623 cat >>confdefs.h <<_ACEOF
11624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11625 _ACEOF
11629 done
11632 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11633 then
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11635 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11636 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11637 $as_echo_n "(cached) " >&6
11638 else
11639 ac_check_lib_save_LIBS=$LIBS
11640 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11644 /* Override any GCC internal prototype to avoid an error.
11645 Use char because int might match the return type of a GCC
11646 builtin and then its argument prototype would still apply. */
11647 #ifdef __cplusplus
11648 extern "C"
11649 #endif
11650 char XkbQueryExtension ();
11652 main ()
11654 return XkbQueryExtension ();
11656 return 0;
11658 _ACEOF
11659 if ac_fn_c_try_link "$LINENO"; then :
11660 ac_cv_lib_X11_XkbQueryExtension=yes
11661 else
11662 ac_cv_lib_X11_XkbQueryExtension=no
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_lib_save_LIBS
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11669 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11670 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11672 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11678 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11679 then
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11681 $as_echo_n "checking for -lXcursor... " >&6; }
11682 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11683 $as_echo_n "(cached) " >&6
11684 else
11685 ac_check_soname_save_LIBS=$LIBS
11686 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11693 #ifdef __cplusplus
11694 extern "C"
11695 #endif
11696 char XcursorImageLoadCursor ();
11698 main ()
11700 return XcursorImageLoadCursor ();
11702 return 0;
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706 case "$LIBEXT" in
11707 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11708 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'` ;;
11709 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11710 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11711 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11712 fi ;;
11713 esac
11714 else
11715 ac_cv_lib_soname_Xcursor=
11717 rm -f core conftest.err conftest.$ac_objext \
11718 conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_soname_save_LIBS
11721 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11723 $as_echo "not found" >&6; }
11725 else
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11727 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11729 cat >>confdefs.h <<_ACEOF
11730 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11731 _ACEOF
11736 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11737 case "x$with_xcursor" in
11738 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11741 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11742 esac
11746 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11747 then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11749 $as_echo_n "checking for -lXi... " >&6; }
11750 if ${ac_cv_lib_soname_Xi+:} false; then :
11751 $as_echo_n "(cached) " >&6
11752 else
11753 ac_check_soname_save_LIBS=$LIBS
11754 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char XOpenDevice ();
11766 main ()
11768 return XOpenDevice ();
11770 return 0;
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"; then :
11774 case "$LIBEXT" in
11775 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11776 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'` ;;
11777 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11778 if ${ac_cv_lib_soname_Xi:+false} :; then :
11779 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11780 fi ;;
11781 esac
11782 else
11783 ac_cv_lib_soname_Xi=
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_soname_save_LIBS
11789 if ${ac_cv_lib_soname_Xi:+false} :; then :
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11791 $as_echo "not found" >&6; }
11793 else
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11795 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11797 cat >>confdefs.h <<_ACEOF
11798 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11799 _ACEOF
11804 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11805 case "x$with_xinput" in
11806 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11807 xno) ;;
11808 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11809 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11810 esac
11814 if test "x$ac_cv_lib_soname_Xi" != x
11815 then
11816 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11817 case "x$with_xinput2" in
11818 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11819 xno) ;;
11820 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11821 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11822 esac
11827 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11828 then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11830 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11831 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_lib_save_LIBS=$LIBS
11835 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char XShmQueryExtension ();
11847 main ()
11849 return XShmQueryExtension ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 ac_cv_lib_Xext_XShmQueryExtension=yes
11856 else
11857 ac_cv_lib_Xext_XShmQueryExtension=no
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11864 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11865 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11867 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11872 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11873 case "x$with_xshm" in
11874 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11875 xno) ;;
11876 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11877 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11878 esac
11882 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11885 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11886 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char XShapeQueryExtension ();
11902 main ()
11904 return XShapeQueryExtension ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 ac_cv_lib_Xext_XShapeQueryExtension=yes
11911 else
11912 ac_cv_lib_Xext_XShapeQueryExtension=no
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11919 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11920 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11922 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11927 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11928 case "x$with_xshape" in
11929 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11932 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11940 $as_echo_n "checking for -lXxf86vm... " >&6; }
11941 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_soname_save_LIBS=$LIBS
11945 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char XF86VidModeQueryExtension ();
11957 main ()
11959 return XF86VidModeQueryExtension ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 case "$LIBEXT" in
11966 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11967 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'` ;;
11968 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11969 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11970 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11971 fi ;;
11972 esac
11973 else
11974 ac_cv_lib_soname_Xxf86vm=
11976 rm -f core conftest.err conftest.$ac_objext \
11977 conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_soname_save_LIBS
11980 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11982 $as_echo "not found" >&6; }
11984 else
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11986 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11988 cat >>confdefs.h <<_ACEOF
11989 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11990 _ACEOF
11995 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11996 case "x$with_xxf86vm" in
11997 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11998 xno) ;;
11999 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12000 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12001 esac
12005 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12006 then
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12008 $as_echo_n "checking for -lXrender... " >&6; }
12009 if ${ac_cv_lib_soname_Xrender+:} false; then :
12010 $as_echo_n "(cached) " >&6
12011 else
12012 ac_check_soname_save_LIBS=$LIBS
12013 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12020 #ifdef __cplusplus
12021 extern "C"
12022 #endif
12023 char XRenderQueryExtension ();
12025 main ()
12027 return XRenderQueryExtension ();
12029 return 0;
12031 _ACEOF
12032 if ac_fn_c_try_link "$LINENO"; then :
12033 case "$LIBEXT" in
12034 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12035 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'` ;;
12036 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12037 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12038 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12039 fi ;;
12040 esac
12041 else
12042 ac_cv_lib_soname_Xrender=
12044 rm -f core conftest.err conftest.$ac_objext \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_soname_save_LIBS
12048 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12050 $as_echo "not found" >&6; }
12052 else
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12054 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12056 cat >>confdefs.h <<_ACEOF
12057 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12058 _ACEOF
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12061 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12062 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12063 $as_echo_n "(cached) " >&6
12064 else
12065 ac_check_lib_save_LIBS=$LIBS
12066 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12070 /* Override any GCC internal prototype to avoid an error.
12071 Use char because int might match the return type of a GCC
12072 builtin and then its argument prototype would still apply. */
12073 #ifdef __cplusplus
12074 extern "C"
12075 #endif
12076 char XRenderSetPictureTransform ();
12078 main ()
12080 return XRenderSetPictureTransform ();
12082 return 0;
12084 _ACEOF
12085 if ac_fn_c_try_link "$LINENO"; then :
12086 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12087 else
12088 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12090 rm -f core conftest.err conftest.$ac_objext \
12091 conftest$ac_exeext conftest.$ac_ext
12092 LIBS=$ac_check_lib_save_LIBS
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12095 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12096 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12098 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12103 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12104 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_check_lib_save_LIBS=$LIBS
12108 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 #ifdef __cplusplus
12116 extern "C"
12117 #endif
12118 char XRenderCreateLinearGradient ();
12120 main ()
12122 return XRenderCreateLinearGradient ();
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12129 else
12130 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_lib_save_LIBS
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12137 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12138 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12140 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12147 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12148 case "x$with_xrender" in
12149 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12150 xno) ;;
12151 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12152 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12153 esac
12157 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12158 then
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12161 #include <X11/Xlib.h>
12162 #include <X11/extensions/Xrandr.h>
12164 main ()
12166 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_compile "$LINENO"; then :
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12173 $as_echo_n "checking for -lXrandr... " >&6; }
12174 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12175 $as_echo_n "(cached) " >&6
12176 else
12177 ac_check_soname_save_LIBS=$LIBS
12178 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12182 /* Override any GCC internal prototype to avoid an error.
12183 Use char because int might match the return type of a GCC
12184 builtin and then its argument prototype would still apply. */
12185 #ifdef __cplusplus
12186 extern "C"
12187 #endif
12188 char XRRQueryExtension ();
12190 main ()
12192 return XRRQueryExtension ();
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_link "$LINENO"; then :
12198 case "$LIBEXT" in
12199 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12200 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'` ;;
12201 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12202 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12203 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12204 fi ;;
12205 esac
12206 else
12207 ac_cv_lib_soname_Xrandr=
12209 rm -f core conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211 LIBS=$ac_check_soname_save_LIBS
12213 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12215 $as_echo "not found" >&6; }
12217 else
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12219 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12221 cat >>confdefs.h <<_ACEOF
12222 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12223 _ACEOF
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12227 #include <X11/Xlib.h>
12228 #include <X11/extensions/Xrandr.h>
12230 main ()
12232 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_compile "$LINENO"; then :
12239 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12245 #include <X11/Xlib.h>
12246 #include <X11/extensions/Xrandr.h>
12248 main ()
12250 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_compile "$LINENO"; then :
12257 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12259 else
12260 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12267 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12268 case "x$with_xrandr" in
12269 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12270 xno) ;;
12271 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12272 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12273 esac
12277 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12278 then
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 #include <X11/Xlib.h>
12282 #include <X11/extensions/Xfixes.h>
12284 main ()
12286 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_compile "$LINENO"; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12293 $as_echo_n "checking for -lXfixes... " >&6; }
12294 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12295 $as_echo_n "(cached) " >&6
12296 else
12297 ac_check_soname_save_LIBS=$LIBS
12298 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12305 #ifdef __cplusplus
12306 extern "C"
12307 #endif
12308 char XFixesQueryVersion ();
12310 main ()
12312 return XFixesQueryVersion ();
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_link "$LINENO"; then :
12318 case "$LIBEXT" in
12319 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12320 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'` ;;
12321 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12322 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12323 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12324 fi ;;
12325 esac
12326 else
12327 ac_cv_lib_soname_Xfixes=
12329 rm -f core conftest.err conftest.$ac_objext \
12330 conftest$ac_exeext conftest.$ac_ext
12331 LIBS=$ac_check_soname_save_LIBS
12333 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12335 $as_echo "not found" >&6; }
12337 else
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12339 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12341 cat >>confdefs.h <<_ACEOF
12342 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12343 _ACEOF
12348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12350 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12351 case "x$with_xfixes" in
12352 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12353 xno) ;;
12354 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12355 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12356 esac
12360 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12361 then
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12364 #include <X11/Xlib.h>
12365 #include <X11/extensions/Xinerama.h>
12367 main ()
12369 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12371 return 0;
12373 _ACEOF
12374 if ac_fn_c_try_compile "$LINENO"; then :
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12376 $as_echo_n "checking for -lXinerama... " >&6; }
12377 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12378 $as_echo_n "(cached) " >&6
12379 else
12380 ac_check_soname_save_LIBS=$LIBS
12381 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12388 #ifdef __cplusplus
12389 extern "C"
12390 #endif
12391 char XineramaQueryScreens ();
12393 main ()
12395 return XineramaQueryScreens ();
12397 return 0;
12399 _ACEOF
12400 if ac_fn_c_try_link "$LINENO"; then :
12401 case "$LIBEXT" in
12402 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12403 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'` ;;
12404 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12405 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12406 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12407 fi ;;
12408 esac
12409 else
12410 ac_cv_lib_soname_Xinerama=
12412 rm -f core conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12414 LIBS=$ac_check_soname_save_LIBS
12416 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12418 $as_echo "not found" >&6; }
12420 else
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12422 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12424 cat >>confdefs.h <<_ACEOF
12425 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12426 _ACEOF
12431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12433 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12434 case "x$with_xinerama" in
12435 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12436 xno) ;;
12437 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12438 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12439 esac
12443 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12444 then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12446 $as_echo_n "checking for -lXcomposite... " >&6; }
12447 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12448 $as_echo_n "(cached) " >&6
12449 else
12450 ac_check_soname_save_LIBS=$LIBS
12451 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12458 #ifdef __cplusplus
12459 extern "C"
12460 #endif
12461 char XCompositeRedirectWindow ();
12463 main ()
12465 return XCompositeRedirectWindow ();
12467 return 0;
12469 _ACEOF
12470 if ac_fn_c_try_link "$LINENO"; then :
12471 case "$LIBEXT" in
12472 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12473 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'` ;;
12474 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12475 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12476 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12477 fi ;;
12478 esac
12479 else
12480 ac_cv_lib_soname_Xcomposite=
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_soname_save_LIBS
12486 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12488 $as_echo "not found" >&6; }
12490 else
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12492 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12494 cat >>confdefs.h <<_ACEOF
12495 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12496 _ACEOF
12501 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12502 case "x$with_xcomposite" in
12503 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12504 xno) ;;
12505 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12506 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12507 esac
12511 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12512 #include <X11/Xlib.h>
12513 #endif
12515 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12517 cat >>confdefs.h <<_ACEOF
12518 #define HAVE_XICCALLBACK_CALLBACK 1
12519 _ACEOF
12523 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12524 #include <X11/Xlib.h>
12525 #endif
12527 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12529 cat >>confdefs.h <<_ACEOF
12530 #define HAVE_XEVENT_XCOOKIE 1
12531 _ACEOF
12538 opengl_msg=""
12539 if test "x$with_opengl" != "xno"
12540 then
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12542 $as_echo_n "checking for -lGL... " >&6; }
12543 if ${ac_cv_lib_soname_GL+:} false; then :
12544 $as_echo_n "(cached) " >&6
12545 else
12546 ac_check_soname_save_LIBS=$LIBS
12547 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12551 /* Override any GCC internal prototype to avoid an error.
12552 Use char because int might match the return type of a GCC
12553 builtin and then its argument prototype would still apply. */
12554 #ifdef __cplusplus
12555 extern "C"
12556 #endif
12557 char glXCreateContext ();
12559 main ()
12561 return glXCreateContext ();
12563 return 0;
12565 _ACEOF
12566 if ac_fn_c_try_link "$LINENO"; then :
12567 case "$LIBEXT" in
12568 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12569 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'` ;;
12570 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12571 if ${ac_cv_lib_soname_GL:+false} :; then :
12572 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12573 fi ;;
12574 esac
12575 else
12576 ac_cv_lib_soname_GL=
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 LIBS=$ac_check_soname_save_LIBS
12582 if ${ac_cv_lib_soname_GL:+false} :; then :
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12584 $as_echo "not found" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12586 $as_echo_n "checking for -lGL... " >&6; }
12587 if ${ac_cv_lib_soname_GL+:} false; then :
12588 $as_echo_n "(cached) " >&6
12589 else
12590 ac_check_soname_save_LIBS=$LIBS
12591 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"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12598 #ifdef __cplusplus
12599 extern "C"
12600 #endif
12601 char glXCreateContext ();
12603 main ()
12605 return glXCreateContext ();
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_link "$LINENO"; then :
12611 case "$LIBEXT" in
12612 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12613 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'` ;;
12614 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12615 if ${ac_cv_lib_soname_GL:+false} :; then :
12616 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12617 fi ;;
12618 esac
12619 else
12620 ac_cv_lib_soname_GL=
12622 rm -f core conftest.err conftest.$ac_objext \
12623 conftest$ac_exeext conftest.$ac_ext
12624 LIBS=$ac_check_soname_save_LIBS
12626 if ${ac_cv_lib_soname_GL:+false} :; then :
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12628 $as_echo "not found" >&6; }
12629 if test -f /usr/X11R6/lib/libGL.a
12630 then
12631 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12632 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12633 else
12634 opengl_msg="No OpenGL library found on this system."
12636 else
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12638 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12640 cat >>confdefs.h <<_ACEOF
12641 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12642 _ACEOF
12644 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"
12646 else
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12648 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12650 cat >>confdefs.h <<_ACEOF
12651 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12652 _ACEOF
12654 OPENGL_LIBS="-lGL"
12656 if test "x$with_glu" != "xno"
12657 then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12659 $as_echo_n "checking for -lGLU... " >&6; }
12660 if ${ac_cv_lib_soname_GLU+:} false; then :
12661 $as_echo_n "(cached) " >&6
12662 else
12663 ac_check_soname_save_LIBS=$LIBS
12664 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char gluLookAt ();
12676 main ()
12678 return gluLookAt ();
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_link "$LINENO"; then :
12684 case "$LIBEXT" in
12685 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12686 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'` ;;
12687 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12688 if ${ac_cv_lib_soname_GLU:+false} :; then :
12689 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12690 fi ;;
12691 esac
12692 else
12693 ac_cv_lib_soname_GLU=
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_soname_save_LIBS
12699 if ${ac_cv_lib_soname_GLU:+false} :; then :
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12701 $as_echo "not found" >&6; }
12703 else
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12705 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12707 cat >>confdefs.h <<_ACEOF
12708 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12709 _ACEOF
12713 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12714 case "x$with_glu" in
12715 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12716 xno) ;;
12717 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12718 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12719 esac
12724 if test "x$with_osmesa" != "xno"
12725 then
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12727 $as_echo_n "checking for -lOSMesa... " >&6; }
12728 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 ac_check_soname_save_LIBS=$LIBS
12732 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12736 /* Override any GCC internal prototype to avoid an error.
12737 Use char because int might match the return type of a GCC
12738 builtin and then its argument prototype would still apply. */
12739 #ifdef __cplusplus
12740 extern "C"
12741 #endif
12742 char OSMesaGetProcAddress ();
12744 main ()
12746 return OSMesaGetProcAddress ();
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_link "$LINENO"; then :
12752 case "$LIBEXT" in
12753 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12754 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'` ;;
12755 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12756 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12757 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12758 fi ;;
12759 esac
12760 else
12761 ac_cv_lib_soname_OSMesa=
12763 rm -f core conftest.err conftest.$ac_objext \
12764 conftest$ac_exeext conftest.$ac_ext
12765 LIBS=$ac_check_soname_save_LIBS
12767 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12769 $as_echo "not found" >&6; }
12771 else
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12773 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12775 cat >>confdefs.h <<_ACEOF
12776 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12777 _ACEOF
12781 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12782 case "x$with_osmesa" in
12783 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12784 xno) ;;
12785 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12786 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12787 esac
12792 if test -n "$opengl_msg"; then :
12793 case "x$with_opengl" in
12794 x) as_fn_append wine_warnings "|$opengl_msg
12795 OpenGL and Direct3D won't be supported." ;;
12796 xno) ;;
12797 *) as_fn_error $? "$opengl_msg
12798 OpenGL and Direct3D won't be supported.
12799 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12800 esac
12804 CPPFLAGS="$ac_save_CPPFLAGS"
12805 else
12806 X_CFLAGS=""
12807 X_LIBS=""
12810 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12811 then
12812 if test "x$X_LIBS" = "x"; then :
12813 case "x$with_x" in
12814 xno) ;;
12815 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12816 without X support, which probably isn't what you want. You will need
12817 to install ${notice_platform}development packages of Xlib at the very least.
12818 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12819 esac
12820 enable_winex11_drv=${enable_winex11_drv:-no}
12822 else
12823 if test "x$X_LIBS" = "x"; then :
12824 case "x$with_x" in
12825 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12826 xno) ;;
12827 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12828 This is an error since --with-x was requested." "$LINENO" 5 ;;
12829 esac
12830 enable_winex11_drv=${enable_winex11_drv:-no}
12834 if test "$ac_cv_header_CL_cl_h" = "yes"
12835 then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12837 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12838 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12839 $as_echo_n "(cached) " >&6
12840 else
12841 ac_check_lib_save_LIBS=$LIBS
12842 LIBS="-lOpenCL $LIBS"
12843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12846 /* Override any GCC internal prototype to avoid an error.
12847 Use char because int might match the return type of a GCC
12848 builtin and then its argument prototype would still apply. */
12849 #ifdef __cplusplus
12850 extern "C"
12851 #endif
12852 char clGetPlatformInfo ();
12854 main ()
12856 return clGetPlatformInfo ();
12858 return 0;
12860 _ACEOF
12861 if ac_fn_c_try_link "$LINENO"; then :
12862 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12863 else
12864 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12866 rm -f core conftest.err conftest.$ac_objext \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_lib_save_LIBS
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12871 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12872 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12873 OPENCL_LIBS="-lOpenCL"
12878 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12879 case "x$with_opencl" in
12880 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12881 xno) ;;
12882 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12883 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12884 esac
12885 enable_opencl=${enable_opencl:-no}
12888 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12889 then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12891 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12892 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12893 $as_echo_n "(cached) " >&6
12894 else
12895 ac_check_lib_save_LIBS=$LIBS
12896 LIBS="-lpcap $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char pcap_create ();
12908 main ()
12910 return pcap_create ();
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 ac_cv_lib_pcap_pcap_create=yes
12917 else
12918 ac_cv_lib_pcap_pcap_create=no
12920 rm -f core conftest.err conftest.$ac_objext \
12921 conftest$ac_exeext conftest.$ac_ext
12922 LIBS=$ac_check_lib_save_LIBS
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12925 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12926 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12927 PCAP_LIBS="-lpcap"
12932 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12933 case "x$with_pcap" in
12934 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12935 xno) ;;
12936 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12937 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12938 esac
12939 enable_wpcap=${enable_wpcap:-no}
12943 if test "x$with_xml" != "xno"
12944 then
12945 if ${XML2_CFLAGS:+false} :; then :
12946 if ${PKG_CONFIG+:} false; then :
12947 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12950 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12951 if ${XML2_LIBS:+false} :; then :
12952 if ${PKG_CONFIG+:} false; then :
12953 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12956 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12957 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12958 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12959 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12960 ac_save_CPPFLAGS=$CPPFLAGS
12961 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12962 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12963 do :
12964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12965 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12967 cat >>confdefs.h <<_ACEOF
12968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12969 _ACEOF
12973 done
12975 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"
12976 then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12978 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12979 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_lib_save_LIBS=$LIBS
12983 LIBS="-lxml2 $XML2_LIBS $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char xmlParseMemory ();
12995 main ()
12997 return xmlParseMemory ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 ac_cv_lib_xml2_xmlParseMemory=yes
13004 else
13005 ac_cv_lib_xml2_xmlParseMemory=no
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13012 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13013 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13015 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13017 else
13018 XML2_LIBS=""
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13022 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13023 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-lxml2 $XML2_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char xmlReadMemory ();
13039 main ()
13041 return xmlReadMemory ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_xml2_xmlReadMemory=yes
13048 else
13049 ac_cv_lib_xml2_xmlReadMemory=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13056 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13057 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13059 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13064 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13065 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13066 $as_echo_n "(cached) " >&6
13067 else
13068 ac_check_lib_save_LIBS=$LIBS
13069 LIBS="-lxml2 $XML2_LIBS $LIBS"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char xmlNewDocPI ();
13081 main ()
13083 return xmlNewDocPI ();
13085 return 0;
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_lib_xml2_xmlNewDocPI=yes
13090 else
13091 ac_cv_lib_xml2_xmlNewDocPI=no
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 LIBS=$ac_check_lib_save_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13098 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13099 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13101 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13106 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13107 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_check_lib_save_LIBS=$LIBS
13111 LIBS="-lxml2 $XML2_LIBS $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char xmlSchemaSetParserStructuredErrors ();
13123 main ()
13125 return xmlSchemaSetParserStructuredErrors ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"; then :
13131 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13132 else
13133 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13135 rm -f core conftest.err conftest.$ac_objext \
13136 conftest$ac_exeext conftest.$ac_ext
13137 LIBS=$ac_check_lib_save_LIBS
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13140 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13141 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13143 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13148 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13149 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13150 $as_echo_n "(cached) " >&6
13151 else
13152 ac_check_lib_save_LIBS=$LIBS
13153 LIBS="-lxml2 $XML2_LIBS $LIBS"
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13160 #ifdef __cplusplus
13161 extern "C"
13162 #endif
13163 char xmlSchemaSetValidStructuredErrors ();
13165 main ()
13167 return xmlSchemaSetValidStructuredErrors ();
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_link "$LINENO"; then :
13173 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13174 else
13175 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_lib_save_LIBS
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13182 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13183 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13185 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13190 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13191 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13192 $as_echo_n "(cached) " >&6
13193 else
13194 ac_check_lib_save_LIBS=$LIBS
13195 LIBS="-lxml2 $XML2_LIBS $LIBS"
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13199 /* Override any GCC internal prototype to avoid an error.
13200 Use char because int might match the return type of a GCC
13201 builtin and then its argument prototype would still apply. */
13202 #ifdef __cplusplus
13203 extern "C"
13204 #endif
13205 char xmlFirstElementChild ();
13207 main ()
13209 return xmlFirstElementChild ();
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_link "$LINENO"; then :
13215 ac_cv_lib_xml2_xmlFirstElementChild=yes
13216 else
13217 ac_cv_lib_xml2_xmlFirstElementChild=no
13219 rm -f core conftest.err conftest.$ac_objext \
13220 conftest$ac_exeext conftest.$ac_ext
13221 LIBS=$ac_check_lib_save_LIBS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13224 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13225 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13227 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13231 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13233 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13235 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13239 else
13240 XML2_CFLAGS=""
13241 XML2_LIBS=""
13243 CPPFLAGS=$ac_save_CPPFLAGS
13244 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13245 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13248 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13249 case "x$with_xml" in
13250 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13251 xno) ;;
13252 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13253 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13254 esac
13258 if test "x$with_xslt" != "xno"
13259 then
13260 if ${XSLT_CFLAGS:+false} :; then :
13261 if ${PKG_CONFIG+:} false; then :
13262 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13265 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13266 if ${XSLT_LIBS:+false} :; then :
13267 if ${PKG_CONFIG+:} false; then :
13268 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13271 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13272 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13273 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13274 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13275 ac_save_CPPFLAGS=$CPPFLAGS
13276 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13277 for ac_header in libxslt/pattern.h libxslt/transform.h
13278 do :
13279 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13280 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13281 # include <libxslt/pattern.h>
13282 #endif
13284 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13287 _ACEOF
13291 done
13293 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13294 then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13296 $as_echo_n "checking for -lxslt... " >&6; }
13297 if ${ac_cv_lib_soname_xslt+:} false; then :
13298 $as_echo_n "(cached) " >&6
13299 else
13300 ac_check_soname_save_LIBS=$LIBS
13301 LIBS="-lxslt $XSLT_LIBS $LIBS"
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char xsltCompilePattern ();
13313 main ()
13315 return xsltCompilePattern ();
13317 return 0;
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 case "$LIBEXT" in
13322 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13323 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'` ;;
13324 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13325 if ${ac_cv_lib_soname_xslt:+false} :; then :
13326 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13327 fi ;;
13328 esac
13329 else
13330 ac_cv_lib_soname_xslt=
13332 rm -f core conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_soname_save_LIBS
13336 if ${ac_cv_lib_soname_xslt:+false} :; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13338 $as_echo "not found" >&6; }
13340 else
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13342 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13344 cat >>confdefs.h <<_ACEOF
13345 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13346 _ACEOF
13350 else
13351 XSLT_CFLAGS=""
13353 CPPFLAGS=$ac_save_CPPFLAGS
13354 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13355 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13358 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13359 case "x$with_xslt" in
13360 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13361 xno) ;;
13362 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13363 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13364 esac
13368 if test "x$with_inotify" != "xno"
13369 then
13370 if ${INOTIFY_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13376 if ${INOTIFY_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13383 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13385 ac_save_CPPFLAGS=$CPPFLAGS
13386 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13387 for ac_header in sys/inotify.h
13388 do :
13389 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13390 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13391 cat >>confdefs.h <<_ACEOF
13392 #define HAVE_SYS_INOTIFY_H 1
13393 _ACEOF
13397 done
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13400 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13401 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13402 $as_echo_n "(cached) " >&6
13403 else
13404 ac_check_lib_save_LIBS=$LIBS
13405 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13409 /* Override any GCC internal prototype to avoid an error.
13410 Use char because int might match the return type of a GCC
13411 builtin and then its argument prototype would still apply. */
13412 #ifdef __cplusplus
13413 extern "C"
13414 #endif
13415 char inotify_add_watch ();
13417 main ()
13419 return inotify_add_watch ();
13421 return 0;
13423 _ACEOF
13424 if ac_fn_c_try_link "$LINENO"; then :
13425 ac_cv_lib_inotify_inotify_add_watch=yes
13426 else
13427 ac_cv_lib_inotify_inotify_add_watch=no
13429 rm -f core conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13431 LIBS=$ac_check_lib_save_LIBS
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13434 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13435 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13437 else
13438 INOTIFY_LIBS=""
13441 CPPFLAGS=$ac_save_CPPFLAGS
13442 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13443 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13446 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13447 case "x$with_inotify" in
13448 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13449 xno) ;;
13450 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13451 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13452 esac
13456 if test "x$with_dbus" != "xno"
13457 then
13458 if ${DBUS_CFLAGS:+false} :; then :
13459 if ${PKG_CONFIG+:} false; then :
13460 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13464 if ${DBUS_LIBS:+false} :; then :
13465 if ${PKG_CONFIG+:} false; then :
13466 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13471 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13472 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13473 ac_save_CPPFLAGS=$CPPFLAGS
13474 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13475 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13476 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13478 $as_echo_n "checking for -ldbus-1... " >&6; }
13479 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13480 $as_echo_n "(cached) " >&6
13481 else
13482 ac_check_soname_save_LIBS=$LIBS
13483 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13490 #ifdef __cplusplus
13491 extern "C"
13492 #endif
13493 char dbus_connection_close ();
13495 main ()
13497 return dbus_connection_close ();
13499 return 0;
13501 _ACEOF
13502 if ac_fn_c_try_link "$LINENO"; then :
13503 case "$LIBEXT" in
13504 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13505 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'` ;;
13506 *) 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'`
13507 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13508 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13509 fi ;;
13510 esac
13511 else
13512 ac_cv_lib_soname_dbus_1=
13514 rm -f core conftest.err conftest.$ac_objext \
13515 conftest$ac_exeext conftest.$ac_ext
13516 LIBS=$ac_check_soname_save_LIBS
13518 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13520 $as_echo "not found" >&6; }
13521 DBUS_CFLAGS=""
13522 else
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13524 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13526 cat >>confdefs.h <<_ACEOF
13527 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13528 _ACEOF
13532 else
13533 DBUS_CFLAGS=""
13537 CPPFLAGS=$ac_save_CPPFLAGS
13538 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13539 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13542 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13543 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13544 case "x$with_dbus" in
13545 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13546 xno) ;;
13547 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13548 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13549 esac
13553 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13554 then
13555 if ${HAL_CFLAGS:+false} :; then :
13556 if ${PKG_CONFIG+:} false; then :
13557 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13561 if ${HAL_LIBS:+false} :; then :
13562 if ${PKG_CONFIG+:} false; then :
13563 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13567 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13568 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13569 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13570 ac_save_CPPFLAGS=$CPPFLAGS
13571 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13572 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13573 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13575 $as_echo_n "checking for -lhal... " >&6; }
13576 if ${ac_cv_lib_soname_hal+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 ac_check_soname_save_LIBS=$LIBS
13580 LIBS="-lhal $HAL_LIBS $LIBS"
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13584 /* Override any GCC internal prototype to avoid an error.
13585 Use char because int might match the return type of a GCC
13586 builtin and then its argument prototype would still apply. */
13587 #ifdef __cplusplus
13588 extern "C"
13589 #endif
13590 char libhal_ctx_new ();
13592 main ()
13594 return libhal_ctx_new ();
13596 return 0;
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 case "$LIBEXT" in
13601 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13602 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'` ;;
13603 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13604 if ${ac_cv_lib_soname_hal:+false} :; then :
13605 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13606 fi ;;
13607 esac
13608 else
13609 ac_cv_lib_soname_hal=
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_soname_save_LIBS
13615 if ${ac_cv_lib_soname_hal:+false} :; then :
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13617 $as_echo "not found" >&6; }
13618 HAL_CFLAGS=""
13619 else
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13621 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13623 cat >>confdefs.h <<_ACEOF
13624 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13625 _ACEOF
13629 else
13630 HAL_CFLAGS=""
13634 CPPFLAGS=$ac_save_CPPFLAGS
13635 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13636 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13638 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13639 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13640 case "x$with_hal" in
13641 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13642 xno) ;;
13643 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13644 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13645 esac
13650 if test "x$with_gnutls" != "xno"
13651 then
13652 if ${GNUTLS_CFLAGS:+false} :; then :
13653 if ${PKG_CONFIG+:} false; then :
13654 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13658 if ${GNUTLS_LIBS:+false} :; then :
13659 if ${PKG_CONFIG+:} false; then :
13660 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13664 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13665 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13666 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13667 ac_save_CPPFLAGS=$CPPFLAGS
13668 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13669 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13670 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 #include <gnutls/gnutls.h>
13674 #include <gnutls/crypto.h>
13676 main ()
13678 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_compile "$LINENO"; then :
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13685 $as_echo_n "checking for -lgnutls... " >&6; }
13686 if ${ac_cv_lib_soname_gnutls+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 ac_check_soname_save_LIBS=$LIBS
13690 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13694 /* Override any GCC internal prototype to avoid an error.
13695 Use char because int might match the return type of a GCC
13696 builtin and then its argument prototype would still apply. */
13697 #ifdef __cplusplus
13698 extern "C"
13699 #endif
13700 char gnutls_global_init ();
13702 main ()
13704 return gnutls_global_init ();
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 case "$LIBEXT" in
13711 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13712 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'` ;;
13713 *) 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'`
13714 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13715 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'`
13716 fi ;;
13717 esac
13718 else
13719 ac_cv_lib_soname_gnutls=
13721 rm -f core conftest.err conftest.$ac_objext \
13722 conftest$ac_exeext conftest.$ac_ext
13723 LIBS=$ac_check_soname_save_LIBS
13725 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13727 $as_echo "not found" >&6; }
13728 GNUTLS_CFLAGS=""
13729 else
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13731 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13733 cat >>confdefs.h <<_ACEOF
13734 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13735 _ACEOF
13739 ac_wine_check_funcs_save_LIBS="$LIBS"
13740 LIBS="$LIBS $GNUTLS_LIBS"
13741 for ac_func in gnutls_cipher_init
13742 do :
13743 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13744 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13745 cat >>confdefs.h <<_ACEOF
13746 #define HAVE_GNUTLS_CIPHER_INIT 1
13747 _ACEOF
13749 else
13750 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13752 done
13754 LIBS="$ac_wine_check_funcs_save_LIBS"
13756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13757 else
13758 GNUTLS_CFLAGS=""
13762 CPPFLAGS=$ac_save_CPPFLAGS
13763 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13764 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13767 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13768 case "x$with_gnutls" in
13769 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13770 xno) ;;
13771 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13772 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13773 esac
13777 CURSES_LIBS=""
13778 if test "$ac_cv_header_ncurses_h" = "yes"
13779 then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13781 $as_echo_n "checking for -lncurses... " >&6; }
13782 if ${ac_cv_lib_soname_ncurses+:} false; then :
13783 $as_echo_n "(cached) " >&6
13784 else
13785 ac_check_soname_save_LIBS=$LIBS
13786 LIBS="-lncurses $LIBS"
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13790 /* Override any GCC internal prototype to avoid an error.
13791 Use char because int might match the return type of a GCC
13792 builtin and then its argument prototype would still apply. */
13793 #ifdef __cplusplus
13794 extern "C"
13795 #endif
13796 char waddch ();
13798 main ()
13800 return waddch ();
13802 return 0;
13804 _ACEOF
13805 if ac_fn_c_try_link "$LINENO"; then :
13806 case "$LIBEXT" in
13807 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13808 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'` ;;
13809 *) 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'`
13810 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13811 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13812 fi ;;
13813 esac
13814 else
13815 ac_cv_lib_soname_ncurses=
13817 rm -f core conftest.err conftest.$ac_objext \
13818 conftest$ac_exeext conftest.$ac_ext
13819 LIBS=$ac_check_soname_save_LIBS
13821 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13823 $as_echo "not found" >&6; }
13825 else
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13827 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13829 cat >>confdefs.h <<_ACEOF
13830 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13831 _ACEOF
13833 CURSES_LIBS="-lncurses"
13835 elif test "$ac_cv_header_curses_h" = "yes"
13836 then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13838 $as_echo_n "checking for -lcurses... " >&6; }
13839 if ${ac_cv_lib_soname_curses+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_soname_save_LIBS=$LIBS
13843 LIBS="-lcurses $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char waddch ();
13855 main ()
13857 return waddch ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 case "$LIBEXT" in
13864 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13867 if ${ac_cv_lib_soname_curses:+false} :; then :
13868 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 fi ;;
13870 esac
13871 else
13872 ac_cv_lib_soname_curses=
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_soname_save_LIBS
13878 if ${ac_cv_lib_soname_curses:+false} :; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13880 $as_echo "not found" >&6; }
13882 else
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13884 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13886 cat >>confdefs.h <<_ACEOF
13887 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13888 _ACEOF
13890 CURSES_LIBS="-lcurses"
13893 ac_save_LIBS="$LIBS"
13894 LIBS="$LIBS $CURSES_LIBS"
13895 for ac_func in mousemask
13896 do :
13897 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13898 if test "x$ac_cv_func_mousemask" = xyes; then :
13899 cat >>confdefs.h <<_ACEOF
13900 #define HAVE_MOUSEMASK 1
13901 _ACEOF
13904 done
13906 LIBS="$ac_save_LIBS"
13907 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13908 case "x$with_curses" in
13909 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13910 xno) ;;
13911 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13912 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13913 esac
13917 if test "x$with_sane" != "xno"
13918 then
13919 if ${SANE_CFLAGS:+false} :; then :
13920 if ${PKG_CONFIG+:} false; then :
13921 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13924 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13925 if ${SANE_LIBS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13930 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13932 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13933 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13934 ac_save_CPPFLAGS=$CPPFLAGS
13935 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13936 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13937 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13939 $as_echo_n "checking for -lsane... " >&6; }
13940 if ${ac_cv_lib_soname_sane+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_check_soname_save_LIBS=$LIBS
13944 LIBS="-lsane $SANE_LIBS $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char sane_init ();
13956 main ()
13958 return sane_init ();
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 case "$LIBEXT" in
13965 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13966 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'` ;;
13967 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13968 if ${ac_cv_lib_soname_sane:+false} :; then :
13969 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13970 fi ;;
13971 esac
13972 else
13973 ac_cv_lib_soname_sane=
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_soname_save_LIBS
13979 if ${ac_cv_lib_soname_sane:+false} :; then :
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13981 $as_echo "not found" >&6; }
13982 SANE_CFLAGS=""
13983 else
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13985 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13987 cat >>confdefs.h <<_ACEOF
13988 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13989 _ACEOF
13993 else
13994 SANE_CFLAGS=""
13998 CPPFLAGS=$ac_save_CPPFLAGS
13999 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14000 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14003 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14004 case "x$with_sane" in
14005 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14006 xno) ;;
14007 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14008 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14009 esac
14013 if test "x$with_usb" != "xno"
14014 then
14015 if ${USB_CFLAGS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14021 if ${USB_LIBS:+false} :; then :
14022 if ${PKG_CONFIG+:} false; then :
14023 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14027 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14028 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14029 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14030 ac_save_CPPFLAGS=$CPPFLAGS
14031 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14032 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14033 if test "x$ac_cv_header_libusb_h" = xyes; then :
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14035 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14036 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_check_lib_save_LIBS=$LIBS
14040 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14047 #ifdef __cplusplus
14048 extern "C"
14049 #endif
14050 char libusb_interrupt_event_handler ();
14052 main ()
14054 return libusb_interrupt_event_handler ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14061 else
14062 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14069 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14070 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14072 else
14073 USB_LIBS=""
14076 else
14077 USB_LIBS=""
14081 CPPFLAGS=$ac_save_CPPFLAGS
14082 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14083 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14086 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14087 case "x$with_usb" in
14088 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14089 xno) ;;
14090 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14091 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14092 esac
14093 enable_wineusb_sys=${enable_wineusb_sys:-no}
14096 if test "x$with_v4l2" != "xno"
14097 then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14099 $as_echo_n "checking for -lv4l2... " >&6; }
14100 if ${ac_cv_lib_soname_v4l2+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_check_soname_save_LIBS=$LIBS
14104 LIBS="-lv4l2 $LIBS"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14108 /* Override any GCC internal prototype to avoid an error.
14109 Use char because int might match the return type of a GCC
14110 builtin and then its argument prototype would still apply. */
14111 #ifdef __cplusplus
14112 extern "C"
14113 #endif
14114 char v4l2_open ();
14116 main ()
14118 return v4l2_open ();
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 case "$LIBEXT" in
14125 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14126 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'` ;;
14127 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14128 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14129 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14130 fi ;;
14131 esac
14132 else
14133 ac_cv_lib_soname_v4l2=
14135 rm -f core conftest.err conftest.$ac_objext \
14136 conftest$ac_exeext conftest.$ac_ext
14137 LIBS=$ac_check_soname_save_LIBS
14139 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14141 $as_echo "not found" >&6; }
14143 else
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14145 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14147 cat >>confdefs.h <<_ACEOF
14148 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14149 _ACEOF
14154 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14155 case "x$with_v4l2" in
14156 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14157 xno) ;;
14158 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14159 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14160 esac
14164 if test "x$with_gphoto" != "xno"
14165 then
14166 if ${GPHOTO2_CFLAGS:+false} :; then :
14167 if ${PKG_CONFIG+:} false; then :
14168 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14171 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14172 if ${GPHOTO2_LIBS:+false} :; then :
14173 if ${PKG_CONFIG+:} false; then :
14174 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14177 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14178 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14179 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14180 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14181 ac_save_CPPFLAGS=$CPPFLAGS
14182 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14183 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14184 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14186 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14187 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 ac_check_lib_save_LIBS=$LIBS
14191 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14195 /* Override any GCC internal prototype to avoid an error.
14196 Use char because int might match the return type of a GCC
14197 builtin and then its argument prototype would still apply. */
14198 #ifdef __cplusplus
14199 extern "C"
14200 #endif
14201 char gp_camera_new ();
14203 main ()
14205 return gp_camera_new ();
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_link "$LINENO"; then :
14211 ac_cv_lib_gphoto2_gp_camera_new=yes
14212 else
14213 ac_cv_lib_gphoto2_gp_camera_new=no
14215 rm -f core conftest.err conftest.$ac_objext \
14216 conftest$ac_exeext conftest.$ac_ext
14217 LIBS=$ac_check_lib_save_LIBS
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14220 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14221 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14223 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14225 else
14226 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14229 else
14230 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14234 CPPFLAGS=$ac_save_CPPFLAGS
14235 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14236 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14238 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14239 if ${PKG_CONFIG+:} false; then :
14240 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14243 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14244 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14245 if ${PKG_CONFIG+:} false; then :
14246 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14249 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14250 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14251 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14252 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14253 ac_save_CPPFLAGS=$CPPFLAGS
14254 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14255 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14256 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14258 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14259 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14260 $as_echo_n "(cached) " >&6
14261 else
14262 ac_check_lib_save_LIBS=$LIBS
14263 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14270 #ifdef __cplusplus
14271 extern "C"
14272 #endif
14273 char gp_port_info_list_new ();
14275 main ()
14277 return gp_port_info_list_new ();
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"; then :
14283 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14284 else
14285 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_lib_save_LIBS
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14292 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14293 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14295 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14297 else
14298 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14301 else
14302 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14306 CPPFLAGS=$ac_save_CPPFLAGS
14307 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14308 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14311 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14312 case "x$with_gphoto" in
14313 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14314 xno) ;;
14315 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14316 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14317 esac
14320 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14321 case "x$with_gphoto" in
14322 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14323 xno) ;;
14324 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14325 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14326 esac
14331 if test "$ac_cv_header_resolv_h" = "yes"
14332 then
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14334 $as_echo_n "checking for resolver library... " >&6; }
14335 if ${ac_cv_have_resolv+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 ac_save_LIBS="$LIBS"
14339 for lib in '' -lresolv
14341 LIBS="$lib $ac_save_LIBS"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 #ifdef HAVE_NETINET_IN_H
14345 #include <netinet/in.h>
14346 #endif
14347 #include <resolv.h>
14349 main ()
14351 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14353 return 0;
14355 _ACEOF
14356 if ac_fn_c_try_link "$LINENO"; then :
14357 ac_cv_have_resolv=${lib:-"none required"}
14358 else
14359 ac_cv_have_resolv="not found"
14361 rm -f core conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14363 test "x$ac_cv_have_resolv" = "xnot found" || break
14364 done
14365 LIBS="$ac_save_LIBS"
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14368 $as_echo "$ac_cv_have_resolv" >&6; }
14370 case "$ac_cv_have_resolv" in
14371 "not found") ;;
14372 "none required")
14374 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14377 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14379 RESOLV_LIBS=$ac_cv_have_resolv
14381 esac
14383 if test "x$ac_cv_have_resolv" != "xnot found"
14384 then
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14386 $as_echo_n "checking for res_getservers... " >&6; }
14387 if ${ac_cv_have_res_getservers+:} false; then :
14388 $as_echo_n "(cached) " >&6
14389 else
14390 ac_save_LIBS="$LIBS"
14391 LIBS="$RESOLV_LIBS $LIBS"
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14394 #include <resolv.h>
14396 main ()
14398 res_getservers(NULL, NULL, 0);
14400 return 0;
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_have_res_getservers=yes
14405 else
14406 ac_cv_have_res_getservers=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 LIBS="$ac_save_LIBS"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14413 $as_echo "$ac_cv_have_res_getservers" >&6; }
14414 if test "$ac_cv_have_res_getservers" = "yes"
14415 then
14417 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14423 if test "x$with_cms" != "xno"
14424 then
14425 if ${LCMS2_CFLAGS:+false} :; then :
14426 if ${PKG_CONFIG+:} false; then :
14427 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14431 if ${LCMS2_LIBS:+false} :; then :
14432 if ${PKG_CONFIG+:} false; then :
14433 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14437 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14438 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14439 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14440 ac_save_CPPFLAGS=$CPPFLAGS
14441 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14442 for ac_header in lcms2.h
14443 do :
14444 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14445 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14446 cat >>confdefs.h <<_ACEOF
14447 #define HAVE_LCMS2_H 1
14448 _ACEOF
14452 done
14454 if test "$ac_cv_header_lcms2_h" = "yes"
14455 then
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14457 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14458 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 ac_check_lib_save_LIBS=$LIBS
14462 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14466 /* Override any GCC internal prototype to avoid an error.
14467 Use char because int might match the return type of a GCC
14468 builtin and then its argument prototype would still apply. */
14469 #ifdef __cplusplus
14470 extern "C"
14471 #endif
14472 char cmsOpenProfileFromFile ();
14474 main ()
14476 return cmsOpenProfileFromFile ();
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"; then :
14482 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14483 else
14484 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14486 rm -f core conftest.err conftest.$ac_objext \
14487 conftest$ac_exeext conftest.$ac_ext
14488 LIBS=$ac_check_lib_save_LIBS
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14491 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14492 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14494 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14496 else
14497 LCMS2_LIBS=""
14500 else
14501 LCMS2_CFLAGS=""
14502 LCMS2_LIBS=""
14504 CPPFLAGS=$ac_save_CPPFLAGS
14505 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14506 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14509 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14510 case "x$with_cms" in
14511 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14512 xno) ;;
14513 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14514 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14515 esac
14519 if test "x$with_freetype" != "xno"
14520 then
14521 if ${FREETYPE_CFLAGS:+false} :; then :
14522 if ${PKG_CONFIG+:} false; then :
14523 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14526 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14527 if ${FREETYPE_LIBS:+false} :; then :
14528 if ${PKG_CONFIG+:} false; then :
14529 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14532 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14533 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14534 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14535 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14536 ac_save_CPPFLAGS=$CPPFLAGS
14537 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14538 for ac_header in ft2build.h
14539 do :
14540 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14541 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14542 cat >>confdefs.h <<_ACEOF
14543 #define HAVE_FT2BUILD_H 1
14544 _ACEOF
14548 done
14550 if test "$ac_cv_header_ft2build_h" = "yes"
14551 then
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14553 $as_echo_n "checking for -lfreetype... " >&6; }
14554 if ${ac_cv_lib_soname_freetype+:} false; then :
14555 $as_echo_n "(cached) " >&6
14556 else
14557 ac_check_soname_save_LIBS=$LIBS
14558 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14562 /* Override any GCC internal prototype to avoid an error.
14563 Use char because int might match the return type of a GCC
14564 builtin and then its argument prototype would still apply. */
14565 #ifdef __cplusplus
14566 extern "C"
14567 #endif
14568 char FT_Init_FreeType ();
14570 main ()
14572 return FT_Init_FreeType ();
14574 return 0;
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 case "$LIBEXT" in
14579 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14580 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'` ;;
14581 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14582 if ${ac_cv_lib_soname_freetype:+false} :; then :
14583 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14584 fi ;;
14585 esac
14586 else
14587 ac_cv_lib_soname_freetype=
14589 rm -f core conftest.err conftest.$ac_objext \
14590 conftest$ac_exeext conftest.$ac_ext
14591 LIBS=$ac_check_soname_save_LIBS
14593 if ${ac_cv_lib_soname_freetype:+false} :; then :
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14595 $as_echo "not found" >&6; }
14596 FREETYPE_LIBS=""
14597 else
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14599 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14601 cat >>confdefs.h <<_ACEOF
14602 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14603 _ACEOF
14606 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14608 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14609 #include FT_MODULE_H
14611 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14613 cat >>confdefs.h <<_ACEOF
14614 #define HAVE_FT_TRUETYPEENGINETYPE 1
14615 _ACEOF
14621 else
14622 FREETYPE_CFLAGS=""
14623 FREETYPE_LIBS=""
14625 CPPFLAGS=$ac_save_CPPFLAGS
14626 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14627 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14630 if test "x$ac_cv_lib_soname_freetype" = x; then :
14631 case "x$with_freetype" in
14632 xno) ;;
14633 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14634 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14635 esac
14636 enable_fonts=${enable_fonts:-no}
14639 ac_wine_check_funcs_save_LIBS="$LIBS"
14640 LIBS="$LIBS $PTHREAD_LIBS"
14641 for ac_func in \
14642 pthread_getthreadid_np
14643 do :
14644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14647 cat >>confdefs.h <<_ACEOF
14648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14649 _ACEOF
14652 done
14654 LIBS="$ac_wine_check_funcs_save_LIBS"
14656 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14657 then
14658 if test "$ac_cv_header_gettext_po_h" = "yes"
14659 then
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14661 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14662 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 ac_check_lib_save_LIBS=$LIBS
14666 LIBS="-lgettextpo $LIBS"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply. */
14673 #ifdef __cplusplus
14674 extern "C"
14675 #endif
14676 char po_message_msgctxt ();
14678 main ()
14680 return po_message_msgctxt ();
14682 return 0;
14684 _ACEOF
14685 if ac_fn_c_try_link "$LINENO"; then :
14686 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14687 else
14688 ac_cv_lib_gettextpo_po_message_msgctxt=no
14690 rm -f core conftest.err conftest.$ac_objext \
14691 conftest$ac_exeext conftest.$ac_ext
14692 LIBS=$ac_check_lib_save_LIBS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14695 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14696 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14698 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14700 GETTEXTPO_LIBS="-lgettextpo"
14705 if test "x$GETTEXTPO_LIBS" = "x"; then :
14706 case "x$with_gettextpo" in
14707 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14708 xno) ;;
14709 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14710 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14711 esac
14714 if test "$srcdir" != .; then :
14715 case "x$with_gettextpo" in
14716 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14717 xno) ;;
14718 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14719 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14720 esac
14725 if test "x$with_pulse" != "xno";
14726 then
14727 if ${PULSE_CFLAGS:+false} :; then :
14728 if ${PKG_CONFIG+:} false; then :
14729 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14733 if ${PULSE_LIBS:+false} :; then :
14734 if ${PKG_CONFIG+:} false; then :
14735 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14740 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14741 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14742 ac_save_CPPFLAGS=$CPPFLAGS
14743 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14744 for ac_header in pulse/pulseaudio.h
14745 do :
14746 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14747 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14748 cat >>confdefs.h <<_ACEOF
14749 #define HAVE_PULSE_PULSEAUDIO_H 1
14750 _ACEOF
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14752 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14753 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_check_lib_save_LIBS=$LIBS
14757 LIBS="-lpulse $PULSE_LIBS $LIBS"
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14764 #ifdef __cplusplus
14765 extern "C"
14766 #endif
14767 char pa_stream_is_corked ();
14769 main ()
14771 return pa_stream_is_corked ();
14773 return 0;
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_lib_pulse_pa_stream_is_corked=yes
14778 else
14779 ac_cv_lib_pulse_pa_stream_is_corked=no
14781 rm -f core conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_lib_save_LIBS
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14786 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14787 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14789 else
14790 PULSE_LIBS=""
14793 else
14794 PULSE_LIBS=""
14797 done
14799 CPPFLAGS=$ac_save_CPPFLAGS
14800 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14801 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14804 if test -z "$PULSE_LIBS"; then :
14805 case "x$with_pulse" in
14806 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14807 xno) ;;
14808 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14809 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14810 esac
14811 enable_winepulse_drv=${enable_winepulse_drv:-no}
14814 if test "x$with_gstreamer" != "xno"
14815 then
14816 if ${GSTREAMER_CFLAGS:+false} :; then :
14817 if ${PKG_CONFIG+:} false; then :
14818 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14822 if ${GSTREAMER_LIBS:+false} :; then :
14823 if ${PKG_CONFIG+:} false; then :
14824 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14829 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14830 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14831 ac_save_CPPFLAGS=$CPPFLAGS
14832 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14833 ac_gst_incl=""
14834 for i in $GSTREAMER_CFLAGS
14836 case "$i" in
14837 -I*) ac_gst_incl="$ac_gst_incl $i";;
14838 esac
14839 done
14840 GSTREAMER_CFLAGS=$ac_gst_incl
14841 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14842 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14843 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14845 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 #include <gst/gst.h>
14850 main ()
14852 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_compile "$LINENO"; then :
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14859 $as_echo "yes" >&6; }
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14861 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14862 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14863 $as_echo_n "(cached) " >&6
14864 else
14865 ac_check_lib_save_LIBS=$LIBS
14866 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14870 /* Override any GCC internal prototype to avoid an error.
14871 Use char because int might match the return type of a GCC
14872 builtin and then its argument prototype would still apply. */
14873 #ifdef __cplusplus
14874 extern "C"
14875 #endif
14876 char gst_pad_new ();
14878 main ()
14880 return gst_pad_new ();
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"; then :
14886 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14887 else
14888 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 LIBS=$ac_check_lib_save_LIBS
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14895 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14896 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14900 else
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14902 $as_echo "no" >&6; }
14903 ac_glib2_broken=yes
14904 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14910 CPPFLAGS=$ac_save_CPPFLAGS
14911 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14912 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14915 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 :
14916 case "x$with_gstreamer" in
14917 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14918 xno) ;;
14919 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14920 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14921 esac
14924 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14926 ALSA_LIBS=""
14928 if test "x$with_alsa" != "xno"
14929 then
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14931 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14932 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 ac_check_lib_save_LIBS=$LIBS
14936 LIBS="-lasound $LIBS"
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14940 /* Override any GCC internal prototype to avoid an error.
14941 Use char because int might match the return type of a GCC
14942 builtin and then its argument prototype would still apply. */
14943 #ifdef __cplusplus
14944 extern "C"
14945 #endif
14946 char snd_pcm_hw_params_get_access_mask ();
14948 main ()
14950 return snd_pcm_hw_params_get_access_mask ();
14952 return 0;
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14957 else
14958 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14962 LIBS=$ac_check_lib_save_LIBS
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14965 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14966 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 #include <alsa/asoundlib.h>
14971 main ()
14973 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_compile "$LINENO"; then :
14979 ALSA_LIBS="-lasound"
14981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14985 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14987 if test "x$with_oss" != xno
14988 then
14989 ac_save_CPPFLAGS="$CPPFLAGS"
14990 if test -f /etc/oss.conf
14991 then
14992 . /etc/oss.conf
14994 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14995 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14996 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14997 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14998 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15000 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15002 cat >>confdefs.h <<_ACEOF
15003 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15004 _ACEOF
15006 OSS4_CFLAGS="$ac_oss_incl"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15009 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15010 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15011 $as_echo_n "(cached) " >&6
15012 else
15013 ac_check_lib_save_LIBS=$LIBS
15014 LIBS="-lossaudio $LIBS"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15021 #ifdef __cplusplus
15022 extern "C"
15023 #endif
15024 char _oss_ioctl ();
15026 main ()
15028 return _oss_ioctl ();
15030 return 0;
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_lib_ossaudio__oss_ioctl=yes
15035 else
15036 ac_cv_lib_ossaudio__oss_ioctl=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_check_lib_save_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15043 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15044 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15045 OSS4_LIBS="-lossaudio"
15054 CPPFLAGS="$ac_save_CPPFLAGS"
15056 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15057 case "x$with_oss" in
15058 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15059 xno) ;;
15060 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15061 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15062 esac
15063 enable_wineoss_drv=${enable_wineoss_drv:-no}
15066 if test "x$with_udev" != "xno"
15067 then
15068 if ${UDEV_CFLAGS:+false} :; then :
15069 if ${PKG_CONFIG+:} false; then :
15070 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15074 if ${UDEV_LIBS:+false} :; then :
15075 if ${PKG_CONFIG+:} false; then :
15076 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15080 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15081 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15082 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15083 ac_save_CPPFLAGS=$CPPFLAGS
15084 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15085 for ac_header in libudev.h
15086 do :
15087 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15088 if test "x$ac_cv_header_libudev_h" = xyes; then :
15089 cat >>confdefs.h <<_ACEOF
15090 #define HAVE_LIBUDEV_H 1
15091 _ACEOF
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15093 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15094 if ${ac_cv_lib_udev_udev_new+:} false; then :
15095 $as_echo_n "(cached) " >&6
15096 else
15097 ac_check_lib_save_LIBS=$LIBS
15098 LIBS="-ludev $UDEV_LIBS $LIBS"
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15102 /* Override any GCC internal prototype to avoid an error.
15103 Use char because int might match the return type of a GCC
15104 builtin and then its argument prototype would still apply. */
15105 #ifdef __cplusplus
15106 extern "C"
15107 #endif
15108 char udev_new ();
15110 main ()
15112 return udev_new ();
15114 return 0;
15116 _ACEOF
15117 if ac_fn_c_try_link "$LINENO"; then :
15118 ac_cv_lib_udev_udev_new=yes
15119 else
15120 ac_cv_lib_udev_udev_new=no
15122 rm -f core conftest.err conftest.$ac_objext \
15123 conftest$ac_exeext conftest.$ac_ext
15124 LIBS=$ac_check_lib_save_LIBS
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15127 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15128 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15130 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15132 else
15133 UDEV_LIBS=""
15136 else
15137 UDEV_LIBS=""
15140 done
15142 CPPFLAGS=$ac_save_CPPFLAGS
15143 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15144 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15147 if test "x$UDEV_LIBS" = "x"; then :
15148 case "x$with_udev" in
15149 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15150 xno) ;;
15151 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15152 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15153 esac
15157 if test "x$with_unwind" != xno
15158 then
15159 if ${UNWIND_CFLAGS:+false} :; then :
15160 if ${PKG_CONFIG+:} false; then :
15161 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15165 if ${UNWIND_LIBS:+false} :; then :
15166 if ${PKG_CONFIG+:} false; then :
15167 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15171 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15172 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15173 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15174 ac_save_CPPFLAGS=$CPPFLAGS
15175 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15177 $as_echo_n "checking for unw_step... " >&6; }
15178 if ${wine_cv_have_unw_step+:} false; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 #define UNW_LOCAL_ONLY
15184 #include <libunwind.h>
15186 main ()
15188 unw_cursor_t cursor; unw_step( &cursor );
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 wine_cv_have_unw_step="yes"
15195 else
15196 wine_cv_have_unw_step="no"
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15202 $as_echo "$wine_cv_have_unw_step" >&6; }
15203 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15204 then
15205 save_libs=$LIBS
15206 LIBS="$UNWIND_LIBS $LIBS"
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15208 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15209 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 #define UNW_LOCAL_ONLY
15215 #include <libunwind.h>
15217 main ()
15219 unw_cursor_t cursor; unw_step( &cursor );
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 wine_cv_have_libunwind_unw_step="yes"
15226 else
15227 wine_cv_have_libunwind_unw_step="no"
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15233 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15234 LIBS=$save_libs
15236 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15237 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15238 then
15240 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15243 CPPFLAGS=$ac_save_CPPFLAGS
15244 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15245 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15248 case $host in
15249 aarch64*|*-darwin*)
15250 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15251 case "x$with_unwind" in
15252 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15253 xno) ;;
15254 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15255 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15256 esac
15258 fi ;;
15259 esac
15261 if test "x$with_sdl" != "xno"
15262 then
15263 if ${SDL2_CFLAGS:+false} :; then :
15264 if ${PKG_CONFIG+:} false; then :
15265 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15269 if ${SDL2_LIBS:+false} :; then :
15270 if ${PKG_CONFIG+:} false; then :
15271 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15275 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15276 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15277 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15278 ac_save_CPPFLAGS=$CPPFLAGS
15279 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15280 for ac_header in SDL2/SDL.h
15281 do :
15282 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15283 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define HAVE_SDL2_SDL_H 1
15286 _ACEOF
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15288 $as_echo_n "checking for -lSDL2... " >&6; }
15289 if ${ac_cv_lib_soname_SDL2+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char SDL_Init ();
15305 main ()
15307 return SDL_Init ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 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'` ;;
15316 *) 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'`
15317 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15318 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else
15322 ac_cv_lib_soname_SDL2=
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15330 $as_echo "not found" >&6; }
15332 else
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15334 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15338 _ACEOF
15344 done
15346 CPPFLAGS=$ac_save_CPPFLAGS
15347 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15348 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15351 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15352 case "x$with_sdl" in
15353 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15354 xno) ;;
15355 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15356 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15357 esac
15361 if test "x$with_faudio" != "xno"
15362 then
15363 if ${FAUDIO_CFLAGS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15369 if ${FAUDIO_LIBS:+false} :; then :
15370 if ${PKG_CONFIG+:} false; then :
15371 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15375 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15376 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15377 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15378 ac_save_CPPFLAGS=$CPPFLAGS
15379 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15380 for ac_header in FAudio.h
15381 do :
15382 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15383 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define HAVE_FAUDIO_H 1
15386 _ACEOF
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15388 $as_echo_n "checking for -lFAudio... " >&6; }
15389 if ${ac_cv_lib_soname_FAudio+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 ac_check_soname_save_LIBS=$LIBS
15393 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char FAudioCreate ();
15405 main ()
15407 return FAudioCreate ();
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 case "$LIBEXT" in
15414 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15415 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'` ;;
15416 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15417 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15418 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15419 fi ;;
15420 esac
15421 else
15422 ac_cv_lib_soname_FAudio=
15424 rm -f core conftest.err conftest.$ac_objext \
15425 conftest$ac_exeext conftest.$ac_ext
15426 LIBS=$ac_check_soname_save_LIBS
15428 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15430 $as_echo "not found" >&6; }
15432 else
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15434 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15436 cat >>confdefs.h <<_ACEOF
15437 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15438 _ACEOF
15444 done
15446 ac_wine_check_funcs_save_LIBS="$LIBS"
15447 LIBS="$LIBS $FAUDIO_LIBS"
15448 for ac_func in FAudio_CommitOperationSet \
15449 F3DAudioInitialize8 \
15450 FAudioLinkedVersion
15451 do :
15452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15454 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15457 _ACEOF
15460 done
15462 LIBS="$ac_wine_check_funcs_save_LIBS"
15464 CPPFLAGS=$ac_save_CPPFLAGS
15465 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15466 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15469 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15470 case "x$with_faudio" in
15471 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15472 xno) ;;
15473 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15474 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15475 esac
15479 if test "x$with_capi" != "xno"
15480 then
15481 if ${CAPI20_CFLAGS:+false} :; then :
15482 if ${PKG_CONFIG+:} false; then :
15483 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15487 if ${CAPI20_LIBS:+false} :; then :
15488 if ${PKG_CONFIG+:} false; then :
15489 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15494 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15495 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15496 ac_save_CPPFLAGS=$CPPFLAGS
15497 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15498 for ac_header in capi20.h linux/capi.h
15499 do :
15500 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15501 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15503 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15506 _ACEOF
15510 done
15512 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15513 then
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15515 $as_echo_n "checking for -lcapi20... " >&6; }
15516 if ${ac_cv_lib_soname_capi20+:} false; then :
15517 $as_echo_n "(cached) " >&6
15518 else
15519 ac_check_soname_save_LIBS=$LIBS
15520 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 #ifdef __cplusplus
15528 extern "C"
15529 #endif
15530 char capi20_register ();
15532 main ()
15534 return capi20_register ();
15536 return 0;
15538 _ACEOF
15539 if ac_fn_c_try_link "$LINENO"; then :
15540 case "$LIBEXT" in
15541 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15542 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'` ;;
15543 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15544 if ${ac_cv_lib_soname_capi20:+false} :; then :
15545 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15546 fi ;;
15547 esac
15548 else
15549 ac_cv_lib_soname_capi20=
15551 rm -f core conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_soname_save_LIBS
15555 if ${ac_cv_lib_soname_capi20:+false} :; then :
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15557 $as_echo "not found" >&6; }
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15561 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15563 cat >>confdefs.h <<_ACEOF
15564 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15565 _ACEOF
15570 CPPFLAGS=$ac_save_CPPFLAGS
15571 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15572 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15575 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15576 case "x$with_capi" in
15577 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15578 xno) ;;
15579 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15580 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15581 esac
15585 if test "x$with_cups" != "xno"
15586 then
15587 if ${CUPS_CFLAGS:+false} :; then :
15588 if ${PKG_CONFIG+:} false; then :
15589 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15592 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15593 if ${CUPS_LIBS:+false} :; then :
15594 if ${PKG_CONFIG+:} false; then :
15595 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15598 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15599 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15600 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15601 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15602 ac_save_CPPFLAGS=$CPPFLAGS
15603 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15604 for ac_header in cups/cups.h cups/ppd.h
15605 do :
15606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15607 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15609 cat >>confdefs.h <<_ACEOF
15610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15611 _ACEOF
15615 done
15617 if test "$ac_cv_header_cups_cups_h" = "yes"
15618 then
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15620 $as_echo_n "checking for -lcups... " >&6; }
15621 if ${ac_cv_lib_soname_cups+:} false; then :
15622 $as_echo_n "(cached) " >&6
15623 else
15624 ac_check_soname_save_LIBS=$LIBS
15625 LIBS="-lcups $CUPS_LIBS $LIBS"
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15632 #ifdef __cplusplus
15633 extern "C"
15634 #endif
15635 char cupsGetDefault ();
15637 main ()
15639 return cupsGetDefault ();
15641 return 0;
15643 _ACEOF
15644 if ac_fn_c_try_link "$LINENO"; then :
15645 case "$LIBEXT" in
15646 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15647 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'` ;;
15648 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15649 if ${ac_cv_lib_soname_cups:+false} :; then :
15650 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15651 fi ;;
15652 esac
15653 else
15654 ac_cv_lib_soname_cups=
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if ${ac_cv_lib_soname_cups:+false} :; then :
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15662 $as_echo "not found" >&6; }
15663 CUPS_LIBS=""
15664 else
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15666 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15670 _ACEOF
15674 else
15675 CUPS_CFLAGS=""
15676 CUPS_LIBS=""
15678 CPPFLAGS=$ac_save_CPPFLAGS
15679 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15680 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15683 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15684 case "x$with_cups" in
15685 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15686 xno) ;;
15687 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15688 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15689 esac
15693 if test "x$with_fontconfig" != "xno"
15694 then
15695 if ${FONTCONFIG_CFLAGS:+false} :; then :
15696 if ${PKG_CONFIG+:} false; then :
15697 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15700 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15701 if ${FONTCONFIG_LIBS:+false} :; then :
15702 if ${PKG_CONFIG+:} false; then :
15703 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15706 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15708 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15709 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15710 ac_save_CPPFLAGS=$CPPFLAGS
15711 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15712 for ac_header in fontconfig/fontconfig.h
15713 do :
15714 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15715 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15718 _ACEOF
15722 done
15724 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15725 then
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15727 $as_echo_n "checking for -lfontconfig... " >&6; }
15728 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 ac_check_soname_save_LIBS=$LIBS
15732 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15736 /* Override any GCC internal prototype to avoid an error.
15737 Use char because int might match the return type of a GCC
15738 builtin and then its argument prototype would still apply. */
15739 #ifdef __cplusplus
15740 extern "C"
15741 #endif
15742 char FcInit ();
15744 main ()
15746 return FcInit ();
15748 return 0;
15750 _ACEOF
15751 if ac_fn_c_try_link "$LINENO"; then :
15752 case "$LIBEXT" in
15753 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15754 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'` ;;
15755 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15756 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15757 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15758 fi ;;
15759 esac
15760 else
15761 ac_cv_lib_soname_fontconfig=
15763 rm -f core conftest.err conftest.$ac_objext \
15764 conftest$ac_exeext conftest.$ac_ext
15765 LIBS=$ac_check_soname_save_LIBS
15767 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15769 $as_echo "not found" >&6; }
15770 FONTCONFIG_CFLAGS=""
15771 else
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15773 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15775 cat >>confdefs.h <<_ACEOF
15776 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15777 _ACEOF
15781 else
15782 FONTCONFIG_CFLAGS=""
15784 CPPFLAGS=$ac_save_CPPFLAGS
15785 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15786 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15789 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15790 case "x$with_fontconfig" in
15791 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15792 xno) ;;
15793 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15794 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15795 esac
15799 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15800 then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15802 $as_echo_n "checking for -lgsm... " >&6; }
15803 if ${ac_cv_lib_soname_gsm+:} false; then :
15804 $as_echo_n "(cached) " >&6
15805 else
15806 ac_check_soname_save_LIBS=$LIBS
15807 LIBS="-lgsm $LIBS"
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15814 #ifdef __cplusplus
15815 extern "C"
15816 #endif
15817 char gsm_create ();
15819 main ()
15821 return gsm_create ();
15823 return 0;
15825 _ACEOF
15826 if ac_fn_c_try_link "$LINENO"; then :
15827 case "$LIBEXT" in
15828 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15829 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'` ;;
15830 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15831 if ${ac_cv_lib_soname_gsm:+false} :; then :
15832 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15833 fi ;;
15834 esac
15835 else
15836 ac_cv_lib_soname_gsm=
15838 rm -f core conftest.err conftest.$ac_objext \
15839 conftest$ac_exeext conftest.$ac_ext
15840 LIBS=$ac_check_soname_save_LIBS
15842 if ${ac_cv_lib_soname_gsm:+false} :; then :
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15844 $as_echo "not found" >&6; }
15846 else
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15848 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15850 cat >>confdefs.h <<_ACEOF
15851 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15852 _ACEOF
15857 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15858 case "x$with_gsm" in
15859 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15860 xno) ;;
15861 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15862 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15863 esac
15867 if test "x$with_krb5" != "xno"
15868 then
15869 if ${KRB5_CFLAGS:+false} :; then :
15870 if ${PKG_CONFIG+:} false; then :
15871 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15874 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15875 if ${KRB5_LIBS:+false} :; then :
15876 if ${PKG_CONFIG+:} false; then :
15877 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15880 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15882 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15883 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15884 ac_save_CPPFLAGS=$CPPFLAGS
15885 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15886 for ac_header in krb5/krb5.h
15887 do :
15888 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15889 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_KRB5_KRB5_H 1
15892 _ACEOF
15896 done
15898 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15899 then
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15901 $as_echo_n "checking for -lkrb5... " >&6; }
15902 if ${ac_cv_lib_soname_krb5+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 ac_check_soname_save_LIBS=$LIBS
15906 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15913 #ifdef __cplusplus
15914 extern "C"
15915 #endif
15916 char krb5_is_config_principal ();
15918 main ()
15920 return krb5_is_config_principal ();
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_link "$LINENO"; then :
15926 case "$LIBEXT" in
15927 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15928 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'` ;;
15929 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15930 if ${ac_cv_lib_soname_krb5:+false} :; then :
15931 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15932 fi ;;
15933 esac
15934 else
15935 ac_cv_lib_soname_krb5=
15937 rm -f core conftest.err conftest.$ac_objext \
15938 conftest$ac_exeext conftest.$ac_ext
15939 LIBS=$ac_check_soname_save_LIBS
15941 if ${ac_cv_lib_soname_krb5:+false} :; then :
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15943 $as_echo "not found" >&6; }
15944 KRB5_CFLAGS=""
15945 else
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15947 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15949 cat >>confdefs.h <<_ACEOF
15950 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15951 _ACEOF
15955 else
15956 KRB5_CFLAGS=""
15958 CPPFLAGS=$ac_save_CPPFLAGS
15959 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15960 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15963 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15964 case "x$with_krb5" in
15965 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15966 xno) ;;
15967 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15968 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15969 esac
15972 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15974 if test "x$with_gssapi" != "xno"
15975 then
15976 if ${GSSAPI_CFLAGS:+false} :; then :
15977 if ${PKG_CONFIG+:} false; then :
15978 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15981 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15982 if ${GSSAPI_LIBS:+false} :; then :
15983 if ${PKG_CONFIG+:} false; then :
15984 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15987 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15989 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15990 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15991 ac_save_CPPFLAGS=$CPPFLAGS
15992 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15993 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15994 do :
15995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15996 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16000 _ACEOF
16004 done
16006 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16007 then
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16009 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16010 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16011 $as_echo_n "(cached) " >&6
16012 else
16013 ac_check_soname_save_LIBS=$LIBS
16014 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 #ifdef __cplusplus
16022 extern "C"
16023 #endif
16024 char gss_init_sec_context ();
16026 main ()
16028 return gss_init_sec_context ();
16030 return 0;
16032 _ACEOF
16033 if ac_fn_c_try_link "$LINENO"; then :
16034 case "$LIBEXT" in
16035 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16036 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'` ;;
16037 *) 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'`
16038 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16039 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16040 fi ;;
16041 esac
16042 else
16043 ac_cv_lib_soname_gssapi_krb5=
16045 rm -f core conftest.err conftest.$ac_objext \
16046 conftest$ac_exeext conftest.$ac_ext
16047 LIBS=$ac_check_soname_save_LIBS
16049 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16051 $as_echo "not found" >&6; }
16052 GSSAPI_CFLAGS=""
16053 else
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16055 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16057 cat >>confdefs.h <<_ACEOF
16058 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16059 _ACEOF
16063 else
16064 GSSAPI_CFLAGS=""
16066 CPPFLAGS=$ac_save_CPPFLAGS
16067 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16068 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16071 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16072 case "x$with_gssapi" in
16073 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16074 xno) ;;
16075 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16076 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16077 esac
16081 if test "x$with_jpeg" != "xno"
16082 then
16083 if ${JPEG_CFLAGS:+false} :; then :
16084 if ${PKG_CONFIG+:} false; then :
16085 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16089 if ${JPEG_LIBS:+false} :; then :
16090 if ${PKG_CONFIG+:} false; then :
16091 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16096 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16097 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16098 ac_save_CPPFLAGS=$CPPFLAGS
16099 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16100 for ac_header in jpeglib.h
16101 do :
16102 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16103 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_JPEGLIB_H 1
16106 _ACEOF
16110 done
16112 if test "$ac_cv_header_jpeglib_h" = "yes"
16113 then
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16115 $as_echo_n "checking for -ljpeg... " >&6; }
16116 if ${ac_cv_lib_soname_jpeg+:} false; then :
16117 $as_echo_n "(cached) " >&6
16118 else
16119 ac_check_soname_save_LIBS=$LIBS
16120 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16122 /* end confdefs.h. */
16124 /* Override any GCC internal prototype to avoid an error.
16125 Use char because int might match the return type of a GCC
16126 builtin and then its argument prototype would still apply. */
16127 #ifdef __cplusplus
16128 extern "C"
16129 #endif
16130 char jpeg_start_decompress ();
16132 main ()
16134 return jpeg_start_decompress ();
16136 return 0;
16138 _ACEOF
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 case "$LIBEXT" in
16141 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16142 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'` ;;
16143 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16144 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16145 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16146 fi ;;
16147 esac
16148 else
16149 ac_cv_lib_soname_jpeg=
16151 rm -f core conftest.err conftest.$ac_objext \
16152 conftest$ac_exeext conftest.$ac_ext
16153 LIBS=$ac_check_soname_save_LIBS
16155 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16157 $as_echo "not found" >&6; }
16158 JPEG_CFLAGS=""
16159 else
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16161 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16163 cat >>confdefs.h <<_ACEOF
16164 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16165 _ACEOF
16169 else
16170 JPEG_CFLAGS=""
16172 CPPFLAGS=$ac_save_CPPFLAGS
16173 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16174 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16177 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16178 case "x$with_jpeg" in
16179 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16180 xno) ;;
16181 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16182 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16183 esac
16187 if test "x$with_png" != "xno"
16188 then
16189 if ${PNG_CFLAGS:+false} :; then :
16190 if ${PKG_CONFIG+:} false; then :
16191 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16194 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16195 if ${PNG_LIBS:+false} :; then :
16196 if ${PKG_CONFIG+:} false; then :
16197 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16200 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16202 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16203 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16204 ac_save_CPPFLAGS=$CPPFLAGS
16205 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16206 for ac_header in png.h
16207 do :
16208 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16209 if test "x$ac_cv_header_png_h" = xyes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_PNG_H 1
16212 _ACEOF
16216 done
16218 if test "$ac_cv_header_png_h" = "yes"
16219 then
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16221 $as_echo_n "checking for -lpng... " >&6; }
16222 if ${ac_cv_lib_soname_png+:} false; then :
16223 $as_echo_n "(cached) " >&6
16224 else
16225 ac_check_soname_save_LIBS=$LIBS
16226 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16233 #ifdef __cplusplus
16234 extern "C"
16235 #endif
16236 char png_create_read_struct ();
16238 main ()
16240 return png_create_read_struct ();
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_link "$LINENO"; then :
16246 case "$LIBEXT" in
16247 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16248 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'` ;;
16249 *) 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'`
16250 if ${ac_cv_lib_soname_png:+false} :; then :
16251 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16252 fi ;;
16253 esac
16254 else
16255 ac_cv_lib_soname_png=
16257 rm -f core conftest.err conftest.$ac_objext \
16258 conftest$ac_exeext conftest.$ac_ext
16259 LIBS=$ac_check_soname_save_LIBS
16261 if ${ac_cv_lib_soname_png:+false} :; then :
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16263 $as_echo "not found" >&6; }
16264 PNG_CFLAGS=""
16265 else
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16267 $as_echo "$ac_cv_lib_soname_png" >&6; }
16269 cat >>confdefs.h <<_ACEOF
16270 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16271 _ACEOF
16275 else
16276 PNG_CFLAGS=""
16278 CPPFLAGS=$ac_save_CPPFLAGS
16279 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16280 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16283 if test "x$ac_cv_lib_soname_png" = "x"; then :
16284 case "x$with_png" in
16285 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16286 xno) ;;
16287 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16288 This is an error since --with-png was requested." "$LINENO" 5 ;;
16289 esac
16293 if test "x$with_tiff" != "xno"
16294 then
16295 if ${TIFF_CFLAGS:+false} :; then :
16296 if ${PKG_CONFIG+:} false; then :
16297 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16301 if ${TIFF_LIBS:+false} :; then :
16302 if ${PKG_CONFIG+:} false; then :
16303 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16308 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16309 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16310 ac_save_CPPFLAGS=$CPPFLAGS
16311 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16312 for ac_header in tiffio.h
16313 do :
16314 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_TIFFIO_H 1
16318 _ACEOF
16322 done
16324 if test "$ac_cv_header_tiffio_h" = "yes"
16325 then
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16327 $as_echo_n "checking for -ltiff... " >&6; }
16328 if ${ac_cv_lib_soname_tiff+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 ac_check_soname_save_LIBS=$LIBS
16332 LIBS="-ltiff $TIFF_LIBS $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char TIFFClientOpen ();
16344 main ()
16346 return TIFFClientOpen ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 case "$LIBEXT" in
16353 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16354 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'` ;;
16355 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16356 if ${ac_cv_lib_soname_tiff:+false} :; then :
16357 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16358 fi ;;
16359 esac
16360 else
16361 ac_cv_lib_soname_tiff=
16363 rm -f core conftest.err conftest.$ac_objext \
16364 conftest$ac_exeext conftest.$ac_ext
16365 LIBS=$ac_check_soname_save_LIBS
16367 if ${ac_cv_lib_soname_tiff:+false} :; then :
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16369 $as_echo "not found" >&6; }
16371 else
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16373 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16375 cat >>confdefs.h <<_ACEOF
16376 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16377 _ACEOF
16382 CPPFLAGS=$ac_save_CPPFLAGS
16383 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16384 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16387 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16388 case "x$with_tiff" in
16389 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16390 xno) ;;
16391 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16392 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16393 esac
16397 if test "x$with_mpg123" != "xno"
16398 then
16399 if ${MPG123_CFLAGS:+false} :; then :
16400 if ${PKG_CONFIG+:} false; then :
16401 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16405 if ${MPG123_LIBS:+false} :; then :
16406 if ${PKG_CONFIG+:} false; then :
16407 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16411 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16412 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16413 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16414 ac_save_CPPFLAGS=$CPPFLAGS
16415 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16416 for ac_header in mpg123.h
16417 do :
16418 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16419 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_MPG123_H 1
16422 _ACEOF
16426 done
16428 if test "$ac_cv_header_mpg123_h" = "yes"
16429 then
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16431 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16432 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 ac_check_lib_save_LIBS=$LIBS
16436 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16440 /* Override any GCC internal prototype to avoid an error.
16441 Use char because int might match the return type of a GCC
16442 builtin and then its argument prototype would still apply. */
16443 #ifdef __cplusplus
16444 extern "C"
16445 #endif
16446 char mpg123_feed ();
16448 main ()
16450 return mpg123_feed ();
16452 return 0;
16454 _ACEOF
16455 if ac_fn_c_try_link "$LINENO"; then :
16456 ac_cv_lib_mpg123_mpg123_feed=yes
16457 else
16458 ac_cv_lib_mpg123_mpg123_feed=no
16460 rm -f core conftest.err conftest.$ac_objext \
16461 conftest$ac_exeext conftest.$ac_ext
16462 LIBS=$ac_check_lib_save_LIBS
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16465 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16466 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16468 else
16469 MPG123_LIBS=""
16472 else
16473 MPG123_CFLAGS=""
16474 MPG123_LIBS=""
16476 CPPFLAGS=$ac_save_CPPFLAGS
16477 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16478 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16481 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16482 case "x$with_mpg123" in
16483 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16484 xno) ;;
16485 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16486 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16487 esac
16488 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16490 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16492 if test "$ac_cv_header_AL_al_h" = "yes"
16493 then
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16495 $as_echo_n "checking for -lopenal... " >&6; }
16496 if ${ac_cv_lib_soname_openal+:} false; then :
16497 $as_echo_n "(cached) " >&6
16498 else
16499 ac_check_soname_save_LIBS=$LIBS
16500 LIBS="-lopenal $LIBS"
16501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16502 /* end confdefs.h. */
16504 /* Override any GCC internal prototype to avoid an error.
16505 Use char because int might match the return type of a GCC
16506 builtin and then its argument prototype would still apply. */
16507 #ifdef __cplusplus
16508 extern "C"
16509 #endif
16510 char alGetSource3i ();
16512 main ()
16514 return alGetSource3i ();
16516 return 0;
16518 _ACEOF
16519 if ac_fn_c_try_link "$LINENO"; then :
16520 case "$LIBEXT" in
16521 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16522 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'` ;;
16523 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16524 if ${ac_cv_lib_soname_openal:+false} :; then :
16525 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16526 fi ;;
16527 esac
16528 else
16529 ac_cv_lib_soname_openal=
16531 rm -f core conftest.err conftest.$ac_objext \
16532 conftest$ac_exeext conftest.$ac_ext
16533 LIBS=$ac_check_soname_save_LIBS
16535 if ${ac_cv_lib_soname_openal:+false} :; then :
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16537 $as_echo "not found" >&6; }
16539 else
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16541 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16543 cat >>confdefs.h <<_ACEOF
16544 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16545 _ACEOF
16547 OPENAL_LIBS="-lopenal"
16549 ac_cv_lib_openal=yes
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_OPENAL 1
16553 _ACEOF
16557 if test "x$ac_cv_lib_openal" != xyes; then :
16558 case "x$with_openal" in
16559 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16560 xno) ;;
16561 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16562 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16563 esac
16564 enable_openal32=${enable_openal32:-no}
16567 if test "x$ac_cv_lib_soname_FAudio" = "x"
16568 then
16569 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16570 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16571 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16572 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16573 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16574 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16575 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16576 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16577 enable_xapofx1_1=${enable_xapofx1_1:-no}
16578 enable_xapofx1_2=${enable_xapofx1_2:-no}
16579 enable_xapofx1_3=${enable_xapofx1_3:-no}
16580 enable_xapofx1_4=${enable_xapofx1_4:-no}
16581 enable_xapofx1_5=${enable_xapofx1_5:-no}
16582 enable_xaudio2_0=${enable_xaudio2_0:-no}
16583 enable_xaudio2_1=${enable_xaudio2_1:-no}
16584 enable_xaudio2_2=${enable_xaudio2_2:-no}
16585 enable_xaudio2_3=${enable_xaudio2_3:-no}
16586 enable_xaudio2_4=${enable_xaudio2_4:-no}
16587 enable_xaudio2_5=${enable_xaudio2_5:-no}
16588 enable_xaudio2_6=${enable_xaudio2_6:-no}
16589 enable_xaudio2_7=${enable_xaudio2_7:-no}
16590 enable_xaudio2_8=${enable_xaudio2_8:-no}
16591 enable_xaudio2_9=${enable_xaudio2_9:-no}
16594 if test "$ac_cv_header_kstat_h" = "yes"
16595 then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16597 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16598 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_check_lib_save_LIBS=$LIBS
16602 LIBS="-lkstat $LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char kstat_open ();
16614 main ()
16616 return kstat_open ();
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622 ac_cv_lib_kstat_kstat_open=yes
16623 else
16624 ac_cv_lib_kstat_kstat_open=no
16626 rm -f core conftest.err conftest.$ac_objext \
16627 conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_lib_save_LIBS
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16631 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16632 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16634 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16636 KSTAT_LIBS="-lkstat"
16642 if test "$ac_cv_header_libprocstat_h" = "yes"
16643 then
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16645 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16646 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 ac_check_lib_save_LIBS=$LIBS
16650 LIBS="-lprocstat $LIBS"
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16654 /* Override any GCC internal prototype to avoid an error.
16655 Use char because int might match the return type of a GCC
16656 builtin and then its argument prototype would still apply. */
16657 #ifdef __cplusplus
16658 extern "C"
16659 #endif
16660 char procstat_open_sysctl ();
16662 main ()
16664 return procstat_open_sysctl ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 ac_cv_lib_procstat_procstat_open_sysctl=yes
16671 else
16672 ac_cv_lib_procstat_procstat_open_sysctl=no
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16676 LIBS=$ac_check_lib_save_LIBS
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16679 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16680 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16682 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16684 PROCSTAT_LIBS="-lprocstat"
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16691 $as_echo_n "checking for -lodbc... " >&6; }
16692 if ${ac_cv_lib_soname_odbc+:} false; then :
16693 $as_echo_n "(cached) " >&6
16694 else
16695 ac_check_soname_save_LIBS=$LIBS
16696 LIBS="-lodbc $LIBS"
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16700 /* Override any GCC internal prototype to avoid an error.
16701 Use char because int might match the return type of a GCC
16702 builtin and then its argument prototype would still apply. */
16703 #ifdef __cplusplus
16704 extern "C"
16705 #endif
16706 char SQLConnect ();
16708 main ()
16710 return SQLConnect ();
16712 return 0;
16714 _ACEOF
16715 if ac_fn_c_try_link "$LINENO"; then :
16716 case "$LIBEXT" in
16717 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16718 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'` ;;
16719 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16720 if ${ac_cv_lib_soname_odbc:+false} :; then :
16721 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16722 fi ;;
16723 esac
16724 else
16725 ac_cv_lib_soname_odbc=
16727 rm -f core conftest.err conftest.$ac_objext \
16728 conftest$ac_exeext conftest.$ac_ext
16729 LIBS=$ac_check_soname_save_LIBS
16731 if ${ac_cv_lib_soname_odbc:+false} :; then :
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16733 $as_echo "not found" >&6; }
16734 cat >>confdefs.h <<_ACEOF
16735 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16736 _ACEOF
16738 else
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16740 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16742 cat >>confdefs.h <<_ACEOF
16743 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16744 _ACEOF
16749 if test "x$with_netapi" != "xno"
16750 then
16751 if ${NETAPI_CFLAGS:+false} :; then :
16752 if ${PKG_CONFIG+:} false; then :
16753 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16757 if ${NETAPI_LIBS:+false} :; then :
16758 if ${PKG_CONFIG+:} false; then :
16759 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16764 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16765 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16766 ac_save_CPPFLAGS=$CPPFLAGS
16767 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16769 $as_echo_n "checking for -lnetapi... " >&6; }
16770 if ${ac_cv_lib_soname_netapi+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 ac_check_soname_save_LIBS=$LIBS
16774 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 /* Override any GCC internal prototype to avoid an error.
16779 Use char because int might match the return type of a GCC
16780 builtin and then its argument prototype would still apply. */
16781 #ifdef __cplusplus
16782 extern "C"
16783 #endif
16784 char libnetapi_init ();
16786 main ()
16788 return libnetapi_init ();
16790 return 0;
16792 _ACEOF
16793 if ac_fn_c_try_link "$LINENO"; then :
16794 case "$LIBEXT" in
16795 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16796 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'` ;;
16797 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16798 if ${ac_cv_lib_soname_netapi:+false} :; then :
16799 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16800 fi ;;
16801 esac
16802 else
16803 ac_cv_lib_soname_netapi=
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16807 LIBS=$ac_check_soname_save_LIBS
16809 if ${ac_cv_lib_soname_netapi:+false} :; then :
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16811 $as_echo "not found" >&6; }
16812 cat >>confdefs.h <<_ACEOF
16813 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16814 _ACEOF
16816 else
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16818 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16820 cat >>confdefs.h <<_ACEOF
16821 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16822 _ACEOF
16826 CPPFLAGS=$ac_save_CPPFLAGS
16827 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16828 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16832 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16833 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16834 then
16835 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16838 if test "x$with_vulkan" != "xno"
16839 then
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16841 $as_echo_n "checking for -lvulkan... " >&6; }
16842 if ${ac_cv_lib_soname_vulkan+:} false; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 ac_check_soname_save_LIBS=$LIBS
16846 LIBS="-lvulkan $LIBS"
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 #ifdef __cplusplus
16854 extern "C"
16855 #endif
16856 char vkGetInstanceProcAddr ();
16858 main ()
16860 return vkGetInstanceProcAddr ();
16862 return 0;
16864 _ACEOF
16865 if ac_fn_c_try_link "$LINENO"; then :
16866 case "$LIBEXT" in
16867 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16868 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'` ;;
16869 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16870 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16871 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16872 fi ;;
16873 esac
16874 else
16875 ac_cv_lib_soname_vulkan=
16877 rm -f core conftest.err conftest.$ac_objext \
16878 conftest$ac_exeext conftest.$ac_ext
16879 LIBS=$ac_check_soname_save_LIBS
16881 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16883 $as_echo "not found" >&6; }
16885 else
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16887 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16889 cat >>confdefs.h <<_ACEOF
16890 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16891 _ACEOF
16895 if test "x$ac_cv_lib_soname_vulkan" = "x"
16896 then
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16898 $as_echo_n "checking for -lMoltenVK... " >&6; }
16899 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 ac_check_soname_save_LIBS=$LIBS
16903 LIBS="-lMoltenVK $LIBS"
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16910 #ifdef __cplusplus
16911 extern "C"
16912 #endif
16913 char vkGetInstanceProcAddr ();
16915 main ()
16917 return vkGetInstanceProcAddr ();
16919 return 0;
16921 _ACEOF
16922 if ac_fn_c_try_link "$LINENO"; then :
16923 case "$LIBEXT" in
16924 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16925 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'` ;;
16926 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16927 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16928 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16929 fi ;;
16930 esac
16931 else
16932 ac_cv_lib_soname_MoltenVK=
16934 rm -f core conftest.err conftest.$ac_objext \
16935 conftest$ac_exeext conftest.$ac_ext
16936 LIBS=$ac_check_soname_save_LIBS
16938 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16940 $as_echo "not found" >&6; }
16942 else
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16944 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16946 cat >>confdefs.h <<_ACEOF
16947 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16948 _ACEOF
16954 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16955 case "x$with_vulkan" in
16956 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16957 xno) ;;
16958 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16959 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16960 esac
16964 if test "x$with_vkd3d" != "xno"
16965 then
16966 if ${VKD3D_CFLAGS:+false} :; then :
16967 if ${PKG_CONFIG+:} false; then :
16968 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16972 if ${VKD3D_LIBS:+false} :; then :
16973 if ${PKG_CONFIG+:} false; then :
16974 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16979 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16980 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16981 ac_save_CPPFLAGS=$CPPFLAGS
16982 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16984 $as_echo_n "checking for -lvkd3d... " >&6; }
16985 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 ac_check_soname_save_LIBS=$LIBS
16989 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16993 /* Override any GCC internal prototype to avoid an error.
16994 Use char because int might match the return type of a GCC
16995 builtin and then its argument prototype would still apply. */
16996 #ifdef __cplusplus
16997 extern "C"
16998 #endif
16999 char vkd3d_get_dxgi_format ();
17001 main ()
17003 return vkd3d_get_dxgi_format ();
17005 return 0;
17007 _ACEOF
17008 if ac_fn_c_try_link "$LINENO"; then :
17009 case "$LIBEXT" in
17010 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17011 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'` ;;
17012 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17013 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17014 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17015 fi ;;
17016 esac
17017 else
17018 ac_cv_lib_soname_vkd3d=
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17022 LIBS=$ac_check_soname_save_LIBS
17024 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17026 $as_echo "not found" >&6; }
17028 else
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17030 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17032 cat >>confdefs.h <<_ACEOF
17033 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17034 _ACEOF
17038 CPPFLAGS=$ac_save_CPPFLAGS
17039 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17040 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17043 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17044 case "x$with_vkd3d" in
17045 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17046 xno) ;;
17047 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17048 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17049 esac
17052 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17055 EXTRACFLAGS=""
17057 if test "x${GCC}" = "xyes"
17058 then
17059 EXTRACFLAGS="-Wall -pipe"
17061 saved_CFLAGS=$CFLAGS
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17063 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17064 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17065 $as_echo_n "(cached) " >&6
17066 else
17067 ac_wine_try_cflags_saved=$CFLAGS
17068 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17071 int main(int argc, char **argv) { return 0; }
17072 _ACEOF
17073 if ac_fn_c_try_link "$LINENO"; then :
17074 ac_cv_cflags__Werror_unknown_warning_option=yes
17075 else
17076 ac_cv_cflags__Werror_unknown_warning_option=no
17078 rm -f core conftest.err conftest.$ac_objext \
17079 conftest$ac_exeext conftest.$ac_ext
17080 CFLAGS=$ac_wine_try_cflags_saved
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17083 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17084 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17085 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17088 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17089 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17090 $as_echo_n "(cached) " >&6
17091 else
17092 ac_wine_try_cflags_saved=$CFLAGS
17093 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 int main(int argc, char **argv) { return 0; }
17097 _ACEOF
17098 if ac_fn_c_try_link "$LINENO"; then :
17099 ac_cv_cflags__Werror_unused_command_line_argument=yes
17100 else
17101 ac_cv_cflags__Werror_unused_command_line_argument=no
17103 rm -f core conftest.err conftest.$ac_objext \
17104 conftest$ac_exeext conftest.$ac_ext
17105 CFLAGS=$ac_wine_try_cflags_saved
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17108 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17109 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17110 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17113 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17114 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117 ac_wine_try_cflags_saved=$CFLAGS
17118 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 int main(int argc, char **argv) { return 0; }
17122 _ACEOF
17123 if ac_fn_c_try_link "$LINENO"; then :
17124 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17125 else
17126 ac_cv_cflags__Werror_ignored_optimization_argument=no
17128 rm -f core conftest.err conftest.$ac_objext \
17129 conftest$ac_exeext conftest.$ac_ext
17130 CFLAGS=$ac_wine_try_cflags_saved
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17133 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17134 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17135 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17138 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17139 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17140 $as_echo_n "(cached) " >&6
17141 else
17142 ac_wine_try_cflags_saved=$CFLAGS
17143 CFLAGS="$CFLAGS -fcf-protection=none"
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 int main(int argc, char **argv) { return 0; }
17147 _ACEOF
17148 if ac_fn_c_try_link "$LINENO"; then :
17149 ac_cv_cflags__fcf_protection_none=yes
17150 else
17151 ac_cv_cflags__fcf_protection_none=no
17153 rm -f core conftest.err conftest.$ac_objext \
17154 conftest$ac_exeext conftest.$ac_ext
17155 CFLAGS=$ac_wine_try_cflags_saved
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17158 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17159 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17160 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17163 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17164 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17165 $as_echo_n "(cached) " >&6
17166 else
17167 ac_wine_try_cflags_saved=$CFLAGS
17168 CFLAGS="$CFLAGS -fno-stack-protector"
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 int main(int argc, char **argv) { return 0; }
17172 _ACEOF
17173 if ac_fn_c_try_link "$LINENO"; then :
17174 ac_cv_cflags__fno_stack_protector=yes
17175 else
17176 ac_cv_cflags__fno_stack_protector=no
17178 rm -f core conftest.err conftest.$ac_objext \
17179 conftest$ac_exeext conftest.$ac_ext
17180 CFLAGS=$ac_wine_try_cflags_saved
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17183 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17184 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17185 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17188 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17189 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17190 $as_echo_n "(cached) " >&6
17191 else
17192 ac_wine_try_cflags_saved=$CFLAGS
17193 CFLAGS="$CFLAGS -fno-strict-aliasing"
17194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17196 int main(int argc, char **argv) { return 0; }
17197 _ACEOF
17198 if ac_fn_c_try_link "$LINENO"; then :
17199 ac_cv_cflags__fno_strict_aliasing=yes
17200 else
17201 ac_cv_cflags__fno_strict_aliasing=no
17203 rm -f core conftest.err conftest.$ac_objext \
17204 conftest$ac_exeext conftest.$ac_ext
17205 CFLAGS=$ac_wine_try_cflags_saved
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17208 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17209 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17210 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17213 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17214 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17215 $as_echo_n "(cached) " >&6
17216 else
17217 ac_wine_try_cflags_saved=$CFLAGS
17218 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 int main(int argc, char **argv) { return 0; }
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"; then :
17224 ac_cv_cflags__Wdeclaration_after_statement=yes
17225 else
17226 ac_cv_cflags__Wdeclaration_after_statement=no
17228 rm -f core conftest.err conftest.$ac_objext \
17229 conftest$ac_exeext conftest.$ac_ext
17230 CFLAGS=$ac_wine_try_cflags_saved
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17233 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17234 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17235 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17238 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17239 if ${ac_cv_cflags__Wempty_body+:} false; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242 ac_wine_try_cflags_saved=$CFLAGS
17243 CFLAGS="$CFLAGS -Wempty-body"
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 int main(int argc, char **argv) { return 0; }
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"; then :
17249 ac_cv_cflags__Wempty_body=yes
17250 else
17251 ac_cv_cflags__Wempty_body=no
17253 rm -f core conftest.err conftest.$ac_objext \
17254 conftest$ac_exeext conftest.$ac_ext
17255 CFLAGS=$ac_wine_try_cflags_saved
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17258 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17259 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17260 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17263 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17264 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267 ac_wine_try_cflags_saved=$CFLAGS
17268 CFLAGS="$CFLAGS -Wignored-qualifiers"
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 int main(int argc, char **argv) { return 0; }
17272 _ACEOF
17273 if ac_fn_c_try_link "$LINENO"; then :
17274 ac_cv_cflags__Wignored_qualifiers=yes
17275 else
17276 ac_cv_cflags__Wignored_qualifiers=no
17278 rm -f core conftest.err conftest.$ac_objext \
17279 conftest$ac_exeext conftest.$ac_ext
17280 CFLAGS=$ac_wine_try_cflags_saved
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17283 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17284 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17285 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17288 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17289 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292 ac_wine_try_cflags_saved=$CFLAGS
17293 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 int main(int argc, char **argv) { return 0; }
17297 _ACEOF
17298 if ac_fn_c_try_link "$LINENO"; then :
17299 ac_cv_cflags__Wpacked_not_aligned=yes
17300 else
17301 ac_cv_cflags__Wpacked_not_aligned=no
17303 rm -f core conftest.err conftest.$ac_objext \
17304 conftest$ac_exeext conftest.$ac_ext
17305 CFLAGS=$ac_wine_try_cflags_saved
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17308 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17309 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17310 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17313 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17314 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 ac_wine_try_cflags_saved=$CFLAGS
17318 CFLAGS="$CFLAGS -Wpragma-pack"
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 int main(int argc, char **argv) { return 0; }
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"; then :
17324 ac_cv_cflags__Wpragma_pack=yes
17325 else
17326 ac_cv_cflags__Wpragma_pack=no
17328 rm -f core conftest.err conftest.$ac_objext \
17329 conftest$ac_exeext conftest.$ac_ext
17330 CFLAGS=$ac_wine_try_cflags_saved
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17333 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17334 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17335 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17338 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17339 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17340 $as_echo_n "(cached) " >&6
17341 else
17342 ac_wine_try_cflags_saved=$CFLAGS
17343 CFLAGS="$CFLAGS -Wshift-overflow=2"
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 int main(int argc, char **argv) { return 0; }
17347 _ACEOF
17348 if ac_fn_c_try_link "$LINENO"; then :
17349 ac_cv_cflags__Wshift_overflow_2=yes
17350 else
17351 ac_cv_cflags__Wshift_overflow_2=no
17353 rm -f core conftest.err conftest.$ac_objext \
17354 conftest$ac_exeext conftest.$ac_ext
17355 CFLAGS=$ac_wine_try_cflags_saved
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17358 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17359 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17360 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17363 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17364 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367 ac_wine_try_cflags_saved=$CFLAGS
17368 CFLAGS="$CFLAGS -Wstrict-prototypes"
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 int main(int argc, char **argv) { return 0; }
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"; then :
17374 ac_cv_cflags__Wstrict_prototypes=yes
17375 else
17376 ac_cv_cflags__Wstrict_prototypes=no
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17380 CFLAGS=$ac_wine_try_cflags_saved
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17383 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17384 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17385 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17388 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17389 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17390 $as_echo_n "(cached) " >&6
17391 else
17392 ac_wine_try_cflags_saved=$CFLAGS
17393 CFLAGS="$CFLAGS -Wtype-limits"
17394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17395 /* end confdefs.h. */
17396 int main(int argc, char **argv) { return 0; }
17397 _ACEOF
17398 if ac_fn_c_try_link "$LINENO"; then :
17399 ac_cv_cflags__Wtype_limits=yes
17400 else
17401 ac_cv_cflags__Wtype_limits=no
17403 rm -f core conftest.err conftest.$ac_objext \
17404 conftest$ac_exeext conftest.$ac_ext
17405 CFLAGS=$ac_wine_try_cflags_saved
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17408 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17409 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17410 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17413 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17414 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17417 ac_wine_try_cflags_saved=$CFLAGS
17418 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17421 int main(int argc, char **argv) { return 0; }
17422 _ACEOF
17423 if ac_fn_c_try_link "$LINENO"; then :
17424 ac_cv_cflags__Wunused_but_set_parameter=yes
17425 else
17426 ac_cv_cflags__Wunused_but_set_parameter=no
17428 rm -f core conftest.err conftest.$ac_objext \
17429 conftest$ac_exeext conftest.$ac_ext
17430 CFLAGS=$ac_wine_try_cflags_saved
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17433 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17434 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17435 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17438 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17439 if ${ac_cv_cflags__Wvla+:} false; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17442 ac_wine_try_cflags_saved=$CFLAGS
17443 CFLAGS="$CFLAGS -Wvla"
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17446 int main(int argc, char **argv) { return 0; }
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"; then :
17449 ac_cv_cflags__Wvla=yes
17450 else
17451 ac_cv_cflags__Wvla=no
17453 rm -f core conftest.err conftest.$ac_objext \
17454 conftest$ac_exeext conftest.$ac_ext
17455 CFLAGS=$ac_wine_try_cflags_saved
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17458 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17459 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17460 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17463 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17464 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17467 ac_wine_try_cflags_saved=$CFLAGS
17468 CFLAGS="$CFLAGS -Wwrite-strings"
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471 int main(int argc, char **argv) { return 0; }
17472 _ACEOF
17473 if ac_fn_c_try_link "$LINENO"; then :
17474 ac_cv_cflags__Wwrite_strings=yes
17475 else
17476 ac_cv_cflags__Wwrite_strings=no
17478 rm -f core conftest.err conftest.$ac_objext \
17479 conftest$ac_exeext conftest.$ac_ext
17480 CFLAGS=$ac_wine_try_cflags_saved
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17483 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17484 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17485 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17488 if test -z "$CROSSTARGET"
17489 then
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17491 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17492 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 ac_wine_try_cflags_saved=$CFLAGS
17496 CFLAGS="$CFLAGS -fexcess-precision=standard"
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 int main(int argc, char **argv) { return 0; }
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"; then :
17502 ac_cv_cflags__fexcess_precision_standard=yes
17503 else
17504 ac_cv_cflags__fexcess_precision_standard=no
17506 rm -f core conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17508 CFLAGS=$ac_wine_try_cflags_saved
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17511 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17512 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17513 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17519 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17520 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 ac_wine_try_cflags_saved=$CFLAGS
17524 CFLAGS="$CFLAGS -Wpointer-arith"
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 int main(int argc, char **argv) { return 0; }
17528 _ACEOF
17529 if ac_fn_c_try_link "$LINENO"; then :
17530 ac_cv_cflags__Wpointer_arith=yes
17531 else
17532 ac_cv_cflags__Wpointer_arith=no
17534 rm -f core conftest.err conftest.$ac_objext \
17535 conftest$ac_exeext conftest.$ac_ext
17536 CFLAGS=$ac_wine_try_cflags_saved
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17539 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17540 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17541 saved_string_h_CFLAGS=$CFLAGS
17542 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17544 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17545 if ${ac_cv_c_string_h_warnings+:} false; then :
17546 $as_echo_n "(cached) " >&6
17547 else
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17550 #include <string.h>
17552 main ()
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_compile "$LINENO"; then :
17560 ac_cv_c_string_h_warnings=no
17561 else
17562 ac_cv_c_string_h_warnings=yes
17564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17567 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17568 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17569 CFLAGS=$saved_string_h_CFLAGS
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17573 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17574 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17575 $as_echo_n "(cached) " >&6
17576 else
17577 ac_wine_try_cflags_saved=$CFLAGS
17578 CFLAGS="$CFLAGS -Wlogical-op"
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 int main(int argc, char **argv) { return 0; }
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"; then :
17584 ac_cv_cflags__Wlogical_op=yes
17585 else
17586 ac_cv_cflags__Wlogical_op=no
17588 rm -f core conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17590 CFLAGS=$ac_wine_try_cflags_saved
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17593 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17594 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17595 saved_string_h_CFLAGS=$CFLAGS
17596 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17598 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17599 if ${ac_cv_c_logicalop_noisy+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 #include <string.h>
17605 char*f(const char *h,char n) {return strchr(h,n);}
17607 main ()
17611 return 0;
17613 _ACEOF
17614 if ac_fn_c_try_compile "$LINENO"; then :
17615 ac_cv_c_logicalop_noisy=no
17616 else
17617 ac_cv_c_logicalop_noisy=yes
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17622 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17623 CFLAGS=$saved_string_h_CFLAGS
17624 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17627 for ac_flag in $CFLAGS; do
17628 case $ac_flag in
17629 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17630 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17631 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17632 $as_echo_n "(cached) " >&6
17633 else
17634 ac_wine_try_cflags_saved=$CFLAGS
17635 CFLAGS="$CFLAGS -gdwarf-2"
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17638 int main(int argc, char **argv) { return 0; }
17639 _ACEOF
17640 if ac_fn_c_try_link "$LINENO"; then :
17641 ac_cv_cflags__gdwarf_2=yes
17642 else
17643 ac_cv_cflags__gdwarf_2=no
17645 rm -f core conftest.err conftest.$ac_objext \
17646 conftest$ac_exeext conftest.$ac_ext
17647 CFLAGS=$ac_wine_try_cflags_saved
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17650 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17651 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17652 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17655 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17656 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659 ac_wine_try_cflags_saved=$CFLAGS
17660 CFLAGS="$CFLAGS -gstrict-dwarf"
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 int main(int argc, char **argv) { return 0; }
17664 _ACEOF
17665 if ac_fn_c_try_link "$LINENO"; then :
17666 ac_cv_cflags__gstrict_dwarf=yes
17667 else
17668 ac_cv_cflags__gstrict_dwarf=no
17670 rm -f core conftest.err conftest.$ac_objext \
17671 conftest$ac_exeext conftest.$ac_ext
17672 CFLAGS=$ac_wine_try_cflags_saved
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17675 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17676 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17677 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17678 fi ;;
17679 esac
17680 done
17682 MSVCRTFLAGS=""
17684 case $host_os in
17685 mingw32*) ;;
17686 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17687 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17688 if ${ac_cv_cflags__fno_builtin+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 ac_wine_try_cflags_saved=$CFLAGS
17692 CFLAGS="$CFLAGS -fno-builtin"
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 int main(int argc, char **argv) { return 0; }
17696 _ACEOF
17697 if ac_fn_c_try_link "$LINENO"; then :
17698 ac_cv_cflags__fno_builtin=yes
17699 else
17700 ac_cv_cflags__fno_builtin=no
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17704 CFLAGS=$ac_wine_try_cflags_saved
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17707 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17708 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17709 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17712 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17713 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17714 $as_echo_n "(cached) " >&6
17715 else
17716 ac_wine_try_cflags_saved=$CFLAGS
17717 CFLAGS="$CFLAGS -fshort-wchar"
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 int main(int argc, char **argv) { return 0; }
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"; then :
17723 ac_cv_cflags__fshort_wchar=yes
17724 else
17725 ac_cv_cflags__fshort_wchar=no
17727 rm -f core conftest.err conftest.$ac_objext \
17728 conftest$ac_exeext conftest.$ac_ext
17729 CFLAGS=$ac_wine_try_cflags_saved
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17732 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17733 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17734 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17735 fi ;;
17736 esac
17738 case $host_cpu in
17739 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17740 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17741 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 ac_wine_try_cflags_saved=$CFLAGS
17745 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 int main(int argc, char **argv) { return 0; }
17749 _ACEOF
17750 if ac_fn_c_try_link "$LINENO"; then :
17751 ac_cv_cflags__fno_omit_frame_pointer=yes
17752 else
17753 ac_cv_cflags__fno_omit_frame_pointer=no
17755 rm -f core conftest.err conftest.$ac_objext \
17756 conftest$ac_exeext conftest.$ac_ext
17757 CFLAGS=$ac_wine_try_cflags_saved
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17760 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17761 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17762 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17763 fi ;;
17764 *x86_64*)
17765 case $host_os in
17766 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17767 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17768 if ${ac_cv_cflags__Wno_format+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 ac_wine_try_cflags_saved=$CFLAGS
17772 CFLAGS="$CFLAGS -Wno-format"
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 int main(int argc, char **argv) { return 0; }
17776 _ACEOF
17777 if ac_fn_c_try_link "$LINENO"; then :
17778 ac_cv_cflags__Wno_format=yes
17779 else
17780 ac_cv_cflags__Wno_format=no
17782 rm -f core conftest.err conftest.$ac_objext \
17783 conftest$ac_exeext conftest.$ac_ext
17784 CFLAGS=$ac_wine_try_cflags_saved
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17787 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17788 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17789 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17790 fi ;;
17791 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17792 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17793 if ${ac_cv_cflags__mabi_ms+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 ac_wine_try_cflags_saved=$CFLAGS
17797 CFLAGS="$CFLAGS -mabi=ms"
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 int main(int argc, char **argv) { return 0; }
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"; then :
17803 ac_cv_cflags__mabi_ms=yes
17804 else
17805 ac_cv_cflags__mabi_ms=no
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17809 CFLAGS=$ac_wine_try_cflags_saved
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17812 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17813 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17814 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17815 fi ;;
17816 esac ;;
17817 esac
17819 CFLAGS=$saved_CFLAGS
17821 if test "x$enable_werror" = "xyes"
17822 then
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17824 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17825 if ${ac_cv_cflags__Werror+:} false; then :
17826 $as_echo_n "(cached) " >&6
17827 else
17828 ac_wine_try_cflags_saved=$CFLAGS
17829 CFLAGS="$CFLAGS -Werror"
17830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17831 /* end confdefs.h. */
17832 int main(int argc, char **argv) { return 0; }
17833 _ACEOF
17834 if ac_fn_c_try_link "$LINENO"; then :
17835 ac_cv_cflags__Werror=yes
17836 else
17837 ac_cv_cflags__Werror=no
17839 rm -f core conftest.err conftest.$ac_objext \
17840 conftest$ac_exeext conftest.$ac_ext
17841 CFLAGS=$ac_wine_try_cflags_saved
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17844 $as_echo "$ac_cv_cflags__Werror" >&6; }
17845 if test "x$ac_cv_cflags__Werror" = xyes; then :
17846 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17853 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17854 if ${ac_cv_c_fortify_enabled+:} false; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #include <string.h>
17861 main ()
17863 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17864 #error Fortify enabled
17865 #endif
17867 return 0;
17869 _ACEOF
17870 if ac_fn_c_try_compile "$LINENO"; then :
17871 ac_cv_c_fortify_enabled=no
17872 else
17873 ac_cv_c_fortify_enabled=yes
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17878 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17879 if test "$ac_cv_c_fortify_enabled" = yes
17880 then
17881 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17886 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17887 if ${ac_cv_c_cfi_support+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17894 main ()
17898 return 0;
17900 _ACEOF
17901 if ac_fn_c_try_compile "$LINENO"; then :
17902 ac_cv_c_cfi_support="yes"
17903 else
17904 ac_cv_c_cfi_support="no"
17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17909 $as_echo "$ac_cv_c_cfi_support" >&6; }
17910 if test "$ac_cv_c_cfi_support" = "yes"
17911 then
17912 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17913 else
17914 if test "x$enable_win64" = "xyes"
17915 then
17916 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17921 case $build_os in
17922 cygwin*|mingw32*) TOOLSEXT=".exe"
17924 esac
17926 case $host_os in
17927 linux*)
17928 case $host_cpu in
17929 *i[3456789]86*|x86_64*|*aarch64*)
17930 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17931 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17933 esac
17935 esac
17938 ac_save_CFLAGS="$CFLAGS"
17939 CFLAGS="$CFLAGS $BUILTINFLAG"
17940 for ac_func in \
17941 __res_get_state \
17942 __res_getservers \
17943 _spawnvp \
17944 epoll_create \
17945 ffs \
17946 finitef \
17947 fnmatch \
17948 fork \
17949 fpclass \
17950 fstatfs \
17951 fstatvfs \
17952 futimens \
17953 futimes \
17954 futimesat \
17955 getattrlist \
17956 getauxval \
17957 getifaddrs \
17958 getopt_long_only \
17959 kqueue \
17960 lstat \
17961 mach_continuous_time \
17962 pipe2 \
17963 poll \
17964 port_create \
17965 prctl \
17966 pread \
17967 proc_pidinfo \
17968 pwrite \
17969 readdir \
17970 readlink \
17971 sched_yield \
17972 select \
17973 setproctitle \
17974 setprogname \
17975 settimeofday \
17976 sigprocmask \
17977 statfs \
17978 statvfs \
17979 strnlen \
17980 strtold \
17981 symlink \
17982 sysinfo \
17983 tcdrain \
17984 thr_kill2 \
17985 usleep
17987 do :
17988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17991 cat >>confdefs.h <<_ACEOF
17992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17993 _ACEOF
17996 done
17998 CFLAGS="$ac_save_CFLAGS"
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18001 $as_echo_n "checking for library containing dlopen... " >&6; }
18002 if ${ac_cv_search_dlopen+:} false; then :
18003 $as_echo_n "(cached) " >&6
18004 else
18005 ac_func_search_save_LIBS=$LIBS
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18009 /* Override any GCC internal prototype to avoid an error.
18010 Use char because int might match the return type of a GCC
18011 builtin and then its argument prototype would still apply. */
18012 #ifdef __cplusplus
18013 extern "C"
18014 #endif
18015 char dlopen ();
18017 main ()
18019 return dlopen ();
18021 return 0;
18023 _ACEOF
18024 for ac_lib in '' dl; do
18025 if test -z "$ac_lib"; then
18026 ac_res="none required"
18027 else
18028 ac_res=-l$ac_lib
18029 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18031 if ac_fn_c_try_link "$LINENO"; then :
18032 ac_cv_search_dlopen=$ac_res
18034 rm -f core conftest.err conftest.$ac_objext \
18035 conftest$ac_exeext
18036 if ${ac_cv_search_dlopen+:} false; then :
18037 break
18039 done
18040 if ${ac_cv_search_dlopen+:} false; then :
18042 else
18043 ac_cv_search_dlopen=no
18045 rm conftest.$ac_ext
18046 LIBS=$ac_func_search_save_LIBS
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18049 $as_echo "$ac_cv_search_dlopen" >&6; }
18050 ac_res=$ac_cv_search_dlopen
18051 if test "$ac_res" != no; then :
18052 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18056 ac_wine_check_funcs_save_LIBS="$LIBS"
18057 LIBS="$LIBS $DL_LIBS"
18058 for ac_func in dladdr dlinfo
18059 do :
18060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18062 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18063 cat >>confdefs.h <<_ACEOF
18064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18065 _ACEOF
18068 done
18070 LIBS="$ac_wine_check_funcs_save_LIBS"
18072 if test "$ac_cv_func_poll" = no
18073 then
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18075 $as_echo_n "checking for poll in -lpoll... " >&6; }
18076 if ${ac_cv_lib_poll_poll+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18079 ac_check_lib_save_LIBS=$LIBS
18080 LIBS="-lpoll $LIBS"
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 /* Override any GCC internal prototype to avoid an error.
18085 Use char because int might match the return type of a GCC
18086 builtin and then its argument prototype would still apply. */
18087 #ifdef __cplusplus
18088 extern "C"
18089 #endif
18090 char poll ();
18092 main ()
18094 return poll ();
18096 return 0;
18098 _ACEOF
18099 if ac_fn_c_try_link "$LINENO"; then :
18100 ac_cv_lib_poll_poll=yes
18101 else
18102 ac_cv_lib_poll_poll=no
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext conftest.$ac_ext
18106 LIBS=$ac_check_lib_save_LIBS
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18109 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18110 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18111 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18112 POLL_LIBS="-lpoll"
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18119 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18120 if ${ac_cv_search_gethostbyname+:} false; then :
18121 $as_echo_n "(cached) " >&6
18122 else
18123 ac_func_search_save_LIBS=$LIBS
18124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125 /* end confdefs.h. */
18127 /* Override any GCC internal prototype to avoid an error.
18128 Use char because int might match the return type of a GCC
18129 builtin and then its argument prototype would still apply. */
18130 #ifdef __cplusplus
18131 extern "C"
18132 #endif
18133 char gethostbyname ();
18135 main ()
18137 return gethostbyname ();
18139 return 0;
18141 _ACEOF
18142 for ac_lib in '' nsl; do
18143 if test -z "$ac_lib"; then
18144 ac_res="none required"
18145 else
18146 ac_res=-l$ac_lib
18147 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18149 if ac_fn_c_try_link "$LINENO"; then :
18150 ac_cv_search_gethostbyname=$ac_res
18152 rm -f core conftest.err conftest.$ac_objext \
18153 conftest$ac_exeext
18154 if ${ac_cv_search_gethostbyname+:} false; then :
18155 break
18157 done
18158 if ${ac_cv_search_gethostbyname+:} false; then :
18160 else
18161 ac_cv_search_gethostbyname=no
18163 rm conftest.$ac_ext
18164 LIBS=$ac_func_search_save_LIBS
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18167 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18168 ac_res=$ac_cv_search_gethostbyname
18169 if test "$ac_res" != no; then :
18170 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18176 $as_echo_n "checking for library containing connect... " >&6; }
18177 if ${ac_cv_search_connect+:} false; then :
18178 $as_echo_n "(cached) " >&6
18179 else
18180 ac_func_search_save_LIBS=$LIBS
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18184 /* Override any GCC internal prototype to avoid an error.
18185 Use char because int might match the return type of a GCC
18186 builtin and then its argument prototype would still apply. */
18187 #ifdef __cplusplus
18188 extern "C"
18189 #endif
18190 char connect ();
18192 main ()
18194 return connect ();
18196 return 0;
18198 _ACEOF
18199 for ac_lib in '' socket; do
18200 if test -z "$ac_lib"; then
18201 ac_res="none required"
18202 else
18203 ac_res=-l$ac_lib
18204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18206 if ac_fn_c_try_link "$LINENO"; then :
18207 ac_cv_search_connect=$ac_res
18209 rm -f core conftest.err conftest.$ac_objext \
18210 conftest$ac_exeext
18211 if ${ac_cv_search_connect+:} false; then :
18212 break
18214 done
18215 if ${ac_cv_search_connect+:} false; then :
18217 else
18218 ac_cv_search_connect=no
18220 rm conftest.$ac_ext
18221 LIBS=$ac_func_search_save_LIBS
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18224 $as_echo "$ac_cv_search_connect" >&6; }
18225 ac_res=$ac_cv_search_connect
18226 if test "$ac_res" != no; then :
18227 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18233 $as_echo_n "checking for library containing inet_aton... " >&6; }
18234 if ${ac_cv_search_inet_aton+:} false; then :
18235 $as_echo_n "(cached) " >&6
18236 else
18237 ac_func_search_save_LIBS=$LIBS
18238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18239 /* end confdefs.h. */
18241 /* Override any GCC internal prototype to avoid an error.
18242 Use char because int might match the return type of a GCC
18243 builtin and then its argument prototype would still apply. */
18244 #ifdef __cplusplus
18245 extern "C"
18246 #endif
18247 char inet_aton ();
18249 main ()
18251 return inet_aton ();
18253 return 0;
18255 _ACEOF
18256 for ac_lib in '' resolv; do
18257 if test -z "$ac_lib"; then
18258 ac_res="none required"
18259 else
18260 ac_res=-l$ac_lib
18261 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18263 if ac_fn_c_try_link "$LINENO"; then :
18264 ac_cv_search_inet_aton=$ac_res
18266 rm -f core conftest.err conftest.$ac_objext \
18267 conftest$ac_exeext
18268 if ${ac_cv_search_inet_aton+:} false; then :
18269 break
18271 done
18272 if ${ac_cv_search_inet_aton+:} false; then :
18274 else
18275 ac_cv_search_inet_aton=no
18277 rm conftest.$ac_ext
18278 LIBS=$ac_func_search_save_LIBS
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18281 $as_echo "$ac_cv_search_inet_aton" >&6; }
18282 ac_res=$ac_cv_search_inet_aton
18283 if test "$ac_res" != no; then :
18284 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18289 for ac_func in \
18290 getaddrinfo \
18291 getnameinfo \
18292 getnetbyname \
18293 getprotobyname \
18294 getprotobynumber \
18295 getservbyport \
18297 do :
18298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18301 cat >>confdefs.h <<_ACEOF
18302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18303 _ACEOF
18306 done
18309 case $host_os in
18310 darwin*|macosx*) ;;
18311 *) ac_save_LIBS=$LIBS
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18313 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18314 if ${ac_cv_search_clock_gettime+:} false; then :
18315 $as_echo_n "(cached) " >&6
18316 else
18317 ac_func_search_save_LIBS=$LIBS
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18321 /* Override any GCC internal prototype to avoid an error.
18322 Use char because int might match the return type of a GCC
18323 builtin and then its argument prototype would still apply. */
18324 #ifdef __cplusplus
18325 extern "C"
18326 #endif
18327 char clock_gettime ();
18329 main ()
18331 return clock_gettime ();
18333 return 0;
18335 _ACEOF
18336 for ac_lib in '' rt; do
18337 if test -z "$ac_lib"; then
18338 ac_res="none required"
18339 else
18340 ac_res=-l$ac_lib
18341 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18343 if ac_fn_c_try_link "$LINENO"; then :
18344 ac_cv_search_clock_gettime=$ac_res
18346 rm -f core conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext
18348 if ${ac_cv_search_clock_gettime+:} false; then :
18349 break
18351 done
18352 if ${ac_cv_search_clock_gettime+:} false; then :
18354 else
18355 ac_cv_search_clock_gettime=no
18357 rm conftest.$ac_ext
18358 LIBS=$ac_func_search_save_LIBS
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18361 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18362 ac_res=$ac_cv_search_clock_gettime
18363 if test "$ac_res" != no; then :
18364 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18366 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18368 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18372 LIBS=$ac_save_LIBS
18374 esac
18376 if test "x$with_ldap" != "xno"
18377 then
18378 if ${LDAP_CFLAGS:+false} :; then :
18379 if ${PKG_CONFIG+:} false; then :
18380 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18384 if ${LDAP_LIBS:+false} :; then :
18385 if ${PKG_CONFIG+:} false; then :
18386 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18390 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18391 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18392 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18393 ac_save_CPPFLAGS=$CPPFLAGS
18394 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18395 for ac_header in ldap.h lber.h
18396 do :
18397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18398 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18399 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18400 cat >>confdefs.h <<_ACEOF
18401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18402 _ACEOF
18406 done
18408 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18409 then
18410 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18412 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18414 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18415 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18416 $as_echo_n "(cached) " >&6
18417 else
18418 ac_check_lib_save_LIBS=$LIBS
18419 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18423 /* Override any GCC internal prototype to avoid an error.
18424 Use char because int might match the return type of a GCC
18425 builtin and then its argument prototype would still apply. */
18426 #ifdef __cplusplus
18427 extern "C"
18428 #endif
18429 char ldap_initialize ();
18431 main ()
18433 return ldap_initialize ();
18435 return 0;
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"; then :
18439 ac_cv_lib_ldap_r_ldap_initialize=yes
18440 else
18441 ac_cv_lib_ldap_r_ldap_initialize=no
18443 rm -f core conftest.err conftest.$ac_objext \
18444 conftest$ac_exeext conftest.$ac_ext
18445 LIBS=$ac_check_lib_save_LIBS
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18448 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18449 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18451 $as_echo_n "checking for ber_init in -llber... " >&6; }
18452 if ${ac_cv_lib_lber_ber_init+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 ac_check_lib_save_LIBS=$LIBS
18456 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18460 /* Override any GCC internal prototype to avoid an error.
18461 Use char because int might match the return type of a GCC
18462 builtin and then its argument prototype would still apply. */
18463 #ifdef __cplusplus
18464 extern "C"
18465 #endif
18466 char ber_init ();
18468 main ()
18470 return ber_init ();
18472 return 0;
18474 _ACEOF
18475 if ac_fn_c_try_link "$LINENO"; then :
18476 ac_cv_lib_lber_ber_init=yes
18477 else
18478 ac_cv_lib_lber_ber_init=no
18480 rm -f core conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18482 LIBS=$ac_check_lib_save_LIBS
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18485 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18486 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18488 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18490 else
18491 LDAP_LIBS=""
18494 else
18495 LDAP_LIBS=""
18498 else
18499 LDAP_LIBS=""
18502 ac_wine_check_funcs_save_LIBS="$LIBS"
18503 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18504 for ac_func in \
18505 ldap_count_references \
18506 ldap_first_reference \
18507 ldap_next_reference \
18508 ldap_parse_reference \
18509 ldap_parse_sort_control \
18510 ldap_parse_sortresponse_control \
18511 ldap_parse_vlv_control \
18512 ldap_parse_vlvresponse_control
18513 do :
18514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18519 _ACEOF
18522 done
18524 LIBS="$ac_wine_check_funcs_save_LIBS"
18525 else
18526 LDAP_LIBS=""
18528 CPPFLAGS=$ac_save_CPPFLAGS
18529 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18530 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18533 if test "x$LDAP_LIBS" = "x"; then :
18534 case "x$with_ldap" in
18535 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18536 xno) ;;
18537 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18538 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18539 esac
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18544 $as_echo_n "checking for sched_setaffinity... " >&6; }
18545 if ${wine_cv_have_sched_setaffinity+:} false; then :
18546 $as_echo_n "(cached) " >&6
18547 else
18548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18550 #define _GNU_SOURCE
18551 #include <sched.h>
18553 main ()
18555 sched_setaffinity(0, 0, 0);
18557 return 0;
18559 _ACEOF
18560 if ac_fn_c_try_link "$LINENO"; then :
18561 wine_cv_have_sched_setaffinity=yes
18562 else
18563 wine_cv_have_sched_setaffinity=no
18565 rm -f core conftest.err conftest.$ac_objext \
18566 conftest$ac_exeext conftest.$ac_ext
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18569 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18570 if test "$wine_cv_have_sched_setaffinity" = "yes"
18571 then
18573 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18578 $as_echo_n "checking for fallocate... " >&6; }
18579 if ${wine_cv_have_fallocate+:} 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 <fcntl.h>
18587 main ()
18589 fallocate(-1, 0, 0, 0);
18591 return 0;
18593 _ACEOF
18594 if ac_fn_c_try_link "$LINENO"; then :
18595 wine_cv_have_fallocate=yes
18596 else
18597 wine_cv_have_fallocate=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_fallocate" >&5
18603 $as_echo "$wine_cv_have_fallocate" >&6; }
18604 if test "$wine_cv_have_fallocate" = "yes"
18605 then
18607 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18613 $as_echo_n "checking for inline... " >&6; }
18614 if ${ac_cv_c_inline+:} false; then :
18615 $as_echo_n "(cached) " >&6
18616 else
18617 ac_cv_c_inline=no
18618 for ac_kw in inline __inline__ __inline; do
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 #ifndef __cplusplus
18622 typedef int foo_t;
18623 static $ac_kw foo_t static_foo () {return 0; }
18624 $ac_kw foo_t foo () {return 0; }
18625 #endif
18627 _ACEOF
18628 if ac_fn_c_try_compile "$LINENO"; then :
18629 ac_cv_c_inline=$ac_kw
18631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632 test "$ac_cv_c_inline" != no && break
18633 done
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18637 $as_echo "$ac_cv_c_inline" >&6; }
18639 case $ac_cv_c_inline in
18640 inline | yes) ;;
18642 case $ac_cv_c_inline in
18643 no) ac_val=;;
18644 *) ac_val=$ac_cv_c_inline;;
18645 esac
18646 cat >>confdefs.h <<_ACEOF
18647 #ifndef __cplusplus
18648 #define inline $ac_val
18649 #endif
18650 _ACEOF
18652 esac
18654 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18655 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_FSBLKCNT_T 1
18659 _ACEOF
18663 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18664 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18666 cat >>confdefs.h <<_ACEOF
18667 #define HAVE_FSFILCNT_T 1
18668 _ACEOF
18673 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18674 #include <signal.h>
18676 if test "x$ac_cv_type_sigset_t" = xyes; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_SIGSET_T 1
18680 _ACEOF
18685 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18687 if test "x$ac_cv_type_request_sense" = xyes; then :
18689 cat >>confdefs.h <<_ACEOF
18690 #define HAVE_REQUEST_SENSE 1
18691 _ACEOF
18697 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18698 #ifdef HAVE_SYS_SOCKET_H
18699 #include <sys/socket.h>
18700 #endif
18701 #ifdef HAVE_SYS_SOCKETVAR_H
18702 #include <sys/socketvar.h>
18703 #endif
18704 #ifdef HAVE_NET_ROUTE_H
18705 #include <net/route.h>
18706 #endif
18707 #ifdef HAVE_NETINET_IN_H
18708 #include <netinet/in.h>
18709 #endif
18710 #ifdef HAVE_NETINET_IN_SYSTM_H
18711 #include <netinet/in_systm.h>
18712 #endif
18713 #ifdef HAVE_NETINET_IP_H
18714 #include <netinet/ip.h>
18715 #endif
18716 #ifdef HAVE_NETINET_IN_PCB_H
18717 #include <netinet/in_pcb.h>
18718 #endif
18720 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18722 cat >>confdefs.h <<_ACEOF
18723 #define HAVE_STRUCT_XINPGEN 1
18724 _ACEOF
18730 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18731 #include <linux/input.h>
18732 #endif
18734 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18738 _ACEOF
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18745 $as_echo_n "checking for if_nameindex... " >&6; }
18746 if ${wine_cv_have_if_nameindex+:} false; then :
18747 $as_echo_n "(cached) " >&6
18748 else
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18751 #ifdef HAVE_SYS_TYPES_H
18752 #include <sys/types.h>
18753 #endif
18754 #ifdef HAVE_SYS_SOCKET_H
18755 #include <sys/socket.h>
18756 #endif
18757 #ifdef HAVE_NET_IF_H
18758 # include <net/if.h>
18759 #endif
18761 main ()
18763 struct if_nameindex *p = if_nameindex(); return p->if_index;
18765 return 0;
18767 _ACEOF
18768 if ac_fn_c_try_link "$LINENO"; then :
18769 wine_cv_have_if_nameindex=yes
18770 else
18771 wine_cv_have_if_nameindex=no
18773 rm -f core conftest.err conftest.$ac_objext \
18774 conftest$ac_exeext conftest.$ac_ext
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18777 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18778 if test "$wine_cv_have_if_nameindex" = "yes"
18779 then
18781 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18786 $as_echo_n "checking for sigaddset... " >&6; }
18787 if ${wine_cv_have_sigaddset+:} false; then :
18788 $as_echo_n "(cached) " >&6
18789 else
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 #include <signal.h>
18794 main ()
18796 sigset_t set; sigaddset(&set,SIGTERM);
18798 return 0;
18800 _ACEOF
18801 if ac_fn_c_try_link "$LINENO"; then :
18802 wine_cv_have_sigaddset=yes
18803 else
18804 wine_cv_have_sigaddset=no
18806 rm -f core conftest.err conftest.$ac_objext \
18807 conftest$ac_exeext conftest.$ac_ext
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18810 $as_echo "$wine_cv_have_sigaddset" >&6; }
18811 if test "$wine_cv_have_sigaddset" = "yes"
18812 then
18814 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18820 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18821 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18822 $as_echo_n "(cached) " >&6
18823 else
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18826 #include <netdb.h>
18828 main ()
18831 char *name=0;
18832 struct hostent he;
18833 struct hostent *result;
18834 char *buf=0;
18835 int bufsize=0;
18836 int errnr;
18837 char *addr=0;
18838 int addrlen=0;
18839 int addrtype=0;
18840 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18841 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18844 return 0;
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"; then :
18848 wine_cv_linux_gethostbyname_r_6=yes
18849 else
18850 wine_cv_linux_gethostbyname_r_6=no
18853 rm -f core conftest.err conftest.$ac_objext \
18854 conftest$ac_exeext conftest.$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18858 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18859 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18860 then
18862 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18866 if test "$ac_cv_header_linux_joystick_h" = "yes"
18867 then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18869 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18870 if ${wine_cv_linux_joystick_22_api+:} false; then :
18871 $as_echo_n "(cached) " >&6
18872 else
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18876 #include <sys/ioctl.h>
18877 #include <sys/types.h>
18878 #include <linux/joystick.h>
18880 struct js_event blub;
18881 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18882 #error "no 2.2 header"
18883 #endif
18886 main ()
18888 /*empty*/
18890 return 0;
18892 _ACEOF
18893 if ac_fn_c_try_compile "$LINENO"; then :
18894 wine_cv_linux_joystick_22_api=yes
18895 else
18896 wine_cv_linux_joystick_22_api=no
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18902 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18903 if test "$wine_cv_linux_joystick_22_api" = "yes"
18904 then
18906 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18912 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18913 #ifdef HAVE_SYS_PARAM_H
18914 # include <sys/param.h>
18915 #endif
18916 #ifdef HAVE_SYS_MOUNT_H
18917 # include <sys/mount.h>
18918 #endif
18919 #ifdef HAVE_SYS_VFS_H
18920 # include <sys/vfs.h>
18921 #endif
18922 #ifdef HAVE_SYS_STATFS_H
18923 # include <sys/statfs.h>
18924 #endif
18926 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18928 cat >>confdefs.h <<_ACEOF
18929 #define HAVE_STRUCT_STATFS_F_BFREE 1
18930 _ACEOF
18934 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18935 #ifdef HAVE_SYS_PARAM_H
18936 # include <sys/param.h>
18937 #endif
18938 #ifdef HAVE_SYS_MOUNT_H
18939 # include <sys/mount.h>
18940 #endif
18941 #ifdef HAVE_SYS_VFS_H
18942 # include <sys/vfs.h>
18943 #endif
18944 #ifdef HAVE_SYS_STATFS_H
18945 # include <sys/statfs.h>
18946 #endif
18948 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18952 _ACEOF
18956 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18957 #ifdef HAVE_SYS_PARAM_H
18958 # include <sys/param.h>
18959 #endif
18960 #ifdef HAVE_SYS_MOUNT_H
18961 # include <sys/mount.h>
18962 #endif
18963 #ifdef HAVE_SYS_VFS_H
18964 # include <sys/vfs.h>
18965 #endif
18966 #ifdef HAVE_SYS_STATFS_H
18967 # include <sys/statfs.h>
18968 #endif
18970 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18972 cat >>confdefs.h <<_ACEOF
18973 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18974 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18979 #ifdef HAVE_SYS_PARAM_H
18980 # include <sys/param.h>
18981 #endif
18982 #ifdef HAVE_SYS_MOUNT_H
18983 # include <sys/mount.h>
18984 #endif
18985 #ifdef HAVE_SYS_VFS_H
18986 # include <sys/vfs.h>
18987 #endif
18988 #ifdef HAVE_SYS_STATFS_H
18989 # include <sys/statfs.h>
18990 #endif
18992 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18994 cat >>confdefs.h <<_ACEOF
18995 #define HAVE_STRUCT_STATFS_F_FFREE 1
18996 _ACEOF
19000 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19001 #ifdef HAVE_SYS_PARAM_H
19002 # include <sys/param.h>
19003 #endif
19004 #ifdef HAVE_SYS_MOUNT_H
19005 # include <sys/mount.h>
19006 #endif
19007 #ifdef HAVE_SYS_VFS_H
19008 # include <sys/vfs.h>
19009 #endif
19010 #ifdef HAVE_SYS_STATFS_H
19011 # include <sys/statfs.h>
19012 #endif
19014 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19018 _ACEOF
19022 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19023 #ifdef HAVE_SYS_PARAM_H
19024 # include <sys/param.h>
19025 #endif
19026 #ifdef HAVE_SYS_MOUNT_H
19027 # include <sys/mount.h>
19028 #endif
19029 #ifdef HAVE_SYS_VFS_H
19030 # include <sys/vfs.h>
19031 #endif
19032 #ifdef HAVE_SYS_STATFS_H
19033 # include <sys/statfs.h>
19034 #endif
19036 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19040 _ACEOF
19046 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19047 #include <sys/statvfs.h>
19048 #endif
19050 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19054 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19061 #include <dirent.h>
19062 #endif
19064 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19068 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19075 #ifdef HAVE_SYS_SOCKET_H
19076 # include <sys/socket.h>
19077 #endif
19078 #ifdef HAVE_SYS_UN_H
19079 # include <sys/un.h>
19080 #endif
19082 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19086 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19091 #ifdef HAVE_SYS_SOCKET_H
19092 # include <sys/socket.h>
19093 #endif
19094 #ifdef HAVE_SYS_UN_H
19095 # include <sys/un.h>
19096 #endif
19098 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19102 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19107 #ifdef HAVE_SYS_SOCKET_H
19108 # include <sys/socket.h>
19109 #endif
19110 #ifdef HAVE_SYS_UN_H
19111 # include <sys/un.h>
19112 #endif
19114 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19118 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19125 #ifdef HAVE_SCSI_SG_H
19126 #include <scsi/sg.h>
19127 #endif
19129 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_SCSIREQ_T_CMD 1
19133 _ACEOF
19137 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>
19138 #ifdef HAVE_SCSI_SG_H
19139 #include <scsi/sg.h>
19140 #endif
19142 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19146 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19154 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_SIGINFO_T_SI_FD 1
19158 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19165 #ifdef HAVE_SYS_MTIO_H
19166 #include <sys/mtio.h>
19167 #endif
19169 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19173 _ACEOF
19177 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19178 #ifdef HAVE_SYS_MTIO_H
19179 #include <sys/mtio.h>
19180 #endif
19182 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19186 _ACEOF
19190 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19191 #ifdef HAVE_SYS_MTIO_H
19192 #include <sys/mtio.h>
19193 #endif
19195 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19199 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19206 #include <getopt.h>
19207 #endif
19209 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_OPTION_NAME 1
19213 _ACEOF
19219 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19220 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19222 cat >>confdefs.h <<_ACEOF
19223 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19224 _ACEOF
19228 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19229 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_STRUCT_STAT_ST_MTIM 1
19233 _ACEOF
19237 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19238 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19242 _ACEOF
19246 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19247 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STRUCT_STAT_ST_CTIM 1
19251 _ACEOF
19255 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19256 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19260 _ACEOF
19264 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19265 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT_STAT_ST_ATIM 1
19269 _ACEOF
19273 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19274 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19278 _ACEOF
19282 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19283 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19285 cat >>confdefs.h <<_ACEOF
19286 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19287 _ACEOF
19291 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19292 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19296 _ACEOF
19300 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19301 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19305 _ACEOF
19309 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19310 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19314 _ACEOF
19318 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19319 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19321 cat >>confdefs.h <<_ACEOF
19322 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19323 _ACEOF
19329 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
19330 #include <sys/types.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IN_H
19333 #include <netinet/in.h>
19334 #endif
19336 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19340 _ACEOF
19346 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19347 #include <sys/types.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IN_H
19350 #include <netinet/in.h>
19351 #endif
19352 #ifdef HAVE_RESOLV_H
19353 #include <resolv.h>
19354 #endif
19356 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_STRUCT___RES_STATE 1
19360 _ACEOF
19366 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
19367 #include <resolv.h>
19368 #endif
19370 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19374 _ACEOF
19380 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#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_ARPA_NAMESER_H
19387 # include <arpa/nameser.h>
19388 #endif
19390 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19392 cat >>confdefs.h <<_ACEOF
19393 #define HAVE_NS_MSG__MSG_PTR 1
19394 _ACEOF
19400 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19401 #include <sys/types.h>
19402 #endif
19403 #ifdef HAVE_NETINET_IN_H
19404 #include <netinet/in.h>
19405 #endif
19406 #ifdef HAVE_NETINET_IP_H
19407 #include <netinet/ip.h>
19408 #endif
19409 #ifdef HAVE_NETINET_IP_ICMP_H
19410 #include <netinet/ip_icmp.h>
19411 #endif
19412 #ifdef HAVE_NETINET_ICMP_VAR_H
19413 #include <netinet/icmp_var.h>
19414 #endif
19416 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19418 cat >>confdefs.h <<_ACEOF
19419 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19420 _ACEOF
19426 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19427 #include <sys/types.h>
19428 #endif
19429 #ifdef HAVE_ALIAS_H
19430 #include <alias.h>
19431 #endif
19432 #ifdef HAVE_SYS_SOCKET_H
19433 #include <sys/socket.h>
19434 #endif
19435 #ifdef HAVE_SYS_SOCKETVAR_H
19436 #include <sys/socketvar.h>
19437 #endif
19438 #ifdef HAVE_SYS_TIMEOUT_H
19439 #include <sys/timeout.h>
19440 #endif
19441 #ifdef HAVE_NETINET_IN_H
19442 #include <netinet/in.h>
19443 #endif
19444 #ifdef HAVE_NETINET_IN_SYSTM_H
19445 #include <netinet/in_systm.h>
19446 #endif
19447 #ifdef HAVE_NETINET_IP_H
19448 #include <netinet/ip.h>
19449 #endif
19450 #ifdef HAVE_NETINET_IP_VAR_H
19451 #include <netinet/ip_var.h>
19452 #endif
19453 #ifdef HAVE_NETINET_IP_ICMP_H
19454 #include <netinet/ip_icmp.h>
19455 #endif
19456 #ifdef HAVE_NETINET_ICMP_VAR_H
19457 #include <netinet/icmp_var.h>
19458 #endif
19460 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19462 cat >>confdefs.h <<_ACEOF
19463 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19464 _ACEOF
19470 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19471 #include <sys/types.h>
19472 #endif
19473 #ifdef HAVE_SYS_SOCKETVAR_H
19474 #include <sys/socketvar.h>
19475 #endif
19476 #ifdef HAVE_NETINET_IN_H
19477 #include <netinet/in.h>
19478 #endif
19479 #ifdef HAVE_NETINET_IP_VAR_H
19480 #include <netinet/ip_var.h>
19481 #endif
19483 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19485 cat >>confdefs.h <<_ACEOF
19486 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19487 _ACEOF
19493 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
19494 #include <netinet/ip_var.h>
19495 #endif
19497 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19501 _ACEOF
19507 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19508 #include <sys/types.h>
19509 #endif
19510 #ifdef HAVE_SYS_SOCKETVAR_H
19511 #include <sys/socketvar.h>
19512 #endif
19513 #ifdef HAVE_NETINET_IN_H
19514 #include <netinet/in.h>
19515 #endif
19516 #ifdef HAVE_NETINET_TCP_H
19517 #include <netinet/tcp.h>
19518 #endif
19519 #ifdef HAVE_NETINET_TCP_VAR_H
19520 #include <netinet/tcp_var.h>
19521 #endif
19523 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19525 cat >>confdefs.h <<_ACEOF
19526 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19527 _ACEOF
19533 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
19534 #include <netinet/tcp_var.h>
19535 #endif
19537 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19539 cat >>confdefs.h <<_ACEOF
19540 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19541 _ACEOF
19547 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19548 #include <sys/types.h>
19549 #endif
19550 #ifdef HAVE_NETINET_IN_H
19551 #include <netinet/in.h>
19552 #endif
19553 #ifdef HAVE_NETINET_IP_VAR_H
19554 #include <netinet/ip_var.h>
19555 #endif
19556 #ifdef HAVE_NETINET_UDP_H
19557 #include <netinet/udp.h>
19558 #endif
19559 #ifdef HAVE_NETINET_UDP_VAR_H
19560 #include <netinet/udp_var.h>
19561 #endif
19563 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19565 cat >>confdefs.h <<_ACEOF
19566 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19567 _ACEOF
19573 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19574 #include <sys/types.h>
19575 #endif
19576 #ifdef HAVE_NET_IF_H
19577 # include <net/if.h>
19578 #endif
19580 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19582 cat >>confdefs.h <<_ACEOF
19583 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19584 _ACEOF
19590 ac_save_LIBS="$LIBS"
19591 LIBS="$LIBS -lm"
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19593 $as_echo_n "checking for isfinite... " >&6; }
19594 if ${ac_cv_have_isfinite+:} false; then :
19595 $as_echo_n "(cached) " >&6
19596 else
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19599 #define _GNU_SOURCE
19600 #include <math.h>
19602 main ()
19604 float f = 0.0; return isfinite(f)
19606 return 0;
19608 _ACEOF
19609 if ac_fn_c_try_link "$LINENO"; then :
19610 ac_cv_have_isfinite="yes"
19611 else
19612 ac_cv_have_isfinite="no"
19614 rm -f core conftest.err conftest.$ac_objext \
19615 conftest$ac_exeext conftest.$ac_ext
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19618 $as_echo "$ac_cv_have_isfinite" >&6; }
19619 if test "$ac_cv_have_isfinite" = "yes"
19620 then
19622 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19627 $as_echo_n "checking for isinf... " >&6; }
19628 if ${ac_cv_have_isinf+:} false; then :
19629 $as_echo_n "(cached) " >&6
19630 else
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19633 #include <math.h>
19635 main ()
19637 float f = 0.0; return isinf(f)
19639 return 0;
19641 _ACEOF
19642 if ac_fn_c_try_link "$LINENO"; then :
19643 ac_cv_have_isinf="yes"
19644 else
19645 ac_cv_have_isinf="no"
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext conftest.$ac_ext
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19651 $as_echo "$ac_cv_have_isinf" >&6; }
19652 if test "$ac_cv_have_isinf" = "yes"
19653 then
19655 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19660 $as_echo_n "checking for isnan... " >&6; }
19661 if ${ac_cv_have_isnan+:} false; then :
19662 $as_echo_n "(cached) " >&6
19663 else
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 #include <math.h>
19668 main ()
19670 float f = 0.0; return isnan(f)
19672 return 0;
19674 _ACEOF
19675 if ac_fn_c_try_link "$LINENO"; then :
19676 ac_cv_have_isnan="yes"
19677 else
19678 ac_cv_have_isnan="no"
19680 rm -f core conftest.err conftest.$ac_objext \
19681 conftest$ac_exeext conftest.$ac_ext
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19684 $as_echo "$ac_cv_have_isnan" >&6; }
19685 if test "$ac_cv_have_isnan" = "yes"
19686 then
19688 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19692 for ac_func in \
19693 acosh \
19694 acoshf \
19695 asinh \
19696 asinhf \
19697 atanh \
19698 atanhf \
19699 cbrt \
19700 cbrtf \
19701 erf \
19702 erfc \
19703 erfcf \
19704 erff \
19705 exp2 \
19706 exp2f \
19707 expm1 \
19708 expm1f \
19709 fma \
19710 fmaf \
19711 ilogb \
19712 ilogbf \
19713 j0 \
19714 j1 \
19715 jn \
19716 lgamma \
19717 lgammaf \
19718 llrint \
19719 llrintf \
19720 llround \
19721 llroundf \
19722 log1p \
19723 log1pf \
19724 log2 \
19725 log2f \
19726 lrint \
19727 lrintf \
19728 lround \
19729 lroundf \
19730 nearbyint \
19731 nearbyintf \
19732 nexttoward \
19733 nexttowardf \
19734 remainder \
19735 remainderf \
19736 remquo \
19737 remquof \
19738 rint \
19739 rintf \
19740 round \
19741 roundf \
19742 tgamma \
19743 tgammaf \
19744 trunc \
19745 truncf \
19746 y0 \
19747 y1 \
19750 do :
19751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19753 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19754 cat >>confdefs.h <<_ACEOF
19755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19756 _ACEOF
19759 done
19761 LIBS="$ac_save_LIBS"
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19764 $as_echo_n "checking for __builtin_popcount... " >&6; }
19765 if ${ac_cv_have___builtin_popcount+:} false; then :
19766 $as_echo_n "(cached) " >&6
19767 else
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19772 main ()
19774 return __builtin_popcount(1)
19776 return 0;
19778 _ACEOF
19779 if ac_fn_c_try_link "$LINENO"; then :
19780 ac_cv_have___builtin_popcount="yes"
19781 else
19782 ac_cv_have___builtin_popcount="no"
19784 rm -f core conftest.err conftest.$ac_objext \
19785 conftest$ac_exeext conftest.$ac_ext
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19788 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19789 if test "$ac_cv_have___builtin_popcount" = "yes"
19790 then
19792 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19797 $as_echo_n "checking for __clear_cache... " >&6; }
19798 if ${ac_cv_have___clear_cache+:} false; then :
19799 $as_echo_n "(cached) " >&6
19800 else
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19805 main ()
19807 __clear_cache((void*)0, (void*)0); return 0;
19809 return 0;
19811 _ACEOF
19812 if ac_fn_c_try_link "$LINENO"; then :
19813 ac_cv_have___clear_cache="yes"
19814 else
19815 ac_cv_have___clear_cache="no"
19817 rm -f core conftest.err conftest.$ac_objext \
19818 conftest$ac_exeext conftest.$ac_ext
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19821 $as_echo "$ac_cv_have___clear_cache" >&6; }
19822 if test "$ac_cv_have___clear_cache" = "yes"
19823 then
19825 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19830 case $host_cpu in
19831 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19832 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19833 if ${ac_cv_cpp_def___i386__+:} false; then :
19834 $as_echo_n "(cached) " >&6
19835 else
19836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19837 /* end confdefs.h. */
19838 #ifndef __i386__
19840 #endif
19841 _ACEOF
19842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19843 $EGREP "yes" >/dev/null 2>&1; then :
19844 ac_cv_cpp_def___i386__=yes
19845 else
19846 ac_cv_cpp_def___i386__=no
19848 rm -f conftest*
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19852 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19853 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19854 CFLAGS="$CFLAGS -D__i386__"
19855 LINTFLAGS="$LINTFLAGS -D__i386__"
19856 fi ;;
19857 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19858 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19859 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19860 $as_echo_n "(cached) " >&6
19861 else
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #ifndef __x86_64__
19866 #endif
19867 _ACEOF
19868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19869 $EGREP "yes" >/dev/null 2>&1; then :
19870 ac_cv_cpp_def___x86_64__=yes
19871 else
19872 ac_cv_cpp_def___x86_64__=no
19874 rm -f conftest*
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19878 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19879 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19880 CFLAGS="$CFLAGS -D__x86_64__"
19881 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19882 fi ;;
19883 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19884 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19885 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19886 $as_echo_n "(cached) " >&6
19887 else
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19890 #ifndef __sparc64__
19892 #endif
19893 _ACEOF
19894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19895 $EGREP "yes" >/dev/null 2>&1; then :
19896 ac_cv_cpp_def___sparc64__=yes
19897 else
19898 ac_cv_cpp_def___sparc64__=no
19900 rm -f conftest*
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19904 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19905 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19906 CFLAGS="$CFLAGS -D__sparc64__"
19907 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19908 fi ;;
19909 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19910 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19911 if ${ac_cv_cpp_def___sparc__+:} false; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #ifndef __sparc__
19918 #endif
19919 _ACEOF
19920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19921 $EGREP "yes" >/dev/null 2>&1; then :
19922 ac_cv_cpp_def___sparc__=yes
19923 else
19924 ac_cv_cpp_def___sparc__=no
19926 rm -f conftest*
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19930 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19931 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19932 CFLAGS="$CFLAGS -D__sparc__"
19933 LINTFLAGS="$LINTFLAGS -D__sparc__"
19934 fi ;;
19935 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19936 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19937 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19938 $as_echo_n "(cached) " >&6
19939 else
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19942 #ifndef __powerpc64__
19944 #endif
19945 _ACEOF
19946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19947 $EGREP "yes" >/dev/null 2>&1; then :
19948 ac_cv_cpp_def___powerpc64__=yes
19949 else
19950 ac_cv_cpp_def___powerpc64__=no
19952 rm -f conftest*
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19956 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19957 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19958 CFLAGS="$CFLAGS -D__powerpc64__"
19959 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19960 fi ;;
19961 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19962 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19963 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19964 $as_echo_n "(cached) " >&6
19965 else
19966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967 /* end confdefs.h. */
19968 #ifndef __powerpc__
19970 #endif
19971 _ACEOF
19972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19973 $EGREP "yes" >/dev/null 2>&1; then :
19974 ac_cv_cpp_def___powerpc__=yes
19975 else
19976 ac_cv_cpp_def___powerpc__=no
19978 rm -f conftest*
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19982 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19983 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19984 CFLAGS="$CFLAGS -D__powerpc__"
19985 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19986 fi ;;
19987 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19988 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19989 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19990 $as_echo_n "(cached) " >&6
19991 else
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19994 #ifndef __aarch64__
19996 #endif
19997 _ACEOF
19998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19999 $EGREP "yes" >/dev/null 2>&1; then :
20000 ac_cv_cpp_def___aarch64__=yes
20001 else
20002 ac_cv_cpp_def___aarch64__=no
20004 rm -f conftest*
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20008 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20009 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20010 CFLAGS="$CFLAGS -D__aarch64__"
20011 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20012 fi ;;
20013 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20014 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20015 if ${ac_cv_cpp_def___arm__+:} false; then :
20016 $as_echo_n "(cached) " >&6
20017 else
20018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20019 /* end confdefs.h. */
20020 #ifndef __arm__
20022 #endif
20023 _ACEOF
20024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20025 $EGREP "yes" >/dev/null 2>&1; then :
20026 ac_cv_cpp_def___arm__=yes
20027 else
20028 ac_cv_cpp_def___arm__=no
20030 rm -f conftest*
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20034 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20035 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20036 CFLAGS="$CFLAGS -D__arm__"
20037 LINTFLAGS="$LINTFLAGS -D__arm__"
20038 fi ;;
20039 esac
20041 case $host_vendor in
20042 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20043 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20044 if ${ac_cv_cpp_def___sun__+:} false; then :
20045 $as_echo_n "(cached) " >&6
20046 else
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #ifndef __sun__
20051 #endif
20052 _ACEOF
20053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20054 $EGREP "yes" >/dev/null 2>&1; then :
20055 ac_cv_cpp_def___sun__=yes
20056 else
20057 ac_cv_cpp_def___sun__=no
20059 rm -f conftest*
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20063 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20064 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20065 CFLAGS="$CFLAGS -D__sun__"
20066 LINTFLAGS="$LINTFLAGS -D__sun__"
20067 fi ;;
20068 esac
20074 ac_config_commands="$ac_config_commands include/stamp-h"
20076 $as_echo_n "creating Makefile rules..." >&6
20078 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20079 OPENGL_LIBS = $OPENGL_LIBS
20080 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20081 IOKIT_LIBS = $IOKIT_LIBS
20082 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20083 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20084 CORESERVICES_LIBS = $CORESERVICES_LIBS
20085 APPKIT_LIBS = $APPKIT_LIBS
20086 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20087 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20088 SECURITY_LIBS = $SECURITY_LIBS
20089 COREAUDIO_LIBS = $COREAUDIO_LIBS
20090 OPENAL_LIBS = $OPENAL_LIBS
20091 OPENCL_LIBS = $OPENCL_LIBS
20092 QUICKTIME_LIBS = $QUICKTIME_LIBS
20093 CARBON_LIBS = $CARBON_LIBS
20094 METAL_LIBS = $METAL_LIBS
20095 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20096 PTHREAD_LIBS = $PTHREAD_LIBS
20097 X_CFLAGS = $X_CFLAGS
20098 X_PRE_LIBS = $X_PRE_LIBS
20099 X_LIBS = $X_LIBS
20100 X_EXTRA_LIBS = $X_EXTRA_LIBS
20101 PCAP_LIBS = $PCAP_LIBS
20102 XML2_CFLAGS = $XML2_CFLAGS
20103 XML2_LIBS = $XML2_LIBS
20104 XSLT_CFLAGS = $XSLT_CFLAGS
20105 XSLT_LIBS = $XSLT_LIBS
20106 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20107 INOTIFY_LIBS = $INOTIFY_LIBS
20108 DBUS_CFLAGS = $DBUS_CFLAGS
20109 DBUS_LIBS = $DBUS_LIBS
20110 HAL_CFLAGS = $HAL_CFLAGS
20111 HAL_LIBS = $HAL_LIBS
20112 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20113 GNUTLS_LIBS = $GNUTLS_LIBS
20114 SANE_CFLAGS = $SANE_CFLAGS
20115 SANE_LIBS = $SANE_LIBS
20116 USB_CFLAGS = $USB_CFLAGS
20117 USB_LIBS = $USB_LIBS
20118 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20119 GPHOTO2_LIBS = $GPHOTO2_LIBS
20120 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20121 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20122 RESOLV_LIBS = $RESOLV_LIBS
20123 LCMS2_CFLAGS = $LCMS2_CFLAGS
20124 LCMS2_LIBS = $LCMS2_LIBS
20125 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20126 FREETYPE_LIBS = $FREETYPE_LIBS
20127 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20128 PULSE_CFLAGS = $PULSE_CFLAGS
20129 PULSE_LIBS = $PULSE_LIBS
20130 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20131 GSTREAMER_LIBS = $GSTREAMER_LIBS
20132 ALSA_LIBS = $ALSA_LIBS
20133 OSS4_CFLAGS = $OSS4_CFLAGS
20134 OSS4_LIBS = $OSS4_LIBS
20135 UDEV_CFLAGS = $UDEV_CFLAGS
20136 UDEV_LIBS = $UDEV_LIBS
20137 UNWIND_CFLAGS = $UNWIND_CFLAGS
20138 UNWIND_LIBS = $UNWIND_LIBS
20139 SDL2_CFLAGS = $SDL2_CFLAGS
20140 SDL2_LIBS = $SDL2_LIBS
20141 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20142 FAUDIO_LIBS = $FAUDIO_LIBS
20143 CAPI20_CFLAGS = $CAPI20_CFLAGS
20144 CAPI20_LIBS = $CAPI20_LIBS
20145 CUPS_CFLAGS = $CUPS_CFLAGS
20146 CUPS_LIBS = $CUPS_LIBS
20147 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20148 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20149 KRB5_CFLAGS = $KRB5_CFLAGS
20150 KRB5_LIBS = $KRB5_LIBS
20151 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20152 GSSAPI_LIBS = $GSSAPI_LIBS
20153 JPEG_CFLAGS = $JPEG_CFLAGS
20154 JPEG_LIBS = $JPEG_LIBS
20155 PNG_CFLAGS = $PNG_CFLAGS
20156 PNG_LIBS = $PNG_LIBS
20157 TIFF_CFLAGS = $TIFF_CFLAGS
20158 TIFF_LIBS = $TIFF_LIBS
20159 MPG123_CFLAGS = $MPG123_CFLAGS
20160 MPG123_LIBS = $MPG123_LIBS
20161 KSTAT_LIBS = $KSTAT_LIBS
20162 PROCSTAT_LIBS = $PROCSTAT_LIBS
20163 NETAPI_CFLAGS = $NETAPI_CFLAGS
20164 NETAPI_LIBS = $NETAPI_LIBS
20165 VKD3D_CFLAGS = $VKD3D_CFLAGS
20166 VKD3D_LIBS = $VKD3D_LIBS
20167 POLL_LIBS = $POLL_LIBS
20168 RT_LIBS = $RT_LIBS
20169 LDAP_CFLAGS = $LDAP_CFLAGS
20170 LDAP_LIBS = $LDAP_LIBS
20175 wine_fn_append_rule "
20176 # Rules automatically generated by configure
20178 .INIT: Makefile
20179 .MAKEFILEDEPS:
20180 all: Makefile
20181 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20182 @./config.status Make.tmp Makefile
20183 depend: \$(MAKEDEP) dummy
20184 \$(MAKEDEP)"
20186 ac_config_links="$ac_config_links wine:tools/winewrapper"
20187 wine_fn_config_symlink wine
20188 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20189 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20190 wine_fn_config_symlink wine64
20193 wine_fn_config_makefile dlls/acledit enable_acledit
20194 wine_fn_config_makefile dlls/aclui enable_aclui
20195 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20196 wine_fn_config_makefile dlls/activeds enable_activeds
20197 wine_fn_config_makefile dlls/activeds/tests enable_tests
20198 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20199 wine_fn_config_makefile dlls/adsiid enable_adsiid
20200 wine_fn_config_makefile dlls/adsldp enable_adsldp
20201 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20202 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20203 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20204 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20205 wine_fn_config_makefile dlls/advpack enable_advpack
20206 wine_fn_config_makefile dlls/advpack/tests enable_tests
20207 wine_fn_config_makefile dlls/amsi enable_amsi
20208 wine_fn_config_makefile dlls/amstream enable_amstream
20209 wine_fn_config_makefile dlls/amstream/tests enable_tests
20210 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20213 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20215 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20220 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20235 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20236 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20242 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20245 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20265 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20277 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20289 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20290 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20317 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20319 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20320 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20335 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20336 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20343 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20362 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20363 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20382 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20393 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20397 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20399 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20401 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20402 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20407 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20409 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20415 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20418 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20420 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20422 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20426 wine_fn_config_makefile dlls/apphelp enable_apphelp
20427 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20428 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20429 wine_fn_config_makefile dlls/atl enable_atl
20430 wine_fn_config_makefile dlls/atl/tests enable_tests
20431 wine_fn_config_makefile dlls/atl100 enable_atl100
20432 wine_fn_config_makefile dlls/atl100/tests enable_tests
20433 wine_fn_config_makefile dlls/atl110 enable_atl110
20434 wine_fn_config_makefile dlls/atl80 enable_atl80
20435 wine_fn_config_makefile dlls/atl80/tests enable_tests
20436 wine_fn_config_makefile dlls/atl90 enable_atl90
20437 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20438 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20439 wine_fn_config_makefile dlls/atmlib enable_atmlib
20440 wine_fn_config_makefile dlls/authz enable_authz
20441 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20442 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20443 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20444 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20445 wine_fn_config_makefile dlls/avrt enable_avrt
20446 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20447 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20448 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20449 wine_fn_config_makefile dlls/browseui enable_browseui
20450 wine_fn_config_makefile dlls/browseui/tests enable_tests
20451 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20452 wine_fn_config_makefile dlls/cabinet enable_cabinet
20453 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20454 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20455 wine_fn_config_makefile dlls/cards enable_cards
20456 wine_fn_config_makefile dlls/cdosys enable_cdosys
20457 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20458 wine_fn_config_makefile dlls/clusapi enable_clusapi
20459 wine_fn_config_makefile dlls/combase enable_combase
20460 wine_fn_config_makefile dlls/combase/tests enable_tests
20461 wine_fn_config_makefile dlls/comcat enable_comcat
20462 wine_fn_config_makefile dlls/comcat/tests enable_tests
20463 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20464 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20465 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20466 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20467 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20468 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20469 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20470 wine_fn_config_makefile dlls/compstui enable_compstui
20471 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20472 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20473 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20474 wine_fn_config_makefile dlls/connect enable_connect
20475 wine_fn_config_makefile dlls/credui enable_credui
20476 wine_fn_config_makefile dlls/credui/tests enable_tests
20477 wine_fn_config_makefile dlls/crtdll enable_crtdll
20478 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20479 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20480 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20481 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20482 wine_fn_config_makefile dlls/cryptext enable_cryptext
20483 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20484 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20485 wine_fn_config_makefile dlls/cryptui enable_cryptui
20486 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20487 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20488 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20489 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20490 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20491 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20492 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20493 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20494 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20495 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20496 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20497 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20498 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20499 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20500 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20501 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20502 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20503 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20504 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20505 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20506 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20507 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20508 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20509 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20510 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20511 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20512 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20513 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20514 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20515 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20516 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20517 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20518 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20519 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20520 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20521 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20522 wine_fn_config_makefile dlls/d3dim enable_d3dim
20523 wine_fn_config_makefile dlls/d3drm enable_d3drm
20524 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20525 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20526 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20527 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20528 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20529 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20530 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20531 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20532 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20533 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20534 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20535 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20536 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20537 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20538 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20539 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20540 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20541 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20542 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20543 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20544 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20545 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20546 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20547 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20548 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20549 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20550 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20551 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20552 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20553 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20554 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20555 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20556 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20557 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20558 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20559 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20560 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20561 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20562 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20563 wine_fn_config_makefile dlls/davclnt enable_davclnt
20564 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20565 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20566 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20567 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20568 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20569 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20570 wine_fn_config_makefile dlls/ddraw enable_ddraw
20571 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20572 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20573 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20574 wine_fn_config_makefile dlls/devenum enable_devenum
20575 wine_fn_config_makefile dlls/devenum/tests enable_tests
20576 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20577 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20578 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20579 wine_fn_config_makefile dlls/difxapi enable_difxapi
20580 wine_fn_config_makefile dlls/dinput enable_dinput
20581 wine_fn_config_makefile dlls/dinput/tests enable_tests
20582 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20583 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20584 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20585 wine_fn_config_makefile dlls/dispex enable_dispex
20586 wine_fn_config_makefile dlls/dispex/tests enable_tests
20587 wine_fn_config_makefile dlls/display.drv16 enable_win16
20588 wine_fn_config_makefile dlls/dmband enable_dmband
20589 wine_fn_config_makefile dlls/dmband/tests enable_tests
20590 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20591 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20592 wine_fn_config_makefile dlls/dmime enable_dmime
20593 wine_fn_config_makefile dlls/dmime/tests enable_tests
20594 wine_fn_config_makefile dlls/dmloader enable_dmloader
20595 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20596 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20597 wine_fn_config_makefile dlls/dmscript enable_dmscript
20598 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20599 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20600 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20601 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20602 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20603 wine_fn_config_makefile dlls/dmusic enable_dmusic
20604 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20605 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20606 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20607 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20608 wine_fn_config_makefile dlls/dplay enable_dplay
20609 wine_fn_config_makefile dlls/dplayx enable_dplayx
20610 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20611 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20612 wine_fn_config_makefile dlls/dpnet enable_dpnet
20613 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20614 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20615 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20616 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20617 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20618 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20619 wine_fn_config_makefile dlls/drmclien enable_drmclien
20620 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20621 wine_fn_config_makefile dlls/dsound enable_dsound
20622 wine_fn_config_makefile dlls/dsound/tests enable_tests
20623 wine_fn_config_makefile dlls/dsquery enable_dsquery
20624 wine_fn_config_makefile dlls/dssenh enable_dssenh
20625 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20626 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20627 wine_fn_config_makefile dlls/dswave enable_dswave
20628 wine_fn_config_makefile dlls/dswave/tests enable_tests
20629 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20630 wine_fn_config_makefile dlls/dwrite enable_dwrite
20631 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20632 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20633 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20634 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20635 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20636 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20637 wine_fn_config_makefile dlls/dxgi enable_dxgi
20638 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20639 wine_fn_config_makefile dlls/dxguid enable_dxguid
20640 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20641 wine_fn_config_makefile dlls/esent enable_esent
20642 wine_fn_config_makefile dlls/evr enable_evr
20643 wine_fn_config_makefile dlls/evr/tests enable_tests
20644 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20645 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20646 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20647 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20648 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20649 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20650 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20651 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20652 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20653 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20654 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20655 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20656 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20657 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20658 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20659 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20660 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20661 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20662 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20663 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20664 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20665 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20666 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20667 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20668 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20669 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20670 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20671 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20672 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20673 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20674 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20675 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20676 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20677 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20678 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20679 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20680 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20681 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20682 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20683 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20684 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20685 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20686 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
20687 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20688 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20689 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20690 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20691 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20692 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20693 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20694 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20695 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20697 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20698 wine_fn_config_makefile dlls/faultrep enable_faultrep
20699 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20700 wine_fn_config_makefile dlls/feclient enable_feclient
20701 wine_fn_config_makefile dlls/fltlib enable_fltlib
20702 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20703 wine_fn_config_makefile dlls/fntcache enable_fntcache
20704 wine_fn_config_makefile dlls/fontsub enable_fontsub
20705 wine_fn_config_makefile dlls/fusion enable_fusion
20706 wine_fn_config_makefile dlls/fusion/tests enable_tests
20707 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20708 wine_fn_config_makefile dlls/gameux enable_gameux
20709 wine_fn_config_makefile dlls/gameux/tests enable_tests
20710 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20711 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20712 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20713 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20714 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20715 wine_fn_config_makefile dlls/glu32 enable_glu32
20716 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20717 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20718 wine_fn_config_makefile dlls/hal enable_hal
20719 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20720 wine_fn_config_makefile dlls/hid enable_hid
20721 wine_fn_config_makefile dlls/hid/tests enable_tests
20722 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20723 wine_fn_config_makefile dlls/hlink enable_hlink
20724 wine_fn_config_makefile dlls/hlink/tests enable_tests
20725 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20726 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20727 wine_fn_config_makefile dlls/http.sys enable_http_sys
20728 wine_fn_config_makefile dlls/httpapi enable_httpapi
20729 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20730 wine_fn_config_makefile dlls/iccvid enable_iccvid
20731 wine_fn_config_makefile dlls/icmp enable_icmp
20732 wine_fn_config_makefile dlls/ieframe enable_ieframe
20733 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20734 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20735 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20736 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20737 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20738 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20739 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20740 wine_fn_config_makefile dlls/imm32 enable_imm32
20741 wine_fn_config_makefile dlls/imm32/tests enable_tests
20742 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20743 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20744 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20745 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20746 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20747 wine_fn_config_makefile dlls/infosoft enable_infosoft
20748 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20749 wine_fn_config_makefile dlls/initpki enable_initpki
20750 wine_fn_config_makefile dlls/inkobj enable_inkobj
20751 wine_fn_config_makefile dlls/inseng enable_inseng
20752 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20753 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20754 wine_fn_config_makefile dlls/iprop enable_iprop
20755 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20756 wine_fn_config_makefile dlls/itircl enable_itircl
20757 wine_fn_config_makefile dlls/itss enable_itss
20758 wine_fn_config_makefile dlls/itss/tests enable_tests
20759 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20760 wine_fn_config_makefile dlls/jscript enable_jscript
20761 wine_fn_config_makefile dlls/jscript/tests enable_tests
20762 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20763 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20764 wine_fn_config_makefile dlls/kerberos enable_kerberos
20765 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20766 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20767 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20768 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20769 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20770 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20771 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20772 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20773 wine_fn_config_makefile dlls/ksuser enable_ksuser
20774 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20775 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20776 wine_fn_config_makefile dlls/loadperf enable_loadperf
20777 wine_fn_config_makefile dlls/localspl enable_localspl
20778 wine_fn_config_makefile dlls/localspl/tests enable_tests
20779 wine_fn_config_makefile dlls/localui enable_localui
20780 wine_fn_config_makefile dlls/localui/tests enable_tests
20781 wine_fn_config_makefile dlls/lz32 enable_lz32
20782 wine_fn_config_makefile dlls/lz32/tests enable_tests
20783 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20784 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20785 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20786 wine_fn_config_makefile dlls/mapistub enable_mapistub
20787 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20788 wine_fn_config_makefile dlls/mcicda enable_mcicda
20789 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20790 wine_fn_config_makefile dlls/mciseq enable_mciseq
20791 wine_fn_config_makefile dlls/mciwave enable_mciwave
20792 wine_fn_config_makefile dlls/mf enable_mf
20793 wine_fn_config_makefile dlls/mf/tests enable_tests
20794 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20795 wine_fn_config_makefile dlls/mferror enable_mferror
20796 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20797 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20798 wine_fn_config_makefile dlls/mfplat enable_mfplat
20799 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20800 wine_fn_config_makefile dlls/mfplay enable_mfplay
20801 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20802 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20803 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20804 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20805 wine_fn_config_makefile dlls/midimap enable_midimap
20806 wine_fn_config_makefile dlls/mlang enable_mlang
20807 wine_fn_config_makefile dlls/mlang/tests enable_tests
20808 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20809 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20810 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20811 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20812 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20813 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20814 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20815 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20816 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20817 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20818 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20819 wine_fn_config_makefile dlls/mpr enable_mpr
20820 wine_fn_config_makefile dlls/mpr/tests enable_tests
20821 wine_fn_config_makefile dlls/mprapi enable_mprapi
20822 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20823 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20824 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20825 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20826 wine_fn_config_makefile dlls/msado15 enable_msado15
20827 wine_fn_config_makefile dlls/msado15/tests enable_tests
20828 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20829 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20830 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20831 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20832 wine_fn_config_makefile dlls/mscms enable_mscms
20833 wine_fn_config_makefile dlls/mscms/tests enable_tests
20834 wine_fn_config_makefile dlls/mscoree enable_mscoree
20835 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20836 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20837 wine_fn_config_makefile dlls/msctf enable_msctf
20838 wine_fn_config_makefile dlls/msctf/tests enable_tests
20839 wine_fn_config_makefile dlls/msctfp enable_msctfp
20840 wine_fn_config_makefile dlls/msdaps enable_msdaps
20841 wine_fn_config_makefile dlls/msdelta enable_msdelta
20842 wine_fn_config_makefile dlls/msdmo enable_msdmo
20843 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20844 wine_fn_config_makefile dlls/msdrm enable_msdrm
20845 wine_fn_config_makefile dlls/msftedit enable_msftedit
20846 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20847 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20848 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20849 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20850 wine_fn_config_makefile dlls/mshtml enable_mshtml
20851 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20852 wine_fn_config_makefile dlls/msi enable_msi
20853 wine_fn_config_makefile dlls/msi/tests enable_tests
20854 wine_fn_config_makefile dlls/msident enable_msident
20855 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20856 wine_fn_config_makefile dlls/msimsg enable_msimsg
20857 wine_fn_config_makefile dlls/msimtf enable_msimtf
20858 wine_fn_config_makefile dlls/msisip enable_msisip
20859 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20860 wine_fn_config_makefile dlls/msls31 enable_msls31
20861 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20862 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20863 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20864 wine_fn_config_makefile dlls/msports enable_msports
20865 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20866 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20867 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20868 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20869 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20870 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20871 wine_fn_config_makefile dlls/mstask enable_mstask
20872 wine_fn_config_makefile dlls/mstask/tests enable_tests
20873 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20874 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20875 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20876 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20877 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20878 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20879 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20880 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20881 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20882 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20883 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20884 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20885 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20886 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20887 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20888 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20889 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20890 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20891 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20892 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20893 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20894 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20895 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20896 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20897 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20898 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20899 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20900 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20901 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20902 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20903 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20904 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20905 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20906 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20907 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20908 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20909 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20910 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20911 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20912 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20913 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20914 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20915 wine_fn_config_makefile dlls/mswsock enable_mswsock
20916 wine_fn_config_makefile dlls/msxml enable_msxml
20917 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20918 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20919 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20920 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20921 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20922 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20923 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20924 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20925 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20926 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20927 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20928 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20929 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20930 wine_fn_config_makefile dlls/netprofm enable_netprofm
20931 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20932 wine_fn_config_makefile dlls/newdev enable_newdev
20933 wine_fn_config_makefile dlls/ninput enable_ninput
20934 wine_fn_config_makefile dlls/ninput/tests enable_tests
20935 wine_fn_config_makefile dlls/normaliz enable_normaliz
20936 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20937 wine_fn_config_makefile dlls/npptools enable_npptools
20938 wine_fn_config_makefile dlls/ntdll enable_ntdll
20939 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20940 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20941 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20942 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20943 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20944 wine_fn_config_makefile dlls/ntprint enable_ntprint
20945 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20946 wine_fn_config_makefile dlls/objsel enable_objsel
20947 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20948 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20949 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20950 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20951 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20952 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20953 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20954 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20955 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20956 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20957 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20958 wine_fn_config_makefile dlls/ole32 enable_ole32
20959 wine_fn_config_makefile dlls/ole32/tests enable_tests
20960 wine_fn_config_makefile dlls/oleacc enable_oleacc
20961 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20962 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20963 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20964 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20965 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20966 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20967 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20968 wine_fn_config_makefile dlls/oledlg enable_oledlg
20969 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20970 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20971 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20972 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20973 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20974 wine_fn_config_makefile dlls/opcservices enable_opcservices
20975 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20976 wine_fn_config_makefile dlls/openal32 enable_openal32
20977 wine_fn_config_makefile dlls/opencl enable_opencl
20978 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20979 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20980 wine_fn_config_makefile dlls/packager enable_packager
20981 wine_fn_config_makefile dlls/packager/tests enable_tests
20982 wine_fn_config_makefile dlls/pdh enable_pdh
20983 wine_fn_config_makefile dlls/pdh/tests enable_tests
20984 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20985 wine_fn_config_makefile dlls/pidgen enable_pidgen
20986 wine_fn_config_makefile dlls/powrprof enable_powrprof
20987 wine_fn_config_makefile dlls/printui enable_printui
20988 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20989 wine_fn_config_makefile dlls/propsys enable_propsys
20990 wine_fn_config_makefile dlls/propsys/tests enable_tests
20991 wine_fn_config_makefile dlls/psapi enable_psapi
20992 wine_fn_config_makefile dlls/psapi/tests enable_tests
20993 wine_fn_config_makefile dlls/pstorec enable_pstorec
20994 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20995 wine_fn_config_makefile dlls/qasf enable_qasf
20996 wine_fn_config_makefile dlls/qasf/tests enable_tests
20997 wine_fn_config_makefile dlls/qcap enable_qcap
20998 wine_fn_config_makefile dlls/qcap/tests enable_tests
20999 wine_fn_config_makefile dlls/qdvd enable_qdvd
21000 wine_fn_config_makefile dlls/qedit enable_qedit
21001 wine_fn_config_makefile dlls/qedit/tests enable_tests
21002 wine_fn_config_makefile dlls/qmgr enable_qmgr
21003 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21004 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21005 wine_fn_config_makefile dlls/quartz enable_quartz
21006 wine_fn_config_makefile dlls/quartz/tests enable_tests
21007 wine_fn_config_makefile dlls/query enable_query
21008 wine_fn_config_makefile dlls/qwave enable_qwave
21009 wine_fn_config_makefile dlls/qwave/tests enable_tests
21010 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21011 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21012 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21013 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21014 wine_fn_config_makefile dlls/regapi enable_regapi
21015 wine_fn_config_makefile dlls/resutils enable_resutils
21016 wine_fn_config_makefile dlls/riched20 enable_riched20
21017 wine_fn_config_makefile dlls/riched20/tests enable_tests
21018 wine_fn_config_makefile dlls/riched32 enable_riched32
21019 wine_fn_config_makefile dlls/riched32/tests enable_tests
21020 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21021 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21022 wine_fn_config_makefile dlls/rsabase enable_rsabase
21023 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21024 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21025 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21026 wine_fn_config_makefile dlls/rtutils enable_rtutils
21027 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21028 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21029 wine_fn_config_makefile dlls/samlib enable_samlib
21030 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21031 wine_fn_config_makefile dlls/sapi enable_sapi
21032 wine_fn_config_makefile dlls/sapi/tests enable_tests
21033 wine_fn_config_makefile dlls/sas enable_sas
21034 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21035 wine_fn_config_makefile dlls/sccbase enable_sccbase
21036 wine_fn_config_makefile dlls/schannel enable_schannel
21037 wine_fn_config_makefile dlls/schannel/tests enable_tests
21038 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21039 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21040 wine_fn_config_makefile dlls/scrobj enable_scrobj
21041 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21042 wine_fn_config_makefile dlls/scrrun enable_scrrun
21043 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21044 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21045 wine_fn_config_makefile dlls/sechost enable_sechost
21046 wine_fn_config_makefile dlls/secur32 enable_secur32
21047 wine_fn_config_makefile dlls/secur32/tests enable_tests
21048 wine_fn_config_makefile dlls/security enable_security
21049 wine_fn_config_makefile dlls/sensapi enable_sensapi
21050 wine_fn_config_makefile dlls/serialui enable_serialui
21051 wine_fn_config_makefile dlls/serialui/tests enable_tests
21052 wine_fn_config_makefile dlls/setupapi enable_setupapi
21053 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21054 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21055 wine_fn_config_makefile dlls/sfc enable_sfc
21056 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21057 wine_fn_config_makefile dlls/shcore enable_shcore
21058 wine_fn_config_makefile dlls/shcore/tests enable_tests
21059 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21060 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21061 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21062 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21063 wine_fn_config_makefile dlls/shell32 enable_shell32
21064 wine_fn_config_makefile dlls/shell32/tests enable_tests
21065 wine_fn_config_makefile dlls/shfolder enable_shfolder
21066 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21067 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21068 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21069 wine_fn_config_makefile dlls/slc enable_slc
21070 wine_fn_config_makefile dlls/slc/tests enable_tests
21071 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21072 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21073 wine_fn_config_makefile dlls/softpub enable_softpub
21074 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21075 wine_fn_config_makefile dlls/spoolss enable_spoolss
21076 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21077 wine_fn_config_makefile dlls/srclient enable_srclient
21078 wine_fn_config_makefile dlls/sspicli enable_sspicli
21079 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21080 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21081 wine_fn_config_makefile dlls/sti enable_sti
21082 wine_fn_config_makefile dlls/sti/tests enable_tests
21083 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21084 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21085 wine_fn_config_makefile dlls/strmbase enable_strmbase
21086 wine_fn_config_makefile dlls/strmdll enable_strmdll
21087 wine_fn_config_makefile dlls/strmiids enable_strmiids
21088 wine_fn_config_makefile dlls/svrapi enable_svrapi
21089 wine_fn_config_makefile dlls/sxs enable_sxs
21090 wine_fn_config_makefile dlls/sxs/tests enable_tests
21091 wine_fn_config_makefile dlls/system.drv16 enable_win16
21092 wine_fn_config_makefile dlls/t2embed enable_t2embed
21093 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21094 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21095 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21096 wine_fn_config_makefile dlls/taskschd enable_taskschd
21097 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21098 wine_fn_config_makefile dlls/tdh enable_tdh
21099 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21100 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21101 wine_fn_config_makefile dlls/traffic enable_traffic
21102 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21103 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21104 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21105 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21106 wine_fn_config_makefile dlls/tzres enable_tzres
21107 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21108 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21109 wine_fn_config_makefile dlls/uianimation enable_uianimation
21110 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21111 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21112 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21113 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21114 wine_fn_config_makefile dlls/unicows enable_unicows
21115 wine_fn_config_makefile dlls/updspapi enable_updspapi
21116 wine_fn_config_makefile dlls/url enable_url
21117 wine_fn_config_makefile dlls/urlmon enable_urlmon
21118 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21119 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21120 wine_fn_config_makefile dlls/user.exe16 enable_win16
21121 wine_fn_config_makefile dlls/user32 enable_user32
21122 wine_fn_config_makefile dlls/user32/tests enable_tests
21123 wine_fn_config_makefile dlls/userenv enable_userenv
21124 wine_fn_config_makefile dlls/userenv/tests enable_tests
21125 wine_fn_config_makefile dlls/usp10 enable_usp10
21126 wine_fn_config_makefile dlls/usp10/tests enable_tests
21127 wine_fn_config_makefile dlls/utildll enable_utildll
21128 wine_fn_config_makefile dlls/uuid enable_uuid
21129 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21130 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21131 wine_fn_config_makefile dlls/vbscript enable_vbscript
21132 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21133 wine_fn_config_makefile dlls/vcomp enable_vcomp
21134 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21135 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21136 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21137 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21138 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21139 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21140 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21141 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21142 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21143 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21144 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21145 wine_fn_config_makefile dlls/version enable_version
21146 wine_fn_config_makefile dlls/version/tests enable_tests
21147 wine_fn_config_makefile dlls/vga enable_vga
21148 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21149 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21150 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21151 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21152 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21153 wine_fn_config_makefile dlls/vssapi enable_vssapi
21154 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21155 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21156 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21157 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21158 wine_fn_config_makefile dlls/w32skrnl enable_win16
21159 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21160 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21161 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21162 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21163 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21164 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21165 wine_fn_config_makefile dlls/wdscore enable_wdscore
21166 wine_fn_config_makefile dlls/webservices enable_webservices
21167 wine_fn_config_makefile dlls/webservices/tests enable_tests
21168 wine_fn_config_makefile dlls/wer enable_wer
21169 wine_fn_config_makefile dlls/wer/tests enable_tests
21170 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21171 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21172 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21173 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21174 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21175 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21176 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21177 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21178 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21179 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21180 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21181 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21182 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21183 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21184 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21185 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21186 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21187 wine_fn_config_makefile dlls/wined3d enable_wined3d
21188 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21189 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21190 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21191 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21192 wine_fn_config_makefile dlls/winemapi enable_winemapi
21193 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21194 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21195 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21196 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21197 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21198 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21199 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21200 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21201 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21202 wine_fn_config_makefile dlls/wing32 enable_wing32
21203 wine_fn_config_makefile dlls/winhttp enable_winhttp
21204 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21205 wine_fn_config_makefile dlls/wininet enable_wininet
21206 wine_fn_config_makefile dlls/wininet/tests enable_tests
21207 wine_fn_config_makefile dlls/winmm enable_winmm
21208 wine_fn_config_makefile dlls/winmm/tests enable_tests
21209 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21210 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21211 wine_fn_config_makefile dlls/winscard enable_winscard
21212 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21213 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21214 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21215 wine_fn_config_makefile dlls/winsta enable_winsta
21216 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21217 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21218 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21219 wine_fn_config_makefile dlls/wintrust enable_wintrust
21220 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21221 wine_fn_config_makefile dlls/winusb enable_winusb
21222 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21223 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21224 wine_fn_config_makefile dlls/wlanui enable_wlanui
21225 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21226 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21227 wine_fn_config_makefile dlls/wmasf enable_wmasf
21228 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21229 wine_fn_config_makefile dlls/wmi enable_wmi
21230 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21231 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21232 wine_fn_config_makefile dlls/wmp enable_wmp
21233 wine_fn_config_makefile dlls/wmp/tests enable_tests
21234 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21235 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21236 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21237 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21238 wine_fn_config_makefile dlls/wow32 enable_win16
21239 wine_fn_config_makefile dlls/wpc enable_wpc
21240 wine_fn_config_makefile dlls/wpc/tests enable_tests
21241 wine_fn_config_makefile dlls/wpcap enable_wpcap
21242 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21243 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21244 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21245 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21246 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21247 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21248 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21249 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21250 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21251 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21252 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21253 wine_fn_config_makefile dlls/wuapi enable_wuapi
21254 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21255 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21256 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21257 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21258 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21259 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21260 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21261 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21262 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21263 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21264 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21265 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21266 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21267 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21268 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21269 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21270 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21271 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21272 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21273 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21274 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21275 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21276 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21277 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21278 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21279 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21280 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21281 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21282 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21283 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21284 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21285 wine_fn_config_makefile dlls/xmllite enable_xmllite
21286 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21287 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21288 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21289 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21290 wine_fn_config_makefile fonts enable_fonts
21291 wine_fn_config_makefile include enable_include
21292 wine_fn_config_makefile libs/port enable_port
21293 wine_fn_config_makefile libs/wine enable_wine
21294 wine_fn_config_makefile libs/wpp enable_wpp
21295 wine_fn_config_makefile loader enable_loader
21296 wine_fn_config_makefile nls enable_nls
21297 wine_fn_config_makefile po enable_po
21298 wine_fn_config_makefile programs/arp enable_arp
21299 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21300 wine_fn_config_makefile programs/attrib enable_attrib
21301 wine_fn_config_makefile programs/cabarc enable_cabarc
21302 wine_fn_config_makefile programs/cacls enable_cacls
21303 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21304 wine_fn_config_makefile programs/clock enable_clock
21305 wine_fn_config_makefile programs/cmd enable_cmd
21306 wine_fn_config_makefile programs/cmd/tests enable_tests
21307 wine_fn_config_makefile programs/conhost enable_conhost
21308 wine_fn_config_makefile programs/control enable_control
21309 wine_fn_config_makefile programs/cscript enable_cscript
21310 wine_fn_config_makefile programs/dism enable_dism
21311 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21312 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21313 wine_fn_config_makefile programs/eject enable_eject
21314 wine_fn_config_makefile programs/expand enable_expand
21315 wine_fn_config_makefile programs/explorer enable_explorer
21316 wine_fn_config_makefile programs/extrac32 enable_extrac32
21317 wine_fn_config_makefile programs/fc enable_fc
21318 wine_fn_config_makefile programs/find enable_find
21319 wine_fn_config_makefile programs/find/tests enable_tests
21320 wine_fn_config_makefile programs/findstr enable_findstr
21321 wine_fn_config_makefile programs/fsutil enable_fsutil
21322 wine_fn_config_makefile programs/hh enable_hh
21323 wine_fn_config_makefile programs/hostname enable_hostname
21324 wine_fn_config_makefile programs/icacls enable_icacls
21325 wine_fn_config_makefile programs/icinfo enable_icinfo
21326 wine_fn_config_makefile programs/iexplore enable_iexplore
21327 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21328 wine_fn_config_makefile programs/lodctr enable_lodctr
21329 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21330 wine_fn_config_makefile programs/mshta enable_mshta
21331 wine_fn_config_makefile programs/msidb enable_msidb
21332 wine_fn_config_makefile programs/msiexec enable_msiexec
21333 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21334 wine_fn_config_makefile programs/net enable_net
21335 wine_fn_config_makefile programs/netsh enable_netsh
21336 wine_fn_config_makefile programs/netstat enable_netstat
21337 wine_fn_config_makefile programs/ngen enable_ngen
21338 wine_fn_config_makefile programs/notepad enable_notepad
21339 wine_fn_config_makefile programs/oleview enable_oleview
21340 wine_fn_config_makefile programs/ping enable_ping
21341 wine_fn_config_makefile programs/plugplay enable_plugplay
21342 wine_fn_config_makefile programs/powershell enable_powershell
21343 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21344 wine_fn_config_makefile programs/progman enable_progman
21345 wine_fn_config_makefile programs/reg enable_reg
21346 wine_fn_config_makefile programs/reg/tests enable_tests
21347 wine_fn_config_makefile programs/regasm enable_regasm
21348 wine_fn_config_makefile programs/regedit enable_regedit
21349 wine_fn_config_makefile programs/regedit/tests enable_tests
21350 wine_fn_config_makefile programs/regini enable_regini
21351 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21352 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21353 wine_fn_config_makefile programs/rpcss enable_rpcss
21354 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21355 wine_fn_config_makefile programs/rundll32 enable_rundll32
21356 wine_fn_config_makefile programs/sc enable_sc
21357 wine_fn_config_makefile programs/schtasks enable_schtasks
21358 wine_fn_config_makefile programs/schtasks/tests enable_tests
21359 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21360 wine_fn_config_makefile programs/secedit enable_secedit
21361 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21362 wine_fn_config_makefile programs/services enable_services
21363 wine_fn_config_makefile programs/services/tests enable_tests
21364 wine_fn_config_makefile programs/shutdown enable_shutdown
21365 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21366 wine_fn_config_makefile programs/start enable_start
21367 wine_fn_config_makefile programs/subst enable_subst
21368 wine_fn_config_makefile programs/svchost enable_svchost
21369 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21370 wine_fn_config_makefile programs/taskkill enable_taskkill
21371 wine_fn_config_makefile programs/tasklist enable_tasklist
21372 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21373 wine_fn_config_makefile programs/termsv enable_termsv
21374 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21375 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21376 wine_fn_config_makefile programs/view enable_view
21377 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21378 wine_fn_config_makefile programs/whoami enable_whoami
21379 wine_fn_config_makefile programs/wineboot enable_wineboot
21380 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21381 wine_fn_config_makefile programs/winecfg enable_winecfg
21382 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21383 wine_fn_config_makefile programs/winedbg enable_winedbg
21384 wine_fn_config_makefile programs/winedevice enable_winedevice
21385 wine_fn_config_makefile programs/winefile enable_winefile
21386 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21387 wine_fn_config_makefile programs/winemine enable_winemine
21388 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21389 wine_fn_config_makefile programs/winepath enable_winepath
21390 wine_fn_config_makefile programs/winetest enable_winetest
21391 wine_fn_config_makefile programs/winevdm enable_win16
21392 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21393 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21394 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21395 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21396 wine_fn_config_makefile programs/winver enable_winver
21397 wine_fn_config_makefile programs/wmic enable_wmic
21398 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21399 wine_fn_config_makefile programs/wordpad enable_wordpad
21400 wine_fn_config_makefile programs/write enable_write
21401 wine_fn_config_makefile programs/wscript enable_wscript
21402 wine_fn_config_makefile programs/wscript/tests enable_tests
21403 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21404 wine_fn_config_makefile programs/wusa enable_wusa
21405 wine_fn_config_makefile programs/xcopy enable_xcopy
21406 wine_fn_config_makefile programs/xcopy/tests enable_tests
21407 wine_fn_config_makefile server enable_server
21408 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21409 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21410 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21411 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21412 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21413 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21414 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21415 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21416 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21419 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21420 wine_fn_append_file CONFIGURE_TARGETS "tags"
21421 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21422 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21423 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21424 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21425 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21426 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21428 if test "x$enable_tools" != xno
21429 then
21430 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21431 ac_config_commands="$ac_config_commands tools/makedep"
21435 ac_config_commands="$ac_config_commands Makefile"
21438 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21442 if test "x$enable_maintainer_mode" = xyes
21443 then
21444 wine_fn_append_rule "configure: configure.ac aclocal.m4
21445 autoconf --warnings=all
21446 include/config.h.in: include/stamp-h.in
21447 include/stamp-h.in: configure.ac aclocal.m4
21448 autoheader --warnings=all
21449 @echo timestamp > \$@"
21452 if test "x$enable_tools" != xno
21453 then
21454 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21455 @./config.status tools/makedep
21456 Makefile: tools/makedep$ac_exeext
21457 fonts: tools/sfnt2fon
21458 include: tools tools/widl"
21459 else
21460 wine_fn_append_rule "\$(MAKEDEP):
21461 @echo \"You need to run make in $TOOLSDIR first\" && false"
21464 if test -n "$with_wine64"
21465 then
21466 case "$with_wine64" in
21467 /*) reldir="" ;;
21468 *) reldir="../" ;;
21469 esac
21470 rm -f fonts server 2>/dev/null
21471 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21472 loader/wine64 loader/wine64-preloader:
21473 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21474 $with_wine64/loader/wine:
21475 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21476 $with_wine64/loader/wine-preloader:
21477 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21478 clean::
21479 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21480 else
21481 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21482 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21483 fonts \
21484 loader/wine.inf \
21485 loader/winebus.inf \
21486 loader/winehid.inf \
21487 loader/wineusb.inf \
21488 nls \
21489 programs/msidb/msidb \
21490 programs/msiexec/msiexec \
21491 programs/notepad/notepad \
21492 programs/regedit/regedit \
21493 programs/regsvr32/regsvr32 \
21494 programs/wineboot/wineboot \
21495 programs/winecfg/winecfg \
21496 programs/wineconsole/wineconsole \
21497 programs/winedbg/winedbg \
21498 programs/winefile/winefile \
21499 programs/winemine/winemine \
21500 programs/winepath/winepath \
21501 server/wineserver"
21503 case $host_os in
21504 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21505 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21506 esac
21509 $as_echo " done" >&6
21510 cat >confcache <<\_ACEOF
21511 # This file is a shell script that caches the results of configure
21512 # tests run on this system so they can be shared between configure
21513 # scripts and configure runs, see configure's option --config-cache.
21514 # It is not useful on other systems. If it contains results you don't
21515 # want to keep, you may remove or edit it.
21517 # config.status only pays attention to the cache file if you give it
21518 # the --recheck option to rerun configure.
21520 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21521 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21522 # following values.
21524 _ACEOF
21526 # The following way of writing the cache mishandles newlines in values,
21527 # but we know of no workaround that is simple, portable, and efficient.
21528 # So, we kill variables containing newlines.
21529 # Ultrix sh set writes to stderr and can't be redirected directly,
21530 # and sets the high bit in the cache file unless we assign to the vars.
21532 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21533 eval ac_val=\$$ac_var
21534 case $ac_val in #(
21535 *${as_nl}*)
21536 case $ac_var in #(
21537 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21538 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21539 esac
21540 case $ac_var in #(
21541 _ | IFS | as_nl) ;; #(
21542 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21543 *) { eval $ac_var=; unset $ac_var;} ;;
21544 esac ;;
21545 esac
21546 done
21548 (set) 2>&1 |
21549 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21550 *${as_nl}ac_space=\ *)
21551 # `set' does not quote correctly, so add quotes: double-quote
21552 # substitution turns \\\\ into \\, and sed turns \\ into \.
21553 sed -n \
21554 "s/'/'\\\\''/g;
21555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21556 ;; #(
21558 # `set' quotes correctly as required by POSIX, so do not add quotes.
21559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21561 esac |
21562 sort
21564 sed '
21565 /^ac_cv_env_/b end
21566 t clear
21567 :clear
21568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21569 t end
21570 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21571 :end' >>confcache
21572 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21573 if test -w "$cache_file"; then
21574 if test "x$cache_file" != "x/dev/null"; then
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21576 $as_echo "$as_me: updating cache $cache_file" >&6;}
21577 if test ! -f "$cache_file" || test -h "$cache_file"; then
21578 cat confcache >"$cache_file"
21579 else
21580 case $cache_file in #(
21581 */* | ?:*)
21582 mv -f confcache "$cache_file"$$ &&
21583 mv -f "$cache_file"$$ "$cache_file" ;; #(
21585 mv -f confcache "$cache_file" ;;
21586 esac
21589 else
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21591 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21594 rm -f confcache
21596 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21597 # Let make expand exec_prefix.
21598 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21600 DEFS=-DHAVE_CONFIG_H
21602 ac_libobjs=
21603 ac_ltlibobjs=
21605 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21606 # 1. Remove the extension, and $U if already installed.
21607 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21608 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21609 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21610 # will be set to the directory where LIBOBJS objects are built.
21611 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21612 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21613 done
21614 LIBOBJS=$ac_libobjs
21616 LTLIBOBJS=$ac_ltlibobjs
21620 : "${CONFIG_STATUS=./config.status}"
21621 ac_write_fail=0
21622 ac_clean_files_save=$ac_clean_files
21623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21626 as_write_fail=0
21627 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21628 #! $SHELL
21629 # Generated by $as_me.
21630 # Run this file to recreate the current configuration.
21631 # Compiler output produced by configure, useful for debugging
21632 # configure, is in config.log if it exists.
21634 debug=false
21635 ac_cs_recheck=false
21636 ac_cs_silent=false
21638 SHELL=\${CONFIG_SHELL-$SHELL}
21639 export SHELL
21640 _ASEOF
21641 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21642 ## -------------------- ##
21643 ## M4sh Initialization. ##
21644 ## -------------------- ##
21646 # Be more Bourne compatible
21647 DUALCASE=1; export DUALCASE # for MKS sh
21648 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21649 emulate sh
21650 NULLCMD=:
21651 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21652 # is contrary to our usage. Disable this feature.
21653 alias -g '${1+"$@"}'='"$@"'
21654 setopt NO_GLOB_SUBST
21655 else
21656 case `(set -o) 2>/dev/null` in #(
21657 *posix*) :
21658 set -o posix ;; #(
21659 *) :
21661 esac
21665 as_nl='
21667 export as_nl
21668 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21669 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21672 # Prefer a ksh shell builtin over an external printf program on Solaris,
21673 # but without wasting forks for bash or zsh.
21674 if test -z "$BASH_VERSION$ZSH_VERSION" \
21675 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21676 as_echo='print -r --'
21677 as_echo_n='print -rn --'
21678 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21679 as_echo='printf %s\n'
21680 as_echo_n='printf %s'
21681 else
21682 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21683 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21684 as_echo_n='/usr/ucb/echo -n'
21685 else
21686 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21687 as_echo_n_body='eval
21688 arg=$1;
21689 case $arg in #(
21690 *"$as_nl"*)
21691 expr "X$arg" : "X\\(.*\\)$as_nl";
21692 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21693 esac;
21694 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21696 export as_echo_n_body
21697 as_echo_n='sh -c $as_echo_n_body as_echo'
21699 export as_echo_body
21700 as_echo='sh -c $as_echo_body as_echo'
21703 # The user is always right.
21704 if test "${PATH_SEPARATOR+set}" != set; then
21705 PATH_SEPARATOR=:
21706 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21707 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21708 PATH_SEPARATOR=';'
21713 # IFS
21714 # We need space, tab and new line, in precisely that order. Quoting is
21715 # there to prevent editors from complaining about space-tab.
21716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21717 # splitting by setting IFS to empty value.)
21718 IFS=" "" $as_nl"
21720 # Find who we are. Look in the path if we contain no directory separator.
21721 as_myself=
21722 case $0 in #((
21723 *[\\/]* ) as_myself=$0 ;;
21724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21725 for as_dir in $PATH
21727 IFS=$as_save_IFS
21728 test -z "$as_dir" && as_dir=.
21729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21730 done
21731 IFS=$as_save_IFS
21734 esac
21735 # We did not find ourselves, most probably we were run as `sh COMMAND'
21736 # in which case we are not to be found in the path.
21737 if test "x$as_myself" = x; then
21738 as_myself=$0
21740 if test ! -f "$as_myself"; then
21741 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21742 exit 1
21745 # Unset variables that we do not need and which cause bugs (e.g. in
21746 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21747 # suppresses any "Segmentation fault" message there. '((' could
21748 # trigger a bug in pdksh 5.2.14.
21749 for as_var in BASH_ENV ENV MAIL MAILPATH
21750 do eval test x\${$as_var+set} = xset \
21751 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21752 done
21753 PS1='$ '
21754 PS2='> '
21755 PS4='+ '
21757 # NLS nuisances.
21758 LC_ALL=C
21759 export LC_ALL
21760 LANGUAGE=C
21761 export LANGUAGE
21763 # CDPATH.
21764 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21767 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21768 # ----------------------------------------
21769 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21770 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21771 # script with STATUS, using 1 if that was 0.
21772 as_fn_error ()
21774 as_status=$1; test $as_status -eq 0 && as_status=1
21775 if test "$4"; then
21776 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21777 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21779 $as_echo "$as_me: error: $2" >&2
21780 as_fn_exit $as_status
21781 } # as_fn_error
21784 # as_fn_set_status STATUS
21785 # -----------------------
21786 # Set $? to STATUS, without forking.
21787 as_fn_set_status ()
21789 return $1
21790 } # as_fn_set_status
21792 # as_fn_exit STATUS
21793 # -----------------
21794 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21795 as_fn_exit ()
21797 set +e
21798 as_fn_set_status $1
21799 exit $1
21800 } # as_fn_exit
21802 # as_fn_unset VAR
21803 # ---------------
21804 # Portably unset VAR.
21805 as_fn_unset ()
21807 { eval $1=; unset $1;}
21809 as_unset=as_fn_unset
21810 # as_fn_append VAR VALUE
21811 # ----------------------
21812 # Append the text in VALUE to the end of the definition contained in VAR. Take
21813 # advantage of any shell optimizations that allow amortized linear growth over
21814 # repeated appends, instead of the typical quadratic growth present in naive
21815 # implementations.
21816 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21817 eval 'as_fn_append ()
21819 eval $1+=\$2
21821 else
21822 as_fn_append ()
21824 eval $1=\$$1\$2
21826 fi # as_fn_append
21828 # as_fn_arith ARG...
21829 # ------------------
21830 # Perform arithmetic evaluation on the ARGs, and store the result in the
21831 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21832 # must be portable across $(()) and expr.
21833 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21834 eval 'as_fn_arith ()
21836 as_val=$(( $* ))
21838 else
21839 as_fn_arith ()
21841 as_val=`expr "$@" || test $? -eq 1`
21843 fi # as_fn_arith
21846 if expr a : '\(a\)' >/dev/null 2>&1 &&
21847 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21848 as_expr=expr
21849 else
21850 as_expr=false
21853 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21854 as_basename=basename
21855 else
21856 as_basename=false
21859 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21860 as_dirname=dirname
21861 else
21862 as_dirname=false
21865 as_me=`$as_basename -- "$0" ||
21866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21867 X"$0" : 'X\(//\)$' \| \
21868 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21869 $as_echo X/"$0" |
21870 sed '/^.*\/\([^/][^/]*\)\/*$/{
21871 s//\1/
21874 /^X\/\(\/\/\)$/{
21875 s//\1/
21878 /^X\/\(\/\).*/{
21879 s//\1/
21882 s/.*/./; q'`
21884 # Avoid depending upon Character Ranges.
21885 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21886 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21887 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21888 as_cr_digits='0123456789'
21889 as_cr_alnum=$as_cr_Letters$as_cr_digits
21891 ECHO_C= ECHO_N= ECHO_T=
21892 case `echo -n x` in #(((((
21893 -n*)
21894 case `echo 'xy\c'` in
21895 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21896 xy) ECHO_C='\c';;
21897 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21898 ECHO_T=' ';;
21899 esac;;
21901 ECHO_N='-n';;
21902 esac
21904 rm -f conf$$ conf$$.exe conf$$.file
21905 if test -d conf$$.dir; then
21906 rm -f conf$$.dir/conf$$.file
21907 else
21908 rm -f conf$$.dir
21909 mkdir conf$$.dir 2>/dev/null
21911 if (echo >conf$$.file) 2>/dev/null; then
21912 if ln -s conf$$.file conf$$ 2>/dev/null; then
21913 as_ln_s='ln -s'
21914 # ... but there are two gotchas:
21915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21917 # In both cases, we have to default to `cp -pR'.
21918 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21919 as_ln_s='cp -pR'
21920 elif ln conf$$.file conf$$ 2>/dev/null; then
21921 as_ln_s=ln
21922 else
21923 as_ln_s='cp -pR'
21925 else
21926 as_ln_s='cp -pR'
21928 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21929 rmdir conf$$.dir 2>/dev/null
21932 # as_fn_mkdir_p
21933 # -------------
21934 # Create "$as_dir" as a directory, including parents if necessary.
21935 as_fn_mkdir_p ()
21938 case $as_dir in #(
21939 -*) as_dir=./$as_dir;;
21940 esac
21941 test -d "$as_dir" || eval $as_mkdir_p || {
21942 as_dirs=
21943 while :; do
21944 case $as_dir in #(
21945 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21946 *) as_qdir=$as_dir;;
21947 esac
21948 as_dirs="'$as_qdir' $as_dirs"
21949 as_dir=`$as_dirname -- "$as_dir" ||
21950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21951 X"$as_dir" : 'X\(//\)[^/]' \| \
21952 X"$as_dir" : 'X\(//\)$' \| \
21953 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21954 $as_echo X"$as_dir" |
21955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21956 s//\1/
21959 /^X\(\/\/\)[^/].*/{
21960 s//\1/
21963 /^X\(\/\/\)$/{
21964 s//\1/
21967 /^X\(\/\).*/{
21968 s//\1/
21971 s/.*/./; q'`
21972 test -d "$as_dir" && break
21973 done
21974 test -z "$as_dirs" || eval "mkdir $as_dirs"
21975 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21978 } # as_fn_mkdir_p
21979 if mkdir -p . 2>/dev/null; then
21980 as_mkdir_p='mkdir -p "$as_dir"'
21981 else
21982 test -d ./-p && rmdir ./-p
21983 as_mkdir_p=false
21987 # as_fn_executable_p FILE
21988 # -----------------------
21989 # Test if FILE is an executable regular file.
21990 as_fn_executable_p ()
21992 test -f "$1" && test -x "$1"
21993 } # as_fn_executable_p
21994 as_test_x='test -x'
21995 as_executable_p=as_fn_executable_p
21997 # Sed expression to map a string onto a valid CPP name.
21998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22000 # Sed expression to map a string onto a valid variable name.
22001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22004 exec 6>&1
22005 ## ----------------------------------- ##
22006 ## Main body of $CONFIG_STATUS script. ##
22007 ## ----------------------------------- ##
22008 _ASEOF
22009 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22012 # Save the log message, to keep $0 and so on meaningful, and to
22013 # report actual input values of CONFIG_FILES etc. instead of their
22014 # values after options handling.
22015 ac_log="
22016 This file was extended by Wine $as_me 5.9, which was
22017 generated by GNU Autoconf 2.69. Invocation command line was
22019 CONFIG_FILES = $CONFIG_FILES
22020 CONFIG_HEADERS = $CONFIG_HEADERS
22021 CONFIG_LINKS = $CONFIG_LINKS
22022 CONFIG_COMMANDS = $CONFIG_COMMANDS
22023 $ $0 $@
22025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22028 _ACEOF
22030 case $ac_config_files in *"
22031 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22032 esac
22034 case $ac_config_headers in *"
22035 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22036 esac
22039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22040 # Files that config.status was made for.
22041 config_files="$ac_config_files"
22042 config_headers="$ac_config_headers"
22043 config_links="$ac_config_links"
22044 config_commands="$ac_config_commands"
22046 _ACEOF
22048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22049 ac_cs_usage="\
22050 \`$as_me' instantiates files and other configuration actions
22051 from templates according to the current configuration. Unless the files
22052 and actions are specified as TAGs, all are instantiated by default.
22054 Usage: $0 [OPTION]... [TAG]...
22056 -h, --help print this help, then exit
22057 -V, --version print version number and configuration settings, then exit
22058 --config print configuration, then exit
22059 -q, --quiet, --silent
22060 do not print progress messages
22061 -d, --debug don't remove temporary files
22062 --recheck update $as_me by reconfiguring in the same conditions
22063 --file=FILE[:TEMPLATE]
22064 instantiate the configuration file FILE
22065 --header=FILE[:TEMPLATE]
22066 instantiate the configuration header FILE
22068 Configuration files:
22069 $config_files
22071 Configuration headers:
22072 $config_headers
22074 Configuration links:
22075 $config_links
22077 Configuration commands:
22078 $config_commands
22080 Report bugs to <wine-devel@winehq.org>.
22081 Wine home page: <https://www.winehq.org>."
22083 _ACEOF
22084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22085 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22086 ac_cs_version="\\
22087 Wine config.status 5.9
22088 configured by $0, generated by GNU Autoconf 2.69,
22089 with options \\"\$ac_cs_config\\"
22091 Copyright (C) 2012 Free Software Foundation, Inc.
22092 This config.status script is free software; the Free Software Foundation
22093 gives unlimited permission to copy, distribute and modify it."
22095 ac_pwd='$ac_pwd'
22096 srcdir='$srcdir'
22097 test -n "\$AWK" || AWK=awk
22098 _ACEOF
22100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22101 # The default lists apply if the user does not specify any file.
22102 ac_need_defaults=:
22103 while test $# != 0
22105 case $1 in
22106 --*=?*)
22107 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22108 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22109 ac_shift=:
22111 --*=)
22112 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22113 ac_optarg=
22114 ac_shift=:
22117 ac_option=$1
22118 ac_optarg=$2
22119 ac_shift=shift
22121 esac
22123 case $ac_option in
22124 # Handling of the options.
22125 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22126 ac_cs_recheck=: ;;
22127 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22128 $as_echo "$ac_cs_version"; exit ;;
22129 --config | --confi | --conf | --con | --co | --c )
22130 $as_echo "$ac_cs_config"; exit ;;
22131 --debug | --debu | --deb | --de | --d | -d )
22132 debug=: ;;
22133 --file | --fil | --fi | --f )
22134 $ac_shift
22135 case $ac_optarg in
22136 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22137 '') as_fn_error $? "missing file argument" ;;
22138 esac
22139 as_fn_append CONFIG_FILES " '$ac_optarg'"
22140 ac_need_defaults=false;;
22141 --header | --heade | --head | --hea )
22142 $ac_shift
22143 case $ac_optarg in
22144 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22145 esac
22146 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22147 ac_need_defaults=false;;
22148 --he | --h)
22149 # Conflict between --help and --header
22150 as_fn_error $? "ambiguous option: \`$1'
22151 Try \`$0 --help' for more information.";;
22152 --help | --hel | -h )
22153 $as_echo "$ac_cs_usage"; exit ;;
22154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22155 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22156 ac_cs_silent=: ;;
22158 # This is an error.
22159 -*) as_fn_error $? "unrecognized option: \`$1'
22160 Try \`$0 --help' for more information." ;;
22162 *) as_fn_append ac_config_targets " $1"
22163 ac_need_defaults=false ;;
22165 esac
22166 shift
22167 done
22169 ac_configure_extra_args=
22171 if $ac_cs_silent; then
22172 exec 6>/dev/null
22173 ac_configure_extra_args="$ac_configure_extra_args --silent"
22176 _ACEOF
22177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22178 if \$ac_cs_recheck; then
22179 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22180 shift
22181 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22182 CONFIG_SHELL='$SHELL'
22183 export CONFIG_SHELL
22184 exec "\$@"
22187 _ACEOF
22188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22189 exec 5>>config.log
22191 echo
22192 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22193 ## Running $as_me. ##
22194 _ASBOX
22195 $as_echo "$ac_log"
22196 } >&5
22198 _ACEOF
22199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22201 # INIT-COMMANDS
22203 wine_fn_output_makedep ()
22205 as_dir=tools; as_fn_mkdir_p
22206 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22208 wine_fn_output_makefile ()
22210 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22211 `cat $wine_rules_file`
22212 _WINE_EOF
22213 as_fn_error $? "could not create Makefile" "$LINENO" 5
22216 _ACEOF
22218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22220 # Handling of arguments.
22221 for ac_config_target in $ac_config_targets
22223 case $ac_config_target in
22224 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22225 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22226 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22227 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22228 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22229 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22230 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22232 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22233 esac
22234 done
22237 # If the user did not use the arguments to specify the items to instantiate,
22238 # then the envvar interface is used. Set only those that are not.
22239 # We use the long form for the default assignment because of an extremely
22240 # bizarre bug on SunOS 4.1.3.
22241 if $ac_need_defaults; then
22242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22243 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22244 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22245 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22248 # Have a temporary directory for convenience. Make it in the build tree
22249 # simply because there is no reason against having it here, and in addition,
22250 # creating and moving files from /tmp can sometimes cause problems.
22251 # Hook for its removal unless debugging.
22252 # Note that there is a small window in which the directory will not be cleaned:
22253 # after its creation but before its name has been assigned to `$tmp'.
22254 $debug ||
22256 tmp= ac_tmp=
22257 trap 'exit_status=$?
22258 : "${ac_tmp:=$tmp}"
22259 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22261 trap 'as_fn_exit 1' 1 2 13 15
22263 # Create a (secure) tmp directory for tmp files.
22266 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22267 test -d "$tmp"
22268 } ||
22270 tmp=./conf$$-$RANDOM
22271 (umask 077 && mkdir "$tmp")
22272 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22273 ac_tmp=$tmp
22275 # Set up the scripts for CONFIG_FILES section.
22276 # No need to generate them if there are no CONFIG_FILES.
22277 # This happens for instance with `./config.status config.h'.
22278 if test -n "$CONFIG_FILES"; then
22281 ac_cr=`echo X | tr X '\015'`
22282 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22283 # But we know of no other shell where ac_cr would be empty at this
22284 # point, so we can use a bashism as a fallback.
22285 if test "x$ac_cr" = x; then
22286 eval ac_cr=\$\'\\r\'
22288 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22289 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22290 ac_cs_awk_cr='\\r'
22291 else
22292 ac_cs_awk_cr=$ac_cr
22295 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22296 _ACEOF
22300 echo "cat >conf$$subs.awk <<_ACEOF" &&
22301 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22302 echo "_ACEOF"
22303 } >conf$$subs.sh ||
22304 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22305 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22306 ac_delim='%!_!# '
22307 for ac_last_try in false false false false false :; do
22308 . ./conf$$subs.sh ||
22309 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22311 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22312 if test $ac_delim_n = $ac_delim_num; then
22313 break
22314 elif $ac_last_try; then
22315 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22316 else
22317 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22319 done
22320 rm -f conf$$subs.sh
22322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22323 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22324 _ACEOF
22325 sed -n '
22327 s/^/S["/; s/!.*/"]=/
22330 s/^[^!]*!//
22331 :repl
22332 t repl
22333 s/'"$ac_delim"'$//
22334 t delim
22337 s/\(.\{148\}\)..*/\1/
22338 t more1
22339 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22342 b repl
22343 :more1
22344 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22347 s/.\{148\}//
22348 t nl
22349 :delim
22351 s/\(.\{148\}\)..*/\1/
22352 t more2
22353 s/["\\]/\\&/g; s/^/"/; s/$/"/
22356 :more2
22357 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22360 s/.\{148\}//
22361 t delim
22362 ' <conf$$subs.awk | sed '
22363 /^[^""]/{
22365 s/\n//
22367 ' >>$CONFIG_STATUS || ac_write_fail=1
22368 rm -f conf$$subs.awk
22369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22370 _ACAWK
22371 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22372 for (key in S) S_is_set[key] = 1
22373 FS = "\a"
22377 line = $ 0
22378 nfields = split(line, field, "@")
22379 substed = 0
22380 len = length(field[1])
22381 for (i = 2; i < nfields; i++) {
22382 key = field[i]
22383 keylen = length(key)
22384 if (S_is_set[key]) {
22385 value = S[key]
22386 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22387 len += length(value) + length(field[++i])
22388 substed = 1
22389 } else
22390 len += 1 + keylen
22393 print line
22396 _ACAWK
22397 _ACEOF
22398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22399 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22400 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22401 else
22403 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22404 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22405 _ACEOF
22407 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22408 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22409 # trailing colons and then remove the whole line if VPATH becomes empty
22410 # (actually we leave an empty line to preserve line numbers).
22411 if test "x$srcdir" = x.; then
22412 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22414 s///
22415 s/^/:/
22416 s/[ ]*$/:/
22417 s/:\$(srcdir):/:/g
22418 s/:\${srcdir}:/:/g
22419 s/:@srcdir@:/:/g
22420 s/^:*//
22421 s/:*$//
22423 s/\(=[ ]*\).*/\1/
22425 s/\n//
22426 s/^[^=]*=[ ]*$//
22430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22431 fi # test -n "$CONFIG_FILES"
22433 # Set up the scripts for CONFIG_HEADERS section.
22434 # No need to generate them if there are no CONFIG_HEADERS.
22435 # This happens for instance with `./config.status Makefile'.
22436 if test -n "$CONFIG_HEADERS"; then
22437 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22438 BEGIN {
22439 _ACEOF
22441 # Transform confdefs.h into an awk script `defines.awk', embedded as
22442 # here-document in config.status, that substitutes the proper values into
22443 # config.h.in to produce config.h.
22445 # Create a delimiter string that does not exist in confdefs.h, to ease
22446 # handling of long lines.
22447 ac_delim='%!_!# '
22448 for ac_last_try in false false :; do
22449 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22450 if test -z "$ac_tt"; then
22451 break
22452 elif $ac_last_try; then
22453 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22454 else
22455 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22457 done
22459 # For the awk script, D is an array of macro values keyed by name,
22460 # likewise P contains macro parameters if any. Preserve backslash
22461 # newline sequences.
22463 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22464 sed -n '
22465 s/.\{148\}/&'"$ac_delim"'/g
22466 t rset
22467 :rset
22468 s/^[ ]*#[ ]*define[ ][ ]*/ /
22469 t def
22471 :def
22472 s/\\$//
22473 t bsnl
22474 s/["\\]/\\&/g
22475 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22476 D["\1"]=" \3"/p
22477 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22479 :bsnl
22480 s/["\\]/\\&/g
22481 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22482 D["\1"]=" \3\\\\\\n"\\/p
22483 t cont
22484 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22485 t cont
22487 :cont
22489 s/.\{148\}/&'"$ac_delim"'/g
22490 t clear
22491 :clear
22492 s/\\$//
22493 t bsnlc
22494 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22496 :bsnlc
22497 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22498 b cont
22499 ' <confdefs.h | sed '
22500 s/'"$ac_delim"'/"\\\
22501 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22504 for (key in D) D_is_set[key] = 1
22505 FS = "\a"
22507 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22508 line = \$ 0
22509 split(line, arg, " ")
22510 if (arg[1] == "#") {
22511 defundef = arg[2]
22512 mac1 = arg[3]
22513 } else {
22514 defundef = substr(arg[1], 2)
22515 mac1 = arg[2]
22517 split(mac1, mac2, "(") #)
22518 macro = mac2[1]
22519 prefix = substr(line, 1, index(line, defundef) - 1)
22520 if (D_is_set[macro]) {
22521 # Preserve the white space surrounding the "#".
22522 print prefix "define", macro P[macro] D[macro]
22523 next
22524 } else {
22525 # Replace #undef with comments. This is necessary, for example,
22526 # in the case of _POSIX_SOURCE, which is predefined and required
22527 # on some systems where configure will not decide to define it.
22528 if (defundef == "undef") {
22529 print "/*", prefix defundef, macro, "*/"
22530 next
22534 { print }
22535 _ACAWK
22536 _ACEOF
22537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22538 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22539 fi # test -n "$CONFIG_HEADERS"
22542 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22543 shift
22544 for ac_tag
22546 case $ac_tag in
22547 :[FHLC]) ac_mode=$ac_tag; continue;;
22548 esac
22549 case $ac_mode$ac_tag in
22550 :[FHL]*:*);;
22551 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22552 :[FH]-) ac_tag=-:-;;
22553 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22554 esac
22555 ac_save_IFS=$IFS
22556 IFS=:
22557 set x $ac_tag
22558 IFS=$ac_save_IFS
22559 shift
22560 ac_file=$1
22561 shift
22563 case $ac_mode in
22564 :L) ac_source=$1;;
22565 :[FH])
22566 ac_file_inputs=
22567 for ac_f
22569 case $ac_f in
22570 -) ac_f="$ac_tmp/stdin";;
22571 *) # Look for the file first in the build tree, then in the source tree
22572 # (if the path is not absolute). The absolute path cannot be DOS-style,
22573 # because $ac_f cannot contain `:'.
22574 test -f "$ac_f" ||
22575 case $ac_f in
22576 [\\/$]*) false;;
22577 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22578 esac ||
22579 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22580 esac
22581 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22582 as_fn_append ac_file_inputs " '$ac_f'"
22583 done
22585 # Let's still pretend it is `configure' which instantiates (i.e., don't
22586 # use $as_me), people would be surprised to read:
22587 # /* config.h. Generated by config.status. */
22588 configure_input='Generated from '`
22589 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22590 `' by configure.'
22591 if test x"$ac_file" != x-; then
22592 configure_input="$ac_file. $configure_input"
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22594 $as_echo "$as_me: creating $ac_file" >&6;}
22596 # Neutralize special characters interpreted by sed in replacement strings.
22597 case $configure_input in #(
22598 *\&* | *\|* | *\\* )
22599 ac_sed_conf_input=`$as_echo "$configure_input" |
22600 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22601 *) ac_sed_conf_input=$configure_input;;
22602 esac
22604 case $ac_tag in
22605 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22606 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22607 esac
22609 esac
22611 ac_dir=`$as_dirname -- "$ac_file" ||
22612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22613 X"$ac_file" : 'X\(//\)[^/]' \| \
22614 X"$ac_file" : 'X\(//\)$' \| \
22615 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22616 $as_echo X"$ac_file" |
22617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22618 s//\1/
22621 /^X\(\/\/\)[^/].*/{
22622 s//\1/
22625 /^X\(\/\/\)$/{
22626 s//\1/
22629 /^X\(\/\).*/{
22630 s//\1/
22633 s/.*/./; q'`
22634 as_dir="$ac_dir"; as_fn_mkdir_p
22635 ac_builddir=.
22637 case "$ac_dir" in
22638 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22640 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22641 # A ".." for each directory in $ac_dir_suffix.
22642 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22643 case $ac_top_builddir_sub in
22644 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22645 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22646 esac ;;
22647 esac
22648 ac_abs_top_builddir=$ac_pwd
22649 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22650 # for backward compatibility:
22651 ac_top_builddir=$ac_top_build_prefix
22653 case $srcdir in
22654 .) # We are building in place.
22655 ac_srcdir=.
22656 ac_top_srcdir=$ac_top_builddir_sub
22657 ac_abs_top_srcdir=$ac_pwd ;;
22658 [\\/]* | ?:[\\/]* ) # Absolute name.
22659 ac_srcdir=$srcdir$ac_dir_suffix;
22660 ac_top_srcdir=$srcdir
22661 ac_abs_top_srcdir=$srcdir ;;
22662 *) # Relative name.
22663 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22664 ac_top_srcdir=$ac_top_build_prefix$srcdir
22665 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22666 esac
22667 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22670 case $ac_mode in
22673 # CONFIG_FILE
22676 _ACEOF
22678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22679 # If the template does not know about datarootdir, expand it.
22680 # FIXME: This hack should be removed a few years after 2.60.
22681 ac_datarootdir_hack=; ac_datarootdir_seen=
22682 ac_sed_dataroot='
22683 /datarootdir/ {
22687 /@datadir@/p
22688 /@docdir@/p
22689 /@infodir@/p
22690 /@localedir@/p
22691 /@mandir@/p'
22692 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22693 *datarootdir*) ac_datarootdir_seen=yes;;
22694 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22696 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22697 _ACEOF
22698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22699 ac_datarootdir_hack='
22700 s&@datadir@&$datadir&g
22701 s&@docdir@&$docdir&g
22702 s&@infodir@&$infodir&g
22703 s&@localedir@&$localedir&g
22704 s&@mandir@&$mandir&g
22705 s&\\\${datarootdir}&$datarootdir&g' ;;
22706 esac
22707 _ACEOF
22709 # Neutralize VPATH when `$srcdir' = `.'.
22710 # Shell code in configure.ac might set extrasub.
22711 # FIXME: do we really want to maintain this feature?
22712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22713 ac_sed_extra="$ac_vpsub
22714 $extrasub
22715 _ACEOF
22716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22718 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22719 s|@configure_input@|$ac_sed_conf_input|;t t
22720 s&@top_builddir@&$ac_top_builddir_sub&;t t
22721 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22722 s&@srcdir@&$ac_srcdir&;t t
22723 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22724 s&@top_srcdir@&$ac_top_srcdir&;t t
22725 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22726 s&@builddir@&$ac_builddir&;t t
22727 s&@abs_builddir@&$ac_abs_builddir&;t t
22728 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22729 $ac_datarootdir_hack
22731 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22732 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22734 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22735 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22736 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22737 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22739 which seems to be undefined. Please make sure it is defined" >&5
22740 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22741 which seems to be undefined. Please make sure it is defined" >&2;}
22743 rm -f "$ac_tmp/stdin"
22744 case $ac_file in
22745 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22746 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22747 esac \
22748 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22752 # CONFIG_HEADER
22754 if test x"$ac_file" != x-; then
22756 $as_echo "/* $configure_input */" \
22757 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22758 } >"$ac_tmp/config.h" \
22759 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22760 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22762 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22763 else
22764 rm -f "$ac_file"
22765 mv "$ac_tmp/config.h" "$ac_file" \
22766 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22768 else
22769 $as_echo "/* $configure_input */" \
22770 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22771 || as_fn_error $? "could not create -" "$LINENO" 5
22776 # CONFIG_LINK
22779 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22781 else
22782 # Prefer the file from the source tree if names are identical.
22783 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22784 ac_source=$srcdir/$ac_source
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22788 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22790 if test ! -r "$ac_source"; then
22791 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22793 rm -f "$ac_file"
22795 # Try a relative symlink, then a hard link, then a copy.
22796 case $ac_source in
22797 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22798 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22799 esac
22800 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22801 ln "$ac_source" "$ac_file" 2>/dev/null ||
22802 cp -p "$ac_source" "$ac_file" ||
22803 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22806 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22807 $as_echo "$as_me: executing $ac_file commands" >&6;}
22809 esac
22812 case $ac_file$ac_mode in
22813 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22814 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22815 "Makefile":C) wine_fn_output_makefile Makefile ;;
22817 esac
22818 done # for ac_tag
22821 as_fn_exit 0
22822 _ACEOF
22823 ac_clean_files=$ac_clean_files_save
22825 test $ac_write_fail = 0 ||
22826 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22829 # configure is writing to config.log, and then calls config.status.
22830 # config.status does its own redirection, appending to config.log.
22831 # Unfortunately, on DOS this fails, as config.log is still kept open
22832 # by configure, so config.status won't be able to write to it; its
22833 # output is simply discarded. So we exec the FD to /dev/null,
22834 # effectively closing config.log, so it can be properly (re)opened and
22835 # appended to by config.status. When coming back to configure, we
22836 # need to make the FD available again.
22837 if test "$no_create" != yes; then
22838 ac_cs_success=:
22839 ac_config_status_args=
22840 test "$silent" = yes &&
22841 ac_config_status_args="$ac_config_status_args --quiet"
22842 exec 5>/dev/null
22843 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22844 exec 5>>config.log
22845 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22846 # would make configure fail if this is the last instruction.
22847 $ac_cs_success || as_fn_exit 1
22849 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22851 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22855 if test "$no_create" = "yes"
22856 then
22857 exit 0
22860 ac_save_IFS="$IFS"
22861 if test "x$wine_notices" != x; then
22862 echo >&6
22863 IFS="|"
22864 for msg in $wine_notices; do
22865 IFS="$ac_save_IFS"
22866 if ${msg:+false} :; then :
22868 else
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22870 $as_echo "$as_me: $msg" >&6;}
22872 done
22874 IFS="|"
22875 for msg in $wine_warnings; do
22876 IFS="$ac_save_IFS"
22877 if ${msg:+false} :; then :
22879 else
22880 echo >&2
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22882 $as_echo "$as_me: WARNING: $msg" >&2;}
22884 done
22885 IFS="$ac_save_IFS"
22887 $as_echo "
22888 $as_me: Finished. Do '${ac_make}' to compile Wine.
22889 " >&6