configure: Add -ldl to default libs if necessary.
[wine/zf.git] / configure
blob116825768c4ccae39f23b632fc5e20133defef8d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.5.
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.5'
584 PACKAGE_STRING='Wine 5.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXCESS_PRECISION_CFLAGS
635 EXTRACFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 Z_LIBS
677 Z_CFLAGS
678 FREETYPE_LIBS
679 FREETYPE_CFLAGS
680 LCMS2_LIBS
681 LCMS2_CFLAGS
682 RESOLV_LIBS
683 GPHOTO2_PORT_LIBS
684 GPHOTO2_PORT_CFLAGS
685 GPHOTO2_LIBS
686 GPHOTO2_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 DELAYLOADFLAG
709 CROSSLDFLAGS
710 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 enable_werror
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_l1_1_0
947 enable_api_ms_win_core_file_l1_2_0
948 enable_api_ms_win_core_file_l1_2_1
949 enable_api_ms_win_core_file_l1_2_2
950 enable_api_ms_win_core_file_l2_1_0
951 enable_api_ms_win_core_file_l2_1_1
952 enable_api_ms_win_core_file_l2_1_2
953 enable_api_ms_win_core_handle_l1_1_0
954 enable_api_ms_win_core_heap_l1_1_0
955 enable_api_ms_win_core_heap_l1_2_0
956 enable_api_ms_win_core_heap_l2_1_0
957 enable_api_ms_win_core_heap_obsolete_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_2_0
960 enable_api_ms_win_core_io_l1_1_0
961 enable_api_ms_win_core_io_l1_1_1
962 enable_api_ms_win_core_job_l1_1_0
963 enable_api_ms_win_core_job_l2_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_1
966 enable_api_ms_win_core_kernel32_private_l1_1_1
967 enable_api_ms_win_core_largeinteger_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_1
970 enable_api_ms_win_core_libraryloader_l1_2_0
971 enable_api_ms_win_core_libraryloader_l1_2_1
972 enable_api_ms_win_core_libraryloader_l1_2_2
973 enable_api_ms_win_core_localization_l1_1_0
974 enable_api_ms_win_core_localization_l1_2_0
975 enable_api_ms_win_core_localization_l1_2_1
976 enable_api_ms_win_core_localization_l2_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_2_0
979 enable_api_ms_win_core_localization_obsolete_l1_3_0
980 enable_api_ms_win_core_localization_private_l1_1_0
981 enable_api_ms_win_core_localregistry_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_1
984 enable_api_ms_win_core_memory_l1_1_2
985 enable_api_ms_win_core_misc_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_2_0
988 enable_api_ms_win_core_namespace_l1_1_0
989 enable_api_ms_win_core_normalization_l1_1_0
990 enable_api_ms_win_core_path_l1_1_0
991 enable_api_ms_win_core_privateprofile_l1_1_1
992 enable_api_ms_win_core_processenvironment_l1_1_0
993 enable_api_ms_win_core_processenvironment_l1_2_0
994 enable_api_ms_win_core_processthreads_l1_1_0
995 enable_api_ms_win_core_processthreads_l1_1_1
996 enable_api_ms_win_core_processthreads_l1_1_2
997 enable_api_ms_win_core_processthreads_l1_1_3
998 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
999 enable_api_ms_win_core_profile_l1_1_0
1000 enable_api_ms_win_core_psapi_ansi_l1_1_0
1001 enable_api_ms_win_core_psapi_l1_1_0
1002 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_quirks_l1_1_0
1004 enable_api_ms_win_core_realtime_l1_1_0
1005 enable_api_ms_win_core_registry_l1_1_0
1006 enable_api_ms_win_core_registry_l2_1_0
1007 enable_api_ms_win_core_registry_l2_2_0
1008 enable_api_ms_win_core_registryuserspecific_l1_1_0
1009 enable_api_ms_win_core_rtlsupport_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_2_0
1011 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1012 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1014 enable_api_ms_win_core_shutdown_l1_1_0
1015 enable_api_ms_win_core_sidebyside_l1_1_0
1016 enable_api_ms_win_core_string_l1_1_0
1017 enable_api_ms_win_core_string_l2_1_0
1018 enable_api_ms_win_core_string_obsolete_l1_1_0
1019 enable_api_ms_win_core_stringansi_l1_1_0
1020 enable_api_ms_win_core_stringloader_l1_1_1
1021 enable_api_ms_win_core_synch_ansi_l1_1_0
1022 enable_api_ms_win_core_synch_l1_1_0
1023 enable_api_ms_win_core_synch_l1_2_0
1024 enable_api_ms_win_core_synch_l1_2_1
1025 enable_api_ms_win_core_sysinfo_l1_1_0
1026 enable_api_ms_win_core_sysinfo_l1_2_0
1027 enable_api_ms_win_core_sysinfo_l1_2_1
1028 enable_api_ms_win_core_threadpool_l1_1_0
1029 enable_api_ms_win_core_threadpool_l1_2_0
1030 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1031 enable_api_ms_win_core_threadpool_private_l1_1_0
1032 enable_api_ms_win_core_timezone_l1_1_0
1033 enable_api_ms_win_core_toolhelp_l1_1_0
1034 enable_api_ms_win_core_url_l1_1_0
1035 enable_api_ms_win_core_util_l1_1_0
1036 enable_api_ms_win_core_version_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_1
1038 enable_api_ms_win_core_version_private_l1_1_0
1039 enable_api_ms_win_core_versionansi_l1_1_0
1040 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1041 enable_api_ms_win_core_winrt_error_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_1
1043 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1044 enable_api_ms_win_core_winrt_l1_1_0
1045 enable_api_ms_win_core_winrt_registration_l1_1_0
1046 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1047 enable_api_ms_win_core_winrt_string_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_1
1049 enable_api_ms_win_core_wow64_l1_1_0
1050 enable_api_ms_win_core_wow64_l1_1_1
1051 enable_api_ms_win_core_xstate_l1_1_0
1052 enable_api_ms_win_core_xstate_l2_1_0
1053 enable_api_ms_win_crt_conio_l1_1_0
1054 enable_api_ms_win_crt_convert_l1_1_0
1055 enable_api_ms_win_crt_environment_l1_1_0
1056 enable_api_ms_win_crt_filesystem_l1_1_0
1057 enable_api_ms_win_crt_heap_l1_1_0
1058 enable_api_ms_win_crt_locale_l1_1_0
1059 enable_api_ms_win_crt_math_l1_1_0
1060 enable_api_ms_win_crt_multibyte_l1_1_0
1061 enable_api_ms_win_crt_private_l1_1_0
1062 enable_api_ms_win_crt_process_l1_1_0
1063 enable_api_ms_win_crt_runtime_l1_1_0
1064 enable_api_ms_win_crt_stdio_l1_1_0
1065 enable_api_ms_win_crt_string_l1_1_0
1066 enable_api_ms_win_crt_time_l1_1_0
1067 enable_api_ms_win_crt_utility_l1_1_0
1068 enable_api_ms_win_devices_config_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_1
1070 enable_api_ms_win_devices_query_l1_1_1
1071 enable_api_ms_win_downlevel_advapi32_l1_1_0
1072 enable_api_ms_win_downlevel_advapi32_l2_1_0
1073 enable_api_ms_win_downlevel_normaliz_l1_1_0
1074 enable_api_ms_win_downlevel_ole32_l1_1_0
1075 enable_api_ms_win_downlevel_shell32_l1_1_0
1076 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1078 enable_api_ms_win_downlevel_user32_l1_1_0
1079 enable_api_ms_win_downlevel_version_l1_1_0
1080 enable_api_ms_win_dx_d3dkmt_l1_1_0
1081 enable_api_ms_win_eventing_classicprovider_l1_1_0
1082 enable_api_ms_win_eventing_consumer_l1_1_0
1083 enable_api_ms_win_eventing_controller_l1_1_0
1084 enable_api_ms_win_eventing_legacy_l1_1_0
1085 enable_api_ms_win_eventing_provider_l1_1_0
1086 enable_api_ms_win_eventlog_legacy_l1_1_0
1087 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1088 enable_api_ms_win_mm_joystick_l1_1_0
1089 enable_api_ms_win_mm_misc_l1_1_1
1090 enable_api_ms_win_mm_mme_l1_1_0
1091 enable_api_ms_win_mm_time_l1_1_0
1092 enable_api_ms_win_ntuser_dc_access_l1_1_0
1093 enable_api_ms_win_ntuser_rectangle_l1_1_0
1094 enable_api_ms_win_ntuser_sysparams_l1_1_0
1095 enable_api_ms_win_perf_legacy_l1_1_0
1096 enable_api_ms_win_power_base_l1_1_0
1097 enable_api_ms_win_power_setting_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1101 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1105 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1106 enable_api_ms_win_security_audit_l1_1_1
1107 enable_api_ms_win_security_base_l1_1_0
1108 enable_api_ms_win_security_base_l1_2_0
1109 enable_api_ms_win_security_base_private_l1_1_1
1110 enable_api_ms_win_security_credentials_l1_1_0
1111 enable_api_ms_win_security_cryptoapi_l1_1_0
1112 enable_api_ms_win_security_grouppolicy_l1_1_0
1113 enable_api_ms_win_security_lsalookup_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_1
1115 enable_api_ms_win_security_lsalookup_l2_1_0
1116 enable_api_ms_win_security_lsalookup_l2_1_1
1117 enable_api_ms_win_security_lsapolicy_l1_1_0
1118 enable_api_ms_win_security_provider_l1_1_0
1119 enable_api_ms_win_security_sddl_l1_1_0
1120 enable_api_ms_win_security_systemfunctions_l1_1_0
1121 enable_api_ms_win_service_core_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_1
1123 enable_api_ms_win_service_management_l1_1_0
1124 enable_api_ms_win_service_management_l2_1_0
1125 enable_api_ms_win_service_private_l1_1_1
1126 enable_api_ms_win_service_winsvc_l1_1_0
1127 enable_api_ms_win_service_winsvc_l1_2_0
1128 enable_api_ms_win_shcore_obsolete_l1_1_0
1129 enable_api_ms_win_shcore_scaling_l1_1_1
1130 enable_api_ms_win_shcore_stream_l1_1_0
1131 enable_api_ms_win_shcore_thread_l1_1_0
1132 enable_api_ms_win_shell_shellcom_l1_1_0
1133 enable_api_ms_win_shell_shellfolders_l1_1_0
1134 enable_apphelp
1135 enable_appwiz_cpl
1136 enable_atl
1137 enable_atl100
1138 enable_atl110
1139 enable_atl80
1140 enable_atl90
1141 enable_atlthunk
1142 enable_atmlib
1143 enable_authz
1144 enable_avicap32
1145 enable_avifil32
1146 enable_avrt
1147 enable_bcrypt
1148 enable_bluetoothapis
1149 enable_browseui
1150 enable_bthprops_cpl
1151 enable_cabinet
1152 enable_capi2032
1153 enable_cards
1154 enable_cdosys
1155 enable_cfgmgr32
1156 enable_clusapi
1157 enable_combase
1158 enable_comcat
1159 enable_comctl32
1160 enable_comdlg32
1161 enable_compstui
1162 enable_comsvcs
1163 enable_concrt140
1164 enable_connect
1165 enable_credui
1166 enable_crtdll
1167 enable_crypt32
1168 enable_cryptdlg
1169 enable_cryptdll
1170 enable_cryptext
1171 enable_cryptnet
1172 enable_cryptui
1173 enable_ctapi32
1174 enable_ctl3d32
1175 enable_d2d1
1176 enable_d3d10
1177 enable_d3d10_1
1178 enable_d3d10core
1179 enable_d3d11
1180 enable_d3d12
1181 enable_d3d8
1182 enable_d3d9
1183 enable_d3dcompiler_33
1184 enable_d3dcompiler_34
1185 enable_d3dcompiler_35
1186 enable_d3dcompiler_36
1187 enable_d3dcompiler_37
1188 enable_d3dcompiler_38
1189 enable_d3dcompiler_39
1190 enable_d3dcompiler_40
1191 enable_d3dcompiler_41
1192 enable_d3dcompiler_42
1193 enable_d3dcompiler_43
1194 enable_d3dcompiler_46
1195 enable_d3dcompiler_47
1196 enable_d3dim
1197 enable_d3drm
1198 enable_d3dx10_33
1199 enable_d3dx10_34
1200 enable_d3dx10_35
1201 enable_d3dx10_36
1202 enable_d3dx10_37
1203 enable_d3dx10_38
1204 enable_d3dx10_39
1205 enable_d3dx10_40
1206 enable_d3dx10_41
1207 enable_d3dx10_42
1208 enable_d3dx10_43
1209 enable_d3dx11_42
1210 enable_d3dx11_43
1211 enable_d3dx9_24
1212 enable_d3dx9_25
1213 enable_d3dx9_26
1214 enable_d3dx9_27
1215 enable_d3dx9_28
1216 enable_d3dx9_29
1217 enable_d3dx9_30
1218 enable_d3dx9_31
1219 enable_d3dx9_32
1220 enable_d3dx9_33
1221 enable_d3dx9_34
1222 enable_d3dx9_35
1223 enable_d3dx9_36
1224 enable_d3dx9_37
1225 enable_d3dx9_38
1226 enable_d3dx9_39
1227 enable_d3dx9_40
1228 enable_d3dx9_41
1229 enable_d3dx9_42
1230 enable_d3dx9_43
1231 enable_d3dxof
1232 enable_davclnt
1233 enable_dbgeng
1234 enable_dbghelp
1235 enable_dciman32
1236 enable_ddraw
1237 enable_ddrawex
1238 enable_devenum
1239 enable_dhcpcsvc
1240 enable_dhtmled_ocx
1241 enable_difxapi
1242 enable_dinput
1243 enable_dinput8
1244 enable_dispex
1245 enable_dmband
1246 enable_dmcompos
1247 enable_dmime
1248 enable_dmloader
1249 enable_dmoguids
1250 enable_dmscript
1251 enable_dmstyle
1252 enable_dmsynth
1253 enable_dmusic
1254 enable_dmusic32
1255 enable_dnsapi
1256 enable_dplay
1257 enable_dplayx
1258 enable_dpnaddr
1259 enable_dpnet
1260 enable_dpnhpast
1261 enable_dpnlobby
1262 enable_dpvoice
1263 enable_dpwsockx
1264 enable_drmclien
1265 enable_dsdmo
1266 enable_dsound
1267 enable_dsquery
1268 enable_dssenh
1269 enable_dswave
1270 enable_dwmapi
1271 enable_dwrite
1272 enable_dx8vb
1273 enable_dxdiagn
1274 enable_dxerr8
1275 enable_dxerr9
1276 enable_dxgi
1277 enable_dxguid
1278 enable_dxva2
1279 enable_esent
1280 enable_evr
1281 enable_explorerframe
1282 enable_ext_ms_win_authz_context_l1_1_0
1283 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1284 enable_ext_ms_win_dwmapi_ext_l1_1_0
1285 enable_ext_ms_win_gdi_dc_create_l1_1_0
1286 enable_ext_ms_win_gdi_dc_create_l1_1_1
1287 enable_ext_ms_win_gdi_dc_l1_2_0
1288 enable_ext_ms_win_gdi_devcaps_l1_1_0
1289 enable_ext_ms_win_gdi_draw_l1_1_0
1290 enable_ext_ms_win_gdi_draw_l1_1_1
1291 enable_ext_ms_win_gdi_font_l1_1_0
1292 enable_ext_ms_win_gdi_font_l1_1_1
1293 enable_ext_ms_win_gdi_render_l1_1_0
1294 enable_ext_ms_win_kernel32_package_current_l1_1_0
1295 enable_ext_ms_win_kernel32_package_l1_1_1
1296 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1297 enable_ext_ms_win_ntuser_draw_l1_1_0
1298 enable_ext_ms_win_ntuser_gui_l1_1_0
1299 enable_ext_ms_win_ntuser_gui_l1_3_0
1300 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1301 enable_ext_ms_win_ntuser_message_l1_1_0
1302 enable_ext_ms_win_ntuser_message_l1_1_1
1303 enable_ext_ms_win_ntuser_misc_l1_1_0
1304 enable_ext_ms_win_ntuser_misc_l1_2_0
1305 enable_ext_ms_win_ntuser_misc_l1_5_1
1306 enable_ext_ms_win_ntuser_mouse_l1_1_0
1307 enable_ext_ms_win_ntuser_private_l1_1_1
1308 enable_ext_ms_win_ntuser_private_l1_3_1
1309 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1310 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1311 enable_ext_ms_win_ntuser_window_l1_1_0
1312 enable_ext_ms_win_ntuser_window_l1_1_1
1313 enable_ext_ms_win_ntuser_window_l1_1_4
1314 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1315 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1316 enable_ext_ms_win_oleacc_l1_1_0
1317 enable_ext_ms_win_ras_rasapi32_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1325 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1328 enable_ext_ms_win_security_credui_l1_1_0
1329 enable_ext_ms_win_security_cryptui_l1_1_0
1330 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1331 enable_ext_ms_win_shell_comdlg32_l1_1_0
1332 enable_ext_ms_win_shell_shell32_l1_2_0
1333 enable_ext_ms_win_uxtheme_themes_l1_1_0
1334 enable_faultrep
1335 enable_feclient
1336 enable_fltlib
1337 enable_fltmgr_sys
1338 enable_fntcache
1339 enable_fontsub
1340 enable_fusion
1341 enable_fwpuclnt
1342 enable_gameux
1343 enable_gdi32
1344 enable_gdiplus
1345 enable_glu32
1346 enable_gphoto2_ds
1347 enable_gpkcsp
1348 enable_hal
1349 enable_hhctrl_ocx
1350 enable_hid
1351 enable_hidclass_sys
1352 enable_hlink
1353 enable_hnetcfg
1354 enable_http_sys
1355 enable_httpapi
1356 enable_iccvid
1357 enable_icmp
1358 enable_ieframe
1359 enable_ieproxy
1360 enable_imaadp32_acm
1361 enable_imagehlp
1362 enable_imm32
1363 enable_inetcomm
1364 enable_inetcpl_cpl
1365 enable_inetmib1
1366 enable_infosoft
1367 enable_initpki
1368 enable_inkobj
1369 enable_inseng
1370 enable_iphlpapi
1371 enable_iprop
1372 enable_irprops_cpl
1373 enable_itircl
1374 enable_itss
1375 enable_joy_cpl
1376 enable_jscript
1377 enable_jsproxy
1378 enable_kerberos
1379 enable_kernel32
1380 enable_kernelbase
1381 enable_ksecdd_sys
1382 enable_ksuser
1383 enable_ktmw32
1384 enable_l3codeca_acm
1385 enable_loadperf
1386 enable_localspl
1387 enable_localui
1388 enable_lz32
1389 enable_mapi32
1390 enable_mapistub
1391 enable_mciavi32
1392 enable_mcicda
1393 enable_mciqtz32
1394 enable_mciseq
1395 enable_mciwave
1396 enable_mf
1397 enable_mf3216
1398 enable_mferror
1399 enable_mfmediaengine
1400 enable_mfplat
1401 enable_mfplay
1402 enable_mfreadwrite
1403 enable_mfuuid
1404 enable_mgmtapi
1405 enable_midimap
1406 enable_mlang
1407 enable_mmcndmgr
1408 enable_mmdevapi
1409 enable_mountmgr_sys
1410 enable_mp3dmod
1411 enable_mpr
1412 enable_mprapi
1413 enable_msacm32_drv
1414 enable_msacm32
1415 enable_msado15
1416 enable_msadp32_acm
1417 enable_msasn1
1418 enable_mscat32
1419 enable_mscms
1420 enable_mscoree
1421 enable_mscorwks
1422 enable_msctf
1423 enable_msctfp
1424 enable_msdaps
1425 enable_msdelta
1426 enable_msdmo
1427 enable_msdrm
1428 enable_msftedit
1429 enable_msg711_acm
1430 enable_msgsm32_acm
1431 enable_mshtml_tlb
1432 enable_mshtml
1433 enable_msi
1434 enable_msident
1435 enable_msimg32
1436 enable_msimsg
1437 enable_msimtf
1438 enable_msisip
1439 enable_msisys_ocx
1440 enable_msls31
1441 enable_msnet32
1442 enable_mspatcha
1443 enable_msports
1444 enable_msrle32
1445 enable_msscript_ocx
1446 enable_mssign32
1447 enable_mssip32
1448 enable_mstask
1449 enable_msvcirt
1450 enable_msvcm80
1451 enable_msvcm90
1452 enable_msvcp100
1453 enable_msvcp110
1454 enable_msvcp120
1455 enable_msvcp120_app
1456 enable_msvcp140
1457 enable_msvcp60
1458 enable_msvcp70
1459 enable_msvcp71
1460 enable_msvcp80
1461 enable_msvcp90
1462 enable_msvcr100
1463 enable_msvcr110
1464 enable_msvcr120
1465 enable_msvcr120_app
1466 enable_msvcr70
1467 enable_msvcr71
1468 enable_msvcr80
1469 enable_msvcr90
1470 enable_msvcrt
1471 enable_msvcrt20
1472 enable_msvcrt40
1473 enable_msvcrtd
1474 enable_msvfw32
1475 enable_msvidc32
1476 enable_mswsock
1477 enable_msxml
1478 enable_msxml2
1479 enable_msxml3
1480 enable_msxml4
1481 enable_msxml6
1482 enable_mtxdm
1483 enable_ncrypt
1484 enable_nddeapi
1485 enable_ndis_sys
1486 enable_netapi32
1487 enable_netcfgx
1488 enable_netprofm
1489 enable_newdev
1490 enable_ninput
1491 enable_normaliz
1492 enable_npmshtml
1493 enable_npptools
1494 enable_ntdll
1495 enable_ntdsapi
1496 enable_ntoskrnl_exe
1497 enable_ntprint
1498 enable_objsel
1499 enable_odbc32
1500 enable_odbcbcp
1501 enable_odbccp32
1502 enable_odbccu32
1503 enable_ole32
1504 enable_oleacc
1505 enable_oleaut32
1506 enable_olecli32
1507 enable_oledb32
1508 enable_oledlg
1509 enable_olepro32
1510 enable_olesvr32
1511 enable_olethk32
1512 enable_opcservices
1513 enable_openal32
1514 enable_opencl
1515 enable_opengl32
1516 enable_packager
1517 enable_pdh
1518 enable_photometadatahandler
1519 enable_pidgen
1520 enable_powrprof
1521 enable_printui
1522 enable_prntvpt
1523 enable_propsys
1524 enable_psapi
1525 enable_pstorec
1526 enable_qasf
1527 enable_qcap
1528 enable_qedit
1529 enable_qmgr
1530 enable_qmgrprxy
1531 enable_quartz
1532 enable_query
1533 enable_qwave
1534 enable_rasapi32
1535 enable_rasdlg
1536 enable_regapi
1537 enable_resutils
1538 enable_riched20
1539 enable_riched32
1540 enable_rpcrt4
1541 enable_rsabase
1542 enable_rsaenh
1543 enable_rstrtmgr
1544 enable_rtutils
1545 enable_rtworkq
1546 enable_samlib
1547 enable_sane_ds
1548 enable_sapi
1549 enable_sas
1550 enable_scarddlg
1551 enable_sccbase
1552 enable_schannel
1553 enable_schedsvc
1554 enable_scrobj
1555 enable_scrrun
1556 enable_scsiport_sys
1557 enable_secur32
1558 enable_security
1559 enable_sensapi
1560 enable_serialui
1561 enable_setupapi
1562 enable_sfc
1563 enable_sfc_os
1564 enable_shcore
1565 enable_shdoclc
1566 enable_shdocvw
1567 enable_shell32
1568 enable_shfolder
1569 enable_shlwapi
1570 enable_slbcsp
1571 enable_slc
1572 enable_snmpapi
1573 enable_softpub
1574 enable_spoolss
1575 enable_srclient
1576 enable_sspicli
1577 enable_stdole2_tlb
1578 enable_stdole32_tlb
1579 enable_sti
1580 enable_strmbase
1581 enable_strmdll
1582 enable_strmiids
1583 enable_svrapi
1584 enable_sxs
1585 enable_t2embed
1586 enable_tapi32
1587 enable_taskschd
1588 enable_tdh
1589 enable_tdi_sys
1590 enable_traffic
1591 enable_twain_32
1592 enable_tzres
1593 enable_ucrtbase
1594 enable_uianimation
1595 enable_uiautomationcore
1596 enable_uiribbon
1597 enable_unicows
1598 enable_updspapi
1599 enable_url
1600 enable_urlmon
1601 enable_usbd_sys
1602 enable_user32
1603 enable_userenv
1604 enable_usp10
1605 enable_utildll
1606 enable_uuid
1607 enable_uxtheme
1608 enable_vbscript
1609 enable_vcomp
1610 enable_vcomp100
1611 enable_vcomp110
1612 enable_vcomp120
1613 enable_vcomp140
1614 enable_vcomp90
1615 enable_vcruntime140
1616 enable_vcruntime140_1
1617 enable_vdmdbg
1618 enable_version
1619 enable_vga
1620 enable_virtdisk
1621 enable_vssapi
1622 enable_vulkan_1
1623 enable_wbemdisp
1624 enable_wbemprox
1625 enable_wbemuuid
1626 enable_wdscore
1627 enable_webservices
1628 enable_wer
1629 enable_wevtapi
1630 enable_wiaservc
1631 enable_wimgapi
1632 enable_windowscodecs
1633 enable_windowscodecsext
1634 enable_winealsa_drv
1635 enable_wineandroid_drv
1636 enable_winebus_sys
1637 enable_winecoreaudio_drv
1638 enable_winecrt0
1639 enable_wined3d
1640 enable_winegstreamer
1641 enable_winehid_sys
1642 enable_winejoystick_drv
1643 enable_winemac_drv
1644 enable_winemapi
1645 enable_wineoss_drv
1646 enable_wineps_drv
1647 enable_winepulse_drv
1648 enable_wineqtdecoder
1649 enable_winevulkan
1650 enable_winex11_drv
1651 enable_wing32
1652 enable_winhttp
1653 enable_wininet
1654 enable_winmm
1655 enable_winnls32
1656 enable_winscard
1657 enable_winspool_drv
1658 enable_winsta
1659 enable_wintab32
1660 enable_wintrust
1661 enable_winusb
1662 enable_wlanapi
1663 enable_wlanui
1664 enable_wldap32
1665 enable_wmasf
1666 enable_wmcodecdspuuid
1667 enable_wmi
1668 enable_wmiutils
1669 enable_wmp
1670 enable_wmphoto
1671 enable_wmvcore
1672 enable_wnaspi32
1673 enable_wpc
1674 enable_wpcap
1675 enable_ws2_32
1676 enable_wsdapi
1677 enable_wshom_ocx
1678 enable_wsnmp32
1679 enable_wsock32
1680 enable_wtsapi32
1681 enable_wuapi
1682 enable_wuaueng
1683 enable_x3daudio1_0
1684 enable_x3daudio1_1
1685 enable_x3daudio1_2
1686 enable_x3daudio1_3
1687 enable_x3daudio1_4
1688 enable_x3daudio1_5
1689 enable_x3daudio1_6
1690 enable_x3daudio1_7
1691 enable_xapofx1_1
1692 enable_xapofx1_2
1693 enable_xapofx1_3
1694 enable_xapofx1_4
1695 enable_xapofx1_5
1696 enable_xaudio2_0
1697 enable_xaudio2_1
1698 enable_xaudio2_2
1699 enable_xaudio2_3
1700 enable_xaudio2_4
1701 enable_xaudio2_5
1702 enable_xaudio2_6
1703 enable_xaudio2_7
1704 enable_xaudio2_8
1705 enable_xaudio2_9
1706 enable_xinput1_1
1707 enable_xinput1_2
1708 enable_xinput1_3
1709 enable_xinput1_4
1710 enable_xinput9_1_0
1711 enable_xmllite
1712 enable_xolehlp
1713 enable_xpsprint
1714 enable_xpssvcs
1715 enable_fonts
1716 enable_include
1717 enable_port
1718 enable_wine
1719 enable_wpp
1720 enable_loader
1721 enable_nls
1722 enable_po
1723 enable_arp
1724 enable_aspnet_regiis
1725 enable_attrib
1726 enable_cabarc
1727 enable_cacls
1728 enable_chcp_com
1729 enable_clock
1730 enable_cmd
1731 enable_conhost
1732 enable_control
1733 enable_cscript
1734 enable_dism
1735 enable_dpnsvr
1736 enable_dxdiag
1737 enable_eject
1738 enable_expand
1739 enable_explorer
1740 enable_extrac32
1741 enable_fc
1742 enable_find
1743 enable_findstr
1744 enable_fsutil
1745 enable_hh
1746 enable_hostname
1747 enable_icacls
1748 enable_icinfo
1749 enable_iexplore
1750 enable_ipconfig
1751 enable_lodctr
1752 enable_mofcomp
1753 enable_mshta
1754 enable_msidb
1755 enable_msiexec
1756 enable_msinfo32
1757 enable_net
1758 enable_netsh
1759 enable_netstat
1760 enable_ngen
1761 enable_notepad
1762 enable_oleview
1763 enable_ping
1764 enable_plugplay
1765 enable_powershell
1766 enable_presentationfontcache
1767 enable_progman
1768 enable_reg
1769 enable_regasm
1770 enable_regedit
1771 enable_regini
1772 enable_regsvcs
1773 enable_regsvr32
1774 enable_rpcss
1775 enable_rundll32
1776 enable_sc
1777 enable_schtasks
1778 enable_sdbinst
1779 enable_secedit
1780 enable_servicemodelreg
1781 enable_services
1782 enable_shutdown
1783 enable_spoolsv
1784 enable_start
1785 enable_subst
1786 enable_svchost
1787 enable_systeminfo
1788 enable_taskkill
1789 enable_tasklist
1790 enable_taskmgr
1791 enable_termsv
1792 enable_uninstaller
1793 enable_unlodctr
1794 enable_view
1795 enable_wevtutil
1796 enable_whoami
1797 enable_wineboot
1798 enable_winebrowser
1799 enable_winecfg
1800 enable_wineconsole
1801 enable_winedbg
1802 enable_winedevice
1803 enable_winefile
1804 enable_winemenubuilder
1805 enable_winemine
1806 enable_winemsibuilder
1807 enable_winepath
1808 enable_winetest
1809 enable_winhlp32
1810 enable_winmgmt
1811 enable_winver
1812 enable_wmic
1813 enable_wmplayer
1814 enable_wordpad
1815 enable_write
1816 enable_wscript
1817 enable_wuauserv
1818 enable_wusa
1819 enable_xcopy
1820 enable_server
1821 enable_tools
1822 enable_sfnt2fon
1823 enable_widl
1824 enable_winebuild
1825 enable_winedump
1826 enable_winegcc
1827 enable_winemaker
1828 enable_wmc
1829 enable_wrc
1831 ac_precious_vars='build_alias
1832 host_alias
1833 target_alias
1835 CFLAGS
1836 LDFLAGS
1837 LIBS
1838 CPPFLAGS
1840 CXXFLAGS
1843 OBJC
1844 OBJCFLAGS
1845 OBJCPP
1846 XMKMF
1847 XML2_CFLAGS
1848 XML2_LIBS
1849 XSLT_CFLAGS
1850 XSLT_LIBS
1851 INOTIFY_CFLAGS
1852 INOTIFY_LIBS
1853 DBUS_CFLAGS
1854 DBUS_LIBS
1855 HAL_CFLAGS
1856 HAL_LIBS
1857 GNUTLS_CFLAGS
1858 GNUTLS_LIBS
1859 SANE_CFLAGS
1860 SANE_LIBS
1861 GPHOTO2_CFLAGS
1862 GPHOTO2_LIBS
1863 GPHOTO2_PORT_CFLAGS
1864 GPHOTO2_PORT_LIBS
1865 LCMS2_CFLAGS
1866 LCMS2_LIBS
1867 FREETYPE_CFLAGS
1868 FREETYPE_LIBS
1869 Z_CFLAGS
1870 Z_LIBS
1871 PULSE_CFLAGS
1872 PULSE_LIBS
1873 GSTREAMER_CFLAGS
1874 GSTREAMER_LIBS
1875 UDEV_CFLAGS
1876 UDEV_LIBS
1877 UNWIND_CFLAGS
1878 UNWIND_LIBS
1879 SDL2_CFLAGS
1880 SDL2_LIBS
1881 FAUDIO_CFLAGS
1882 FAUDIO_LIBS
1883 CAPI20_CFLAGS
1884 CAPI20_LIBS
1885 CUPS_CFLAGS
1886 CUPS_LIBS
1887 FONTCONFIG_CFLAGS
1888 FONTCONFIG_LIBS
1889 KRB5_CFLAGS
1890 KRB5_LIBS
1891 GSSAPI_CFLAGS
1892 GSSAPI_LIBS
1893 JPEG_CFLAGS
1894 JPEG_LIBS
1895 PNG_CFLAGS
1896 PNG_LIBS
1897 TIFF_CFLAGS
1898 TIFF_LIBS
1899 MPG123_CFLAGS
1900 MPG123_LIBS
1901 NETAPI_CFLAGS
1902 NETAPI_LIBS
1903 VKD3D_CFLAGS
1904 VKD3D_LIBS
1905 LDAP_CFLAGS
1906 LDAP_LIBS'
1909 # Initialize some variables set by options.
1910 ac_init_help=
1911 ac_init_version=false
1912 ac_unrecognized_opts=
1913 ac_unrecognized_sep=
1914 # The variables have the same names as the options, with
1915 # dashes changed to underlines.
1916 cache_file=/dev/null
1917 exec_prefix=NONE
1918 no_create=
1919 no_recursion=
1920 prefix=NONE
1921 program_prefix=NONE
1922 program_suffix=NONE
1923 program_transform_name=s,x,x,
1924 silent=
1925 site=
1926 srcdir=
1927 verbose=
1928 x_includes=NONE
1929 x_libraries=NONE
1931 # Installation directory options.
1932 # These are left unexpanded so users can "make install exec_prefix=/foo"
1933 # and all the variables that are supposed to be based on exec_prefix
1934 # by default will actually change.
1935 # Use braces instead of parens because sh, perl, etc. also accept them.
1936 # (The list follows the same order as the GNU Coding Standards.)
1937 bindir='${exec_prefix}/bin'
1938 sbindir='${exec_prefix}/sbin'
1939 libexecdir='${exec_prefix}/libexec'
1940 datarootdir='${prefix}/share'
1941 datadir='${datarootdir}'
1942 sysconfdir='${prefix}/etc'
1943 sharedstatedir='${prefix}/com'
1944 localstatedir='${prefix}/var'
1945 runstatedir='${localstatedir}/run'
1946 includedir='${prefix}/include'
1947 oldincludedir='/usr/include'
1948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1949 infodir='${datarootdir}/info'
1950 htmldir='${docdir}'
1951 dvidir='${docdir}'
1952 pdfdir='${docdir}'
1953 psdir='${docdir}'
1954 libdir='${exec_prefix}/lib'
1955 localedir='${datarootdir}/locale'
1956 mandir='${datarootdir}/man'
1958 ac_prev=
1959 ac_dashdash=
1960 for ac_option
1962 # If the previous option needs an argument, assign it.
1963 if test -n "$ac_prev"; then
1964 eval $ac_prev=\$ac_option
1965 ac_prev=
1966 continue
1969 case $ac_option in
1970 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1971 *=) ac_optarg= ;;
1972 *) ac_optarg=yes ;;
1973 esac
1975 # Accept the important Cygnus configure options, so we can diagnose typos.
1977 case $ac_dashdash$ac_option in
1979 ac_dashdash=yes ;;
1981 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1982 ac_prev=bindir ;;
1983 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1984 bindir=$ac_optarg ;;
1986 -build | --build | --buil | --bui | --bu)
1987 ac_prev=build_alias ;;
1988 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1989 build_alias=$ac_optarg ;;
1991 -cache-file | --cache-file | --cache-fil | --cache-fi \
1992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1993 ac_prev=cache_file ;;
1994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1996 cache_file=$ac_optarg ;;
1998 --config-cache | -C)
1999 cache_file=config.cache ;;
2001 -datadir | --datadir | --datadi | --datad)
2002 ac_prev=datadir ;;
2003 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2004 datadir=$ac_optarg ;;
2006 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2007 | --dataroo | --dataro | --datar)
2008 ac_prev=datarootdir ;;
2009 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2010 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2011 datarootdir=$ac_optarg ;;
2013 -disable-* | --disable-*)
2014 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2015 # Reject names that are not valid shell variable names.
2016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2017 as_fn_error $? "invalid feature name: $ac_useropt"
2018 ac_useropt_orig=$ac_useropt
2019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2020 case $ac_user_opts in
2022 "enable_$ac_useropt"
2023 "*) ;;
2024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2025 ac_unrecognized_sep=', ';;
2026 esac
2027 eval enable_$ac_useropt=no ;;
2029 -docdir | --docdir | --docdi | --doc | --do)
2030 ac_prev=docdir ;;
2031 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2032 docdir=$ac_optarg ;;
2034 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2035 ac_prev=dvidir ;;
2036 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2037 dvidir=$ac_optarg ;;
2039 -enable-* | --enable-*)
2040 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2041 # Reject names that are not valid shell variable names.
2042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2043 as_fn_error $? "invalid feature name: $ac_useropt"
2044 ac_useropt_orig=$ac_useropt
2045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2046 case $ac_user_opts in
2048 "enable_$ac_useropt"
2049 "*) ;;
2050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2051 ac_unrecognized_sep=', ';;
2052 esac
2053 eval enable_$ac_useropt=\$ac_optarg ;;
2055 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2056 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2057 | --exec | --exe | --ex)
2058 ac_prev=exec_prefix ;;
2059 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2060 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2061 | --exec=* | --exe=* | --ex=*)
2062 exec_prefix=$ac_optarg ;;
2064 -gas | --gas | --ga | --g)
2065 # Obsolete; use --with-gas.
2066 with_gas=yes ;;
2068 -help | --help | --hel | --he | -h)
2069 ac_init_help=long ;;
2070 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2071 ac_init_help=recursive ;;
2072 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2073 ac_init_help=short ;;
2075 -host | --host | --hos | --ho)
2076 ac_prev=host_alias ;;
2077 -host=* | --host=* | --hos=* | --ho=*)
2078 host_alias=$ac_optarg ;;
2080 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2081 ac_prev=htmldir ;;
2082 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2083 | --ht=*)
2084 htmldir=$ac_optarg ;;
2086 -includedir | --includedir | --includedi | --included | --include \
2087 | --includ | --inclu | --incl | --inc)
2088 ac_prev=includedir ;;
2089 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2090 | --includ=* | --inclu=* | --incl=* | --inc=*)
2091 includedir=$ac_optarg ;;
2093 -infodir | --infodir | --infodi | --infod | --info | --inf)
2094 ac_prev=infodir ;;
2095 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2096 infodir=$ac_optarg ;;
2098 -libdir | --libdir | --libdi | --libd)
2099 ac_prev=libdir ;;
2100 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2101 libdir=$ac_optarg ;;
2103 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2104 | --libexe | --libex | --libe)
2105 ac_prev=libexecdir ;;
2106 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2107 | --libexe=* | --libex=* | --libe=*)
2108 libexecdir=$ac_optarg ;;
2110 -localedir | --localedir | --localedi | --localed | --locale)
2111 ac_prev=localedir ;;
2112 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2113 localedir=$ac_optarg ;;
2115 -localstatedir | --localstatedir | --localstatedi | --localstated \
2116 | --localstate | --localstat | --localsta | --localst | --locals)
2117 ac_prev=localstatedir ;;
2118 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2119 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2120 localstatedir=$ac_optarg ;;
2122 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2123 ac_prev=mandir ;;
2124 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2125 mandir=$ac_optarg ;;
2127 -nfp | --nfp | --nf)
2128 # Obsolete; use --without-fp.
2129 with_fp=no ;;
2131 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2132 | --no-cr | --no-c | -n)
2133 no_create=yes ;;
2135 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2136 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2137 no_recursion=yes ;;
2139 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2140 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2141 | --oldin | --oldi | --old | --ol | --o)
2142 ac_prev=oldincludedir ;;
2143 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2144 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2145 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2146 oldincludedir=$ac_optarg ;;
2148 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2149 ac_prev=prefix ;;
2150 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2151 prefix=$ac_optarg ;;
2153 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2154 | --program-pre | --program-pr | --program-p)
2155 ac_prev=program_prefix ;;
2156 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2157 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2158 program_prefix=$ac_optarg ;;
2160 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2161 | --program-suf | --program-su | --program-s)
2162 ac_prev=program_suffix ;;
2163 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2164 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2165 program_suffix=$ac_optarg ;;
2167 -program-transform-name | --program-transform-name \
2168 | --program-transform-nam | --program-transform-na \
2169 | --program-transform-n | --program-transform- \
2170 | --program-transform | --program-transfor \
2171 | --program-transfo | --program-transf \
2172 | --program-trans | --program-tran \
2173 | --progr-tra | --program-tr | --program-t)
2174 ac_prev=program_transform_name ;;
2175 -program-transform-name=* | --program-transform-name=* \
2176 | --program-transform-nam=* | --program-transform-na=* \
2177 | --program-transform-n=* | --program-transform-=* \
2178 | --program-transform=* | --program-transfor=* \
2179 | --program-transfo=* | --program-transf=* \
2180 | --program-trans=* | --program-tran=* \
2181 | --progr-tra=* | --program-tr=* | --program-t=*)
2182 program_transform_name=$ac_optarg ;;
2184 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2185 ac_prev=pdfdir ;;
2186 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2187 pdfdir=$ac_optarg ;;
2189 -psdir | --psdir | --psdi | --psd | --ps)
2190 ac_prev=psdir ;;
2191 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2192 psdir=$ac_optarg ;;
2194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2195 | -silent | --silent | --silen | --sile | --sil)
2196 silent=yes ;;
2198 -runstatedir | --runstatedir | --runstatedi | --runstated \
2199 | --runstate | --runstat | --runsta | --runst | --runs \
2200 | --run | --ru | --r)
2201 ac_prev=runstatedir ;;
2202 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2203 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2204 | --run=* | --ru=* | --r=*)
2205 runstatedir=$ac_optarg ;;
2207 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2208 ac_prev=sbindir ;;
2209 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2210 | --sbi=* | --sb=*)
2211 sbindir=$ac_optarg ;;
2213 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2214 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2215 | --sharedst | --shareds | --shared | --share | --shar \
2216 | --sha | --sh)
2217 ac_prev=sharedstatedir ;;
2218 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2219 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2220 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2221 | --sha=* | --sh=*)
2222 sharedstatedir=$ac_optarg ;;
2224 -site | --site | --sit)
2225 ac_prev=site ;;
2226 -site=* | --site=* | --sit=*)
2227 site=$ac_optarg ;;
2229 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2230 ac_prev=srcdir ;;
2231 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2232 srcdir=$ac_optarg ;;
2234 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2235 | --syscon | --sysco | --sysc | --sys | --sy)
2236 ac_prev=sysconfdir ;;
2237 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2238 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2239 sysconfdir=$ac_optarg ;;
2241 -target | --target | --targe | --targ | --tar | --ta | --t)
2242 ac_prev=target_alias ;;
2243 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2244 target_alias=$ac_optarg ;;
2246 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2247 verbose=yes ;;
2249 -version | --version | --versio | --versi | --vers | -V)
2250 ac_init_version=: ;;
2252 -with-* | --with-*)
2253 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2254 # Reject names that are not valid shell variable names.
2255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2256 as_fn_error $? "invalid package name: $ac_useropt"
2257 ac_useropt_orig=$ac_useropt
2258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2259 case $ac_user_opts in
2261 "with_$ac_useropt"
2262 "*) ;;
2263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2264 ac_unrecognized_sep=', ';;
2265 esac
2266 eval with_$ac_useropt=\$ac_optarg ;;
2268 -without-* | --without-*)
2269 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2270 # Reject names that are not valid shell variable names.
2271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2272 as_fn_error $? "invalid package name: $ac_useropt"
2273 ac_useropt_orig=$ac_useropt
2274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2275 case $ac_user_opts in
2277 "with_$ac_useropt"
2278 "*) ;;
2279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2280 ac_unrecognized_sep=', ';;
2281 esac
2282 eval with_$ac_useropt=no ;;
2284 --x)
2285 # Obsolete; use --with-x.
2286 with_x=yes ;;
2288 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2289 | --x-incl | --x-inc | --x-in | --x-i)
2290 ac_prev=x_includes ;;
2291 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2292 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2293 x_includes=$ac_optarg ;;
2295 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2296 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2297 ac_prev=x_libraries ;;
2298 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2299 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2300 x_libraries=$ac_optarg ;;
2302 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2303 Try \`$0 --help' for more information"
2306 *=*)
2307 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2308 # Reject names that are not valid shell variable names.
2309 case $ac_envvar in #(
2310 '' | [0-9]* | *[!_$as_cr_alnum]* )
2311 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2312 esac
2313 eval $ac_envvar=\$ac_optarg
2314 export $ac_envvar ;;
2317 # FIXME: should be removed in autoconf 3.0.
2318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2321 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2324 esac
2325 done
2327 if test -n "$ac_prev"; then
2328 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2329 as_fn_error $? "missing argument to $ac_option"
2332 if test -n "$ac_unrecognized_opts"; then
2333 case $enable_option_checking in
2334 no) ;;
2335 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2337 esac
2340 # Check all directory arguments for consistency.
2341 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2342 datadir sysconfdir sharedstatedir localstatedir includedir \
2343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2344 libdir localedir mandir runstatedir
2346 eval ac_val=\$$ac_var
2347 # Remove trailing slashes.
2348 case $ac_val in
2349 */ )
2350 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2351 eval $ac_var=\$ac_val;;
2352 esac
2353 # Be sure to have absolute directory names.
2354 case $ac_val in
2355 [\\/$]* | ?:[\\/]* ) continue;;
2356 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2357 esac
2358 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2359 done
2361 # There might be people who depend on the old broken behavior: `$host'
2362 # used to hold the argument of --host etc.
2363 # FIXME: To remove some day.
2364 build=$build_alias
2365 host=$host_alias
2366 target=$target_alias
2368 # FIXME: To remove some day.
2369 if test "x$host_alias" != x; then
2370 if test "x$build_alias" = x; then
2371 cross_compiling=maybe
2372 elif test "x$build_alias" != "x$host_alias"; then
2373 cross_compiling=yes
2377 ac_tool_prefix=
2378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2380 test "$silent" = yes && exec 6>/dev/null
2383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2384 ac_ls_di=`ls -di .` &&
2385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2386 as_fn_error $? "working directory cannot be determined"
2387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2388 as_fn_error $? "pwd does not report name of working directory"
2391 # Find the source files, if location was not specified.
2392 if test -z "$srcdir"; then
2393 ac_srcdir_defaulted=yes
2394 # Try the directory containing this script, then the parent directory.
2395 ac_confdir=`$as_dirname -- "$as_myself" ||
2396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2397 X"$as_myself" : 'X\(//\)[^/]' \| \
2398 X"$as_myself" : 'X\(//\)$' \| \
2399 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2400 $as_echo X"$as_myself" |
2401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2402 s//\1/
2405 /^X\(\/\/\)[^/].*/{
2406 s//\1/
2409 /^X\(\/\/\)$/{
2410 s//\1/
2413 /^X\(\/\).*/{
2414 s//\1/
2417 s/.*/./; q'`
2418 srcdir=$ac_confdir
2419 if test ! -r "$srcdir/$ac_unique_file"; then
2420 srcdir=..
2422 else
2423 ac_srcdir_defaulted=no
2425 if test ! -r "$srcdir/$ac_unique_file"; then
2426 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2427 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2430 ac_abs_confdir=`(
2431 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2432 pwd)`
2433 # When building in place, set srcdir=.
2434 if test "$ac_abs_confdir" = "$ac_pwd"; then
2435 srcdir=.
2437 # Remove unnecessary trailing slashes from srcdir.
2438 # Double slashes in file names in object file debugging info
2439 # mess up M-x gdb in Emacs.
2440 case $srcdir in
2441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2442 esac
2443 for ac_var in $ac_precious_vars; do
2444 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2445 eval ac_env_${ac_var}_value=\$${ac_var}
2446 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2447 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2448 done
2451 # Report the --help message.
2453 if test "$ac_init_help" = "long"; then
2454 # Omit some internal or obsolete options to make the list less imposing.
2455 # This message is too long to be a string in the A/UX 3.1 sh.
2456 cat <<_ACEOF
2457 \`configure' configures Wine 5.5 to adapt to many kinds of systems.
2459 Usage: $0 [OPTION]... [VAR=VALUE]...
2461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2462 VAR=VALUE. See below for descriptions of some of the useful variables.
2464 Defaults for the options are specified in brackets.
2466 Configuration:
2467 -h, --help display this help and exit
2468 --help=short display options specific to this package
2469 --help=recursive display the short help of all the included packages
2470 -V, --version display version information and exit
2471 -q, --quiet, --silent do not print \`checking ...' messages
2472 --cache-file=FILE cache test results in FILE [disabled]
2473 -C, --config-cache alias for \`--cache-file=config.cache'
2474 -n, --no-create do not create output files
2475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2477 Installation directories:
2478 --prefix=PREFIX install architecture-independent files in PREFIX
2479 [$ac_default_prefix]
2480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2481 [PREFIX]
2483 By default, \`make install' will install all the files in
2484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2486 for instance \`--prefix=\$HOME'.
2488 For better control, use the options below.
2490 Fine tuning of the installation directories:
2491 --bindir=DIR user executables [EPREFIX/bin]
2492 --sbindir=DIR system admin executables [EPREFIX/sbin]
2493 --libexecdir=DIR program executables [EPREFIX/libexec]
2494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2497 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2498 --libdir=DIR object code libraries [EPREFIX/lib]
2499 --includedir=DIR C header files [PREFIX/include]
2500 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2501 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2502 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2503 --infodir=DIR info documentation [DATAROOTDIR/info]
2504 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2505 --mandir=DIR man documentation [DATAROOTDIR/man]
2506 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2507 --htmldir=DIR html documentation [DOCDIR]
2508 --dvidir=DIR dvi documentation [DOCDIR]
2509 --pdfdir=DIR pdf documentation [DOCDIR]
2510 --psdir=DIR ps documentation [DOCDIR]
2511 _ACEOF
2513 cat <<\_ACEOF
2515 X features:
2516 --x-includes=DIR X include files are in DIR
2517 --x-libraries=DIR X library files are in DIR
2519 System types:
2520 --build=BUILD configure for building on BUILD [guessed]
2521 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2522 _ACEOF
2525 if test -n "$ac_init_help"; then
2526 case $ac_init_help in
2527 short | recursive ) echo "Configuration of Wine 5.5:";;
2528 esac
2529 cat <<\_ACEOF
2531 Optional Features:
2532 --disable-option-checking ignore unrecognized --enable/--with options
2533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2535 --disable-win16 do not include Win16 support
2536 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2537 binaries)
2538 --disable-tests do not build the regression tests
2539 --enable-maintainer-mode
2540 enable maintainer-specific build rules
2541 --enable-werror treat compilation warnings as errors
2542 --disable-largefile omit support for large files
2544 Optional Packages:
2545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2547 --without-alsa do not use the Alsa sound support
2548 --without-capi do not use CAPI (ISDN support)
2549 --without-cms do not use CMS (color management support)
2550 --without-coreaudio do not use the CoreAudio sound support
2551 --without-cups do not use CUPS
2552 --without-curses do not use (n)curses
2553 --without-dbus do not use DBus (dynamic device support)
2554 --without-faudio do not use FAudio (XAudio2 support)
2555 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2556 --without-fontconfig do not use fontconfig
2557 --without-freetype do not use the FreeType library
2558 --without-gettext do not use gettext
2559 --with-gettextpo use the GetTextPO library to rebuild po files
2560 --without-gphoto do not use gphoto (Digital Camera support)
2561 --without-glu do not use the GLU library
2562 --without-gnutls do not use GnuTLS (schannel support)
2563 --without-gsm do not use libgsm (GSM 06.10 codec support)
2564 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2565 --without-gstreamer do not use GStreamer (codecs support)
2566 --without-hal do not use HAL (dynamic device support)
2567 --without-inotify do not use inotify (filesystem change notifications)
2568 --without-jpeg do not use JPEG
2569 --without-krb5 do not use krb5 (Kerberos)
2570 --without-ldap do not use LDAP
2571 --without-mingw do not use the MinGW cross-compiler
2572 --without-mpg123 do not use the mpg123 library
2573 --without-netapi do not use the Samba NetAPI library
2574 --without-openal do not use OpenAL
2575 --without-opencl do not use OpenCL
2576 --without-opengl do not use OpenGL
2577 --without-osmesa do not use the OSMesa library
2578 --without-oss do not use the OSS sound support
2579 --without-pcap do not use the Packet Capture library
2580 --without-png do not use PNG
2581 --without-pthread do not use the pthread library
2582 --without-pulse do not use PulseAudio sound support
2583 --without-sane do not use SANE (scanner support)
2584 --without-sdl do not use SDL
2585 --without-tiff do not use TIFF
2586 --without-udev do not use udev (plug and play support)
2587 --without-unwind do not use the libunwind library (exception
2588 handling)
2589 --without-v4l2 do not use v4l2 (video capture)
2590 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2591 --without-vulkan do not use Vulkan
2592 --without-xcomposite do not use the Xcomposite extension
2593 --without-xcursor do not use the Xcursor extension
2594 --without-xfixes do not use Xfixes for clipboard change notifications
2595 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2596 --without-xinput do not use the Xinput extension
2597 --without-xinput2 do not use the Xinput 2 extension
2598 --without-xml do not use XML
2599 --without-xrandr do not use Xrandr (multi-monitor support)
2600 --without-xrender do not use the Xrender extension
2601 --without-xshape do not use the Xshape extension
2602 --without-xshm do not use XShm (shared memory extension)
2603 --without-xslt do not use XSLT
2604 --without-xxf86vm do not use XFree video mode extension
2605 --without-zlib do not use Zlib (data compression)
2606 --with-wine-tools=DIR use Wine tools from directory DIR
2607 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2608 --with-x use the X Window System
2610 Some influential environment variables:
2611 CC C compiler command
2612 CFLAGS C compiler flags
2613 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2614 nonstandard directory <lib dir>
2615 LIBS libraries to pass to the linker, e.g. -l<library>
2616 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2617 you have headers in a nonstandard directory <include dir>
2618 CXX C++ compiler command
2619 CXXFLAGS C++ compiler flags
2620 CPP C preprocessor
2621 OBJC Objective C compiler command
2622 OBJCFLAGS Objective C compiler flags
2623 OBJCPP Objective C preprocessor
2624 XMKMF Path to xmkmf, Makefile generator for X Window System
2625 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2626 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2627 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2628 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2629 INOTIFY_CFLAGS
2630 C compiler flags for libinotify, overriding pkg-config
2631 INOTIFY_LIBS
2632 Linker flags for libinotify, overriding pkg-config
2633 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2634 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2635 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2636 HAL_LIBS Linker flags for hal, overriding pkg-config
2637 GNUTLS_CFLAGS
2638 C compiler flags for gnutls, overriding pkg-config
2639 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2640 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2641 SANE_LIBS Linker flags for libsane, overriding pkg-config
2642 GPHOTO2_CFLAGS
2643 C compiler flags for libgphoto2, overriding pkg-config
2644 GPHOTO2_LIBS
2645 Linker flags for libgphoto2, overriding pkg-config
2646 GPHOTO2_PORT_CFLAGS
2647 C compiler flags for libgphoto2_port, overriding pkg-config
2648 GPHOTO2_PORT_LIBS
2649 Linker flags for libgphoto2_port, overriding pkg-config
2650 LCMS2_CFLAGS
2651 C compiler flags for lcms2, overriding pkg-config
2652 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2653 FREETYPE_CFLAGS
2654 C compiler flags for freetype2, overriding pkg-config
2655 FREETYPE_LIBS
2656 Linker flags for freetype2, overriding pkg-config
2657 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2658 Z_LIBS Linker flags for libz, overriding pkg-config
2659 PULSE_CFLAGS
2660 C compiler flags for libpulse, overriding pkg-config
2661 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2662 GSTREAMER_CFLAGS
2663 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2664 gstreamer-audio-1.0, overriding pkg-config
2665 GSTREAMER_LIBS
2666 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2667 gstreamer-audio-1.0, overriding pkg-config
2668 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2669 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2670 UNWIND_CFLAGS
2671 C compiler flags for libunwind, overriding pkg-config
2672 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2673 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2674 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2675 FAUDIO_CFLAGS
2676 C compiler flags for faudio, overriding pkg-config
2677 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2678 CAPI20_CFLAGS
2679 C compiler flags for capi20, overriding pkg-config
2680 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2681 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2682 CUPS_LIBS Linker flags for cups, overriding pkg-config
2683 FONTCONFIG_CFLAGS
2684 C compiler flags for fontconfig, overriding pkg-config
2685 FONTCONFIG_LIBS
2686 Linker flags for fontconfig, overriding pkg-config
2687 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2688 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2689 GSSAPI_CFLAGS
2690 C compiler flags for krb5-gssapi, overriding pkg-config
2691 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2692 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2693 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2694 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2695 PNG_LIBS Linker flags for libpng, overriding pkg-config
2696 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2697 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2698 MPG123_CFLAGS
2699 C compiler flags for libmpg123, overriding pkg-config
2700 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2701 NETAPI_CFLAGS
2702 C compiler flags for netapi, overriding pkg-config
2703 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2704 VKD3D_CFLAGS
2705 C compiler flags for libvkd3d, overriding pkg-config
2706 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2707 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2708 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2710 Use these variables to override the choices made by `configure' or to help
2711 it to find libraries and programs with nonstandard names/locations.
2713 Report bugs to <wine-devel@winehq.org>.
2714 Wine home page: <https://www.winehq.org>.
2715 _ACEOF
2716 ac_status=$?
2719 if test "$ac_init_help" = "recursive"; then
2720 # If there are subdirs, report their specific --help.
2721 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2722 test -d "$ac_dir" ||
2723 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2724 continue
2725 ac_builddir=.
2727 case "$ac_dir" in
2728 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2730 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2731 # A ".." for each directory in $ac_dir_suffix.
2732 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2733 case $ac_top_builddir_sub in
2734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2736 esac ;;
2737 esac
2738 ac_abs_top_builddir=$ac_pwd
2739 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2740 # for backward compatibility:
2741 ac_top_builddir=$ac_top_build_prefix
2743 case $srcdir in
2744 .) # We are building in place.
2745 ac_srcdir=.
2746 ac_top_srcdir=$ac_top_builddir_sub
2747 ac_abs_top_srcdir=$ac_pwd ;;
2748 [\\/]* | ?:[\\/]* ) # Absolute name.
2749 ac_srcdir=$srcdir$ac_dir_suffix;
2750 ac_top_srcdir=$srcdir
2751 ac_abs_top_srcdir=$srcdir ;;
2752 *) # Relative name.
2753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2754 ac_top_srcdir=$ac_top_build_prefix$srcdir
2755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2756 esac
2757 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2759 cd "$ac_dir" || { ac_status=$?; continue; }
2760 # Check for guested configure.
2761 if test -f "$ac_srcdir/configure.gnu"; then
2762 echo &&
2763 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2764 elif test -f "$ac_srcdir/configure"; then
2765 echo &&
2766 $SHELL "$ac_srcdir/configure" --help=recursive
2767 else
2768 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2769 fi || ac_status=$?
2770 cd "$ac_pwd" || { ac_status=$?; break; }
2771 done
2774 test -n "$ac_init_help" && exit $ac_status
2775 if $ac_init_version; then
2776 cat <<\_ACEOF
2777 Wine configure 5.5
2778 generated by GNU Autoconf 2.69
2780 Copyright (C) 2012 Free Software Foundation, Inc.
2781 This configure script is free software; the Free Software Foundation
2782 gives unlimited permission to copy, distribute and modify it.
2783 _ACEOF
2784 exit
2787 ## ------------------------ ##
2788 ## Autoconf initialization. ##
2789 ## ------------------------ ##
2791 # ac_fn_c_try_compile LINENO
2792 # --------------------------
2793 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2794 ac_fn_c_try_compile ()
2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797 rm -f conftest.$ac_objext
2798 if { { ac_try="$ac_compile"
2799 case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_compile") 2>conftest.err
2806 ac_status=$?
2807 if test -s conftest.err; then
2808 grep -v '^ *+' conftest.err >conftest.er1
2809 cat conftest.er1 >&5
2810 mv -f conftest.er1 conftest.err
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; } && {
2814 test -z "$ac_c_werror_flag" ||
2815 test ! -s conftest.err
2816 } && test -s conftest.$ac_objext; then :
2817 ac_retval=0
2818 else
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2822 ac_retval=1
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_compile
2829 # ac_fn_cxx_try_compile LINENO
2830 # ----------------------------
2831 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2832 ac_fn_cxx_try_compile ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 rm -f conftest.$ac_objext
2836 if { { ac_try="$ac_compile"
2837 case "(($ac_try" in
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2840 esac
2841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2842 $as_echo "$ac_try_echo"; } >&5
2843 (eval "$ac_compile") 2>conftest.err
2844 ac_status=$?
2845 if test -s conftest.err; then
2846 grep -v '^ *+' conftest.err >conftest.er1
2847 cat conftest.er1 >&5
2848 mv -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; } && {
2852 test -z "$ac_cxx_werror_flag" ||
2853 test ! -s conftest.err
2854 } && test -s conftest.$ac_objext; then :
2855 ac_retval=0
2856 else
2857 $as_echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 ac_retval=1
2862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2863 as_fn_set_status $ac_retval
2865 } # ac_fn_cxx_try_compile
2867 # ac_fn_c_try_link LINENO
2868 # -----------------------
2869 # Try to link conftest.$ac_ext, and return whether this succeeded.
2870 ac_fn_c_try_link ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 rm -f conftest.$ac_objext conftest$ac_exeext
2874 if { { ac_try="$ac_link"
2875 case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878 esac
2879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881 (eval "$ac_link") 2>conftest.err
2882 ac_status=$?
2883 if test -s conftest.err; then
2884 grep -v '^ *+' conftest.err >conftest.er1
2885 cat conftest.er1 >&5
2886 mv -f conftest.er1 conftest.err
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; } && {
2890 test -z "$ac_c_werror_flag" ||
2891 test ! -s conftest.err
2892 } && test -s conftest$ac_exeext && {
2893 test "$cross_compiling" = yes ||
2894 test -x conftest$ac_exeext
2895 }; then :
2896 ac_retval=0
2897 else
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2901 ac_retval=1
2903 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2904 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2905 # interfere with the next link command; also delete a directory that is
2906 # left behind by Apple's compiler. We do this before executing the actions.
2907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 as_fn_set_status $ac_retval
2911 } # ac_fn_c_try_link
2913 # ac_fn_c_try_cpp LINENO
2914 # ----------------------
2915 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2916 ac_fn_c_try_cpp ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 if { { ac_try="$ac_cpp conftest.$ac_ext"
2920 case "(($ac_try" in
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2923 esac
2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2925 $as_echo "$ac_try_echo"; } >&5
2926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2927 ac_status=$?
2928 if test -s conftest.err; then
2929 grep -v '^ *+' conftest.err >conftest.er1
2930 cat conftest.er1 >&5
2931 mv -f conftest.er1 conftest.err
2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2934 test $ac_status = 0; } > conftest.i && {
2935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2936 test ! -s conftest.err
2937 }; then :
2938 ac_retval=0
2939 else
2940 $as_echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 ac_retval=1
2945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2946 as_fn_set_status $ac_retval
2948 } # ac_fn_c_try_cpp
2950 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2951 # -------------------------------------------------------
2952 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2953 # the include files in INCLUDES and setting the cache variable VAR
2954 # accordingly.
2955 ac_fn_c_check_header_mongrel ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 if eval \${$3+:} false; then :
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2960 $as_echo_n "checking for $2... " >&6; }
2961 if eval \${$3+:} false; then :
2962 $as_echo_n "(cached) " >&6
2964 eval ac_res=\$$3
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2966 $as_echo "$ac_res" >&6; }
2967 else
2968 # Is the header compilable?
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2970 $as_echo_n "checking $2 usability... " >&6; }
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2974 #include <$2>
2975 _ACEOF
2976 if ac_fn_c_try_compile "$LINENO"; then :
2977 ac_header_compiler=yes
2978 else
2979 ac_header_compiler=no
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2983 $as_echo "$ac_header_compiler" >&6; }
2985 # Is the header present?
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2987 $as_echo_n "checking $2 presence... " >&6; }
2988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2989 /* end confdefs.h. */
2990 #include <$2>
2991 _ACEOF
2992 if ac_fn_c_try_cpp "$LINENO"; then :
2993 ac_header_preproc=yes
2994 else
2995 ac_header_preproc=no
2997 rm -f conftest.err conftest.i conftest.$ac_ext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2999 $as_echo "$ac_header_preproc" >&6; }
3001 # So? What about this header?
3002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3003 yes:no: )
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3005 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3009 no:yes:* )
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3011 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3013 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3015 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3017 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3019 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3020 ( $as_echo "## ------------------------------------ ##
3021 ## Report this to wine-devel@winehq.org ##
3022 ## ------------------------------------ ##"
3023 ) | sed "s/^/$as_me: WARNING: /" >&2
3025 esac
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3027 $as_echo_n "checking for $2... " >&6; }
3028 if eval \${$3+:} false; then :
3029 $as_echo_n "(cached) " >&6
3030 else
3031 eval "$3=\$ac_header_compiler"
3033 eval ac_res=\$$3
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 $as_echo "$ac_res" >&6; }
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 } # ac_fn_c_check_header_mongrel
3041 # ac_fn_c_try_run LINENO
3042 # ----------------------
3043 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3044 # that executables *can* be run.
3045 ac_fn_c_try_run ()
3047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3048 if { { ac_try="$ac_link"
3049 case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052 esac
3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_link") 2>&5
3056 ac_status=$?
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3059 { { case "(($ac_try" in
3060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061 *) ac_try_echo=$ac_try;;
3062 esac
3063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3064 $as_echo "$ac_try_echo"; } >&5
3065 (eval "$ac_try") 2>&5
3066 ac_status=$?
3067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3068 test $ac_status = 0; }; }; then :
3069 ac_retval=0
3070 else
3071 $as_echo "$as_me: program exited with status $ac_status" >&5
3072 $as_echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3075 ac_retval=$ac_status
3077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3079 as_fn_set_status $ac_retval
3081 } # ac_fn_c_try_run
3083 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3084 # -------------------------------------------------------
3085 # Tests whether HEADER exists and can be compiled using the include files in
3086 # INCLUDES, setting the cache variable VAR accordingly.
3087 ac_fn_c_check_header_compile ()
3089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3091 $as_echo_n "checking for $2... " >&6; }
3092 if eval \${$3+:} false; then :
3093 $as_echo_n "(cached) " >&6
3094 else
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3098 #include <$2>
3099 _ACEOF
3100 if ac_fn_c_try_compile "$LINENO"; then :
3101 eval "$3=yes"
3102 else
3103 eval "$3=no"
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 eval ac_res=\$$3
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3109 $as_echo "$ac_res" >&6; }
3110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3112 } # ac_fn_c_check_header_compile
3114 # ac_fn_objc_try_compile LINENO
3115 # -----------------------------
3116 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3117 ac_fn_objc_try_compile ()
3119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3120 rm -f conftest.$ac_objext
3121 if { { ac_try="$ac_compile"
3122 case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3125 esac
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_compile") 2>conftest.err
3129 ac_status=$?
3130 if test -s conftest.err; then
3131 grep -v '^ *+' conftest.err >conftest.er1
3132 cat conftest.er1 >&5
3133 mv -f conftest.er1 conftest.err
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; } && {
3137 test -z "$ac_objc_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then :
3140 ac_retval=0
3141 else
3142 $as_echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3145 ac_retval=1
3147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3148 as_fn_set_status $ac_retval
3150 } # ac_fn_objc_try_compile
3152 # ac_fn_objc_try_cpp LINENO
3153 # -------------------------
3154 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3155 ac_fn_objc_try_cpp ()
3157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3158 if { { ac_try="$ac_cpp conftest.$ac_ext"
3159 case "(($ac_try" in
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3162 esac
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3166 ac_status=$?
3167 if test -s conftest.err; then
3168 grep -v '^ *+' conftest.err >conftest.er1
3169 cat conftest.er1 >&5
3170 mv -f conftest.er1 conftest.err
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; } > conftest.i && {
3174 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3175 test ! -s conftest.err
3176 }; then :
3177 ac_retval=0
3178 else
3179 $as_echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 ac_retval=1
3184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 as_fn_set_status $ac_retval
3187 } # ac_fn_objc_try_cpp
3189 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3190 # ----------------------------------------------------------
3191 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3192 # the include files in INCLUDES and setting the cache variable VAR
3193 # accordingly.
3194 ac_fn_objc_check_header_mongrel ()
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 if eval \${$3+:} false; then :
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3199 $as_echo_n "checking for $2... " >&6; }
3200 if eval \${$3+:} false; then :
3201 $as_echo_n "(cached) " >&6
3203 eval ac_res=\$$3
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3205 $as_echo "$ac_res" >&6; }
3206 else
3207 # Is the header compilable?
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3209 $as_echo_n "checking $2 usability... " >&6; }
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3213 #include <$2>
3214 _ACEOF
3215 if ac_fn_objc_try_compile "$LINENO"; then :
3216 ac_header_compiler=yes
3217 else
3218 ac_header_compiler=no
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3222 $as_echo "$ac_header_compiler" >&6; }
3224 # Is the header present?
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3226 $as_echo_n "checking $2 presence... " >&6; }
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3229 #include <$2>
3230 _ACEOF
3231 if ac_fn_objc_try_cpp "$LINENO"; then :
3232 ac_header_preproc=yes
3233 else
3234 ac_header_preproc=no
3236 rm -f conftest.err conftest.i conftest.$ac_ext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3238 $as_echo "$ac_header_preproc" >&6; }
3240 # So? What about this header?
3241 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3242 yes:no: )
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3244 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3246 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3248 no:yes:* )
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3250 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3252 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3254 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3256 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3258 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3259 ( $as_echo "## ------------------------------------ ##
3260 ## Report this to wine-devel@winehq.org ##
3261 ## ------------------------------------ ##"
3262 ) | sed "s/^/$as_me: WARNING: /" >&2
3264 esac
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3266 $as_echo_n "checking for $2... " >&6; }
3267 if eval \${$3+:} false; then :
3268 $as_echo_n "(cached) " >&6
3269 else
3270 eval "$3=\$ac_header_compiler"
3272 eval ac_res=\$$3
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3274 $as_echo "$ac_res" >&6; }
3276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3278 } # ac_fn_objc_check_header_mongrel
3280 # ac_fn_c_check_func LINENO FUNC VAR
3281 # ----------------------------------
3282 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3283 ac_fn_c_check_func ()
3285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3287 $as_echo_n "checking for $2... " >&6; }
3288 if eval \${$3+:} false; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3293 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3295 #define $2 innocuous_$2
3297 /* System header to define __stub macros and hopefully few prototypes,
3298 which can conflict with char $2 (); below.
3299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3300 <limits.h> exists even on freestanding compilers. */
3302 #ifdef __STDC__
3303 # include <limits.h>
3304 #else
3305 # include <assert.h>
3306 #endif
3308 #undef $2
3310 /* Override any GCC internal prototype to avoid an error.
3311 Use char because int might match the return type of a GCC
3312 builtin and then its argument prototype would still apply. */
3313 #ifdef __cplusplus
3314 extern "C"
3315 #endif
3316 char $2 ();
3317 /* The GNU C library defines this for functions which it implements
3318 to always fail with ENOSYS. Some functions are actually named
3319 something starting with __ and the normal name is an alias. */
3320 #if defined __stub_$2 || defined __stub___$2
3321 choke me
3322 #endif
3325 main ()
3327 return $2 ();
3329 return 0;
3331 _ACEOF
3332 if ac_fn_c_try_link "$LINENO"; then :
3333 eval "$3=yes"
3334 else
3335 eval "$3=no"
3337 rm -f core conftest.err conftest.$ac_objext \
3338 conftest$ac_exeext conftest.$ac_ext
3340 eval ac_res=\$$3
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3342 $as_echo "$ac_res" >&6; }
3343 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3345 } # ac_fn_c_check_func
3347 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3348 # ----------------------------------------------------
3349 # Tries to find if the field MEMBER exists in type AGGR, after including
3350 # INCLUDES, setting cache variable VAR accordingly.
3351 ac_fn_c_check_member ()
3353 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3355 $as_echo_n "checking for $2.$3... " >&6; }
3356 if eval \${$4+:} false; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3363 main ()
3365 static $2 ac_aggr;
3366 if (ac_aggr.$3)
3367 return 0;
3369 return 0;
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 eval "$4=yes"
3374 else
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3379 main ()
3381 static $2 ac_aggr;
3382 if (sizeof ac_aggr.$3)
3383 return 0;
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3389 eval "$4=yes"
3390 else
3391 eval "$4=no"
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 eval ac_res=\$$4
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3399 $as_echo "$ac_res" >&6; }
3400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3402 } # ac_fn_c_check_member
3404 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3405 # -------------------------------------------
3406 # Tests whether TYPE exists after having included INCLUDES, setting cache
3407 # variable VAR accordingly.
3408 ac_fn_c_check_type ()
3410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3412 $as_echo_n "checking for $2... " >&6; }
3413 if eval \${$3+:} false; then :
3414 $as_echo_n "(cached) " >&6
3415 else
3416 eval "$3=no"
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 main ()
3423 if (sizeof ($2))
3424 return 0;
3426 return 0;
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3434 main ()
3436 if (sizeof (($2)))
3437 return 0;
3439 return 0;
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3444 else
3445 eval "$3=yes"
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 eval ac_res=\$$3
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3453 $as_echo "$ac_res" >&6; }
3454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3456 } # ac_fn_c_check_type
3457 cat >config.log <<_ACEOF
3458 This file contains any messages produced by compilers while
3459 running configure, to aid debugging if configure makes a mistake.
3461 It was created by Wine $as_me 5.5, which was
3462 generated by GNU Autoconf 2.69. Invocation command line was
3464 $ $0 $@
3466 _ACEOF
3467 exec 5>>config.log
3469 cat <<_ASUNAME
3470 ## --------- ##
3471 ## Platform. ##
3472 ## --------- ##
3474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3491 _ASUNAME
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3496 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=.
3498 $as_echo "PATH: $as_dir"
3499 done
3500 IFS=$as_save_IFS
3502 } >&5
3504 cat >&5 <<_ACEOF
3507 ## ----------- ##
3508 ## Core tests. ##
3509 ## ----------- ##
3511 _ACEOF
3514 # Keep a trace of the command line.
3515 # Strip out --no-create and --no-recursion so they do not pile up.
3516 # Strip out --silent because we don't want to record it for future runs.
3517 # Also quote any args containing shell meta-characters.
3518 # Make two passes to allow for proper duplicate-argument suppression.
3519 ac_configure_args=
3520 ac_configure_args0=
3521 ac_configure_args1=
3522 ac_must_keep_next=false
3523 for ac_pass in 1 2
3525 for ac_arg
3527 case $ac_arg in
3528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3530 | -silent | --silent | --silen | --sile | --sil)
3531 continue ;;
3532 *\'*)
3533 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3534 esac
3535 case $ac_pass in
3536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3538 as_fn_append ac_configure_args1 " '$ac_arg'"
3539 if test $ac_must_keep_next = true; then
3540 ac_must_keep_next=false # Got value, back to normal.
3541 else
3542 case $ac_arg in
3543 *=* | --config-cache | -C | -disable-* | --disable-* \
3544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3546 | -with-* | --with-* | -without-* | --without-* | --x)
3547 case "$ac_configure_args0 " in
3548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3549 esac
3551 -* ) ac_must_keep_next=true ;;
3552 esac
3554 as_fn_append ac_configure_args " '$ac_arg'"
3556 esac
3557 done
3558 done
3559 { ac_configure_args0=; unset ac_configure_args0;}
3560 { ac_configure_args1=; unset ac_configure_args1;}
3562 # When interrupted or exit'd, cleanup temporary files, and complete
3563 # config.log. We remove comments because anyway the quotes in there
3564 # would cause problems or look ugly.
3565 # WARNING: Use '\'' to represent an apostrophe within the trap.
3566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3567 trap 'exit_status=$?
3568 # Save into config.log some information that might help in debugging.
3570 echo
3572 $as_echo "## ---------------- ##
3573 ## Cache variables. ##
3574 ## ---------------- ##"
3575 echo
3576 # The following way of writing the cache mishandles newlines in values,
3578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3579 eval ac_val=\$$ac_var
3580 case $ac_val in #(
3581 *${as_nl}*)
3582 case $ac_var in #(
3583 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3584 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3585 esac
3586 case $ac_var in #(
3587 _ | IFS | as_nl) ;; #(
3588 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3589 *) { eval $ac_var=; unset $ac_var;} ;;
3590 esac ;;
3591 esac
3592 done
3593 (set) 2>&1 |
3594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3595 *${as_nl}ac_space=\ *)
3596 sed -n \
3597 "s/'\''/'\''\\\\'\'''\''/g;
3598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3599 ;; #(
3601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3603 esac |
3604 sort
3606 echo
3608 $as_echo "## ----------------- ##
3609 ## Output variables. ##
3610 ## ----------------- ##"
3611 echo
3612 for ac_var in $ac_subst_vars
3614 eval ac_val=\$$ac_var
3615 case $ac_val in
3616 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3617 esac
3618 $as_echo "$ac_var='\''$ac_val'\''"
3619 done | sort
3620 echo
3622 if test -n "$ac_subst_files"; then
3623 $as_echo "## ------------------- ##
3624 ## File substitutions. ##
3625 ## ------------------- ##"
3626 echo
3627 for ac_var in $ac_subst_files
3629 eval ac_val=\$$ac_var
3630 case $ac_val in
3631 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3632 esac
3633 $as_echo "$ac_var='\''$ac_val'\''"
3634 done | sort
3635 echo
3638 if test -s confdefs.h; then
3639 $as_echo "## ----------- ##
3640 ## confdefs.h. ##
3641 ## ----------- ##"
3642 echo
3643 cat confdefs.h
3644 echo
3646 test "$ac_signal" != 0 &&
3647 $as_echo "$as_me: caught signal $ac_signal"
3648 $as_echo "$as_me: exit $exit_status"
3649 } >&5
3650 rm -f core *.core core.conftest.* &&
3651 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3652 exit $exit_status
3654 for ac_signal in 1 2 13 15; do
3655 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3656 done
3657 ac_signal=0
3659 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3660 rm -f -r conftest* confdefs.h
3662 $as_echo "/* confdefs.h */" > confdefs.h
3664 # Predefined preprocessor variables.
3666 cat >>confdefs.h <<_ACEOF
3667 #define PACKAGE_NAME "$PACKAGE_NAME"
3668 _ACEOF
3670 cat >>confdefs.h <<_ACEOF
3671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3672 _ACEOF
3674 cat >>confdefs.h <<_ACEOF
3675 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3676 _ACEOF
3678 cat >>confdefs.h <<_ACEOF
3679 #define PACKAGE_STRING "$PACKAGE_STRING"
3680 _ACEOF
3682 cat >>confdefs.h <<_ACEOF
3683 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3684 _ACEOF
3686 cat >>confdefs.h <<_ACEOF
3687 #define PACKAGE_URL "$PACKAGE_URL"
3688 _ACEOF
3691 # Let the site file select an alternate cache file if it wants to.
3692 # Prefer an explicitly selected file to automatically selected ones.
3693 ac_site_file1=NONE
3694 ac_site_file2=NONE
3695 if test -n "$CONFIG_SITE"; then
3696 # We do not want a PATH search for config.site.
3697 case $CONFIG_SITE in #((
3698 -*) ac_site_file1=./$CONFIG_SITE;;
3699 */*) ac_site_file1=$CONFIG_SITE;;
3700 *) ac_site_file1=./$CONFIG_SITE;;
3701 esac
3702 elif test "x$prefix" != xNONE; then
3703 ac_site_file1=$prefix/share/config.site
3704 ac_site_file2=$prefix/etc/config.site
3705 else
3706 ac_site_file1=$ac_default_prefix/share/config.site
3707 ac_site_file2=$ac_default_prefix/etc/config.site
3709 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3711 test "x$ac_site_file" = xNONE && continue
3712 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3714 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3715 sed 's/^/| /' "$ac_site_file" >&5
3716 . "$ac_site_file" \
3717 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error $? "failed to load site script $ac_site_file
3720 See \`config.log' for more details" "$LINENO" 5; }
3722 done
3724 if test -r "$cache_file"; then
3725 # Some versions of bash will fail to source /dev/null (special files
3726 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3727 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3729 $as_echo "$as_me: loading cache $cache_file" >&6;}
3730 case $cache_file in
3731 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3732 *) . "./$cache_file";;
3733 esac
3735 else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3737 $as_echo "$as_me: creating cache $cache_file" >&6;}
3738 >$cache_file
3741 # Check that the precious variables saved in the cache have kept the same
3742 # value.
3743 ac_cache_corrupted=false
3744 for ac_var in $ac_precious_vars; do
3745 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3746 eval ac_new_set=\$ac_env_${ac_var}_set
3747 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3748 eval ac_new_val=\$ac_env_${ac_var}_value
3749 case $ac_old_set,$ac_new_set in
3750 set,)
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3752 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3753 ac_cache_corrupted=: ;;
3754 ,set)
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3756 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3757 ac_cache_corrupted=: ;;
3758 ,);;
3760 if test "x$ac_old_val" != "x$ac_new_val"; then
3761 # differences in whitespace do not lead to failure.
3762 ac_old_val_w=`echo x $ac_old_val`
3763 ac_new_val_w=`echo x $ac_new_val`
3764 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3766 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3767 ac_cache_corrupted=:
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3770 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3771 eval $ac_var=\$ac_old_val
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3774 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3776 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3777 fi;;
3778 esac
3779 # Pass precious variables to config.status.
3780 if test "$ac_new_set" = set; then
3781 case $ac_new_val in
3782 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3783 *) ac_arg=$ac_var=$ac_new_val ;;
3784 esac
3785 case " $ac_configure_args " in
3786 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3787 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3788 esac
3790 done
3791 if $ac_cache_corrupted; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3795 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3796 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3798 ## -------------------- ##
3799 ## Main body of script. ##
3800 ## -------------------- ##
3802 ac_ext=c
3803 ac_cpp='$CPP $CPPFLAGS'
3804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 ac_config_headers="$ac_config_headers include/config.h"
3812 ac_aux_dir=
3813 for ac_dir in tools "$srcdir"/tools; do
3814 if test -f "$ac_dir/install-sh"; then
3815 ac_aux_dir=$ac_dir
3816 ac_install_sh="$ac_aux_dir/install-sh -c"
3817 break
3818 elif test -f "$ac_dir/install.sh"; then
3819 ac_aux_dir=$ac_dir
3820 ac_install_sh="$ac_aux_dir/install.sh -c"
3821 break
3822 elif test -f "$ac_dir/shtool"; then
3823 ac_aux_dir=$ac_dir
3824 ac_install_sh="$ac_aux_dir/shtool install -c"
3825 break
3827 done
3828 if test -z "$ac_aux_dir"; then
3829 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3832 # These three variables are undocumented and unsupported,
3833 # and are intended to be withdrawn in a future Autoconf release.
3834 # They can cause serious problems if a builder's source tree is in a directory
3835 # whose full name contains unusual characters.
3836 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3837 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3838 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3842 libwine_version="1.0"
3846 # Check whether --enable-win16 was given.
3847 if test "${enable_win16+set}" = set; then :
3848 enableval=$enable_win16;
3851 # Check whether --enable-win64 was given.
3852 if test "${enable_win64+set}" = set; then :
3853 enableval=$enable_win64;
3856 # Check whether --enable-tests was given.
3857 if test "${enable_tests+set}" = set; then :
3858 enableval=$enable_tests;
3861 # Check whether --enable-maintainer-mode was given.
3862 if test "${enable_maintainer_mode+set}" = set; then :
3863 enableval=$enable_maintainer_mode;
3866 # Check whether --enable-werror was given.
3867 if test "${enable_werror+set}" = set; then :
3868 enableval=$enable_werror;
3873 # Check whether --with-alsa was given.
3874 if test "${with_alsa+set}" = set; then :
3875 withval=$with_alsa;
3879 # Check whether --with-capi was given.
3880 if test "${with_capi+set}" = set; then :
3881 withval=$with_capi;
3885 # Check whether --with-cms was given.
3886 if test "${with_cms+set}" = set; then :
3887 withval=$with_cms;
3891 # Check whether --with-coreaudio was given.
3892 if test "${with_coreaudio+set}" = set; then :
3893 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3897 # Check whether --with-cups was given.
3898 if test "${with_cups+set}" = set; then :
3899 withval=$with_cups;
3903 # Check whether --with-curses was given.
3904 if test "${with_curses+set}" = set; then :
3905 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3909 # Check whether --with-dbus was given.
3910 if test "${with_dbus+set}" = set; then :
3911 withval=$with_dbus;
3915 # Check whether --with-faudio was given.
3916 if test "${with_faudio+set}" = set; then :
3917 withval=$with_faudio;
3921 # Check whether --with-float-abi was given.
3922 if test "${with_float_abi+set}" = set; then :
3923 withval=$with_float_abi;
3927 # Check whether --with-fontconfig was given.
3928 if test "${with_fontconfig+set}" = set; then :
3929 withval=$with_fontconfig;
3933 # Check whether --with-freetype was given.
3934 if test "${with_freetype+set}" = set; then :
3935 withval=$with_freetype;
3939 # Check whether --with-gettext was given.
3940 if test "${with_gettext+set}" = set; then :
3941 withval=$with_gettext;
3945 # Check whether --with-gettextpo was given.
3946 if test "${with_gettextpo+set}" = set; then :
3947 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3951 # Check whether --with-gphoto was given.
3952 if test "${with_gphoto+set}" = set; then :
3953 withval=$with_gphoto;
3957 # Check whether --with-glu was given.
3958 if test "${with_glu+set}" = set; then :
3959 withval=$with_glu;
3963 # Check whether --with-gnutls was given.
3964 if test "${with_gnutls+set}" = set; then :
3965 withval=$with_gnutls;
3969 # Check whether --with-gsm was given.
3970 if test "${with_gsm+set}" = set; then :
3971 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3975 # Check whether --with-gssapi was given.
3976 if test "${with_gssapi+set}" = set; then :
3977 withval=$with_gssapi;
3981 # Check whether --with-gstreamer was given.
3982 if test "${with_gstreamer+set}" = set; then :
3983 withval=$with_gstreamer;
3987 # Check whether --with-hal was given.
3988 if test "${with_hal+set}" = set; then :
3989 withval=$with_hal;
3993 # Check whether --with-inotify was given.
3994 if test "${with_inotify+set}" = set; then :
3995 withval=$with_inotify;
3999 # Check whether --with-jpeg was given.
4000 if test "${with_jpeg+set}" = set; then :
4001 withval=$with_jpeg;
4005 # Check whether --with-krb5 was given.
4006 if test "${with_krb5+set}" = set; then :
4007 withval=$with_krb5;
4011 # Check whether --with-ldap was given.
4012 if test "${with_ldap+set}" = set; then :
4013 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4017 # Check whether --with-mingw was given.
4018 if test "${with_mingw+set}" = set; then :
4019 withval=$with_mingw;
4023 # Check whether --with-mpg123 was given.
4024 if test "${with_mpg123+set}" = set; then :
4025 withval=$with_mpg123;
4029 # Check whether --with-netapi was given.
4030 if test "${with_netapi+set}" = set; then :
4031 withval=$with_netapi;
4035 # Check whether --with-openal was given.
4036 if test "${with_openal+set}" = set; then :
4037 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4041 # Check whether --with-opencl was given.
4042 if test "${with_opencl+set}" = set; then :
4043 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4047 # Check whether --with-opengl was given.
4048 if test "${with_opengl+set}" = set; then :
4049 withval=$with_opengl;
4053 # Check whether --with-osmesa was given.
4054 if test "${with_osmesa+set}" = set; then :
4055 withval=$with_osmesa;
4059 # Check whether --with-oss was given.
4060 if test "${with_oss+set}" = set; then :
4061 withval=$with_oss;
4065 # Check whether --with-pcap was given.
4066 if test "${with_pcap+set}" = set; then :
4067 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4071 # Check whether --with-png was given.
4072 if test "${with_png+set}" = set; then :
4073 withval=$with_png;
4077 # Check whether --with-pthread was given.
4078 if test "${with_pthread+set}" = set; then :
4079 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4083 # Check whether --with-pulse was given.
4084 if test "${with_pulse+set}" = set; then :
4085 withval=$with_pulse;
4089 # Check whether --with-sane was given.
4090 if test "${with_sane+set}" = set; then :
4091 withval=$with_sane;
4095 # Check whether --with-sdl was given.
4096 if test "${with_sdl+set}" = set; then :
4097 withval=$with_sdl;
4101 # Check whether --with-tiff was given.
4102 if test "${with_tiff+set}" = set; then :
4103 withval=$with_tiff;
4107 # Check whether --with-udev was given.
4108 if test "${with_udev+set}" = set; then :
4109 withval=$with_udev;
4113 # Check whether --with-unwind was given.
4114 if test "${with_unwind+set}" = set; then :
4115 withval=$with_unwind;
4119 # Check whether --with-v4l2 was given.
4120 if test "${with_v4l2+set}" = set; then :
4121 withval=$with_v4l2;
4125 # Check whether --with-vkd3d was given.
4126 if test "${with_vkd3d+set}" = set; then :
4127 withval=$with_vkd3d;
4131 # Check whether --with-vulkan was given.
4132 if test "${with_vulkan+set}" = set; then :
4133 withval=$with_vulkan;
4137 # Check whether --with-xcomposite was given.
4138 if test "${with_xcomposite+set}" = set; then :
4139 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4143 # Check whether --with-xcursor was given.
4144 if test "${with_xcursor+set}" = set; then :
4145 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4149 # Check whether --with-xfixes was given.
4150 if test "${with_xfixes+set}" = set; then :
4151 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4155 # Check whether --with-xinerama was given.
4156 if test "${with_xinerama+set}" = set; then :
4157 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4161 # Check whether --with-xinput was given.
4162 if test "${with_xinput+set}" = set; then :
4163 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4167 # Check whether --with-xinput2 was given.
4168 if test "${with_xinput2+set}" = set; then :
4169 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4173 # Check whether --with-xml was given.
4174 if test "${with_xml+set}" = set; then :
4175 withval=$with_xml;
4179 # Check whether --with-xrandr was given.
4180 if test "${with_xrandr+set}" = set; then :
4181 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4185 # Check whether --with-xrender was given.
4186 if test "${with_xrender+set}" = set; then :
4187 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4191 # Check whether --with-xshape was given.
4192 if test "${with_xshape+set}" = set; then :
4193 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4197 # Check whether --with-xshm was given.
4198 if test "${with_xshm+set}" = set; then :
4199 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4203 # Check whether --with-xslt was given.
4204 if test "${with_xslt+set}" = set; then :
4205 withval=$with_xslt;
4209 # Check whether --with-xxf86vm was given.
4210 if test "${with_xxf86vm+set}" = set; then :
4211 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
4215 # Check whether --with-zlib was given.
4216 if test "${with_zlib+set}" = set; then :
4217 withval=$with_zlib;
4222 # Check whether --with-wine-tools was given.
4223 if test "${with_wine_tools+set}" = set; then :
4224 withval=$with_wine_tools;
4228 # Check whether --with-wine64 was given.
4229 if test "${with_wine64+set}" = set; then :
4230 withval=$with_wine64;
4234 # Make sure we can run config.sub.
4235 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4236 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4239 $as_echo_n "checking build system type... " >&6; }
4240 if ${ac_cv_build+:} false; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 ac_build_alias=$build_alias
4244 test "x$ac_build_alias" = x &&
4245 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4246 test "x$ac_build_alias" = x &&
4247 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4248 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4249 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4253 $as_echo "$ac_cv_build" >&6; }
4254 case $ac_cv_build in
4255 *-*-*) ;;
4256 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4257 esac
4258 build=$ac_cv_build
4259 ac_save_IFS=$IFS; IFS='-'
4260 set x $ac_cv_build
4261 shift
4262 build_cpu=$1
4263 build_vendor=$2
4264 shift; shift
4265 # Remember, the first character of IFS is used to create $*,
4266 # except with old shells:
4267 build_os=$*
4268 IFS=$ac_save_IFS
4269 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4273 $as_echo_n "checking host system type... " >&6; }
4274 if ${ac_cv_host+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 if test "x$host_alias" = x; then
4278 ac_cv_host=$ac_cv_build
4279 else
4280 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4281 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4286 $as_echo "$ac_cv_host" >&6; }
4287 case $ac_cv_host in
4288 *-*-*) ;;
4289 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4290 esac
4291 host=$ac_cv_host
4292 ac_save_IFS=$IFS; IFS='-'
4293 set x $ac_cv_host
4294 shift
4295 host_cpu=$1
4296 host_vendor=$2
4297 shift; shift
4298 # Remember, the first character of IFS is used to create $*,
4299 # except with old shells:
4300 host_os=$*
4301 IFS=$ac_save_IFS
4302 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4308 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4309 set x ${MAKE-make}
4310 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4311 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 cat >conftest.make <<\_ACEOF
4315 SHELL = /bin/sh
4316 all:
4317 @echo '@@@%%%=$(MAKE)=@@@%%%'
4318 _ACEOF
4319 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4320 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4321 *@@@%%%=?*=@@@%%%*)
4322 eval ac_cv_prog_make_${ac_make}_set=yes;;
4324 eval ac_cv_prog_make_${ac_make}_set=no;;
4325 esac
4326 rm -f conftest.make
4328 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4330 $as_echo "yes" >&6; }
4331 SET_MAKE=
4332 else
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4335 SET_MAKE="MAKE=${MAKE-make}"
4338 ac_ext=c
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343 if test -n "$ac_tool_prefix"; then
4344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4345 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if ${ac_cv_prog_CC+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 if test -n "$CC"; then
4352 ac_cv_prog_CC="$CC" # Let the user override the test.
4353 else
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH
4357 IFS=$as_save_IFS
4358 test -z "$as_dir" && as_dir=.
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4361 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 break 2
4365 done
4366 done
4367 IFS=$as_save_IFS
4371 CC=$ac_cv_prog_CC
4372 if test -n "$CC"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4374 $as_echo "$CC" >&6; }
4375 else
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4382 if test -z "$ac_cv_prog_CC"; then
4383 ac_ct_CC=$CC
4384 # Extract the first word of "gcc", so it can be a program name with args.
4385 set dummy gcc; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 if test -n "$ac_ct_CC"; then
4392 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_ac_ct_CC="gcc"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4405 done
4406 done
4407 IFS=$as_save_IFS
4411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4412 if test -n "$ac_ct_CC"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4414 $as_echo "$ac_ct_CC" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4420 if test "x$ac_ct_CC" = x; then
4421 CC=""
4422 else
4423 case $cross_compiling:$ac_tool_warned in
4424 yes:)
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4427 ac_tool_warned=yes ;;
4428 esac
4429 CC=$ac_ct_CC
4431 else
4432 CC="$ac_cv_prog_CC"
4435 if test -z "$CC"; then
4436 if test -n "$ac_tool_prefix"; then
4437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4438 set dummy ${ac_tool_prefix}cc; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if ${ac_cv_prog_CC+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 if test -n "$CC"; then
4445 ac_cv_prog_CC="$CC" # Let the user override the test.
4446 else
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH
4450 IFS=$as_save_IFS
4451 test -z "$as_dir" && as_dir=.
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4454 ac_cv_prog_CC="${ac_tool_prefix}cc"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 break 2
4458 done
4459 done
4460 IFS=$as_save_IFS
4464 CC=$ac_cv_prog_CC
4465 if test -n "$CC"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4467 $as_echo "$CC" >&6; }
4468 else
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4476 if test -z "$CC"; then
4477 # Extract the first word of "cc", so it can be a program name with args.
4478 set dummy cc; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_CC+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 if test -n "$CC"; then
4485 ac_cv_prog_CC="$CC" # Let the user override the test.
4486 else
4487 ac_prog_rejected=no
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4496 ac_prog_rejected=yes
4497 continue
4499 ac_cv_prog_CC="cc"
4500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 break 2
4503 done
4504 done
4505 IFS=$as_save_IFS
4507 if test $ac_prog_rejected = yes; then
4508 # We found a bogon in the path, so make sure we never use it.
4509 set dummy $ac_cv_prog_CC
4510 shift
4511 if test $# != 0; then
4512 # We chose a different compiler from the bogus one.
4513 # However, it has the same basename, so the bogon will be chosen
4514 # first if we set CC to just the basename; use the full file name.
4515 shift
4516 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4521 CC=$ac_cv_prog_CC
4522 if test -n "$CC"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4524 $as_echo "$CC" >&6; }
4525 else
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4532 if test -z "$CC"; then
4533 if test -n "$ac_tool_prefix"; then
4534 for ac_prog in cl.exe
4536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_CC+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 if test -n "$CC"; then
4544 ac_cv_prog_CC="$CC" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4549 IFS=$as_save_IFS
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 break 2
4557 done
4558 done
4559 IFS=$as_save_IFS
4563 CC=$ac_cv_prog_CC
4564 if test -n "$CC"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4566 $as_echo "$CC" >&6; }
4567 else
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$CC" && break
4574 done
4576 if test -z "$CC"; then
4577 ac_ct_CC=$CC
4578 for ac_prog in cl.exe
4580 # Extract the first word of "$ac_prog", so it can be a program name with args.
4581 set dummy $ac_prog; ac_word=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4585 $as_echo_n "(cached) " >&6
4586 else
4587 if test -n "$ac_ct_CC"; then
4588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4589 else
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591 for as_dir in $PATH
4593 IFS=$as_save_IFS
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_prog_ac_ct_CC="$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 break 2
4601 done
4602 done
4603 IFS=$as_save_IFS
4607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4608 if test -n "$ac_ct_CC"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4610 $as_echo "$ac_ct_CC" >&6; }
4611 else
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$ac_ct_CC" && break
4618 done
4620 if test "x$ac_ct_CC" = x; then
4621 CC=""
4622 else
4623 case $cross_compiling:$ac_tool_warned in
4624 yes:)
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4627 ac_tool_warned=yes ;;
4628 esac
4629 CC=$ac_ct_CC
4636 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4638 as_fn_error $? "no acceptable C compiler found in \$PATH
4639 See \`config.log' for more details" "$LINENO" 5; }
4641 # Provide some information about the compiler.
4642 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4643 set X $ac_compile
4644 ac_compiler=$2
4645 for ac_option in --version -v -V -qversion; do
4646 { { ac_try="$ac_compiler $ac_option >&5"
4647 case "(($ac_try" in
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4650 esac
4651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4652 $as_echo "$ac_try_echo"; } >&5
4653 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4654 ac_status=$?
4655 if test -s conftest.err; then
4656 sed '10a\
4657 ... rest of stderr output deleted ...
4658 10q' conftest.err >conftest.er1
4659 cat conftest.er1 >&5
4661 rm -f conftest.er1 conftest.err
4662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4663 test $ac_status = 0; }
4664 done
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4670 main ()
4674 return 0;
4676 _ACEOF
4677 ac_clean_files_save=$ac_clean_files
4678 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4679 # Try to create an executable without -o first, disregard a.out.
4680 # It will help us diagnose broken compilers, and finding out an intuition
4681 # of exeext.
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4683 $as_echo_n "checking whether the C compiler works... " >&6; }
4684 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4686 # The possible output files:
4687 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4689 ac_rmfiles=
4690 for ac_file in $ac_files
4692 case $ac_file in
4693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4694 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4695 esac
4696 done
4697 rm -f $ac_rmfiles
4699 if { { ac_try="$ac_link_default"
4700 case "(($ac_try" in
4701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4702 *) ac_try_echo=$ac_try;;
4703 esac
4704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4705 $as_echo "$ac_try_echo"; } >&5
4706 (eval "$ac_link_default") 2>&5
4707 ac_status=$?
4708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4709 test $ac_status = 0; }; then :
4710 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4711 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4712 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4713 # so that the user can short-circuit this test for compilers unknown to
4714 # Autoconf.
4715 for ac_file in $ac_files ''
4717 test -f "$ac_file" || continue
4718 case $ac_file in
4719 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4721 [ab].out )
4722 # We found the default executable, but exeext='' is most
4723 # certainly right.
4724 break;;
4725 *.* )
4726 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4727 then :; else
4728 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4730 # We set ac_cv_exeext here because the later test for it is not
4731 # safe: cross compilers may not add the suffix if given an `-o'
4732 # argument, so we may need to know it at that point already.
4733 # Even if this section looks crufty: it has the advantage of
4734 # actually working.
4735 break;;
4737 break;;
4738 esac
4739 done
4740 test "$ac_cv_exeext" = no && ac_cv_exeext=
4742 else
4743 ac_file=''
4745 if test -z "$ac_file"; then :
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4748 $as_echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4753 as_fn_error 77 "C compiler cannot create executables
4754 See \`config.log' for more details" "$LINENO" 5; }
4755 else
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757 $as_echo "yes" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4760 $as_echo_n "checking for C compiler default output file name... " >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4762 $as_echo "$ac_file" >&6; }
4763 ac_exeext=$ac_cv_exeext
4765 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4766 ac_clean_files=$ac_clean_files_save
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4768 $as_echo_n "checking for suffix of executables... " >&6; }
4769 if { { ac_try="$ac_link"
4770 case "(($ac_try" in
4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4773 esac
4774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4775 $as_echo "$ac_try_echo"; } >&5
4776 (eval "$ac_link") 2>&5
4777 ac_status=$?
4778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4779 test $ac_status = 0; }; then :
4780 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4781 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4782 # work properly (i.e., refer to `conftest.exe'), while it won't with
4783 # `rm'.
4784 for ac_file in conftest.exe conftest conftest.*; do
4785 test -f "$ac_file" || continue
4786 case $ac_file in
4787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4788 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4789 break;;
4790 * ) break;;
4791 esac
4792 done
4793 else
4794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4796 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4797 See \`config.log' for more details" "$LINENO" 5; }
4799 rm -f conftest conftest$ac_cv_exeext
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4801 $as_echo "$ac_cv_exeext" >&6; }
4803 rm -f conftest.$ac_ext
4804 EXEEXT=$ac_cv_exeext
4805 ac_exeext=$EXEEXT
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4808 #include <stdio.h>
4810 main ()
4812 FILE *f = fopen ("conftest.out", "w");
4813 return ferror (f) || fclose (f) != 0;
4816 return 0;
4818 _ACEOF
4819 ac_clean_files="$ac_clean_files conftest.out"
4820 # Check that the compiler produces executables we can run. If not, either
4821 # the compiler is broken, or we cross compile.
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4823 $as_echo_n "checking whether we are cross compiling... " >&6; }
4824 if test "$cross_compiling" != yes; then
4825 { { ac_try="$ac_link"
4826 case "(($ac_try" in
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4829 esac
4830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4831 $as_echo "$ac_try_echo"; } >&5
4832 (eval "$ac_link") 2>&5
4833 ac_status=$?
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }
4836 if { ac_try='./conftest$ac_cv_exeext'
4837 { { case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4842 $as_echo "$ac_try_echo"; } >&5
4843 (eval "$ac_try") 2>&5
4844 ac_status=$?
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }; }; then
4847 cross_compiling=no
4848 else
4849 if test "$cross_compiling" = maybe; then
4850 cross_compiling=yes
4851 else
4852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4854 as_fn_error $? "cannot run C compiled programs.
4855 If you meant to cross compile, use \`--host'.
4856 See \`config.log' for more details" "$LINENO" 5; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4861 $as_echo "$cross_compiling" >&6; }
4863 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4864 ac_clean_files=$ac_clean_files_save
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4866 $as_echo_n "checking for suffix of object files... " >&6; }
4867 if ${ac_cv_objext+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4874 main ()
4878 return 0;
4880 _ACEOF
4881 rm -f conftest.o conftest.obj
4882 if { { ac_try="$ac_compile"
4883 case "(($ac_try" in
4884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4885 *) ac_try_echo=$ac_try;;
4886 esac
4887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4888 $as_echo "$ac_try_echo"; } >&5
4889 (eval "$ac_compile") 2>&5
4890 ac_status=$?
4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }; then :
4893 for ac_file in conftest.o conftest.obj conftest.*; do
4894 test -f "$ac_file" || continue;
4895 case $ac_file in
4896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4897 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4898 break;;
4899 esac
4900 done
4901 else
4902 $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4907 as_fn_error $? "cannot compute suffix of object files: cannot compile
4908 See \`config.log' for more details" "$LINENO" 5; }
4910 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4913 $as_echo "$ac_cv_objext" >&6; }
4914 OBJEXT=$ac_cv_objext
4915 ac_objext=$OBJEXT
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4917 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4918 if ${ac_cv_c_compiler_gnu+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4925 main ()
4927 #ifndef __GNUC__
4928 choke me
4929 #endif
4932 return 0;
4934 _ACEOF
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936 ac_compiler_gnu=yes
4937 else
4938 ac_compiler_gnu=no
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4945 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4946 if test $ac_compiler_gnu = yes; then
4947 GCC=yes
4948 else
4949 GCC=
4951 ac_test_CFLAGS=${CFLAGS+set}
4952 ac_save_CFLAGS=$CFLAGS
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4954 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4955 if ${ac_cv_prog_cc_g+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 ac_save_c_werror_flag=$ac_c_werror_flag
4959 ac_c_werror_flag=yes
4960 ac_cv_prog_cc_g=no
4961 CFLAGS="-g"
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4970 return 0;
4972 _ACEOF
4973 if ac_fn_c_try_compile "$LINENO"; then :
4974 ac_cv_prog_cc_g=yes
4975 else
4976 CFLAGS=""
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4981 main ()
4985 return 0;
4987 _ACEOF
4988 if ac_fn_c_try_compile "$LINENO"; then :
4990 else
4991 ac_c_werror_flag=$ac_save_c_werror_flag
4992 CFLAGS="-g"
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_compile "$LINENO"; then :
5005 ac_cv_prog_cc_g=yes
5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 ac_c_werror_flag=$ac_save_c_werror_flag
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5015 $as_echo "$ac_cv_prog_cc_g" >&6; }
5016 if test "$ac_test_CFLAGS" = set; then
5017 CFLAGS=$ac_save_CFLAGS
5018 elif test $ac_cv_prog_cc_g = yes; then
5019 if test "$GCC" = yes; then
5020 CFLAGS="-g -O2"
5021 else
5022 CFLAGS="-g"
5024 else
5025 if test "$GCC" = yes; then
5026 CFLAGS="-O2"
5027 else
5028 CFLAGS=
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5032 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5033 if ${ac_cv_prog_cc_c89+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 ac_cv_prog_cc_c89=no
5037 ac_save_CC=$CC
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5040 #include <stdarg.h>
5041 #include <stdio.h>
5042 struct stat;
5043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5044 struct buf { int x; };
5045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5046 static char *e (p, i)
5047 char **p;
5048 int i;
5050 return p[i];
5052 static char *f (char * (*g) (char **, int), char **p, ...)
5054 char *s;
5055 va_list v;
5056 va_start (v,p);
5057 s = g (p, va_arg (v,int));
5058 va_end (v);
5059 return s;
5062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5063 function prototypes and stuff, but not '\xHH' hex character constants.
5064 These don't provoke an error unfortunately, instead are silently treated
5065 as 'x'. The following induces an error, until -std is added to get
5066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5067 array size at least. It's necessary to write '\x00'==0 to get something
5068 that's true only with -std. */
5069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5072 inside strings and character constants. */
5073 #define FOO(x) 'x'
5074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5076 int test (int i, double x);
5077 struct s1 {int (*f) (int a);};
5078 struct s2 {int (*f) (double a);};
5079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5080 int argc;
5081 char **argv;
5083 main ()
5085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5087 return 0;
5089 _ACEOF
5090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5093 CC="$ac_save_CC $ac_arg"
5094 if ac_fn_c_try_compile "$LINENO"; then :
5095 ac_cv_prog_cc_c89=$ac_arg
5097 rm -f core conftest.err conftest.$ac_objext
5098 test "x$ac_cv_prog_cc_c89" != "xno" && break
5099 done
5100 rm -f conftest.$ac_ext
5101 CC=$ac_save_CC
5104 # AC_CACHE_VAL
5105 case "x$ac_cv_prog_cc_c89" in
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5108 $as_echo "none needed" >&6; } ;;
5109 xno)
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5111 $as_echo "unsupported" >&6; } ;;
5113 CC="$CC $ac_cv_prog_cc_c89"
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5115 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5116 esac
5117 if test "x$ac_cv_prog_cc_c89" != xno; then :
5121 ac_ext=c
5122 ac_cpp='$CPP $CPPFLAGS'
5123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 ac_ext=cpp
5128 ac_cpp='$CXXCPP $CPPFLAGS'
5129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5132 if test -z "$CXX"; then
5133 if test -n "$CCC"; then
5134 CXX=$CCC
5135 else
5136 if test -n "$ac_tool_prefix"; then
5137 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_CXX+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$CXX"; then
5147 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 CXX=$ac_cv_prog_CXX
5167 if test -n "$CXX"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5169 $as_echo "$CXX" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5176 test -n "$CXX" && break
5177 done
5179 if test -z "$CXX"; then
5180 ac_ct_CXX=$CXX
5181 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5183 # Extract the first word of "$ac_prog", so it can be a program name with args.
5184 set dummy $ac_prog; ac_word=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5188 $as_echo_n "(cached) " >&6
5189 else
5190 if test -n "$ac_ct_CXX"; then
5191 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5192 else
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 for as_dir in $PATH
5196 IFS=$as_save_IFS
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_ac_ct_CXX="$ac_prog"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 break 2
5204 done
5205 done
5206 IFS=$as_save_IFS
5210 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5211 if test -n "$ac_ct_CXX"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5213 $as_echo "$ac_ct_CXX" >&6; }
5214 else
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 test -n "$ac_ct_CXX" && break
5221 done
5223 if test "x$ac_ct_CXX" = x; then
5224 CXX="g++"
5225 else
5226 case $cross_compiling:$ac_tool_warned in
5227 yes:)
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5230 ac_tool_warned=yes ;;
5231 esac
5232 CXX=$ac_ct_CXX
5238 # Provide some information about the compiler.
5239 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5240 set X $ac_compile
5241 ac_compiler=$2
5242 for ac_option in --version -v -V -qversion; do
5243 { { ac_try="$ac_compiler $ac_option >&5"
5244 case "(($ac_try" in
5245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246 *) ac_try_echo=$ac_try;;
5247 esac
5248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5249 $as_echo "$ac_try_echo"; } >&5
5250 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5251 ac_status=$?
5252 if test -s conftest.err; then
5253 sed '10a\
5254 ... rest of stderr output deleted ...
5255 10q' conftest.err >conftest.er1
5256 cat conftest.er1 >&5
5258 rm -f conftest.er1 conftest.err
5259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5260 test $ac_status = 0; }
5261 done
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5264 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5265 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5272 main ()
5274 #ifndef __GNUC__
5275 choke me
5276 #endif
5279 return 0;
5281 _ACEOF
5282 if ac_fn_cxx_try_compile "$LINENO"; then :
5283 ac_compiler_gnu=yes
5284 else
5285 ac_compiler_gnu=no
5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5288 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5292 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5293 if test $ac_compiler_gnu = yes; then
5294 GXX=yes
5295 else
5296 GXX=
5298 ac_test_CXXFLAGS=${CXXFLAGS+set}
5299 ac_save_CXXFLAGS=$CXXFLAGS
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5301 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5302 if ${ac_cv_prog_cxx_g+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5306 ac_cxx_werror_flag=yes
5307 ac_cv_prog_cxx_g=no
5308 CXXFLAGS="-g"
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5317 return 0;
5319 _ACEOF
5320 if ac_fn_cxx_try_compile "$LINENO"; then :
5321 ac_cv_prog_cxx_g=yes
5322 else
5323 CXXFLAGS=""
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main ()
5332 return 0;
5334 _ACEOF
5335 if ac_fn_cxx_try_compile "$LINENO"; then :
5337 else
5338 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5339 CXXFLAGS="-g"
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5344 main ()
5348 return 0;
5350 _ACEOF
5351 if ac_fn_cxx_try_compile "$LINENO"; then :
5352 ac_cv_prog_cxx_g=yes
5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5362 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5363 if test "$ac_test_CXXFLAGS" = set; then
5364 CXXFLAGS=$ac_save_CXXFLAGS
5365 elif test $ac_cv_prog_cxx_g = yes; then
5366 if test "$GXX" = yes; then
5367 CXXFLAGS="-g -O2"
5368 else
5369 CXXFLAGS="-g"
5371 else
5372 if test "$GXX" = yes; then
5373 CXXFLAGS="-O2"
5374 else
5375 CXXFLAGS=
5378 ac_ext=c
5379 ac_cpp='$CPP $CPPFLAGS'
5380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5384 if test -n "$ac_tool_prefix"; then
5385 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5386 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_prog_CPPBIN+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 if test -n "$CPPBIN"; then
5393 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5394 else
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH
5398 IFS=$as_save_IFS
5399 test -z "$as_dir" && as_dir=.
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 break 2
5406 done
5407 done
5408 IFS=$as_save_IFS
5412 CPPBIN=$ac_cv_prog_CPPBIN
5413 if test -n "$CPPBIN"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5415 $as_echo "$CPPBIN" >&6; }
5416 else
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5423 if test -z "$ac_cv_prog_CPPBIN"; then
5424 ac_ct_CPPBIN=$CPPBIN
5425 # Extract the first word of "cpp", so it can be a program name with args.
5426 set dummy cpp; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$ac_ct_CPPBIN"; then
5433 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_ac_ct_CPPBIN="cpp"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5446 done
5447 done
5448 IFS=$as_save_IFS
5452 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5453 if test -n "$ac_ct_CPPBIN"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5455 $as_echo "$ac_ct_CPPBIN" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5461 if test "x$ac_ct_CPPBIN" = x; then
5462 CPPBIN="cpp"
5463 else
5464 case $cross_compiling:$ac_tool_warned in
5465 yes:)
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned=yes ;;
5469 esac
5470 CPPBIN=$ac_ct_CPPBIN
5472 else
5473 CPPBIN="$ac_cv_prog_CPPBIN"
5477 cat >>confdefs.h <<_ACEOF
5478 #define EXEEXT "$ac_exeext"
5479 _ACEOF
5481 if test -n "$ac_tool_prefix"; then
5482 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5483 set dummy ${ac_tool_prefix}ld; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_LD+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$LD"; then
5490 ac_cv_prog_LD="$LD" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_LD="${ac_tool_prefix}ld"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5503 done
5504 done
5505 IFS=$as_save_IFS
5509 LD=$ac_cv_prog_LD
5510 if test -n "$LD"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5512 $as_echo "$LD" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5520 if test -z "$ac_cv_prog_LD"; then
5521 ac_ct_LD=$LD
5522 # Extract the first word of "ld", so it can be a program name with args.
5523 set dummy ld; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$ac_ct_LD"; then
5530 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_ac_ct_LD="ld"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5550 if test -n "$ac_ct_LD"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5552 $as_echo "$ac_ct_LD" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5558 if test "x$ac_ct_LD" = x; then
5559 LD=""
5560 else
5561 case $cross_compiling:$ac_tool_warned in
5562 yes:)
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5565 ac_tool_warned=yes ;;
5566 esac
5567 LD=$ac_ct_LD
5569 else
5570 LD="$ac_cv_prog_LD"
5574 case $host in
5575 *-darwin*)
5576 with_fontconfig=${with_fontconfig:-no}
5578 *-mingw32*|*-cygwin*)
5579 enable_win16=${enable_win16:-no}
5580 with_mingw=${with_mingw:-no}
5581 CFLAGS="$CFLAGS -D_WIN32"
5583 esac
5585 case $host in
5586 x86_64*|amd64*)
5587 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5588 then
5589 CC="$CC -m32"
5590 CXX="$CXX -m32"
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5593 $as_echo_n "checking whether $CC works... " >&6; }
5594 if ${wine_cv_cc_m32+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5601 main ()
5605 return 0;
5607 _ACEOF
5608 if ac_fn_c_try_link "$LINENO"; then :
5609 wine_cv_cc_m32=yes
5610 else
5611 wine_cv_cc_m32=no
5613 rm -f core conftest.err conftest.$ac_objext \
5614 conftest$ac_exeext conftest.$ac_ext
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5617 $as_echo "$wine_cv_cc_m32" >&6; }
5618 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
5619 host_cpu="i386"
5620 notice_platform="32-bit "
5621 TARGETFLAGS="-m32"
5623 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5624 export PKG_CONFIG_PATH
5625 enable_win16=${enable_win16:-yes}
5626 with_unwind=${with_unwind:-no}
5627 else
5628 if test "x${GCC}" = "xyes"
5629 then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5631 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5632 if ${wine_cv_builtin_ms_va_list+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5637 #include <stdarg.h>
5639 main ()
5641 void func(__builtin_ms_va_list *args);
5643 return 0;
5645 _ACEOF
5646 if ac_fn_c_try_compile "$LINENO"; then :
5647 wine_cv_builtin_ms_va_list=yes
5648 else
5649 wine_cv_builtin_ms_va_list=no
5651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5654 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5655 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
5657 CC="$CC -m64"
5658 CXX="$CXX -m64"
5659 host_cpu="x86_64"
5660 notice_platform="64-bit "
5661 TARGETFLAGS="-m64"
5665 arm*)
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5667 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5668 if ${wine_cv_thumb+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5673 int ac_test(int i) { return i; }
5675 main ()
5677 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5679 return 0;
5681 _ACEOF
5682 if ac_fn_c_try_link "$LINENO"; then :
5683 wine_cv_thumb=yes
5684 else
5685 wine_cv_thumb=no
5687 rm -f core conftest.err conftest.$ac_objext \
5688 conftest$ac_exeext conftest.$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5691 $as_echo "$wine_cv_thumb" >&6; }
5692 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5693 case $with_float_abi in
5694 soft|softfp|hard)
5695 float_abi=$with_float_abi ;;
5697 case $host_os in
5698 *eabihf)
5699 float_abi=hard ;;
5701 float_abi=softfp
5702 saved_CFLAGS=$CFLAGS
5703 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5705 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5706 if ${wine_cv_float_abi+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5713 main ()
5715 asm("vmrs r2,fpscr");
5717 return 0;
5719 _ACEOF
5720 if ac_fn_c_try_link "$LINENO"; then :
5721 wine_cv_float_abi=yes
5722 else
5723 wine_cv_float_abi=no
5725 rm -f core conftest.err conftest.$ac_objext \
5726 conftest$ac_exeext conftest.$ac_ext
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5729 $as_echo "$wine_cv_float_abi" >&6; }
5730 if test $wine_cv_float_abi = no
5731 then
5732 float_abi=soft
5733 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5735 CFLAGS=$saved_CFLAGS
5736 esac
5738 esac
5739 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5740 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5743 aarch64*)
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5745 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5746 if ${wine_cv_builtin_ms_va_list+:} false; then :
5747 $as_echo_n "(cached) " >&6
5748 else
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751 #include <stdarg.h>
5753 main ()
5755 void func(__builtin_ms_va_list *args);
5757 return 0;
5759 _ACEOF
5760 if ac_fn_c_try_compile "$LINENO"; then :
5761 wine_cv_builtin_ms_va_list=yes
5762 else
5763 wine_cv_builtin_ms_va_list=no
5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5768 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5769 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5771 i[3456789]86*)
5772 enable_win16=${enable_win16:-yes}
5773 with_unwind=${with_unwind:-no}
5775 esac
5777 enable_win16=${enable_win16:-no}
5778 enable_win64=${enable_win64:-no}
5780 enable_winetest=${enable_winetest:-$enable_tests}
5782 if test "x$enable_win64" = "xyes"
5783 then
5784 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5785 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5786 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5790 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5791 if ${wine_cv_toolsdir+:} false; then :
5792 $as_echo_n "(cached) " >&6
5793 else
5794 wine_cv_toolsdir="$with_wine_tools"
5795 if test -z "$with_wine_tools"; then
5796 if test "$cross_compiling" = "yes"; then
5797 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5798 elif test -n "$with_wine64"; then
5799 wine_cv_toolsdir="$with_wine64"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5804 $as_echo "$wine_cv_toolsdir" >&6; }
5805 if test -z "$wine_cv_toolsdir"; then
5806 wine_makedep=tools/makedep
5807 TOOLSDIR="\$(top_builddir)"
5809 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5810 wine_makedep=$wine_cv_toolsdir/tools/makedep
5811 case "$wine_cv_toolsdir" in
5812 /*) TOOLSDIR=$wine_cv_toolsdir
5814 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5816 esac
5817 enable_tools=${enable_tools:-no}
5818 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5819 else
5820 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5822 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5823 then
5824 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5828 for ac_prog in flex
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831 set dummy $ac_prog; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if ${ac_cv_prog_FLEX+:} false; then :
5835 $as_echo_n "(cached) " >&6
5836 else
5837 if test -n "$FLEX"; then
5838 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5839 else
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 for as_dir in $PATH
5843 IFS=$as_save_IFS
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_FLEX="$ac_prog"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849 break 2
5851 done
5852 done
5853 IFS=$as_save_IFS
5857 FLEX=$ac_cv_prog_FLEX
5858 if test -n "$FLEX"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5860 $as_echo "$FLEX" >&6; }
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5867 test -n "$FLEX" && break
5868 done
5869 test -n "$FLEX" || FLEX="none"
5871 if test "$FLEX" = "none"
5872 then
5873 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5876 $as_echo_n "checking whether flex is recent enough... " >&6; }
5877 if ${wine_cv_recent_flex+:} false; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 cat >conftest.l <<EOF
5881 %top{
5882 #include "prediluvian.h"
5886 if $FLEX -t conftest.l >/dev/null 2>&5
5887 then
5888 wine_cv_recent_flex=yes
5889 else
5890 wine_cv_recent_flex=no
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5894 $as_echo "$wine_cv_recent_flex" >&6; }
5895 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
5897 for ac_prog in bison
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_BISON+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$BISON"; then
5907 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_BISON="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 BISON=$ac_cv_prog_BISON
5927 if test -n "$BISON"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5929 $as_echo "$BISON" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$BISON" && break
5937 done
5938 test -n "$BISON" || BISON="none"
5940 if test "$BISON" = "none"
5941 then
5942 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5945 $as_echo_n "checking whether bison is recent enough... " >&6; }
5946 if ${wine_cv_recent_bison+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 cat >conftest.y <<EOF
5950 %define parse.error verbose
5952 empty: ;
5954 if $BISON conftest.y >/dev/null 2>&5
5955 then
5956 wine_cv_recent_bison=yes
5957 else
5958 wine_cv_recent_bison=no
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5962 $as_echo "$wine_cv_recent_bison" >&6; }
5963 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
5965 if test -n "$ac_tool_prefix"; then
5966 for ac_prog in ar gar
5968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_AR+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 if test -n "$AR"; then
5976 ac_cv_prog_AR="$AR" # Let the user override the test.
5977 else
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 for as_dir in $PATH
5981 IFS=$as_save_IFS
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 break 2
5989 done
5990 done
5991 IFS=$as_save_IFS
5995 AR=$ac_cv_prog_AR
5996 if test -n "$AR"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5998 $as_echo "$AR" >&6; }
5999 else
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6005 test -n "$AR" && break
6006 done
6008 if test -z "$AR"; then
6009 ac_ct_AR=$AR
6010 for ac_prog in ar gar
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy $ac_prog; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if test -n "$ac_ct_AR"; then
6020 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_AR="$ac_prog"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6040 if test -n "$ac_ct_AR"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6042 $as_echo "$ac_ct_AR" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$ac_ct_AR" && break
6050 done
6052 if test "x$ac_ct_AR" = x; then
6053 AR="ar"
6054 else
6055 case $cross_compiling:$ac_tool_warned in
6056 yes:)
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned=yes ;;
6060 esac
6061 AR=$ac_ct_AR
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6067 set dummy ${ac_tool_prefix}strip; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if ${ac_cv_prog_STRIP+:} false; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6073 if test -n "$STRIP"; then
6074 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 STRIP=$ac_cv_prog_STRIP
6094 if test -n "$STRIP"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6096 $as_echo "$STRIP" >&6; }
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6104 if test -z "$ac_cv_prog_STRIP"; then
6105 ac_ct_STRIP=$STRIP
6106 # Extract the first word of "strip", so it can be a program name with args.
6107 set dummy strip; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6111 $as_echo_n "(cached) " >&6
6112 else
6113 if test -n "$ac_ct_STRIP"; then
6114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_ac_ct_STRIP="strip"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 break 2
6127 done
6128 done
6129 IFS=$as_save_IFS
6133 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6134 if test -n "$ac_ct_STRIP"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6136 $as_echo "$ac_ct_STRIP" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6142 if test "x$ac_ct_STRIP" = x; then
6143 STRIP="strip"
6144 else
6145 case $cross_compiling:$ac_tool_warned in
6146 yes:)
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6149 ac_tool_warned=yes ;;
6150 esac
6151 STRIP=$ac_ct_STRIP
6153 else
6154 STRIP="$ac_cv_prog_STRIP"
6157 if test -n "$ac_tool_prefix"; then
6158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6159 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if ${ac_cv_prog_RANLIB+:} false; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 if test -n "$RANLIB"; then
6166 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6171 IFS=$as_save_IFS
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6175 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 break 2
6179 done
6180 done
6181 IFS=$as_save_IFS
6185 RANLIB=$ac_cv_prog_RANLIB
6186 if test -n "$RANLIB"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6188 $as_echo "$RANLIB" >&6; }
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6196 if test -z "$ac_cv_prog_RANLIB"; then
6197 ac_ct_RANLIB=$RANLIB
6198 # Extract the first word of "ranlib", so it can be a program name with args.
6199 set dummy ranlib; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 if test -n "$ac_ct_RANLIB"; then
6206 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6207 else
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 for as_dir in $PATH
6211 IFS=$as_save_IFS
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6215 ac_cv_prog_ac_ct_RANLIB="ranlib"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6217 break 2
6219 done
6220 done
6221 IFS=$as_save_IFS
6225 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6226 if test -n "$ac_ct_RANLIB"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6228 $as_echo "$ac_ct_RANLIB" >&6; }
6229 else
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6234 if test "x$ac_ct_RANLIB" = x; then
6235 RANLIB=":"
6236 else
6237 case $cross_compiling:$ac_tool_warned in
6238 yes:)
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6241 ac_tool_warned=yes ;;
6242 esac
6243 RANLIB=$ac_ct_RANLIB
6245 else
6246 RANLIB="$ac_cv_prog_RANLIB"
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6250 $as_echo_n "checking whether ln -s works... " >&6; }
6251 LN_S=$as_ln_s
6252 if test "$LN_S" = "ln -s"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6254 $as_echo "yes" >&6; }
6255 else
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6257 $as_echo "no, using $LN_S" >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6261 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6262 if ${ac_cv_path_GREP+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 if test -z "$GREP"; then
6266 ac_path_GREP_found=false
6267 # Loop through the user's path and test for each of PROGNAME-LIST
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_prog in grep ggrep; do
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6276 as_fn_executable_p "$ac_path_GREP" || continue
6277 # Check for GNU ac_path_GREP and select it if it is found.
6278 # Check for GNU $ac_path_GREP
6279 case `"$ac_path_GREP" --version 2>&1` in
6280 *GNU*)
6281 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6283 ac_count=0
6284 $as_echo_n 0123456789 >"conftest.in"
6285 while :
6287 cat "conftest.in" "conftest.in" >"conftest.tmp"
6288 mv "conftest.tmp" "conftest.in"
6289 cp "conftest.in" "conftest.nl"
6290 $as_echo 'GREP' >> "conftest.nl"
6291 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6293 as_fn_arith $ac_count + 1 && ac_count=$as_val
6294 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6295 # Best one so far, save it but keep looking for a better one
6296 ac_cv_path_GREP="$ac_path_GREP"
6297 ac_path_GREP_max=$ac_count
6299 # 10*(2^10) chars as input seems more than enough
6300 test $ac_count -gt 10 && break
6301 done
6302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6303 esac
6305 $ac_path_GREP_found && break 3
6306 done
6307 done
6308 done
6309 IFS=$as_save_IFS
6310 if test -z "$ac_cv_path_GREP"; then
6311 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6313 else
6314 ac_cv_path_GREP=$GREP
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6319 $as_echo "$ac_cv_path_GREP" >&6; }
6320 GREP="$ac_cv_path_GREP"
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6324 $as_echo_n "checking for egrep... " >&6; }
6325 if ${ac_cv_path_EGREP+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6329 then ac_cv_path_EGREP="$GREP -E"
6330 else
6331 if test -z "$EGREP"; then
6332 ac_path_EGREP_found=false
6333 # Loop through the user's path and test for each of PROGNAME-LIST
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6337 IFS=$as_save_IFS
6338 test -z "$as_dir" && as_dir=.
6339 for ac_prog in egrep; do
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6342 as_fn_executable_p "$ac_path_EGREP" || continue
6343 # Check for GNU ac_path_EGREP and select it if it is found.
6344 # Check for GNU $ac_path_EGREP
6345 case `"$ac_path_EGREP" --version 2>&1` in
6346 *GNU*)
6347 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6349 ac_count=0
6350 $as_echo_n 0123456789 >"conftest.in"
6351 while :
6353 cat "conftest.in" "conftest.in" >"conftest.tmp"
6354 mv "conftest.tmp" "conftest.in"
6355 cp "conftest.in" "conftest.nl"
6356 $as_echo 'EGREP' >> "conftest.nl"
6357 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6359 as_fn_arith $ac_count + 1 && ac_count=$as_val
6360 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6361 # Best one so far, save it but keep looking for a better one
6362 ac_cv_path_EGREP="$ac_path_EGREP"
6363 ac_path_EGREP_max=$ac_count
6365 # 10*(2^10) chars as input seems more than enough
6366 test $ac_count -gt 10 && break
6367 done
6368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6369 esac
6371 $ac_path_EGREP_found && break 3
6372 done
6373 done
6374 done
6375 IFS=$as_save_IFS
6376 if test -z "$ac_cv_path_EGREP"; then
6377 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6379 else
6380 ac_cv_path_EGREP=$EGREP
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6386 $as_echo "$ac_cv_path_EGREP" >&6; }
6387 EGREP="$ac_cv_path_EGREP"
6390 # Extract the first word of "ldconfig", so it can be a program name with args.
6391 set dummy ldconfig; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_path_LDCONFIG+:} false; then :
6395 $as_echo_n "(cached) " >&6
6396 else
6397 case $LDCONFIG in
6398 [\\/]* | ?:[\\/]*)
6399 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in /sbin /usr/sbin $PATH
6405 IFS=$as_save_IFS
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 break 2
6413 done
6414 done
6415 IFS=$as_save_IFS
6417 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6419 esac
6421 LDCONFIG=$ac_cv_path_LDCONFIG
6422 if test -n "$LDCONFIG"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6424 $as_echo "$LDCONFIG" >&6; }
6425 else
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6431 for ac_prog in msgfmt
6433 # Extract the first word of "$ac_prog", so it can be a program name with args.
6434 set dummy $ac_prog; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if ${ac_cv_prog_MSGFMT+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 if test -n "$MSGFMT"; then
6441 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6442 else
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 for as_dir in $PATH
6446 IFS=$as_save_IFS
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_MSGFMT="$ac_prog"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 break 2
6454 done
6455 done
6456 IFS=$as_save_IFS
6460 MSGFMT=$ac_cv_prog_MSGFMT
6461 if test -n "$MSGFMT"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6463 $as_echo "$MSGFMT" >&6; }
6464 else
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6470 test -n "$MSGFMT" && break
6471 done
6472 test -n "$MSGFMT" || MSGFMT="false"
6474 if ${ac_tool_prefix+:} false; then :
6475 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6480 $as_echo_n "(cached) " >&6
6481 else
6482 if test -n "$PKG_CONFIG"; then
6483 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6488 IFS=$as_save_IFS
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6492 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 break 2
6496 done
6497 done
6498 IFS=$as_save_IFS
6502 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6503 if test -n "$PKG_CONFIG"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6505 $as_echo "$PKG_CONFIG" >&6; }
6506 else
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6513 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6514 if test "x$cross_compiling" = xyes; then :
6516 else
6517 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6518 # Extract the first word of "pkg-config", so it can be a program name with args.
6519 set dummy pkg-config; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 $as_echo_n "checking for $ac_word... " >&6; }
6522 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6523 $as_echo_n "(cached) " >&6
6524 else
6525 if test -n "$PKG_CONFIG"; then
6526 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6527 else
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 for as_dir in $PATH
6531 IFS=$as_save_IFS
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6535 ac_cv_prog_PKG_CONFIG="pkg-config"
6536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 break 2
6539 done
6540 done
6541 IFS=$as_save_IFS
6545 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6546 if test -n "$PKG_CONFIG"; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6548 $as_echo "$PKG_CONFIG" >&6; }
6549 else
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551 $as_echo "no" >&6; }
6556 else
6557 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6560 if test "x$enable_maintainer_mode" != "xyes"
6561 then
6562 FONTFORGE=""
6563 RSVG=""
6564 CONVERT=""
6565 ICOTOOL=""
6566 else
6567 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6568 for ac_prog in fontforge
6570 # Extract the first word of "$ac_prog", so it can be a program name with args.
6571 set dummy $ac_prog; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if ${ac_cv_prog_FONTFORGE+:} false; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$FONTFORGE"; then
6578 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_FONTFORGE="$ac_prog"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 FONTFORGE=$ac_cv_prog_FONTFORGE
6598 if test -n "$FONTFORGE"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6600 $as_echo "$FONTFORGE" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6607 test -n "$FONTFORGE" && break
6608 done
6609 test -n "$FONTFORGE" || FONTFORGE="false"
6611 for ac_prog in rsvg-convert rsvg
6613 # Extract the first word of "$ac_prog", so it can be a program name with args.
6614 set dummy $ac_prog; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6617 if ${ac_cv_prog_RSVG+:} false; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 if test -n "$RSVG"; then
6621 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6622 else
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 for as_dir in $PATH
6626 IFS=$as_save_IFS
6627 test -z "$as_dir" && as_dir=.
6628 for ac_exec_ext in '' $ac_executable_extensions; do
6629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6630 ac_cv_prog_RSVG="$ac_prog"
6631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 break 2
6634 done
6635 done
6636 IFS=$as_save_IFS
6640 RSVG=$ac_cv_prog_RSVG
6641 if test -n "$RSVG"; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6643 $as_echo "$RSVG" >&6; }
6644 else
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 $as_echo "no" >&6; }
6650 test -n "$RSVG" && break
6651 done
6652 test -n "$RSVG" || RSVG="false"
6654 for ac_prog in convert
6656 # Extract the first word of "$ac_prog", so it can be a program name with args.
6657 set dummy $ac_prog; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_CONVERT+:} false; then :
6661 $as_echo_n "(cached) " >&6
6662 else
6663 if test -n "$CONVERT"; then
6664 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6669 IFS=$as_save_IFS
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_CONVERT="$ac_prog"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 break 2
6677 done
6678 done
6679 IFS=$as_save_IFS
6683 CONVERT=$ac_cv_prog_CONVERT
6684 if test -n "$CONVERT"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6686 $as_echo "$CONVERT" >&6; }
6687 else
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6693 test -n "$CONVERT" && break
6694 done
6695 test -n "$CONVERT" || CONVERT="false"
6697 for ac_prog in icotool
6699 # Extract the first word of "$ac_prog", so it can be a program name with args.
6700 set dummy $ac_prog; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if ${ac_cv_prog_ICOTOOL+:} false; then :
6704 $as_echo_n "(cached) " >&6
6705 else
6706 if test -n "$ICOTOOL"; then
6707 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6708 else
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 for as_dir in $PATH
6712 IFS=$as_save_IFS
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6716 ac_cv_prog_ICOTOOL="$ac_prog"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 break 2
6720 done
6721 done
6722 IFS=$as_save_IFS
6726 ICOTOOL=$ac_cv_prog_ICOTOOL
6727 if test -n "$ICOTOOL"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6729 $as_echo "$ICOTOOL" >&6; }
6730 else
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6736 test -n "$ICOTOOL" && break
6737 done
6738 test -n "$ICOTOOL" || ICOTOOL="false"
6740 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6741 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6743 if test "$CONVERT" = false
6744 then
6745 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6748 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6749 convert_version=`convert --version | head -n1`
6750 if test "x$convert_version" != "x"
6751 then
6752 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6753 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6754 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6755 then
6756 CONVERT=false
6759 if test "$CONVERT" = false
6760 then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6762 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6763 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6764 else
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6766 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6770 if test "$ICOTOOL" = false
6771 then
6772 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6773 else
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6775 $as_echo_n "checking for recent enough icotool... " >&6; }
6776 icotool_version=`icotool --version | head -n1`
6777 if test "x$icotool_version" != "x"
6778 then
6779 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6780 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6781 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6782 then
6783 ICOTOOL=false
6784 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6787 if test "$ICOTOOL" = false
6788 then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6790 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6791 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6792 else
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6794 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6798 with_gettext=yes
6799 with_gettextpo=yes
6801 enable_werror=yes
6804 test "x$with_gettext" != xno || MSGFMT=false
6805 if test "$MSGFMT" != "false"
6806 then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6808 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6809 if ${wine_cv_msgfmt_contexts+:} false; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 cat >conftest.po <<EOF
6813 # comment
6814 msgctxt "ctxt"
6815 msgid "id"
6816 msgstr "str"
6818 if $MSGFMT -o /dev/null conftest.po 2>&5
6819 then
6820 wine_cv_msgfmt_contexts=yes
6821 else
6822 wine_cv_msgfmt_contexts=no
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6826 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6827 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6829 if test "$MSGFMT" = false; then :
6830 case "x$with_gettext" in
6831 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6832 xno) ;;
6833 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6834 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6835 esac
6836 enable_po=${enable_po:-no}
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6841 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6842 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 ac_check_lib_save_LIBS=$LIBS
6846 LIBS="-li386 $LIBS"
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6850 /* Override any GCC internal prototype to avoid an error.
6851 Use char because int might match the return type of a GCC
6852 builtin and then its argument prototype would still apply. */
6853 #ifdef __cplusplus
6854 extern "C"
6855 #endif
6856 char i386_set_ldt ();
6858 main ()
6860 return i386_set_ldt ();
6862 return 0;
6864 _ACEOF
6865 if ac_fn_c_try_link "$LINENO"; then :
6866 ac_cv_lib_i386_i386_set_ldt=yes
6867 else
6868 ac_cv_lib_i386_i386_set_ldt=no
6870 rm -f core conftest.err conftest.$ac_objext \
6871 conftest$ac_exeext conftest.$ac_ext
6872 LIBS=$ac_check_lib_save_LIBS
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6875 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6876 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6877 I386_LIBS="-li386"
6882 OPENGL_LIBS=""
6886 # Check whether --enable-largefile was given.
6887 if test "${enable_largefile+set}" = set; then :
6888 enableval=$enable_largefile;
6891 if test "$enable_largefile" != no; then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6894 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6895 if ${ac_cv_sys_largefile_CC+:} false; then :
6896 $as_echo_n "(cached) " >&6
6897 else
6898 ac_cv_sys_largefile_CC=no
6899 if test "$GCC" != yes; then
6900 ac_save_CC=$CC
6901 while :; do
6902 # IRIX 6.2 and later do not support large files by default,
6903 # so use the C compiler's -n32 option if that helps.
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6906 #include <sys/types.h>
6907 /* Check that off_t can represent 2**63 - 1 correctly.
6908 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6909 since some C++ compilers masquerading as C compilers
6910 incorrectly reject 9223372036854775807. */
6911 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6912 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6913 && LARGE_OFF_T % 2147483647 == 1)
6914 ? 1 : -1];
6916 main ()
6920 return 0;
6922 _ACEOF
6923 if ac_fn_c_try_compile "$LINENO"; then :
6924 break
6926 rm -f core conftest.err conftest.$ac_objext
6927 CC="$CC -n32"
6928 if ac_fn_c_try_compile "$LINENO"; then :
6929 ac_cv_sys_largefile_CC=' -n32'; break
6931 rm -f core conftest.err conftest.$ac_objext
6932 break
6933 done
6934 CC=$ac_save_CC
6935 rm -f conftest.$ac_ext
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6939 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6940 if test "$ac_cv_sys_largefile_CC" != no; then
6941 CC=$CC$ac_cv_sys_largefile_CC
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6945 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6946 if ${ac_cv_sys_file_offset_bits+:} false; then :
6947 $as_echo_n "(cached) " >&6
6948 else
6949 while :; do
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6952 #include <sys/types.h>
6953 /* Check that off_t can represent 2**63 - 1 correctly.
6954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6955 since some C++ compilers masquerading as C compilers
6956 incorrectly reject 9223372036854775807. */
6957 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6959 && LARGE_OFF_T % 2147483647 == 1)
6960 ? 1 : -1];
6962 main ()
6966 return 0;
6968 _ACEOF
6969 if ac_fn_c_try_compile "$LINENO"; then :
6970 ac_cv_sys_file_offset_bits=no; break
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 #define _FILE_OFFSET_BITS 64
6976 #include <sys/types.h>
6977 /* Check that off_t can represent 2**63 - 1 correctly.
6978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6979 since some C++ compilers masquerading as C compilers
6980 incorrectly reject 9223372036854775807. */
6981 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6983 && LARGE_OFF_T % 2147483647 == 1)
6984 ? 1 : -1];
6986 main ()
6990 return 0;
6992 _ACEOF
6993 if ac_fn_c_try_compile "$LINENO"; then :
6994 ac_cv_sys_file_offset_bits=64; break
6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 ac_cv_sys_file_offset_bits=unknown
6998 break
6999 done
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7002 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7003 case $ac_cv_sys_file_offset_bits in #(
7004 no | unknown) ;;
7006 cat >>confdefs.h <<_ACEOF
7007 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7008 _ACEOF
7010 esac
7011 rm -rf conftest*
7012 if test $ac_cv_sys_file_offset_bits = unknown; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7014 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7015 if ${ac_cv_sys_large_files+:} false; then :
7016 $as_echo_n "(cached) " >&6
7017 else
7018 while :; do
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7021 #include <sys/types.h>
7022 /* Check that off_t can represent 2**63 - 1 correctly.
7023 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7024 since some C++ compilers masquerading as C compilers
7025 incorrectly reject 9223372036854775807. */
7026 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7028 && LARGE_OFF_T % 2147483647 == 1)
7029 ? 1 : -1];
7031 main ()
7035 return 0;
7037 _ACEOF
7038 if ac_fn_c_try_compile "$LINENO"; then :
7039 ac_cv_sys_large_files=no; break
7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7044 #define _LARGE_FILES 1
7045 #include <sys/types.h>
7046 /* Check that off_t can represent 2**63 - 1 correctly.
7047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7048 since some C++ compilers masquerading as C compilers
7049 incorrectly reject 9223372036854775807. */
7050 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7052 && LARGE_OFF_T % 2147483647 == 1)
7053 ? 1 : -1];
7055 main ()
7059 return 0;
7061 _ACEOF
7062 if ac_fn_c_try_compile "$LINENO"; then :
7063 ac_cv_sys_large_files=1; break
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7066 ac_cv_sys_large_files=unknown
7067 break
7068 done
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7071 $as_echo "$ac_cv_sys_large_files" >&6; }
7072 case $ac_cv_sys_large_files in #(
7073 no | unknown) ;;
7075 cat >>confdefs.h <<_ACEOF
7076 #define _LARGE_FILES $ac_cv_sys_large_files
7077 _ACEOF
7079 esac
7080 rm -rf conftest*
7087 ac_ext=c
7088 ac_cpp='$CPP $CPPFLAGS'
7089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7093 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7094 # On Suns, sometimes $CPP names a directory.
7095 if test -n "$CPP" && test -d "$CPP"; then
7096 CPP=
7098 if test -z "$CPP"; then
7099 if ${ac_cv_prog_CPP+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 # Double quotes because CPP needs to be expanded
7103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7105 ac_preproc_ok=false
7106 for ac_c_preproc_warn_flag in '' yes
7108 # Use a header file that comes with gcc, so configuring glibc
7109 # with a fresh cross-compiler works.
7110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7111 # <limits.h> exists even on freestanding compilers.
7112 # On the NeXT, cc -E runs the code through the compiler's parser,
7113 # not just through cpp. "Syntax error" is here to catch this case.
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7116 #ifdef __STDC__
7117 # include <limits.h>
7118 #else
7119 # include <assert.h>
7120 #endif
7121 Syntax error
7122 _ACEOF
7123 if ac_fn_c_try_cpp "$LINENO"; then :
7125 else
7126 # Broken: fails on valid input.
7127 continue
7129 rm -f conftest.err conftest.i conftest.$ac_ext
7131 # OK, works on sane cases. Now check whether nonexistent headers
7132 # can be detected and how.
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7135 #include <ac_nonexistent.h>
7136 _ACEOF
7137 if ac_fn_c_try_cpp "$LINENO"; then :
7138 # Broken: success on invalid input.
7139 continue
7140 else
7141 # Passes both tests.
7142 ac_preproc_ok=:
7143 break
7145 rm -f conftest.err conftest.i conftest.$ac_ext
7147 done
7148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7149 rm -f conftest.i conftest.err conftest.$ac_ext
7150 if $ac_preproc_ok; then :
7151 break
7154 done
7155 ac_cv_prog_CPP=$CPP
7158 CPP=$ac_cv_prog_CPP
7159 else
7160 ac_cv_prog_CPP=$CPP
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7163 $as_echo "$CPP" >&6; }
7164 ac_preproc_ok=false
7165 for ac_c_preproc_warn_flag in '' yes
7167 # Use a header file that comes with gcc, so configuring glibc
7168 # with a fresh cross-compiler works.
7169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7170 # <limits.h> exists even on freestanding compilers.
7171 # On the NeXT, cc -E runs the code through the compiler's parser,
7172 # not just through cpp. "Syntax error" is here to catch this case.
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174 /* end confdefs.h. */
7175 #ifdef __STDC__
7176 # include <limits.h>
7177 #else
7178 # include <assert.h>
7179 #endif
7180 Syntax error
7181 _ACEOF
7182 if ac_fn_c_try_cpp "$LINENO"; then :
7184 else
7185 # Broken: fails on valid input.
7186 continue
7188 rm -f conftest.err conftest.i conftest.$ac_ext
7190 # OK, works on sane cases. Now check whether nonexistent headers
7191 # can be detected and how.
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194 #include <ac_nonexistent.h>
7195 _ACEOF
7196 if ac_fn_c_try_cpp "$LINENO"; then :
7197 # Broken: success on invalid input.
7198 continue
7199 else
7200 # Passes both tests.
7201 ac_preproc_ok=:
7202 break
7204 rm -f conftest.err conftest.i conftest.$ac_ext
7206 done
7207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7208 rm -f conftest.i conftest.err conftest.$ac_ext
7209 if $ac_preproc_ok; then :
7211 else
7212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7214 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7215 See \`config.log' for more details" "$LINENO" 5; }
7218 ac_ext=c
7219 ac_cpp='$CPP $CPPFLAGS'
7220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7226 $as_echo_n "checking for ANSI C header files... " >&6; }
7227 if ${ac_cv_header_stdc+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232 #include <stdlib.h>
7233 #include <stdarg.h>
7234 #include <string.h>
7235 #include <float.h>
7238 main ()
7242 return 0;
7244 _ACEOF
7245 if ac_fn_c_try_compile "$LINENO"; then :
7246 ac_cv_header_stdc=yes
7247 else
7248 ac_cv_header_stdc=no
7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7252 if test $ac_cv_header_stdc = yes; then
7253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256 #include <string.h>
7258 _ACEOF
7259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7260 $EGREP "memchr" >/dev/null 2>&1; then :
7262 else
7263 ac_cv_header_stdc=no
7265 rm -f conftest*
7269 if test $ac_cv_header_stdc = yes; then
7270 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7273 #include <stdlib.h>
7275 _ACEOF
7276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7277 $EGREP "free" >/dev/null 2>&1; then :
7279 else
7280 ac_cv_header_stdc=no
7282 rm -f conftest*
7286 if test $ac_cv_header_stdc = yes; then
7287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7288 if test "$cross_compiling" = yes; then :
7290 else
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7293 #include <ctype.h>
7294 #include <stdlib.h>
7295 #if ((' ' & 0x0FF) == 0x020)
7296 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7297 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7298 #else
7299 # define ISLOWER(c) \
7300 (('a' <= (c) && (c) <= 'i') \
7301 || ('j' <= (c) && (c) <= 'r') \
7302 || ('s' <= (c) && (c) <= 'z'))
7303 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7304 #endif
7306 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7308 main ()
7310 int i;
7311 for (i = 0; i < 256; i++)
7312 if (XOR (islower (i), ISLOWER (i))
7313 || toupper (i) != TOUPPER (i))
7314 return 2;
7315 return 0;
7317 _ACEOF
7318 if ac_fn_c_try_run "$LINENO"; then :
7320 else
7321 ac_cv_header_stdc=no
7323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7324 conftest.$ac_objext conftest.beam conftest.$ac_ext
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7330 $as_echo "$ac_cv_header_stdc" >&6; }
7331 if test $ac_cv_header_stdc = yes; then
7333 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7337 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7338 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7339 inttypes.h stdint.h unistd.h
7340 do :
7341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7342 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 _ACEOF
7351 done
7354 for ac_header in \
7355 AL/al.h \
7356 ApplicationServices/ApplicationServices.h \
7357 AudioToolbox/AudioConverter.h \
7358 AudioUnit/AudioUnit.h \
7359 AudioUnit/AudioComponent.h \
7360 CL/cl.h \
7361 Carbon/Carbon.h \
7362 CommonCrypto/CommonCryptor.h \
7363 CoreAudio/CoreAudio.h \
7364 CoreServices/CoreServices.h \
7365 DiskArbitration/DiskArbitration.h \
7366 EGL/egl.h \
7367 IOKit/IOKitLib.h \
7368 IOKit/hid/IOHIDLib.h \
7369 OpenAL/al.h \
7370 OpenCL/opencl.h \
7371 QuickTime/ImageCompression.h \
7372 Security/Security.h \
7373 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7374 SystemConfiguration/SCNetworkConfiguration.h \
7375 alias.h \
7376 arpa/inet.h \
7377 arpa/nameser.h \
7378 asm/types.h \
7379 asm/user.h \
7380 curses.h \
7381 dirent.h \
7382 dlfcn.h \
7383 elf.h \
7384 float.h \
7385 fnmatch.h \
7386 getopt.h \
7387 gettext-po.h \
7388 grp.h \
7389 gsm.h \
7390 gsm/gsm.h \
7391 ieeefp.h \
7392 inet/mib2.h \
7393 kstat.h \
7394 libproc.h \
7395 link.h \
7396 linux/cdrom.h \
7397 linux/compiler.h \
7398 linux/filter.h \
7399 linux/hdreg.h \
7400 linux/hidraw.h \
7401 linux/input.h \
7402 linux/ioctl.h \
7403 linux/joystick.h \
7404 linux/major.h \
7405 linux/param.h \
7406 linux/serial.h \
7407 linux/types.h \
7408 linux/ucdrom.h \
7409 lwp.h \
7410 mach-o/nlist.h \
7411 mach-o/loader.h \
7412 mach/mach.h \
7413 mach/machine.h \
7414 machine/cpu.h \
7415 machine/limits.h \
7416 machine/sysarch.h \
7417 mntent.h \
7418 ncurses.h \
7419 netdb.h \
7420 netinet/in.h \
7421 netinet/in_systm.h \
7422 netinet/tcp.h \
7423 netinet/tcp_fsm.h \
7424 pcap/pcap.h \
7425 poll.h \
7426 port.h \
7427 pthread.h \
7428 pwd.h \
7429 sasl/sasl.h \
7430 sched.h \
7431 scsi/scsi.h \
7432 scsi/scsi_ioctl.h \
7433 scsi/sg.h \
7434 stdbool.h \
7435 stdint.h \
7436 stropts.h \
7437 sys/attr.h \
7438 sys/auxv.h \
7439 sys/cdio.h \
7440 sys/epoll.h \
7441 sys/event.h \
7442 sys/filio.h \
7443 sys/ioctl.h \
7444 sys/ipc.h \
7445 sys/limits.h \
7446 sys/link.h \
7447 sys/mman.h \
7448 sys/modem.h \
7449 sys/msg.h \
7450 sys/mtio.h \
7451 sys/param.h \
7452 sys/poll.h \
7453 sys/prctl.h \
7454 sys/protosw.h \
7455 sys/ptrace.h \
7456 sys/queue.h \
7457 sys/resource.h \
7458 sys/scsiio.h \
7459 sys/shm.h \
7460 sys/signal.h \
7461 sys/socket.h \
7462 sys/socketvar.h \
7463 sys/sockio.h \
7464 sys/statvfs.h \
7465 sys/strtio.h \
7466 sys/syscall.h \
7467 sys/sysinfo.h \
7468 sys/tihdr.h \
7469 sys/time.h \
7470 sys/timeout.h \
7471 sys/times.h \
7472 sys/uio.h \
7473 sys/user.h \
7474 sys/utsname.h \
7475 sys/vnode.h \
7476 sys/wait.h \
7477 syscall.h \
7478 termios.h \
7479 unistd.h \
7480 utime.h \
7481 valgrind/memcheck.h \
7482 valgrind/valgrind.h
7484 do :
7485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7488 cat >>confdefs.h <<_ACEOF
7489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7490 _ACEOF
7494 done
7496 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7497 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7499 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7504 if test $ac_cv_header_sys_mkdev_h = no; then
7505 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7506 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7508 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7515 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7516 if ${ac_cv_header_stat_broken+:} false; then :
7517 $as_echo_n "(cached) " >&6
7518 else
7519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7520 /* end confdefs.h. */
7521 #include <sys/types.h>
7522 #include <sys/stat.h>
7524 #if defined S_ISBLK && defined S_IFDIR
7525 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7526 #endif
7528 #if defined S_ISBLK && defined S_IFCHR
7529 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7530 #endif
7532 #if defined S_ISLNK && defined S_IFREG
7533 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7534 #endif
7536 #if defined S_ISSOCK && defined S_IFREG
7537 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7538 #endif
7540 _ACEOF
7541 if ac_fn_c_try_compile "$LINENO"; then :
7542 ac_cv_header_stat_broken=no
7543 else
7544 ac_cv_header_stat_broken=yes
7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7549 $as_echo "$ac_cv_header_stat_broken" >&6; }
7550 if test $ac_cv_header_stat_broken = yes; then
7552 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7558 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7559 do :
7560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7561 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7562 #ifdef HAVE_SYS_PARAM_H
7563 # include <sys/param.h>
7564 #endif
7566 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7567 cat >>confdefs.h <<_ACEOF
7568 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7569 _ACEOF
7573 done
7576 for ac_header in \
7577 netinet/ip.h \
7578 net/if.h \
7579 net/if_arp.h \
7580 net/if_dl.h \
7581 net/if_types.h \
7582 net/route.h \
7583 netinet/if_ether.h \
7584 netinet/if_inarp.h \
7585 netinet/in_pcb.h \
7586 netinet/ip_icmp.h \
7587 netinet/ip_var.h \
7588 netinet/udp.h \
7589 netipx/ipx.h \
7590 sys/un.h \
7592 do :
7593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7594 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7595 #ifdef HAVE_SYS_SOCKET_H
7596 # include <sys/socket.h>
7597 #endif
7598 #ifdef HAVE_SYS_SOCKETVAR_H
7599 # include <sys/socketvar.h>
7600 #endif
7601 #ifdef HAVE_NET_ROUTE_H
7602 # include <net/route.h>
7603 #endif
7604 #ifdef HAVE_NETINET_IN_H
7605 # include <netinet/in.h>
7606 #endif
7607 #ifdef HAVE_NETINET_IN_SYSTM_H
7608 # include <netinet/in_systm.h>
7609 #endif
7610 #ifdef HAVE_NET_IF_H
7611 # include <net/if.h>
7612 #endif
7613 #ifdef HAVE_NETINET_IP_H
7614 # include <netinet/ip.h>
7615 #endif
7617 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7618 cat >>confdefs.h <<_ACEOF
7619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7620 _ACEOF
7624 done
7627 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7628 do :
7629 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7630 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7631 #ifdef HAVE_ALIAS_H
7632 # include <alias.h>
7633 #endif
7634 #ifdef HAVE_SYS_SOCKET_H
7635 # include <sys/socket.h>
7636 #endif
7637 #ifdef HAVE_SYS_SOCKETVAR_H
7638 # include <sys/socketvar.h>
7639 #endif
7640 #ifdef HAVE_SYS_TIMEOUT_H
7641 # include <sys/timeout.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IN_H
7644 # include <netinet/in.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IN_SYSTM_H
7647 # include <netinet/in_systm.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IP_H
7650 # include <netinet/ip.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IP_VAR_H
7653 # include <netinet/ip_var.h>
7654 #endif
7655 #ifdef HAVE_NETINET_IP_ICMP_H
7656 # include <netinet/ip_icmp.h>
7657 #endif
7658 #ifdef HAVE_NETINET_UDP_H
7659 # include <netinet/udp.h>
7660 #endif
7661 #ifdef HAVE_NETINET_TCP_H
7662 # include <netinet/tcp.h>
7663 #endif
7664 #ifdef HAVE_NETINET_TCP_TIMER_H
7665 #include <netinet/tcp_timer.h>
7666 #endif
7668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7669 cat >>confdefs.h <<_ACEOF
7670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7671 _ACEOF
7675 done
7678 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7679 do :
7680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7682 #ifdef HAVE_ASM_TYPES_H
7683 # include <asm/types.h>
7684 #endif
7685 #ifdef HAVE_SYS_SOCKET_H
7686 # include <sys/socket.h>
7687 #endif
7688 #ifdef HAVE_LINUX_TYPES_H
7689 # include <linux/types.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 resolv.h
7703 do :
7704 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7707 #endif
7708 #ifdef HAVE_NETINET_IN_H
7709 # include <netinet/in.h>
7710 #endif
7711 #ifdef HAVE_ARPA_NAMESER_H
7712 # include <arpa/nameser.h>
7713 #endif
7715 if test "x$ac_cv_header_resolv_h" = xyes; then :
7716 cat >>confdefs.h <<_ACEOF
7717 #define HAVE_RESOLV_H 1
7718 _ACEOF
7722 done
7725 for ac_header in ifaddrs.h
7726 do :
7727 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7729 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7730 cat >>confdefs.h <<_ACEOF
7731 #define HAVE_IFADDRS_H 1
7732 _ACEOF
7736 done
7739 for ac_header in sys/ucontext.h
7740 do :
7741 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7743 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7744 cat >>confdefs.h <<_ACEOF
7745 #define HAVE_SYS_UCONTEXT_H 1
7746 _ACEOF
7750 done
7753 for ac_header in sys/thr.h
7754 do :
7755 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7756 #ifdef HAVE_SYS_UCONTEXT_H
7757 #include <sys/ucontext.h>
7758 #endif
7760 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_SYS_THR_H 1
7763 _ACEOF
7767 done
7770 for ac_header in pthread_np.h
7771 do :
7772 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7773 #include <pthread.h>
7774 #endif
7776 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_PTHREAD_NP_H 1
7779 _ACEOF
7783 done
7786 for ac_header in linux/videodev2.h
7787 do :
7788 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7789 #include <sys/time.h>
7790 #endif
7791 #include <sys/types.h>
7792 #ifdef HAVE_ASM_TYPES_H
7793 #include <asm/types.h>
7794 #endif
7796 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_LINUX_VIDEODEV2_H 1
7799 _ACEOF
7803 done
7806 for ac_header in libprocstat.h
7807 do :
7808 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7809 #include <sys/param.h>
7810 #endif
7811 #ifdef HAVE_SYS_QUEUE_H
7812 #include <sys/queue.h>
7813 #endif
7814 #ifdef HAVE_SYS_SOCKET_H
7815 #include <sys/socket.h>
7816 #endif
7818 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7819 cat >>confdefs.h <<_ACEOF
7820 #define HAVE_LIBPROCSTAT_H 1
7821 _ACEOF
7825 done
7829 DLLFLAGS="-D_REENTRANT"
7831 LDRPATH_INSTALL=""
7833 LDRPATH_LOCAL=""
7835 LDDLLFLAGS=""
7837 LDEXECFLAGS=""
7839 TOP_INSTALL_LIB=""
7841 TOP_INSTALL_DEV=""
7843 WINELOADER_LDFLAGS=""
7845 WINEPRELOADER_LDFLAGS=""
7847 LIBEXT="so"
7848 DLLEXT=".so"
7849 # Extract the first word of "ldd", so it can be a program name with args.
7850 set dummy ldd; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_path_LDD+:} false; then :
7854 $as_echo_n "(cached) " >&6
7855 else
7856 case $LDD in
7857 [\\/]* | ?:[\\/]*)
7858 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 as_dummy="/sbin:/usr/sbin:$PATH"
7863 for as_dir in $as_dummy
7865 IFS=$as_save_IFS
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 break 2
7873 done
7874 done
7875 IFS=$as_save_IFS
7877 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7879 esac
7881 LDD=$ac_cv_path_LDD
7882 if test -n "$LDD"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7884 $as_echo "$LDD" >&6; }
7885 else
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7891 if test -n "$ac_tool_prefix"; then
7892 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7893 set dummy ${ac_tool_prefix}otool; ac_word=$2
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895 $as_echo_n "checking for $ac_word... " >&6; }
7896 if ${ac_cv_prog_OTOOL+:} false; then :
7897 $as_echo_n "(cached) " >&6
7898 else
7899 if test -n "$OTOOL"; then
7900 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7901 else
7902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 for as_dir in $PATH
7905 IFS=$as_save_IFS
7906 test -z "$as_dir" && as_dir=.
7907 for ac_exec_ext in '' $ac_executable_extensions; do
7908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911 break 2
7913 done
7914 done
7915 IFS=$as_save_IFS
7919 OTOOL=$ac_cv_prog_OTOOL
7920 if test -n "$OTOOL"; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7922 $as_echo "$OTOOL" >&6; }
7923 else
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925 $as_echo "no" >&6; }
7930 if test -z "$ac_cv_prog_OTOOL"; then
7931 ac_ct_OTOOL=$OTOOL
7932 # Extract the first word of "otool", so it can be a program name with args.
7933 set dummy otool; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7937 $as_echo_n "(cached) " >&6
7938 else
7939 if test -n "$ac_ct_OTOOL"; then
7940 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7941 else
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 for as_dir in $PATH
7945 IFS=$as_save_IFS
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_prog_ac_ct_OTOOL="otool"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951 break 2
7953 done
7954 done
7955 IFS=$as_save_IFS
7959 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7960 if test -n "$ac_ct_OTOOL"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7962 $as_echo "$ac_ct_OTOOL" >&6; }
7963 else
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7968 if test "x$ac_ct_OTOOL" = x; then
7969 OTOOL="otool"
7970 else
7971 case $cross_compiling:$ac_tool_warned in
7972 yes:)
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7975 ac_tool_warned=yes ;;
7976 esac
7977 OTOOL=$ac_ct_OTOOL
7979 else
7980 OTOOL="$ac_cv_prog_OTOOL"
7983 if test -n "$ac_tool_prefix"; then
7984 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7985 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7987 $as_echo_n "checking for $ac_word... " >&6; }
7988 if ${ac_cv_prog_READELF+:} false; then :
7989 $as_echo_n "(cached) " >&6
7990 else
7991 if test -n "$READELF"; then
7992 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7993 else
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 for as_dir in $PATH
7997 IFS=$as_save_IFS
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8001 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 break 2
8005 done
8006 done
8007 IFS=$as_save_IFS
8011 READELF=$ac_cv_prog_READELF
8012 if test -n "$READELF"; then
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8014 $as_echo "$READELF" >&6; }
8015 else
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8017 $as_echo "no" >&6; }
8022 if test -z "$ac_cv_prog_READELF"; then
8023 ac_ct_READELF=$READELF
8024 # Extract the first word of "readelf", so it can be a program name with args.
8025 set dummy readelf; ac_word=$2
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8027 $as_echo_n "checking for $ac_word... " >&6; }
8028 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8029 $as_echo_n "(cached) " >&6
8030 else
8031 if test -n "$ac_ct_READELF"; then
8032 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8033 else
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 for as_dir in $PATH
8037 IFS=$as_save_IFS
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8041 ac_cv_prog_ac_ct_READELF="readelf"
8042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 break 2
8045 done
8046 done
8047 IFS=$as_save_IFS
8051 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8052 if test -n "$ac_ct_READELF"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8054 $as_echo "$ac_ct_READELF" >&6; }
8055 else
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8057 $as_echo "no" >&6; }
8060 if test "x$ac_ct_READELF" = x; then
8061 READELF="true"
8062 else
8063 case $cross_compiling:$ac_tool_warned in
8064 yes:)
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8067 ac_tool_warned=yes ;;
8068 esac
8069 READELF=$ac_ct_READELF
8071 else
8072 READELF="$ac_cv_prog_READELF"
8075 wine_rules_file=conf$$rules.make
8076 rm -f $wine_rules_file
8077 SUBDIRS=""
8079 DISABLED_SUBDIRS=""
8081 CONFIGURE_TARGETS=""
8084 wine_fn_append_file ()
8086 as_fn_append $1 " \\$as_nl $2"
8089 wine_fn_append_rule ()
8091 $as_echo "$1" >>$wine_rules_file
8094 wine_fn_config_makefile ()
8096 wine_fn_append_file SUBDIRS $1
8097 if eval test \"x\$"$2"\" = x"no"; then :
8098 wine_fn_append_file DISABLED_SUBDIRS $1
8102 wine_fn_config_symlink ()
8104 ac_links=$@
8105 wine_fn_append_rule \
8106 "$ac_links:
8107 @./config.status \$@"
8108 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8111 wine_binary="wine"
8112 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8113 WINELOADER_PROGRAMS="$wine_binary"
8115 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8117 case $host_os in
8118 cygwin*|mingw32*)
8119 if test -n "$ac_tool_prefix"; then
8120 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8121 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8123 $as_echo_n "checking for $ac_word... " >&6; }
8124 if ${ac_cv_prog_DLLTOOL+:} false; then :
8125 $as_echo_n "(cached) " >&6
8126 else
8127 if test -n "$DLLTOOL"; then
8128 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8129 else
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8131 for as_dir in $PATH
8133 IFS=$as_save_IFS
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8137 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8139 break 2
8141 done
8142 done
8143 IFS=$as_save_IFS
8147 DLLTOOL=$ac_cv_prog_DLLTOOL
8148 if test -n "$DLLTOOL"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8150 $as_echo "$DLLTOOL" >&6; }
8151 else
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153 $as_echo "no" >&6; }
8158 if test -z "$ac_cv_prog_DLLTOOL"; then
8159 ac_ct_DLLTOOL=$DLLTOOL
8160 # Extract the first word of "dlltool", so it can be a program name with args.
8161 set dummy dlltool; ac_word=$2
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8163 $as_echo_n "checking for $ac_word... " >&6; }
8164 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8165 $as_echo_n "(cached) " >&6
8166 else
8167 if test -n "$ac_ct_DLLTOOL"; then
8168 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8169 else
8170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171 for as_dir in $PATH
8173 IFS=$as_save_IFS
8174 test -z "$as_dir" && as_dir=.
8175 for ac_exec_ext in '' $ac_executable_extensions; do
8176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8177 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 break 2
8181 done
8182 done
8183 IFS=$as_save_IFS
8187 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8188 if test -n "$ac_ct_DLLTOOL"; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8190 $as_echo "$ac_ct_DLLTOOL" >&6; }
8191 else
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193 $as_echo "no" >&6; }
8196 if test "x$ac_ct_DLLTOOL" = x; then
8197 DLLTOOL="false"
8198 else
8199 case $cross_compiling:$ac_tool_warned in
8200 yes:)
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8203 ac_tool_warned=yes ;;
8204 esac
8205 DLLTOOL=$ac_ct_DLLTOOL
8207 else
8208 DLLTOOL="$ac_cv_prog_DLLTOOL"
8211 LIBEXT="dll"
8212 DLLEXT=""
8213 case $host_cpu in
8214 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8215 esac
8216 enable_iphlpapi=${enable_iphlpapi:-no}
8217 enable_kernel32=${enable_kernel32:-no}
8218 enable_ntdll=${enable_ntdll:-no}
8219 enable_ws2_32=${enable_ws2_32:-no}
8220 enable_loader=${enable_loader:-no}
8221 enable_server=${enable_server:-no}
8222 with_x=${with_x:-no}
8223 with_pthread=${with_pthread:-no}
8226 darwin*|macosx*)
8227 ac_ext=m
8228 ac_cpp='$OBJCPP $CPPFLAGS'
8229 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8230 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8231 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8233 ac_ext=m
8234 ac_cpp='$OBJCPP $CPPFLAGS'
8235 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8236 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8237 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8238 if test -n "$ac_tool_prefix"; then
8239 for ac_prog in gcc objcc objc cc CC
8241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 $as_echo_n "checking for $ac_word... " >&6; }
8245 if ${ac_cv_prog_OBJC+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 if test -n "$OBJC"; then
8249 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8250 else
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 for as_dir in $PATH
8254 IFS=$as_save_IFS
8255 test -z "$as_dir" && as_dir=.
8256 for ac_exec_ext in '' $ac_executable_extensions; do
8257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8258 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 break 2
8262 done
8263 done
8264 IFS=$as_save_IFS
8268 OBJC=$ac_cv_prog_OBJC
8269 if test -n "$OBJC"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8271 $as_echo "$OBJC" >&6; }
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8278 test -n "$OBJC" && break
8279 done
8281 if test -z "$OBJC"; then
8282 ac_ct_OBJC=$OBJC
8283 for ac_prog in gcc objcc objc cc CC
8285 # Extract the first word of "$ac_prog", so it can be a program name with args.
8286 set dummy $ac_prog; ac_word=$2
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8288 $as_echo_n "checking for $ac_word... " >&6; }
8289 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 if test -n "$ac_ct_OBJC"; then
8293 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8294 else
8295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8296 for as_dir in $PATH
8298 IFS=$as_save_IFS
8299 test -z "$as_dir" && as_dir=.
8300 for ac_exec_ext in '' $ac_executable_extensions; do
8301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8302 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8304 break 2
8306 done
8307 done
8308 IFS=$as_save_IFS
8312 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8313 if test -n "$ac_ct_OBJC"; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8315 $as_echo "$ac_ct_OBJC" >&6; }
8316 else
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8318 $as_echo "no" >&6; }
8322 test -n "$ac_ct_OBJC" && break
8323 done
8325 if test "x$ac_ct_OBJC" = x; then
8326 OBJC="gcc"
8327 else
8328 case $cross_compiling:$ac_tool_warned in
8329 yes:)
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8332 ac_tool_warned=yes ;;
8333 esac
8334 OBJC=$ac_ct_OBJC
8338 # Provide some information about the compiler.
8339 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8340 set X $ac_compile
8341 ac_compiler=$2
8342 for ac_option in --version -v -V -qversion; do
8343 { { ac_try="$ac_compiler $ac_option >&5"
8344 case "(($ac_try" in
8345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8346 *) ac_try_echo=$ac_try;;
8347 esac
8348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8349 $as_echo "$ac_try_echo"; } >&5
8350 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8351 ac_status=$?
8352 if test -s conftest.err; then
8353 sed '10a\
8354 ... rest of stderr output deleted ...
8355 10q' conftest.err >conftest.er1
8356 cat conftest.er1 >&5
8358 rm -f conftest.er1 conftest.err
8359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8360 test $ac_status = 0; }
8361 done
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8364 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8365 if ${ac_cv_objc_compiler_gnu+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8372 main ()
8374 #ifndef __GNUC__
8375 choke me
8376 #endif
8379 return 0;
8381 _ACEOF
8382 if ac_fn_objc_try_compile "$LINENO"; then :
8383 ac_compiler_gnu=yes
8384 else
8385 ac_compiler_gnu=no
8387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8388 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8392 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8393 if test $ac_compiler_gnu = yes; then
8394 GOBJC=yes
8395 else
8396 GOBJC=
8398 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8399 ac_save_OBJCFLAGS=$OBJCFLAGS
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8401 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8402 if ${ac_cv_prog_objc_g+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 ac_save_objc_werror_flag=$ac_objc_werror_flag
8406 ac_objc_werror_flag=yes
8407 ac_cv_prog_objc_g=no
8408 OBJCFLAGS="-g"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8413 main ()
8417 return 0;
8419 _ACEOF
8420 if ac_fn_objc_try_compile "$LINENO"; then :
8421 ac_cv_prog_objc_g=yes
8422 else
8423 OBJCFLAGS=""
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8428 main ()
8432 return 0;
8434 _ACEOF
8435 if ac_fn_objc_try_compile "$LINENO"; then :
8437 else
8438 ac_objc_werror_flag=$ac_save_objc_werror_flag
8439 OBJCFLAGS="-g"
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8448 return 0;
8450 _ACEOF
8451 if ac_fn_objc_try_compile "$LINENO"; then :
8452 ac_cv_prog_objc_g=yes
8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8459 ac_objc_werror_flag=$ac_save_objc_werror_flag
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8462 $as_echo "$ac_cv_prog_objc_g" >&6; }
8463 if test "$ac_test_OBJCFLAGS" = set; then
8464 OBJCFLAGS=$ac_save_OBJCFLAGS
8465 elif test $ac_cv_prog_objc_g = yes; then
8466 if test "$GOBJC" = yes; then
8467 OBJCFLAGS="-g -O2"
8468 else
8469 OBJCFLAGS="-g"
8471 else
8472 if test "$GOBJC" = yes; then
8473 OBJCFLAGS="-O2"
8474 else
8475 OBJCFLAGS=
8478 ac_ext=m
8479 ac_cpp='$OBJCPP $CPPFLAGS'
8480 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8481 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8482 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8485 ac_ext=m
8486 ac_cpp='$OBJCPP $CPPFLAGS'
8487 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8491 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8492 if test -z "$OBJCPP"; then
8493 if ${ac_cv_prog_OBJCPP+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 # Double quotes because OBJCPP needs to be expanded
8497 for OBJCPP in "$OBJC -E" "/lib/cpp"
8499 ac_preproc_ok=false
8500 for ac_objc_preproc_warn_flag in '' yes
8502 # Use a header file that comes with gcc, so configuring glibc
8503 # with a fresh cross-compiler works.
8504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8505 # <limits.h> exists even on freestanding compilers.
8506 # On the NeXT, cc -E runs the code through the compiler's parser,
8507 # not just through cpp. "Syntax error" is here to catch this case.
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 #ifdef __STDC__
8511 # include <limits.h>
8512 #else
8513 # include <assert.h>
8514 #endif
8515 Syntax error
8516 _ACEOF
8517 if ac_fn_objc_try_cpp "$LINENO"; then :
8519 else
8520 # Broken: fails on valid input.
8521 continue
8523 rm -f conftest.err conftest.i conftest.$ac_ext
8525 # OK, works on sane cases. Now check whether nonexistent headers
8526 # can be detected and how.
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 #include <ac_nonexistent.h>
8530 _ACEOF
8531 if ac_fn_objc_try_cpp "$LINENO"; then :
8532 # Broken: success on invalid input.
8533 continue
8534 else
8535 # Passes both tests.
8536 ac_preproc_ok=:
8537 break
8539 rm -f conftest.err conftest.i conftest.$ac_ext
8541 done
8542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8543 rm -f conftest.i conftest.err conftest.$ac_ext
8544 if $ac_preproc_ok; then :
8545 break
8548 done
8549 ac_cv_prog_OBJCPP=$OBJCPP
8552 OBJCPP=$ac_cv_prog_OBJCPP
8553 else
8554 ac_cv_prog_OBJCPP=$OBJCPP
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8557 $as_echo "$OBJCPP" >&6; }
8558 ac_preproc_ok=false
8559 for ac_objc_preproc_warn_flag in '' yes
8561 # Use a header file that comes with gcc, so configuring glibc
8562 # with a fresh cross-compiler works.
8563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8564 # <limits.h> exists even on freestanding compilers.
8565 # On the NeXT, cc -E runs the code through the compiler's parser,
8566 # not just through cpp. "Syntax error" is here to catch this case.
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 #ifdef __STDC__
8570 # include <limits.h>
8571 #else
8572 # include <assert.h>
8573 #endif
8574 Syntax error
8575 _ACEOF
8576 if ac_fn_objc_try_cpp "$LINENO"; then :
8578 else
8579 # Broken: fails on valid input.
8580 continue
8582 rm -f conftest.err conftest.i conftest.$ac_ext
8584 # OK, works on sane cases. Now check whether nonexistent headers
8585 # can be detected and how.
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 #include <ac_nonexistent.h>
8589 _ACEOF
8590 if ac_fn_objc_try_cpp "$LINENO"; then :
8591 # Broken: success on invalid input.
8592 continue
8593 else
8594 # Passes both tests.
8595 ac_preproc_ok=:
8596 break
8598 rm -f conftest.err conftest.i conftest.$ac_ext
8600 done
8601 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8602 rm -f conftest.i conftest.err conftest.$ac_ext
8603 if $ac_preproc_ok; then :
8605 else
8606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8608 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8609 See \`config.log' for more details" "$LINENO" 5; }
8612 ac_ext=m
8613 ac_cpp='$OBJCPP $CPPFLAGS'
8614 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8619 for ac_header in Metal/Metal.h
8620 do :
8621 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8622 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8623 cat >>confdefs.h <<_ACEOF
8624 #define HAVE_METAL_METAL_H 1
8625 _ACEOF
8629 done
8631 ac_ext=c
8632 ac_cpp='$CPP $CPPFLAGS'
8633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8637 LIBEXT="dylib"
8638 DLLFLAGS="$DLLFLAGS -fPIC"
8639 LDDLLFLAGS="-fPIC"
8640 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8641 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8642 COREFOUNDATION_LIBS="-framework CoreFoundation"
8644 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8646 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8648 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8650 CORESERVICES_LIBS="-framework CoreServices"
8652 APPKIT_LIBS="-framework AppKit"
8654 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8657 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8659 wine_can_build_preloader=yes
8660 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8662 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8663 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_cflags__Wl__no_new_main__e__main=yes
8674 else
8675 ac_cv_cflags__Wl__no_new_main__e__main=no
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8682 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8683 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8684 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8686 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8687 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 ac_wine_try_cflags_saved=$CFLAGS
8691 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 int main(int argc, char **argv) { return 0; }
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8698 else
8699 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8706 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8707 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8708 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8709 else
8710 { $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
8711 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8712 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8723 else
8724 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $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
8731 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8732 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8733 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8734 else
8735 wine_can_build_preloader=no
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8740 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8741 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 int main(int argc, char **argv) { return 0; }
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8752 else
8753 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8760 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8761 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8762 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8765 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8766 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8777 else
8778 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8785 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8786 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8787 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8788 else
8789 wine_can_build_preloader=no
8793 if test "$wine_can_build_preloader" = "yes"
8794 then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8797 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-no_pie"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__no_pie=yes
8808 else
8809 ac_cv_cflags__Wl__no_pie=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8816 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8817 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8818 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8820 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8821 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8822 else
8823 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8826 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8827 then
8828 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8831 if test "$ac_cv_header_Security_Security_h" = "yes"
8832 then
8833 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8835 ac_save_LIBS="$LIBS"
8836 LIBS="$LIBS $SECURITY_LIBS"
8837 for ac_func in SSLCopyPeerCertificates
8838 do :
8839 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8840 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8841 cat >>confdefs.h <<_ACEOF
8842 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8843 _ACEOF
8846 done
8848 LIBS="$ac_save_LIBS"
8850 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8851 then
8852 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8853 then
8854 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8856 else
8857 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8860 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8861 ac_save_LIBS="$LIBS"
8862 LIBS="$LIBS $COREAUDIO_LIBS"
8863 for ac_func in AUGraphAddNode
8864 do :
8865 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8866 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8867 cat >>confdefs.h <<_ACEOF
8868 #define HAVE_AUGRAPHADDNODE 1
8869 _ACEOF
8872 done
8874 LIBS="$ac_save_LIBS"
8876 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8877 then
8878 OPENAL_LIBS="-framework OpenAL"
8881 cat >>confdefs.h <<_ACEOF
8882 #define HAVE_OPENAL 1
8883 _ACEOF
8885 ac_cv_lib_openal=yes
8887 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8888 then
8889 OPENCL_LIBS="-framework OpenCL"
8891 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8893 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8894 then
8895 ac_save_LIBS="$LIBS"
8896 LIBS="$LIBS $IOKIT_LIBS"
8897 for ac_func in IOHIDManagerCreate
8898 do :
8899 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8900 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8901 cat >>confdefs.h <<_ACEOF
8902 #define HAVE_IOHIDMANAGERCREATE 1
8903 _ACEOF
8906 done
8908 LIBS="$ac_save_LIBS"
8910 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8911 then
8912 ac_save_LIBS="$LIBS"
8913 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8915 $as_echo_n "checking for the QuickTime framework... " >&6; }
8916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8918 #include <QuickTime/ImageCompression.h>
8920 main ()
8922 CodecManagerVersion(NULL);
8924 return 0;
8926 _ACEOF
8927 if ac_fn_c_try_link "$LINENO"; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8929 $as_echo "yes" >&6; }
8930 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8932 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8933 else
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8935 $as_echo "no" >&6; }
8936 ac_cv_header_QuickTime_ImageCompression_h=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 LIBS="$ac_save_LIBS"
8942 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8943 then
8944 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8946 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8947 then
8948 CARBON_LIBS="-framework Carbon"
8951 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8952 then
8953 METAL_LIBS="-framework Metal -framework QuartzCore"
8957 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8958 then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8960 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8961 ac_ext=m
8962 ac_cpp='$OBJCPP $CPPFLAGS'
8963 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8964 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8965 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8969 #include <Metal/Metal.h>
8971 main ()
8973 id<MTLDevice> device; device.registryID;
8975 return 0;
8977 _ACEOF
8978 if ac_fn_objc_try_compile "$LINENO"; then :
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8980 $as_echo "yes" >&6; }
8982 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8986 $as_echo "no" >&6; }
8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8989 ac_ext=c
8990 ac_cpp='$CPP $CPPFLAGS'
8991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8997 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8998 then
8999 ac_save_LIBS="$LIBS"
9000 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9001 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9002 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9003 enable_winemac_drv=${enable_winemac_drv:-yes}
9006 LIBS="$ac_save_LIBS"
9009 if test "x$enable_win16" = "xyes"
9010 then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9012 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9013 if test "$cross_compiling" = yes; then :
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9015 $as_echo "cross-compiling, assuming yes" >&6; }
9016 else
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 asm(".text\n"
9020 "bad:\tnop;nop\n"
9021 "good:\tnop;nop\n\t"
9022 ".globl _testfunc\n"
9023 "_testfunc:\tcallw good");
9024 extern void testfunc();
9026 main ()
9028 unsigned short *p = (unsigned short *)testfunc;
9029 return p[0] != 0xe866 || p[1] != 0xfffa
9031 return 0;
9033 _ACEOF
9034 if ac_fn_c_try_run "$LINENO"; then :
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9036 $as_echo "yes" >&6; }
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9040 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
9042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9043 conftest.$ac_objext conftest.beam conftest.$ac_ext
9048 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9050 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9052 WINELOADER_DEPENDS="wine_info.plist"
9054 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9055 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9058 linux-android*)
9059 DLLFLAGS="$DLLFLAGS -fPIC"
9060 LDDLLFLAGS="-fPIC"
9061 LDEXECFLAGS="-Wl,-pie"
9062 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9064 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9065 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int main(int argc, char **argv) { return 0; }
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9076 else
9077 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9084 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9085 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9086 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9088 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9089 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9091 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9092 if eval \${$as_ac_var+:} false; then :
9093 $as_echo_n "(cached) " >&6
9094 else
9095 ac_wine_try_cflags_saved=$CFLAGS
9096 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9099 int main(int argc, char **argv) { return 0; }
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9102 eval "$as_ac_var=yes"
9103 else
9104 eval "$as_ac_var=no"
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 eval ac_res=\$$as_ac_var
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9112 $as_echo "$ac_res" >&6; }
9113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9114 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9115 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9116 else
9117 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9120 if eval \${$as_ac_var+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_wine_try_cflags_saved=$CFLAGS
9124 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 int main(int argc, char **argv) { return 0; }
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 eval "$as_ac_var=yes"
9131 else
9132 eval "$as_ac_var=no"
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 eval ac_res=\$$as_ac_var
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9140 $as_echo "$ac_res" >&6; }
9141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9142 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9143 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9147 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9148 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_wine_try_cflags_saved=$CFLAGS
9152 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9155 int main(int argc, char **argv) { return 0; }
9156 _ACEOF
9157 if ac_fn_c_try_link "$LINENO"; then :
9158 ac_cv_cflags__Wl___enable_new_dtags=yes
9159 else
9160 ac_cv_cflags__Wl___enable_new_dtags=no
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 CFLAGS=$ac_wine_try_cflags_saved
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9167 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9168 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9169 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9172 LIBWINE_SHAREDLIB="libwine.so"
9174 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9176 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9179 $as_echo_n "checking for -lEGL... " >&6; }
9180 if ${ac_cv_lib_soname_EGL+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_soname_save_LIBS=$LIBS
9184 LIBS="-lEGL $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char eglGetProcAddress ();
9196 main ()
9198 return eglGetProcAddress ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 case "$LIBEXT" in
9205 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9206 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'` ;;
9207 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9208 if ${ac_cv_lib_soname_EGL:+false} :; then :
9209 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9210 fi ;;
9211 esac
9212 else
9213 ac_cv_lib_soname_EGL=
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_soname_save_LIBS
9219 if ${ac_cv_lib_soname_EGL:+false} :; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9223 else
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9225 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9227 cat >>confdefs.h <<_ACEOF
9228 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9229 _ACEOF
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9234 $as_echo_n "checking for -lGLESv2... " >&6; }
9235 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_soname_save_LIBS=$LIBS
9239 LIBS="-lGLESv2 $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char glFlush ();
9251 main ()
9253 return glFlush ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 case "$LIBEXT" in
9260 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9261 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'` ;;
9262 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9263 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9264 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9265 fi ;;
9266 esac
9267 else
9268 ac_cv_lib_soname_GLESv2=
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LIBS=$ac_check_soname_save_LIBS
9274 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9276 $as_echo "not found" >&6; }
9278 else
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9280 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9282 cat >>confdefs.h <<_ACEOF
9283 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9284 _ACEOF
9289 if test "x$exec_prefix" = xNONE
9290 then
9291 case $host_cpu in
9292 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9293 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9294 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9295 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9296 esac
9301 case $host_cpu in
9302 *i[3456789]86*)
9303 DLLFLAGS="$DLLFLAGS -fno-PIC"
9304 LDDLLFLAGS="-fno-PIC" ;;
9306 DLLFLAGS="$DLLFLAGS -fPIC"
9307 LDDLLFLAGS="-fPIC" ;;
9308 esac
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9310 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9311 if ${ac_cv_c_dll_gnuelf+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_wine_try_cflags_saved=$CFLAGS
9315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 void myfunc() {}
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9322 else
9323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9328 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9329 ac_cv_c_dll_gnuelf="yes"
9330 else
9331 ac_cv_c_dll_gnuelf="no"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9335 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9336 if test "$ac_cv_c_dll_gnuelf" = "yes"
9337 then
9338 LIBWINE_LDFLAGS="-shared"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9340 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9341 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 int main(int argc, char **argv) { return 0; }
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9352 else
9353 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 CFLAGS=$ac_wine_try_cflags_saved
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9360 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9361 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9362 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9363 else
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9391 echo '{ global: *; };' >conftest.map
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9393 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9394 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9405 else
9406 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9413 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9414 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9415 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9417 rm -f conftest.map
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9420 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9421 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9428 int main(int argc, char **argv) { return 0; }
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_cflags__Wl___export_dynamic=yes
9432 else
9433 ac_cv_cflags__Wl___export_dynamic=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 CFLAGS=$ac_wine_try_cflags_saved
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9440 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9441 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9442 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9444 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9446 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9449 if eval \${$as_ac_var+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 eval "$as_ac_var=yes"
9460 else
9461 eval "$as_ac_var=no"
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 eval ac_res=\$$as_ac_var
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9469 $as_echo "$ac_res" >&6; }
9470 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9471 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9472 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9473 else
9474 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9476 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9477 if eval \${$as_ac_var+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_wine_try_cflags_saved=$CFLAGS
9481 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484 int main(int argc, char **argv) { return 0; }
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 eval "$as_ac_var=yes"
9488 else
9489 eval "$as_ac_var=no"
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 eval ac_res=\$$as_ac_var
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9497 $as_echo "$ac_res" >&6; }
9498 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9499 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9500 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9505 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9506 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_cflags__Wl___enable_new_dtags=yes
9517 else
9518 ac_cv_cflags__Wl___enable_new_dtags=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9525 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9526 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9527 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9530 case $host_cpu in
9531 *i[3456789]86* | x86_64 | *aarch64*)
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9533 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9534 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9545 else
9546 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9553 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9554 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9555 case $host_os in
9556 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9557 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9558 esac
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9561 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9562 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 int main(int argc, char **argv) { return 0; }
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9573 else
9574 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9581 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9582 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9583 case $host_os in
9584 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9585 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9586 esac
9588 # Extract the first word of "prelink", so it can be a program name with args.
9589 set dummy prelink; ac_word=$2
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9591 $as_echo_n "checking for $ac_word... " >&6; }
9592 if ${ac_cv_path_PRELINK+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 case $PRELINK in
9596 [\\/]* | ?:[\\/]*)
9597 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 for as_dir in /sbin /usr/sbin $PATH
9603 IFS=$as_save_IFS
9604 test -z "$as_dir" && as_dir=.
9605 for ac_exec_ext in '' $ac_executable_extensions; do
9606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9607 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 break 2
9611 done
9612 done
9613 IFS=$as_save_IFS
9615 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9617 esac
9619 PRELINK=$ac_cv_path_PRELINK
9620 if test -n "$PRELINK"; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9622 $as_echo "$PRELINK" >&6; }
9623 else
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9625 $as_echo "no" >&6; }
9629 if test "x$PRELINK" = xfalse
9630 then
9631 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9635 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9636 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_wine_try_cflags_saved=$CFLAGS
9640 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9643 int main(int argc, char **argv) { return 0; }
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9647 else
9648 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 CFLAGS=$ac_wine_try_cflags_saved
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9655 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9656 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9657 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9660 esac
9662 else
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9664 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9665 if ${ac_cv_c_dll_unixware+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 ac_wine_try_cflags_saved=$CFLAGS
9669 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9672 void myfunc() {}
9673 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
9675 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9676 else
9677 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 CFLAGS=$ac_wine_try_cflags_saved
9682 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9683 ac_cv_c_dll_unixware="yes"
9684 else
9685 ac_cv_c_dll_unixware="no"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9689 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9690 if test "$ac_cv_c_dll_unixware" = "yes"
9691 then
9692 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9695 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9697 LIBWINE_DEPENDS="wine.map"
9699 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9700 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9702 esac
9704 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9705 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9706 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9707 enable_winemac_drv=${enable_winemac_drv:-no}
9708 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9710 CROSSTARGET=""
9712 if test "x$with_mingw" != xno
9713 then
9714 case "x$with_mingw" in
9715 x|xyes) case "$host_cpu" in
9716 aarch64*)
9717 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9718 arm*)
9719 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9720 i[3456789]86*)
9721 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
9722 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9723 mingw32-gcc" ;;
9724 x86_64)
9725 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
9726 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9728 ac_prefix_list="" ;;
9729 esac
9730 for ac_prog in $ac_prefix_list
9732 # Extract the first word of "$ac_prog", so it can be a program name with args.
9733 set dummy $ac_prog; ac_word=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9735 $as_echo_n "checking for $ac_word... " >&6; }
9736 if ${ac_cv_prog_CROSSCC+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 if test -n "$CROSSCC"; then
9740 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9741 else
9742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9743 for as_dir in $PATH
9745 IFS=$as_save_IFS
9746 test -z "$as_dir" && as_dir=.
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_CROSSCC="$ac_prog"
9750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9751 break 2
9753 done
9754 done
9755 IFS=$as_save_IFS
9759 CROSSCC=$ac_cv_prog_CROSSCC
9760 if test -n "$CROSSCC"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9762 $as_echo "$CROSSCC" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 $as_echo "no" >&6; }
9769 test -n "$CROSSCC" && break
9770 done
9771 test -n "$CROSSCC" || CROSSCC="false"
9773 *) CROSSCC=$with_mingw ;;
9774 esac
9775 if test "$CROSSCC" != "false"
9776 then
9777 ac_save_CC="$CC"
9778 saved_CFLAGS=$CFLAGS
9779 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9781 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9785 CC="$CROSSCC"
9786 CFLAGS=$CROSSCFLAGS
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9788 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9789 if ${wine_cv_crosscc+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9796 main ()
9800 return 0;
9802 _ACEOF
9803 if ac_fn_c_try_compile "$LINENO"; then :
9804 wine_cv_crosscc=yes
9805 else
9806 wine_cv_crosscc=no
9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9811 $as_echo "$wine_cv_crosscc" >&6; }
9812 if test $wine_cv_crosscc = yes
9813 then
9814 set x $CROSSCC
9815 shift
9816 while test $# -ge 1
9818 case "$1" in
9819 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9820 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9821 esac
9822 shift
9823 done
9825 llvm_target=$CROSSTARGET
9826 if test -z "$llvm_target"
9827 then
9828 case $host_cpu in
9829 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9830 *) llvm_target=$host_cpu-windows-gnu ;;
9831 esac
9833 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9835 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9836 if eval \${$as_ac_var+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_wine_try_cflags_saved=$CFLAGS
9840 ac_wine_try_cflags_saved_cc=$CC
9841 ac_wine_try_cflags_saved_exeext=$ac_exeext
9842 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9843 CC="$CROSSCC"
9844 ac_exeext=".exe"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 eval "$as_ac_var=yes"
9851 else
9852 eval "$as_ac_var=no"
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 CFLAGS=$ac_wine_try_cflags_saved
9857 CC=$ac_wine_try_cflags_saved_cc
9858 ac_exeext=$ac_wine_try_cflags_saved_exeext
9860 eval ac_res=\$$as_ac_var
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9862 $as_echo "$ac_res" >&6; }
9863 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9864 CROSSTARGET=$llvm_target
9865 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9866 CFLAGS="$CFLAGS -fuse-ld=lld"
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9870 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9871 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9872 $as_echo_n "(cached) " >&6
9873 else
9874 ac_wine_try_cflags_saved=$CFLAGS
9875 ac_wine_try_cflags_saved_cc=$CC
9876 ac_wine_try_cflags_saved_exeext=$ac_exeext
9877 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9878 CC="$CROSSCC"
9879 ac_exeext=".exe"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9882 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9883 _ACEOF
9884 if ac_fn_c_try_link "$LINENO"; then :
9885 ac_cv_crosscflags__fno_strict_aliasing=yes
9886 else
9887 ac_cv_crosscflags__fno_strict_aliasing=no
9889 rm -f core conftest.err conftest.$ac_objext \
9890 conftest$ac_exeext conftest.$ac_ext
9891 CFLAGS=$ac_wine_try_cflags_saved
9892 CC=$ac_wine_try_cflags_saved_cc
9893 ac_exeext=$ac_wine_try_cflags_saved_exeext
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9896 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9897 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9898 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9901 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9902 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 ac_wine_try_cflags_saved_cc=$CC
9907 ac_wine_try_cflags_saved_exeext=$ac_exeext
9908 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9909 CC="$CROSSCC"
9910 ac_exeext=".exe"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9917 else
9918 ac_cv_crosscflags__Werror_unknown_warning_option=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9923 CC=$ac_wine_try_cflags_saved_cc
9924 ac_exeext=$ac_wine_try_cflags_saved_exeext
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9927 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9928 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9929 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9932 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9933 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_wine_try_cflags_saved=$CFLAGS
9937 ac_wine_try_cflags_saved_cc=$CC
9938 ac_wine_try_cflags_saved_exeext=$ac_exeext
9939 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9940 CC="$CROSSCC"
9941 ac_exeext=".exe"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9948 else
9949 ac_cv_crosscflags__Wdeclaration_after_statement=no
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9954 CC=$ac_wine_try_cflags_saved_cc
9955 ac_exeext=$ac_wine_try_cflags_saved_exeext
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9958 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9959 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9960 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9963 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9964 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 ac_wine_try_cflags_saved_cc=$CC
9969 ac_wine_try_cflags_saved_exeext=$ac_exeext
9970 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9971 CC="$CROSSCC"
9972 ac_exeext=".exe"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_crosscflags__Wempty_body=yes
9979 else
9980 ac_cv_crosscflags__Wempty_body=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9985 CC=$ac_wine_try_cflags_saved_cc
9986 ac_exeext=$ac_wine_try_cflags_saved_exeext
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9989 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9990 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9991 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9994 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9995 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 ac_wine_try_cflags_saved_cc=$CC
10000 ac_wine_try_cflags_saved_exeext=$ac_exeext
10001 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10002 CC="$CROSSCC"
10003 ac_exeext=".exe"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 ac_cv_crosscflags__Wignored_qualifiers=yes
10010 else
10011 ac_cv_crosscflags__Wignored_qualifiers=no
10013 rm -f core conftest.err conftest.$ac_objext \
10014 conftest$ac_exeext conftest.$ac_ext
10015 CFLAGS=$ac_wine_try_cflags_saved
10016 CC=$ac_wine_try_cflags_saved_cc
10017 ac_exeext=$ac_wine_try_cflags_saved_exeext
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10020 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10021 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10022 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10025 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10026 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_wine_try_cflags_saved=$CFLAGS
10030 ac_wine_try_cflags_saved_cc=$CC
10031 ac_wine_try_cflags_saved_exeext=$ac_exeext
10032 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10033 CC="$CROSSCC"
10034 ac_exeext=".exe"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10038 _ACEOF
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_crosscflags__Wpacked_not_aligned=yes
10041 else
10042 ac_cv_crosscflags__Wpacked_not_aligned=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 CFLAGS=$ac_wine_try_cflags_saved
10047 CC=$ac_wine_try_cflags_saved_cc
10048 ac_exeext=$ac_wine_try_cflags_saved_exeext
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10051 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10052 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10053 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10056 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10057 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_wine_try_cflags_saved=$CFLAGS
10061 ac_wine_try_cflags_saved_cc=$CC
10062 ac_wine_try_cflags_saved_exeext=$ac_exeext
10063 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10064 CC="$CROSSCC"
10065 ac_exeext=".exe"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_crosscflags__Wpragma_pack=yes
10072 else
10073 ac_cv_crosscflags__Wpragma_pack=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 CFLAGS=$ac_wine_try_cflags_saved
10078 CC=$ac_wine_try_cflags_saved_cc
10079 ac_exeext=$ac_wine_try_cflags_saved_exeext
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10082 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10083 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10087 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10088 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 ac_wine_try_cflags_saved_cc=$CC
10093 ac_wine_try_cflags_saved_exeext=$ac_exeext
10094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10095 CC="$CROSSCC"
10096 ac_exeext=".exe"
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 ac_cv_crosscflags__Wshift_overflow_2=yes
10103 else
10104 ac_cv_crosscflags__Wshift_overflow_2=no
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 CFLAGS=$ac_wine_try_cflags_saved
10109 CC=$ac_wine_try_cflags_saved_cc
10110 ac_exeext=$ac_wine_try_cflags_saved_exeext
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10113 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10114 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10115 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10118 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10119 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_wine_try_cflags_saved=$CFLAGS
10123 ac_wine_try_cflags_saved_cc=$CC
10124 ac_wine_try_cflags_saved_exeext=$ac_exeext
10125 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10126 CC="$CROSSCC"
10127 ac_exeext=".exe"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 ac_cv_crosscflags__Wstrict_prototypes=yes
10134 else
10135 ac_cv_crosscflags__Wstrict_prototypes=no
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_wine_try_cflags_saved
10140 CC=$ac_wine_try_cflags_saved_cc
10141 ac_exeext=$ac_wine_try_cflags_saved_exeext
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10144 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10145 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10146 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10149 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10150 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 ac_wine_try_cflags_saved_cc=$CC
10155 ac_wine_try_cflags_saved_exeext=$ac_exeext
10156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10157 CC="$CROSSCC"
10158 ac_exeext=".exe"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_crosscflags__Wtype_limits=yes
10165 else
10166 ac_cv_crosscflags__Wtype_limits=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 CFLAGS=$ac_wine_try_cflags_saved
10171 CC=$ac_wine_try_cflags_saved_cc
10172 ac_exeext=$ac_wine_try_cflags_saved_exeext
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10175 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10176 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10180 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10181 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 ac_wine_try_cflags_saved_cc=$CC
10186 ac_wine_try_cflags_saved_exeext=$ac_exeext
10187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10188 CC="$CROSSCC"
10189 ac_exeext=".exe"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10196 else
10197 ac_cv_crosscflags__Wunused_but_set_parameter=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10202 CC=$ac_wine_try_cflags_saved_cc
10203 ac_exeext=$ac_wine_try_cflags_saved_exeext
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10206 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10207 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10208 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10211 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10212 if ${ac_cv_crosscflags__Wvla+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_wine_try_cflags_saved=$CFLAGS
10216 ac_wine_try_cflags_saved_cc=$CC
10217 ac_wine_try_cflags_saved_exeext=$ac_exeext
10218 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10219 CC="$CROSSCC"
10220 ac_exeext=".exe"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_crosscflags__Wvla=yes
10227 else
10228 ac_cv_crosscflags__Wvla=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10233 CC=$ac_wine_try_cflags_saved_cc
10234 ac_exeext=$ac_wine_try_cflags_saved_exeext
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10237 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10238 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10239 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10242 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10243 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 ac_wine_try_cflags_saved_cc=$CC
10248 ac_wine_try_cflags_saved_exeext=$ac_exeext
10249 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10250 CC="$CROSSCC"
10251 ac_exeext=".exe"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_crosscflags__Wwrite_strings=yes
10258 else
10259 ac_cv_crosscflags__Wwrite_strings=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 CFLAGS=$ac_wine_try_cflags_saved
10264 CC=$ac_wine_try_cflags_saved_cc
10265 ac_exeext=$ac_wine_try_cflags_saved_exeext
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10268 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10269 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10270 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10273 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10274 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_wine_try_cflags_saved=$CFLAGS
10278 ac_wine_try_cflags_saved_cc=$CC
10279 ac_wine_try_cflags_saved_exeext=$ac_exeext
10280 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10281 CC="$CROSSCC"
10282 ac_exeext=".exe"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10285 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_crosscflags__Wpointer_arith=yes
10289 else
10290 ac_cv_crosscflags__Wpointer_arith=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 CFLAGS=$ac_wine_try_cflags_saved
10295 CC=$ac_wine_try_cflags_saved_cc
10296 ac_exeext=$ac_wine_try_cflags_saved_exeext
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10299 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10300 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10301 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10304 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10305 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_wine_try_cflags_saved=$CFLAGS
10309 ac_wine_try_cflags_saved_cc=$CC
10310 ac_wine_try_cflags_saved_exeext=$ac_exeext
10311 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10312 CC="$CROSSCC"
10313 ac_exeext=".exe"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10316 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10317 _ACEOF
10318 if ac_fn_c_try_link "$LINENO"; then :
10319 ac_cv_crosscflags__Wlogical_op=yes
10320 else
10321 ac_cv_crosscflags__Wlogical_op=no
10323 rm -f core conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 CFLAGS=$ac_wine_try_cflags_saved
10326 CC=$ac_wine_try_cflags_saved_cc
10327 ac_exeext=$ac_wine_try_cflags_saved_exeext
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10330 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10331 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10332 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10335 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10336 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 ac_wine_try_cflags_saved_cc=$CC
10341 ac_wine_try_cflags_saved_exeext=$ac_exeext
10342 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10343 CC="$CROSSCC"
10344 ac_exeext=".exe"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10351 else
10352 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10357 CC=$ac_wine_try_cflags_saved_cc
10358 ac_exeext=$ac_wine_try_cflags_saved_exeext
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10361 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10362 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10363 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10366 case $host_cpu in
10367 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10368 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10369 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_wine_try_cflags_saved=$CFLAGS
10373 ac_wine_try_cflags_saved_cc=$CC
10374 ac_wine_try_cflags_saved_exeext=$ac_exeext
10375 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10376 CC="$CROSSCC"
10377 ac_exeext=".exe"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10380 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10384 else
10385 ac_cv_crosscflags__fno_omit_frame_pointer=no
10387 rm -f core conftest.err conftest.$ac_objext \
10388 conftest$ac_exeext conftest.$ac_ext
10389 CFLAGS=$ac_wine_try_cflags_saved
10390 CC=$ac_wine_try_cflags_saved_cc
10391 ac_exeext=$ac_wine_try_cflags_saved_exeext
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10394 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10395 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10396 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10397 fi ;;
10398 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10399 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10400 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_wine_try_cflags_saved=$CFLAGS
10404 ac_wine_try_cflags_saved_cc=$CC
10405 ac_wine_try_cflags_saved_exeext=$ac_exeext
10406 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10407 CC="$CROSSCC"
10408 ac_exeext=".exe"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10411 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 ac_cv_crosscflags__Wno_format=yes
10415 else
10416 ac_cv_crosscflags__Wno_format=no
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 CFLAGS=$ac_wine_try_cflags_saved
10421 CC=$ac_wine_try_cflags_saved_cc
10422 ac_exeext=$ac_wine_try_cflags_saved_exeext
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10425 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10426 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10427 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10430 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10431 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 ac_wine_try_cflags_saved_cc=$CC
10436 ac_wine_try_cflags_saved_exeext=$ac_exeext
10437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10438 CC="$CROSSCC"
10439 ac_exeext=".exe"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10442 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_crosscflags__Wformat_overflow=yes
10446 else
10447 ac_cv_crosscflags__Wformat_overflow=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 CFLAGS=$ac_wine_try_cflags_saved
10452 CC=$ac_wine_try_cflags_saved_cc
10453 ac_exeext=$ac_wine_try_cflags_saved_exeext
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10456 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10457 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10461 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10462 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_wine_try_cflags_saved=$CFLAGS
10466 ac_wine_try_cflags_saved_cc=$CC
10467 ac_wine_try_cflags_saved_exeext=$ac_exeext
10468 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10469 CC="$CROSSCC"
10470 ac_exeext=".exe"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 ac_cv_crosscflags__Wnonnull=yes
10477 else
10478 ac_cv_crosscflags__Wnonnull=no
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 CFLAGS=$ac_wine_try_cflags_saved
10483 CC=$ac_wine_try_cflags_saved_cc
10484 ac_exeext=$ac_wine_try_cflags_saved_exeext
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10487 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10488 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10489 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10490 fi ;;
10491 esac
10493 for ac_flag in $CROSSCFLAGS; do
10494 case $ac_flag in
10495 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10496 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10497 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_wine_try_cflags_saved=$CFLAGS
10501 ac_wine_try_cflags_saved_cc=$CC
10502 ac_wine_try_cflags_saved_exeext=$ac_exeext
10503 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10504 CC="$CROSSCC"
10505 ac_exeext=".exe"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10508 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"; then :
10511 ac_cv_crosscflags__gdwarf_2=yes
10512 else
10513 ac_cv_crosscflags__gdwarf_2=no
10515 rm -f core conftest.err conftest.$ac_objext \
10516 conftest$ac_exeext conftest.$ac_ext
10517 CFLAGS=$ac_wine_try_cflags_saved
10518 CC=$ac_wine_try_cflags_saved_cc
10519 ac_exeext=$ac_wine_try_cflags_saved_exeext
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10522 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10523 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10524 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10527 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10528 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10529 $as_echo_n "(cached) " >&6
10530 else
10531 ac_wine_try_cflags_saved=$CFLAGS
10532 ac_wine_try_cflags_saved_cc=$CC
10533 ac_wine_try_cflags_saved_exeext=$ac_exeext
10534 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10535 CC="$CROSSCC"
10536 ac_exeext=".exe"
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10540 _ACEOF
10541 if ac_fn_c_try_link "$LINENO"; then :
10542 ac_cv_crosscflags__gstrict_dwarf=yes
10543 else
10544 ac_cv_crosscflags__gstrict_dwarf=no
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 CFLAGS=$ac_wine_try_cflags_saved
10549 CC=$ac_wine_try_cflags_saved_cc
10550 ac_exeext=$ac_wine_try_cflags_saved_exeext
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10553 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10554 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10555 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10556 fi ;;
10557 esac
10558 done
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10561 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10562 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_wine_try_cflags_saved=$CFLAGS
10566 ac_wine_try_cflags_saved_cc=$CC
10567 ac_wine_try_cflags_saved_exeext=$ac_exeext
10568 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10569 CC="$CROSSCC"
10570 ac_exeext=".exe"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10573 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10577 else
10578 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 CFLAGS=$ac_wine_try_cflags_saved
10583 CC=$ac_wine_try_cflags_saved_cc
10584 ac_exeext=$ac_wine_try_cflags_saved_exeext
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10587 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10588 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10589 DELAYLOADFLAG="-Wl,-delayload,"
10593 if test "x$enable_werror" = "xyes"
10594 then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10596 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10597 if ${ac_cv_crosscflags__Werror+:} false; then :
10598 $as_echo_n "(cached) " >&6
10599 else
10600 ac_wine_try_cflags_saved=$CFLAGS
10601 ac_wine_try_cflags_saved_cc=$CC
10602 ac_wine_try_cflags_saved_exeext=$ac_exeext
10603 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10604 CC="$CROSSCC"
10605 ac_exeext=".exe"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10608 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 ac_cv_crosscflags__Werror=yes
10612 else
10613 ac_cv_crosscflags__Werror=no
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 CFLAGS=$ac_wine_try_cflags_saved
10618 CC=$ac_wine_try_cflags_saved_cc
10619 ac_exeext=$ac_wine_try_cflags_saved_exeext
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10622 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10623 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10624 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10628 CFLAGS=$saved_CFLAGS
10629 CC="$ac_save_CC"
10632 if test "x$CROSSTARGET" = "x"; then :
10633 case "x$with_mingw" in
10634 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10635 xno) ;;
10636 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10637 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10638 esac
10643 if test "$ac_cv_header_pthread_h" = "yes"
10644 then
10645 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10646 if test "x$ac_cv_func_pthread_create" = xyes; then :
10648 else
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10650 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10651 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-lpthread $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char pthread_create ();
10667 main ()
10669 return pthread_create ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 ac_cv_lib_pthread_pthread_create=yes
10676 else
10677 ac_cv_lib_pthread_pthread_create=no
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10684 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10685 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10686 PTHREAD_LIBS="-lpthread"
10693 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10694 case "x$with_pthread" in
10695 xno) ;;
10696 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10697 Wine cannot support threads without libpthread.
10698 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10699 esac
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10705 $as_echo_n "checking for X... " >&6; }
10708 # Check whether --with-x was given.
10709 if test "${with_x+set}" = set; then :
10710 withval=$with_x;
10713 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10714 if test "x$with_x" = xno; then
10715 # The user explicitly disabled X.
10716 have_x=disabled
10717 else
10718 case $x_includes,$x_libraries in #(
10719 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10720 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 # One or both of the vars are not set, and there is no cached value.
10724 ac_x_includes=no ac_x_libraries=no
10725 rm -f -r conftest.dir
10726 if mkdir conftest.dir; then
10727 cd conftest.dir
10728 cat >Imakefile <<'_ACEOF'
10729 incroot:
10730 @echo incroot='${INCROOT}'
10731 usrlibdir:
10732 @echo usrlibdir='${USRLIBDIR}'
10733 libdir:
10734 @echo libdir='${LIBDIR}'
10735 _ACEOF
10736 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10737 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10738 for ac_var in incroot usrlibdir libdir; do
10739 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10740 done
10741 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10742 for ac_extension in a so sl dylib la dll; do
10743 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10744 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10745 ac_im_usrlibdir=$ac_im_libdir; break
10747 done
10748 # Screen out bogus values from the imake configuration. They are
10749 # bogus both because they are the default anyway, and because
10750 # using them would break gcc on systems where it needs fixed includes.
10751 case $ac_im_incroot in
10752 /usr/include) ac_x_includes= ;;
10753 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10754 esac
10755 case $ac_im_usrlibdir in
10756 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10757 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10758 esac
10760 cd ..
10761 rm -f -r conftest.dir
10764 # Standard set of common directories for X headers.
10765 # Check X11 before X11Rn because it is often a symlink to the current release.
10766 ac_x_header_dirs='
10767 /usr/X11/include
10768 /usr/X11R7/include
10769 /usr/X11R6/include
10770 /usr/X11R5/include
10771 /usr/X11R4/include
10773 /usr/include/X11
10774 /usr/include/X11R7
10775 /usr/include/X11R6
10776 /usr/include/X11R5
10777 /usr/include/X11R4
10779 /usr/local/X11/include
10780 /usr/local/X11R7/include
10781 /usr/local/X11R6/include
10782 /usr/local/X11R5/include
10783 /usr/local/X11R4/include
10785 /usr/local/include/X11
10786 /usr/local/include/X11R7
10787 /usr/local/include/X11R6
10788 /usr/local/include/X11R5
10789 /usr/local/include/X11R4
10791 /usr/X386/include
10792 /usr/x386/include
10793 /usr/XFree86/include/X11
10795 /usr/include
10796 /usr/local/include
10797 /usr/unsupported/include
10798 /usr/athena/include
10799 /usr/local/x11r5/include
10800 /usr/lpp/Xamples/include
10802 /usr/openwin/include
10803 /usr/openwin/share/include'
10805 if test "$ac_x_includes" = no; then
10806 # Guess where to find include files, by looking for Xlib.h.
10807 # First, try using that file with no special directory specified.
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10810 #include <X11/Xlib.h>
10811 _ACEOF
10812 if ac_fn_c_try_cpp "$LINENO"; then :
10813 # We can compile using X headers with no special include directory.
10814 ac_x_includes=
10815 else
10816 for ac_dir in $ac_x_header_dirs; do
10817 if test -r "$ac_dir/X11/Xlib.h"; then
10818 ac_x_includes=$ac_dir
10819 break
10821 done
10823 rm -f conftest.err conftest.i conftest.$ac_ext
10824 fi # $ac_x_includes = no
10826 if test "$ac_x_libraries" = no; then
10827 # Check for the libraries.
10828 # See if we find them without any special options.
10829 # Don't add to $LIBS permanently.
10830 ac_save_LIBS=$LIBS
10831 LIBS="-lX11 $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10834 #include <X11/Xlib.h>
10836 main ()
10838 XrmInitialize ()
10840 return 0;
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 LIBS=$ac_save_LIBS
10845 # We can link X programs with no special library path.
10846 ac_x_libraries=
10847 else
10848 LIBS=$ac_save_LIBS
10849 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10851 # Don't even attempt the hair of trying to link an X program!
10852 for ac_extension in a so sl dylib la dll; do
10853 if test -r "$ac_dir/libX11.$ac_extension"; then
10854 ac_x_libraries=$ac_dir
10855 break 2
10857 done
10858 done
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 fi # $ac_x_libraries = no
10864 case $ac_x_includes,$ac_x_libraries in #(
10865 no,* | *,no | *\'*)
10866 # Didn't find X, or a directory has "'" in its name.
10867 ac_cv_have_x="have_x=no";; #(
10869 # Record where we found X for the cache.
10870 ac_cv_have_x="have_x=yes\
10871 ac_x_includes='$ac_x_includes'\
10872 ac_x_libraries='$ac_x_libraries'"
10873 esac
10875 ;; #(
10876 *) have_x=yes;;
10877 esac
10878 eval "$ac_cv_have_x"
10879 fi # $with_x != no
10881 if test "$have_x" != yes; then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10883 $as_echo "$have_x" >&6; }
10884 no_x=yes
10885 else
10886 # If each of the values was on the command line, it overrides each guess.
10887 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10888 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10889 # Update the cache value to reflect the command line values.
10890 ac_cv_have_x="have_x=yes\
10891 ac_x_includes='$x_includes'\
10892 ac_x_libraries='$x_libraries'"
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10894 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10897 if test "$no_x" = yes; then
10898 # Not all programs may use this symbol, but it does not hurt to define it.
10900 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10902 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10903 else
10904 if test -n "$x_includes"; then
10905 X_CFLAGS="$X_CFLAGS -I$x_includes"
10908 # It would also be nice to do this for all -L options, not just this one.
10909 if test -n "$x_libraries"; then
10910 X_LIBS="$X_LIBS -L$x_libraries"
10911 # For Solaris; some versions of Sun CC require a space after -R and
10912 # others require no space. Words are not sufficient . . . .
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10914 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10915 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10916 ac_xsave_c_werror_flag=$ac_c_werror_flag
10917 ac_c_werror_flag=yes
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10922 main ()
10926 return 0;
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"; then :
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10931 $as_echo "no" >&6; }
10932 X_LIBS="$X_LIBS -R$x_libraries"
10933 else
10934 LIBS="$ac_xsave_LIBS -R $x_libraries"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10939 main ()
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10948 $as_echo "yes" >&6; }
10949 X_LIBS="$X_LIBS -R $x_libraries"
10950 else
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10952 $as_echo "neither works" >&6; }
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 ac_c_werror_flag=$ac_xsave_c_werror_flag
10960 LIBS=$ac_xsave_LIBS
10963 # Check for system-dependent libraries X programs must link with.
10964 # Do this before checking for the system-independent R6 libraries
10965 # (-lICE), since we may need -lsocket or whatever for X linking.
10967 if test "$ISC" = yes; then
10968 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10969 else
10970 # Martyn Johnson says this is needed for Ultrix, if the X
10971 # libraries were built with DECnet support. And Karl Berry says
10972 # the Alpha needs dnet_stub (dnet does not exist).
10973 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char XOpenDisplay ();
10985 main ()
10987 return XOpenDisplay ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10994 else
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10996 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10997 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11000 ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-ldnet $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11008 #ifdef __cplusplus
11009 extern "C"
11010 #endif
11011 char dnet_ntoa ();
11013 main ()
11015 return dnet_ntoa ();
11017 return 0;
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 ac_cv_lib_dnet_dnet_ntoa=yes
11022 else
11023 ac_cv_lib_dnet_dnet_ntoa=no
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11030 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11031 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11032 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11035 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11037 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11038 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11039 $as_echo_n "(cached) " >&6
11040 else
11041 ac_check_lib_save_LIBS=$LIBS
11042 LIBS="-ldnet_stub $LIBS"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11049 #ifdef __cplusplus
11050 extern "C"
11051 #endif
11052 char dnet_ntoa ();
11054 main ()
11056 return dnet_ntoa ();
11058 return 0;
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11063 else
11064 ac_cv_lib_dnet_stub_dnet_ntoa=no
11066 rm -f core conftest.err conftest.$ac_objext \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11071 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11072 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11073 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS="$ac_xsave_LIBS"
11082 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11083 # to get the SysV transport functions.
11084 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11085 # needs -lnsl.
11086 # The nsl library prevents programs from opening the X display
11087 # on Irix 5.2, according to T.E. Dickey.
11088 # The functions gethostbyname, getservbyname, and inet_addr are
11089 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11090 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11091 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11095 if test $ac_cv_func_gethostbyname = no; then
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11097 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11098 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lnsl $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char gethostbyname ();
11114 main ()
11116 return gethostbyname ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_nsl_gethostbyname=yes
11123 else
11124 ac_cv_lib_nsl_gethostbyname=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11131 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11132 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11133 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11136 if test $ac_cv_lib_nsl_gethostbyname = no; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11138 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11139 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11140 $as_echo_n "(cached) " >&6
11141 else
11142 ac_check_lib_save_LIBS=$LIBS
11143 LIBS="-lbsd $LIBS"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11150 #ifdef __cplusplus
11151 extern "C"
11152 #endif
11153 char gethostbyname ();
11155 main ()
11157 return gethostbyname ();
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"; then :
11163 ac_cv_lib_bsd_gethostbyname=yes
11164 else
11165 ac_cv_lib_bsd_gethostbyname=no
11167 rm -f core conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_lib_save_LIBS
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11172 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11173 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11180 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11181 # socket/setsockopt and other routines are undefined under SCO ODT
11182 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11183 # on later versions), says Simon Leinen: it contains gethostby*
11184 # variants that don't use the name server (or something). -lsocket
11185 # must be given before -lnsl if both are needed. We assume that
11186 # if connect needs -lnsl, so does gethostbyname.
11187 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11188 if test "x$ac_cv_func_connect" = xyes; then :
11192 if test $ac_cv_func_connect = no; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11194 $as_echo_n "checking for connect in -lsocket... " >&6; }
11195 if ${ac_cv_lib_socket_connect+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char connect ();
11211 main ()
11213 return connect ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_socket_connect=yes
11220 else
11221 ac_cv_lib_socket_connect=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11228 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11229 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11230 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11235 # Guillermo Gomez says -lposix is necessary on A/UX.
11236 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11237 if test "x$ac_cv_func_remove" = xyes; then :
11241 if test $ac_cv_func_remove = no; then
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11243 $as_echo_n "checking for remove in -lposix... " >&6; }
11244 if ${ac_cv_lib_posix_remove+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-lposix $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char remove ();
11260 main ()
11262 return remove ();
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 ac_cv_lib_posix_remove=yes
11269 else
11270 ac_cv_lib_posix_remove=no
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11277 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11278 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11279 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11284 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11285 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11286 if test "x$ac_cv_func_shmat" = xyes; then :
11290 if test $ac_cv_func_shmat = no; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11292 $as_echo_n "checking for shmat in -lipc... " >&6; }
11293 if ${ac_cv_lib_ipc_shmat+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lipc $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char shmat ();
11309 main ()
11311 return shmat ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_ipc_shmat=yes
11318 else
11319 ac_cv_lib_ipc_shmat=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11326 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11327 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11334 # Check for libraries that X11R6 Xt/Xaw programs need.
11335 ac_save_LDFLAGS=$LDFLAGS
11336 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11337 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11338 # check for ICE first), but we must link in the order -lSM -lICE or
11339 # we get undefined symbols. So assume we have SM if we have ICE.
11340 # These have to be linked with before -lX11, unlike the other
11341 # libraries we check for below, so use a different variable.
11342 # John Interrante, Karl Berry
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11344 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11345 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char IceConnectionNumber ();
11361 main ()
11363 return IceConnectionNumber ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_ICE_IceConnectionNumber=yes
11370 else
11371 ac_cv_lib_ICE_IceConnectionNumber=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11378 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11379 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11380 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11383 LDFLAGS=$ac_save_LDFLAGS
11388 if test "$have_x" = "yes"
11389 then
11390 ac_save_CPPFLAGS="$CPPFLAGS"
11391 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11394 $as_echo_n "checking for -lX11... " >&6; }
11395 if ${ac_cv_lib_soname_X11+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char XCreateWindow ();
11411 main ()
11413 return XCreateWindow ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_X11:+false} :; then :
11424 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11427 else
11428 ac_cv_lib_soname_X11=
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_X11:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11440 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11444 _ACEOF
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11449 $as_echo_n "checking for -lXext... " >&6; }
11450 if ${ac_cv_lib_soname_Xext+:} false; then :
11451 $as_echo_n "(cached) " >&6
11452 else
11453 ac_check_soname_save_LIBS=$LIBS
11454 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char XextCreateExtension ();
11466 main ()
11468 return XextCreateExtension ();
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 case "$LIBEXT" in
11475 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11476 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'` ;;
11477 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11478 if ${ac_cv_lib_soname_Xext:+false} :; then :
11479 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11480 fi ;;
11481 esac
11482 else
11483 ac_cv_lib_soname_Xext=
11485 rm -f core conftest.err conftest.$ac_objext \
11486 conftest$ac_exeext conftest.$ac_ext
11487 LIBS=$ac_check_soname_save_LIBS
11489 if ${ac_cv_lib_soname_Xext:+false} :; then :
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11491 $as_echo "not found" >&6; }
11493 else
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11495 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11497 cat >>confdefs.h <<_ACEOF
11498 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11499 _ACEOF
11501 X_LIBS="$X_LIBS -lXext"
11503 X_LIBS="$X_LIBS -lX11"
11505 for ac_header in X11/Xlib.h \
11506 X11/XKBlib.h \
11507 X11/Xutil.h \
11508 X11/Xcursor/Xcursor.h \
11509 X11/extensions/shape.h \
11510 X11/extensions/XInput.h \
11511 X11/extensions/XInput2.h \
11512 X11/extensions/XShm.h \
11513 X11/extensions/Xcomposite.h \
11514 X11/extensions/Xfixes.h \
11515 X11/extensions/Xinerama.h \
11516 X11/extensions/Xrandr.h \
11517 X11/extensions/Xrender.h \
11518 X11/extensions/xf86vmode.h \
11519 X11/extensions/xf86vmproto.h
11520 do :
11521 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11522 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11523 # include <X11/Xlib.h>
11524 #endif
11525 #ifdef HAVE_X11_XUTIL_H
11526 # include <X11/Xutil.h>
11527 #endif
11529 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11530 cat >>confdefs.h <<_ACEOF
11531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11532 _ACEOF
11536 done
11539 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11540 then
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11542 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11543 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_lib_save_LIBS=$LIBS
11547 LIBS="-lX11 $X_LIBS $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 XkbQueryExtension ();
11559 main ()
11561 return XkbQueryExtension ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 ac_cv_lib_X11_XkbQueryExtension=yes
11568 else
11569 ac_cv_lib_X11_XkbQueryExtension=no
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_lib_save_LIBS
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11576 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11577 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11579 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11585 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11586 then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11588 $as_echo_n "checking for -lXcursor... " >&6; }
11589 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11590 $as_echo_n "(cached) " >&6
11591 else
11592 ac_check_soname_save_LIBS=$LIBS
11593 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11597 /* Override any GCC internal prototype to avoid an error.
11598 Use char because int might match the return type of a GCC
11599 builtin and then its argument prototype would still apply. */
11600 #ifdef __cplusplus
11601 extern "C"
11602 #endif
11603 char XcursorImageLoadCursor ();
11605 main ()
11607 return XcursorImageLoadCursor ();
11609 return 0;
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"; then :
11613 case "$LIBEXT" in
11614 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11615 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'` ;;
11616 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11617 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11618 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11619 fi ;;
11620 esac
11621 else
11622 ac_cv_lib_soname_Xcursor=
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_soname_save_LIBS
11628 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11630 $as_echo "not found" >&6; }
11632 else
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11634 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11636 cat >>confdefs.h <<_ACEOF
11637 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11638 _ACEOF
11643 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11644 case "x$with_xcursor" in
11645 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11646 xno) ;;
11647 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11648 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11649 esac
11653 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11654 then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11656 $as_echo_n "checking for -lXi... " >&6; }
11657 if ${ac_cv_lib_soname_Xi+:} false; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 ac_check_soname_save_LIBS=$LIBS
11661 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11668 #ifdef __cplusplus
11669 extern "C"
11670 #endif
11671 char XOpenDevice ();
11673 main ()
11675 return XOpenDevice ();
11677 return 0;
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"; then :
11681 case "$LIBEXT" in
11682 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11683 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'` ;;
11684 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11685 if ${ac_cv_lib_soname_Xi:+false} :; then :
11686 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11687 fi ;;
11688 esac
11689 else
11690 ac_cv_lib_soname_Xi=
11692 rm -f core conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_soname_save_LIBS
11696 if ${ac_cv_lib_soname_Xi:+false} :; then :
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11698 $as_echo "not found" >&6; }
11700 else
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11702 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11704 cat >>confdefs.h <<_ACEOF
11705 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11706 _ACEOF
11711 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11712 case "x$with_xinput" in
11713 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11714 xno) ;;
11715 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11716 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11717 esac
11721 if test "x$ac_cv_lib_soname_Xi" != x
11722 then
11723 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11724 case "x$with_xinput2" in
11725 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11726 xno) ;;
11727 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11728 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11729 esac
11734 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11735 then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11737 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11738 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11739 $as_echo_n "(cached) " >&6
11740 else
11741 ac_check_lib_save_LIBS=$LIBS
11742 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11746 /* Override any GCC internal prototype to avoid an error.
11747 Use char because int might match the return type of a GCC
11748 builtin and then its argument prototype would still apply. */
11749 #ifdef __cplusplus
11750 extern "C"
11751 #endif
11752 char XShmQueryExtension ();
11754 main ()
11756 return XShmQueryExtension ();
11758 return 0;
11760 _ACEOF
11761 if ac_fn_c_try_link "$LINENO"; then :
11762 ac_cv_lib_Xext_XShmQueryExtension=yes
11763 else
11764 ac_cv_lib_Xext_XShmQueryExtension=no
11766 rm -f core conftest.err conftest.$ac_objext \
11767 conftest$ac_exeext conftest.$ac_ext
11768 LIBS=$ac_check_lib_save_LIBS
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11771 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11772 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11774 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11779 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11780 case "x$with_xshm" in
11781 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11782 xno) ;;
11783 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11784 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11785 esac
11789 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11790 then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11792 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11793 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_check_lib_save_LIBS=$LIBS
11797 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char XShapeQueryExtension ();
11809 main ()
11811 return XShapeQueryExtension ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 ac_cv_lib_Xext_XShapeQueryExtension=yes
11818 else
11819 ac_cv_lib_Xext_XShapeQueryExtension=no
11821 rm -f core conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 LIBS=$ac_check_lib_save_LIBS
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11826 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11827 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11829 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11834 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11835 case "x$with_xshape" in
11836 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11837 xno) ;;
11838 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11839 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11840 esac
11844 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11845 then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11847 $as_echo_n "checking for -lXxf86vm... " >&6; }
11848 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11849 $as_echo_n "(cached) " >&6
11850 else
11851 ac_check_soname_save_LIBS=$LIBS
11852 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11856 /* Override any GCC internal prototype to avoid an error.
11857 Use char because int might match the return type of a GCC
11858 builtin and then its argument prototype would still apply. */
11859 #ifdef __cplusplus
11860 extern "C"
11861 #endif
11862 char XF86VidModeQueryExtension ();
11864 main ()
11866 return XF86VidModeQueryExtension ();
11868 return 0;
11870 _ACEOF
11871 if ac_fn_c_try_link "$LINENO"; then :
11872 case "$LIBEXT" in
11873 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11874 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'` ;;
11875 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11876 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11877 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11878 fi ;;
11879 esac
11880 else
11881 ac_cv_lib_soname_Xxf86vm=
11883 rm -f core conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 LIBS=$ac_check_soname_save_LIBS
11887 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11889 $as_echo "not found" >&6; }
11891 else
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11893 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11895 cat >>confdefs.h <<_ACEOF
11896 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11897 _ACEOF
11902 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11903 case "x$with_xxf86vm" in
11904 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11905 xno) ;;
11906 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11907 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11908 esac
11912 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11913 then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11915 $as_echo_n "checking for -lXrender... " >&6; }
11916 if ${ac_cv_lib_soname_Xrender+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_soname_save_LIBS=$LIBS
11920 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11927 #ifdef __cplusplus
11928 extern "C"
11929 #endif
11930 char XRenderQueryExtension ();
11932 main ()
11934 return XRenderQueryExtension ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 case "$LIBEXT" in
11941 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11942 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'` ;;
11943 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11944 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11945 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11946 fi ;;
11947 esac
11948 else
11949 ac_cv_lib_soname_Xrender=
11951 rm -f core conftest.err conftest.$ac_objext \
11952 conftest$ac_exeext conftest.$ac_ext
11953 LIBS=$ac_check_soname_save_LIBS
11955 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11957 $as_echo "not found" >&6; }
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11961 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11963 cat >>confdefs.h <<_ACEOF
11964 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11965 _ACEOF
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11968 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11969 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11970 $as_echo_n "(cached) " >&6
11971 else
11972 ac_check_lib_save_LIBS=$LIBS
11973 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11980 #ifdef __cplusplus
11981 extern "C"
11982 #endif
11983 char XRenderSetPictureTransform ();
11985 main ()
11987 return XRenderSetPictureTransform ();
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_link "$LINENO"; then :
11993 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11994 else
11995 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_lib_save_LIBS
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12002 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12003 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12005 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12010 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12011 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_lib_save_LIBS=$LIBS
12015 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char XRenderCreateLinearGradient ();
12027 main ()
12029 return XRenderCreateLinearGradient ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12036 else
12037 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12039 rm -f core conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_lib_save_LIBS
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12044 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12045 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12047 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12054 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12055 case "x$with_xrender" in
12056 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12059 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12060 esac
12064 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12065 then
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 #include <X11/Xlib.h>
12069 #include <X11/extensions/Xrandr.h>
12071 main ()
12073 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12075 return 0;
12077 _ACEOF
12078 if ac_fn_c_try_compile "$LINENO"; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12080 $as_echo_n "checking for -lXrandr... " >&6; }
12081 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_soname_save_LIBS=$LIBS
12085 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char XRRQueryExtension ();
12097 main ()
12099 return XRRQueryExtension ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 case "$LIBEXT" in
12106 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12110 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12111 fi ;;
12112 esac
12113 else
12114 ac_cv_lib_soname_Xrandr=
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_soname_save_LIBS
12120 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12126 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12128 cat >>confdefs.h <<_ACEOF
12129 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12130 _ACEOF
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12134 #include <X11/Xlib.h>
12135 #include <X11/extensions/Xrandr.h>
12137 main ()
12139 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_compile "$LINENO"; then :
12146 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #include <X11/Xlib.h>
12153 #include <X11/extensions/Xrandr.h>
12155 main ()
12157 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_compile "$LINENO"; then :
12164 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12166 else
12167 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12174 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12175 case "x$with_xrandr" in
12176 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12177 xno) ;;
12178 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12179 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12180 esac
12184 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12185 then
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 #include <X11/Xlib.h>
12189 #include <X11/extensions/Xfixes.h>
12191 main ()
12193 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_compile "$LINENO"; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12200 $as_echo_n "checking for -lXfixes... " >&6; }
12201 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 ac_check_soname_save_LIBS=$LIBS
12205 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12212 #ifdef __cplusplus
12213 extern "C"
12214 #endif
12215 char XFixesQueryVersion ();
12217 main ()
12219 return XFixesQueryVersion ();
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"; then :
12225 case "$LIBEXT" in
12226 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12227 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'` ;;
12228 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12229 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12230 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12231 fi ;;
12232 esac
12233 else
12234 ac_cv_lib_soname_Xfixes=
12236 rm -f core conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_soname_save_LIBS
12240 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12242 $as_echo "not found" >&6; }
12244 else
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12246 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12248 cat >>confdefs.h <<_ACEOF
12249 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12250 _ACEOF
12255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12257 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12258 case "x$with_xfixes" in
12259 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12260 xno) ;;
12261 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12262 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12263 esac
12267 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12268 then
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12271 #include <X11/Xlib.h>
12272 #include <X11/extensions/Xinerama.h>
12274 main ()
12276 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_compile "$LINENO"; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12283 $as_echo_n "checking for -lXinerama... " >&6; }
12284 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 ac_check_soname_save_LIBS=$LIBS
12288 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char XineramaQueryScreens ();
12300 main ()
12302 return XineramaQueryScreens ();
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_link "$LINENO"; then :
12308 case "$LIBEXT" in
12309 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12310 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'` ;;
12311 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12312 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12313 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12314 fi ;;
12315 esac
12316 else
12317 ac_cv_lib_soname_Xinerama=
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 LIBS=$ac_check_soname_save_LIBS
12323 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12325 $as_echo "not found" >&6; }
12327 else
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12329 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12331 cat >>confdefs.h <<_ACEOF
12332 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12333 _ACEOF
12338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12340 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12341 case "x$with_xinerama" in
12342 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12343 xno) ;;
12344 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12345 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12346 esac
12350 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12351 then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12353 $as_echo_n "checking for -lXcomposite... " >&6; }
12354 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_soname_save_LIBS=$LIBS
12358 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char XCompositeRedirectWindow ();
12370 main ()
12372 return XCompositeRedirectWindow ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 case "$LIBEXT" in
12379 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12380 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'` ;;
12381 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12382 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12383 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12384 fi ;;
12385 esac
12386 else
12387 ac_cv_lib_soname_Xcomposite=
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_soname_save_LIBS
12393 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12395 $as_echo "not found" >&6; }
12397 else
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12399 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12401 cat >>confdefs.h <<_ACEOF
12402 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12403 _ACEOF
12408 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12409 case "x$with_xcomposite" in
12410 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12411 xno) ;;
12412 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12413 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12414 esac
12418 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12419 #include <X11/Xlib.h>
12420 #endif
12422 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_XICCALLBACK_CALLBACK 1
12426 _ACEOF
12430 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12431 #include <X11/Xlib.h>
12432 #endif
12434 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12436 cat >>confdefs.h <<_ACEOF
12437 #define HAVE_XEVENT_XCOOKIE 1
12438 _ACEOF
12445 opengl_msg=""
12446 if test "x$with_opengl" != "xno"
12447 then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12449 $as_echo_n "checking for -lGL... " >&6; }
12450 if ${ac_cv_lib_soname_GL+:} false; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 ac_check_soname_save_LIBS=$LIBS
12454 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 /* Override any GCC internal prototype to avoid an error.
12459 Use char because int might match the return type of a GCC
12460 builtin and then its argument prototype would still apply. */
12461 #ifdef __cplusplus
12462 extern "C"
12463 #endif
12464 char glXCreateContext ();
12466 main ()
12468 return glXCreateContext ();
12470 return 0;
12472 _ACEOF
12473 if ac_fn_c_try_link "$LINENO"; then :
12474 case "$LIBEXT" in
12475 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12476 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'` ;;
12477 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12478 if ${ac_cv_lib_soname_GL:+false} :; then :
12479 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12480 fi ;;
12481 esac
12482 else
12483 ac_cv_lib_soname_GL=
12485 rm -f core conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_soname_save_LIBS
12489 if ${ac_cv_lib_soname_GL:+false} :; then :
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12491 $as_echo "not found" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12493 $as_echo_n "checking for -lGL... " >&6; }
12494 if ${ac_cv_lib_soname_GL+:} false; then :
12495 $as_echo_n "(cached) " >&6
12496 else
12497 ac_check_soname_save_LIBS=$LIBS
12498 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"
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 char glXCreateContext ();
12510 main ()
12512 return glXCreateContext ();
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 case "$LIBEXT" in
12519 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12520 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'` ;;
12521 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12522 if ${ac_cv_lib_soname_GL:+false} :; then :
12523 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12524 fi ;;
12525 esac
12526 else
12527 ac_cv_lib_soname_GL=
12529 rm -f core conftest.err conftest.$ac_objext \
12530 conftest$ac_exeext conftest.$ac_ext
12531 LIBS=$ac_check_soname_save_LIBS
12533 if ${ac_cv_lib_soname_GL:+false} :; then :
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12535 $as_echo "not found" >&6; }
12536 if test -f /usr/X11R6/lib/libGL.a
12537 then
12538 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12539 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12540 else
12541 opengl_msg="No OpenGL library found on this system."
12543 else
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12545 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12547 cat >>confdefs.h <<_ACEOF
12548 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12549 _ACEOF
12551 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"
12553 else
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12555 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12557 cat >>confdefs.h <<_ACEOF
12558 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12559 _ACEOF
12561 OPENGL_LIBS="-lGL"
12563 if test "x$with_glu" != "xno"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12566 $as_echo_n "checking for -lGLU... " >&6; }
12567 if ${ac_cv_lib_soname_GLU+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_soname_save_LIBS=$LIBS
12571 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char gluLookAt ();
12583 main ()
12585 return gluLookAt ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 case "$LIBEXT" in
12592 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12593 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'` ;;
12594 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12595 if ${ac_cv_lib_soname_GLU:+false} :; then :
12596 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12597 fi ;;
12598 esac
12599 else
12600 ac_cv_lib_soname_GLU=
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_soname_save_LIBS
12606 if ${ac_cv_lib_soname_GLU:+false} :; then :
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12608 $as_echo "not found" >&6; }
12610 else
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12612 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12614 cat >>confdefs.h <<_ACEOF
12615 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12616 _ACEOF
12620 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12621 case "x$with_glu" in
12622 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12623 xno) ;;
12624 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12625 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12626 esac
12631 if test "x$with_osmesa" != "xno"
12632 then
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12634 $as_echo_n "checking for -lOSMesa... " >&6; }
12635 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12636 $as_echo_n "(cached) " >&6
12637 else
12638 ac_check_soname_save_LIBS=$LIBS
12639 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12646 #ifdef __cplusplus
12647 extern "C"
12648 #endif
12649 char OSMesaGetProcAddress ();
12651 main ()
12653 return OSMesaGetProcAddress ();
12655 return 0;
12657 _ACEOF
12658 if ac_fn_c_try_link "$LINENO"; then :
12659 case "$LIBEXT" in
12660 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12661 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'` ;;
12662 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12663 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12664 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12665 fi ;;
12666 esac
12667 else
12668 ac_cv_lib_soname_OSMesa=
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_soname_save_LIBS
12674 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12676 $as_echo "not found" >&6; }
12678 else
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12680 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12682 cat >>confdefs.h <<_ACEOF
12683 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12684 _ACEOF
12688 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12689 case "x$with_osmesa" in
12690 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12691 xno) ;;
12692 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12693 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12694 esac
12699 if test -n "$opengl_msg"; then :
12700 case "x$with_opengl" in
12701 x) as_fn_append wine_warnings "|$opengl_msg
12702 OpenGL and Direct3D won't be supported." ;;
12703 xno) ;;
12704 *) as_fn_error $? "$opengl_msg
12705 OpenGL and Direct3D won't be supported.
12706 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12707 esac
12711 CPPFLAGS="$ac_save_CPPFLAGS"
12712 else
12713 X_CFLAGS=""
12714 X_LIBS=""
12717 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12718 then
12719 if test "x$X_LIBS" = "x"; then :
12720 case "x$with_x" in
12721 xno) ;;
12722 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12723 without X support, which probably isn't what you want. You will need
12724 to install ${notice_platform}development packages of Xlib at the very least.
12725 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12726 esac
12727 enable_winex11_drv=${enable_winex11_drv:-no}
12729 else
12730 if test "x$X_LIBS" = "x"; then :
12731 case "x$with_x" in
12732 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12733 xno) ;;
12734 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12735 This is an error since --with-x was requested." "$LINENO" 5 ;;
12736 esac
12737 enable_winex11_drv=${enable_winex11_drv:-no}
12741 if test "$ac_cv_header_CL_cl_h" = "yes"
12742 then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12744 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12745 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
12748 ac_check_lib_save_LIBS=$LIBS
12749 LIBS="-lOpenCL $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 #ifdef __cplusplus
12757 extern "C"
12758 #endif
12759 char clGetPlatformInfo ();
12761 main ()
12763 return clGetPlatformInfo ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"; then :
12769 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12770 else
12771 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12775 LIBS=$ac_check_lib_save_LIBS
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12778 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12779 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12780 OPENCL_LIBS="-lOpenCL"
12785 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12786 case "x$with_opencl" in
12787 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12788 xno) ;;
12789 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12790 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12791 esac
12792 enable_opencl=${enable_opencl:-no}
12795 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12796 then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12798 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12799 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-lpcap $LIBS"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 /* Override any GCC internal prototype to avoid an error.
12808 Use char because int might match the return type of a GCC
12809 builtin and then its argument prototype would still apply. */
12810 #ifdef __cplusplus
12811 extern "C"
12812 #endif
12813 char pcap_create ();
12815 main ()
12817 return pcap_create ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 ac_cv_lib_pcap_pcap_create=yes
12824 else
12825 ac_cv_lib_pcap_pcap_create=no
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12829 LIBS=$ac_check_lib_save_LIBS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12832 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12833 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12834 PCAP_LIBS="-lpcap"
12839 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12840 case "x$with_pcap" in
12841 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12842 xno) ;;
12843 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12844 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12845 esac
12846 enable_wpcap=${enable_wpcap:-no}
12850 if test "x$with_xml" != "xno"
12851 then
12852 if ${XML2_CFLAGS:+false} :; then :
12853 if ${PKG_CONFIG+:} false; then :
12854 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12857 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12858 if ${XML2_LIBS:+false} :; then :
12859 if ${PKG_CONFIG+:} false; then :
12860 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12863 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12864 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12865 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12866 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12867 ac_save_CPPFLAGS=$CPPFLAGS
12868 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12869 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12870 do :
12871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12872 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12874 cat >>confdefs.h <<_ACEOF
12875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12876 _ACEOF
12880 done
12882 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"
12883 then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12885 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12886 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lxml2 $XML2_LIBS $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char xmlParseMemory ();
12902 main ()
12904 return xmlParseMemory ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_xml2_xmlParseMemory=yes
12911 else
12912 ac_cv_lib_xml2_xmlParseMemory=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12919 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12920 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12922 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12924 else
12925 XML2_LIBS=""
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12929 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12930 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12931 $as_echo_n "(cached) " >&6
12932 else
12933 ac_check_lib_save_LIBS=$LIBS
12934 LIBS="-lxml2 $XML2_LIBS $LIBS"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char xmlReadMemory ();
12946 main ()
12948 return xmlReadMemory ();
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 ac_cv_lib_xml2_xmlReadMemory=yes
12955 else
12956 ac_cv_lib_xml2_xmlReadMemory=no
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_lib_save_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12963 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12964 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12966 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12971 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12972 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12973 $as_echo_n "(cached) " >&6
12974 else
12975 ac_check_lib_save_LIBS=$LIBS
12976 LIBS="-lxml2 $XML2_LIBS $LIBS"
12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 /* Override any GCC internal prototype to avoid an error.
12981 Use char because int might match the return type of a GCC
12982 builtin and then its argument prototype would still apply. */
12983 #ifdef __cplusplus
12984 extern "C"
12985 #endif
12986 char xmlNewDocPI ();
12988 main ()
12990 return xmlNewDocPI ();
12992 return 0;
12994 _ACEOF
12995 if ac_fn_c_try_link "$LINENO"; then :
12996 ac_cv_lib_xml2_xmlNewDocPI=yes
12997 else
12998 ac_cv_lib_xml2_xmlNewDocPI=no
13000 rm -f core conftest.err conftest.$ac_objext \
13001 conftest$ac_exeext conftest.$ac_ext
13002 LIBS=$ac_check_lib_save_LIBS
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13005 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13006 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13008 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13013 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13014 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13015 $as_echo_n "(cached) " >&6
13016 else
13017 ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-lxml2 $XML2_LIBS $LIBS"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13025 #ifdef __cplusplus
13026 extern "C"
13027 #endif
13028 char xmlSchemaSetParserStructuredErrors ();
13030 main ()
13032 return xmlSchemaSetParserStructuredErrors ();
13034 return 0;
13036 _ACEOF
13037 if ac_fn_c_try_link "$LINENO"; then :
13038 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13039 else
13040 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13047 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13048 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13050 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13055 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13056 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-lxml2 $XML2_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char xmlSchemaSetValidStructuredErrors ();
13072 main ()
13074 return xmlSchemaSetValidStructuredErrors ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13081 else
13082 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13084 rm -f core conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13089 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13090 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13092 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13097 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13098 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_lib_save_LIBS=$LIBS
13102 LIBS="-lxml2 $XML2_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char xmlFirstElementChild ();
13114 main ()
13116 return xmlFirstElementChild ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 ac_cv_lib_xml2_xmlFirstElementChild=yes
13123 else
13124 ac_cv_lib_xml2_xmlFirstElementChild=no
13126 rm -f core conftest.err conftest.$ac_objext \
13127 conftest$ac_exeext conftest.$ac_ext
13128 LIBS=$ac_check_lib_save_LIBS
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13131 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13132 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13134 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13138 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13140 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13142 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13146 else
13147 XML2_CFLAGS=""
13148 XML2_LIBS=""
13150 CPPFLAGS=$ac_save_CPPFLAGS
13151 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13156 case "x$with_xml" in
13157 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13158 xno) ;;
13159 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13160 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13161 esac
13165 if test "x$with_xslt" != "xno"
13166 then
13167 if ${XSLT_CFLAGS:+false} :; then :
13168 if ${PKG_CONFIG+:} false; then :
13169 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13172 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13173 if ${XSLT_LIBS:+false} :; then :
13174 if ${PKG_CONFIG+:} false; then :
13175 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13178 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13179 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13182 ac_save_CPPFLAGS=$CPPFLAGS
13183 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13184 for ac_header in libxslt/pattern.h libxslt/transform.h
13185 do :
13186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13187 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13188 # include <libxslt/pattern.h>
13189 #endif
13191 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13192 cat >>confdefs.h <<_ACEOF
13193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13194 _ACEOF
13198 done
13200 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13201 then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13203 $as_echo_n "checking for -lxslt... " >&6; }
13204 if ${ac_cv_lib_soname_xslt+:} false; then :
13205 $as_echo_n "(cached) " >&6
13206 else
13207 ac_check_soname_save_LIBS=$LIBS
13208 LIBS="-lxslt $XSLT_LIBS $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 #ifdef __cplusplus
13216 extern "C"
13217 #endif
13218 char xsltCompilePattern ();
13220 main ()
13222 return xsltCompilePattern ();
13224 return 0;
13226 _ACEOF
13227 if ac_fn_c_try_link "$LINENO"; then :
13228 case "$LIBEXT" in
13229 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13230 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'` ;;
13231 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13232 if ${ac_cv_lib_soname_xslt:+false} :; then :
13233 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13234 fi ;;
13235 esac
13236 else
13237 ac_cv_lib_soname_xslt=
13239 rm -f core conftest.err conftest.$ac_objext \
13240 conftest$ac_exeext conftest.$ac_ext
13241 LIBS=$ac_check_soname_save_LIBS
13243 if ${ac_cv_lib_soname_xslt:+false} :; then :
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13245 $as_echo "not found" >&6; }
13247 else
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13249 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13251 cat >>confdefs.h <<_ACEOF
13252 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13253 _ACEOF
13257 else
13258 XSLT_CFLAGS=""
13260 CPPFLAGS=$ac_save_CPPFLAGS
13261 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13262 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13265 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13266 case "x$with_xslt" in
13267 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13268 xno) ;;
13269 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13270 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13271 esac
13275 if test "x$with_inotify" != "xno"
13276 then
13277 if ${INOTIFY_CFLAGS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13283 if ${INOTIFY_LIBS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13290 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13292 ac_save_CPPFLAGS=$CPPFLAGS
13293 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13294 for ac_header in sys/inotify.h
13295 do :
13296 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_SYS_INOTIFY_H 1
13300 _ACEOF
13304 done
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13307 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13308 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13309 $as_echo_n "(cached) " >&6
13310 else
13311 ac_check_lib_save_LIBS=$LIBS
13312 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13316 /* Override any GCC internal prototype to avoid an error.
13317 Use char because int might match the return type of a GCC
13318 builtin and then its argument prototype would still apply. */
13319 #ifdef __cplusplus
13320 extern "C"
13321 #endif
13322 char inotify_add_watch ();
13324 main ()
13326 return inotify_add_watch ();
13328 return 0;
13330 _ACEOF
13331 if ac_fn_c_try_link "$LINENO"; then :
13332 ac_cv_lib_inotify_inotify_add_watch=yes
13333 else
13334 ac_cv_lib_inotify_inotify_add_watch=no
13336 rm -f core conftest.err conftest.$ac_objext \
13337 conftest$ac_exeext conftest.$ac_ext
13338 LIBS=$ac_check_lib_save_LIBS
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13341 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13342 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13344 else
13345 INOTIFY_LIBS=""
13348 CPPFLAGS=$ac_save_CPPFLAGS
13349 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13350 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13353 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13354 case "x$with_inotify" in
13355 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13356 xno) ;;
13357 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13358 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13359 esac
13363 if test "x$with_dbus" != "xno"
13364 then
13365 if ${DBUS_CFLAGS:+false} :; then :
13366 if ${PKG_CONFIG+:} false; then :
13367 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13371 if ${DBUS_LIBS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13378 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13379 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13380 ac_save_CPPFLAGS=$CPPFLAGS
13381 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13382 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13383 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13385 $as_echo_n "checking for -ldbus-1... " >&6; }
13386 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_soname_save_LIBS=$LIBS
13390 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char dbus_connection_close ();
13402 main ()
13404 return dbus_connection_close ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 case "$LIBEXT" in
13411 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) 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'`
13414 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13415 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13416 fi ;;
13417 esac
13418 else
13419 ac_cv_lib_soname_dbus_1=
13421 rm -f core conftest.err conftest.$ac_objext \
13422 conftest$ac_exeext conftest.$ac_ext
13423 LIBS=$ac_check_soname_save_LIBS
13425 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13427 $as_echo "not found" >&6; }
13428 DBUS_CFLAGS=""
13429 else
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13431 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13433 cat >>confdefs.h <<_ACEOF
13434 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13435 _ACEOF
13439 else
13440 DBUS_CFLAGS=""
13444 CPPFLAGS=$ac_save_CPPFLAGS
13445 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13446 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13449 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13450 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13451 case "x$with_dbus" in
13452 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13453 xno) ;;
13454 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13455 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13456 esac
13460 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13461 then
13462 if ${HAL_CFLAGS:+false} :; then :
13463 if ${PKG_CONFIG+:} false; then :
13464 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13468 if ${HAL_LIBS:+false} :; then :
13469 if ${PKG_CONFIG+:} false; then :
13470 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13474 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13475 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13476 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13477 ac_save_CPPFLAGS=$CPPFLAGS
13478 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13479 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13480 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13482 $as_echo_n "checking for -lhal... " >&6; }
13483 if ${ac_cv_lib_soname_hal+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_soname_save_LIBS=$LIBS
13487 LIBS="-lhal $HAL_LIBS $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char libhal_ctx_new ();
13499 main ()
13501 return libhal_ctx_new ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 case "$LIBEXT" in
13508 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13509 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'` ;;
13510 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13511 if ${ac_cv_lib_soname_hal:+false} :; then :
13512 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13513 fi ;;
13514 esac
13515 else
13516 ac_cv_lib_soname_hal=
13518 rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520 LIBS=$ac_check_soname_save_LIBS
13522 if ${ac_cv_lib_soname_hal:+false} :; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13524 $as_echo "not found" >&6; }
13525 HAL_CFLAGS=""
13526 else
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13528 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13530 cat >>confdefs.h <<_ACEOF
13531 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13532 _ACEOF
13536 else
13537 HAL_CFLAGS=""
13541 CPPFLAGS=$ac_save_CPPFLAGS
13542 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13543 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13545 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13546 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13547 case "x$with_hal" in
13548 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13549 xno) ;;
13550 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13551 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13552 esac
13557 if test "x$with_gnutls" != "xno"
13558 then
13559 if ${GNUTLS_CFLAGS:+false} :; then :
13560 if ${PKG_CONFIG+:} false; then :
13561 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13565 if ${GNUTLS_LIBS:+false} :; then :
13566 if ${PKG_CONFIG+:} false; then :
13567 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13572 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13573 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13574 ac_save_CPPFLAGS=$CPPFLAGS
13575 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13576 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13577 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 #include <gnutls/gnutls.h>
13581 #include <gnutls/crypto.h>
13583 main ()
13585 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_compile "$LINENO"; then :
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13592 $as_echo_n "checking for -lgnutls... " >&6; }
13593 if ${ac_cv_lib_soname_gnutls+:} false; then :
13594 $as_echo_n "(cached) " >&6
13595 else
13596 ac_check_soname_save_LIBS=$LIBS
13597 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 /* Override any GCC internal prototype to avoid an error.
13602 Use char because int might match the return type of a GCC
13603 builtin and then its argument prototype would still apply. */
13604 #ifdef __cplusplus
13605 extern "C"
13606 #endif
13607 char gnutls_global_init ();
13609 main ()
13611 return gnutls_global_init ();
13613 return 0;
13615 _ACEOF
13616 if ac_fn_c_try_link "$LINENO"; then :
13617 case "$LIBEXT" in
13618 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13619 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'` ;;
13620 *) 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'`
13621 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13622 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'`
13623 fi ;;
13624 esac
13625 else
13626 ac_cv_lib_soname_gnutls=
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_soname_save_LIBS
13632 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13634 $as_echo "not found" >&6; }
13635 GNUTLS_CFLAGS=""
13636 else
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13638 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13640 cat >>confdefs.h <<_ACEOF
13641 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13642 _ACEOF
13646 ac_wine_check_funcs_save_LIBS="$LIBS"
13647 LIBS="$LIBS $GNUTLS_LIBS"
13648 for ac_func in gnutls_cipher_init
13649 do :
13650 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13651 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13652 cat >>confdefs.h <<_ACEOF
13653 #define HAVE_GNUTLS_CIPHER_INIT 1
13654 _ACEOF
13656 else
13657 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13659 done
13661 LIBS="$ac_wine_check_funcs_save_LIBS"
13663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13664 else
13665 GNUTLS_CFLAGS=""
13669 CPPFLAGS=$ac_save_CPPFLAGS
13670 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13671 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13674 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13675 case "x$with_gnutls" in
13676 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13677 xno) ;;
13678 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13679 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13680 esac
13684 CURSES_LIBS=""
13685 if test "$ac_cv_header_ncurses_h" = "yes"
13686 then
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13688 $as_echo_n "checking for -lncurses... " >&6; }
13689 if ${ac_cv_lib_soname_ncurses+:} false; then :
13690 $as_echo_n "(cached) " >&6
13691 else
13692 ac_check_soname_save_LIBS=$LIBS
13693 LIBS="-lncurses $LIBS"
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13697 /* Override any GCC internal prototype to avoid an error.
13698 Use char because int might match the return type of a GCC
13699 builtin and then its argument prototype would still apply. */
13700 #ifdef __cplusplus
13701 extern "C"
13702 #endif
13703 char waddch ();
13705 main ()
13707 return waddch ();
13709 return 0;
13711 _ACEOF
13712 if ac_fn_c_try_link "$LINENO"; then :
13713 case "$LIBEXT" in
13714 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13715 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'` ;;
13716 *) 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'`
13717 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13718 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13719 fi ;;
13720 esac
13721 else
13722 ac_cv_lib_soname_ncurses=
13724 rm -f core conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext conftest.$ac_ext
13726 LIBS=$ac_check_soname_save_LIBS
13728 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13730 $as_echo "not found" >&6; }
13732 else
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13734 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13736 cat >>confdefs.h <<_ACEOF
13737 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13738 _ACEOF
13740 CURSES_LIBS="-lncurses"
13742 elif test "$ac_cv_header_curses_h" = "yes"
13743 then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13745 $as_echo_n "checking for -lcurses... " >&6; }
13746 if ${ac_cv_lib_soname_curses+:} false; then :
13747 $as_echo_n "(cached) " >&6
13748 else
13749 ac_check_soname_save_LIBS=$LIBS
13750 LIBS="-lcurses $LIBS"
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13754 /* Override any GCC internal prototype to avoid an error.
13755 Use char because int might match the return type of a GCC
13756 builtin and then its argument prototype would still apply. */
13757 #ifdef __cplusplus
13758 extern "C"
13759 #endif
13760 char waddch ();
13762 main ()
13764 return waddch ();
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"; then :
13770 case "$LIBEXT" in
13771 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13772 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'` ;;
13773 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13774 if ${ac_cv_lib_soname_curses:+false} :; then :
13775 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13776 fi ;;
13777 esac
13778 else
13779 ac_cv_lib_soname_curses=
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 LIBS=$ac_check_soname_save_LIBS
13785 if ${ac_cv_lib_soname_curses:+false} :; then :
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13787 $as_echo "not found" >&6; }
13789 else
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13791 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13793 cat >>confdefs.h <<_ACEOF
13794 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13795 _ACEOF
13797 CURSES_LIBS="-lcurses"
13800 ac_save_LIBS="$LIBS"
13801 LIBS="$LIBS $CURSES_LIBS"
13802 for ac_func in mousemask
13803 do :
13804 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13805 if test "x$ac_cv_func_mousemask" = xyes; then :
13806 cat >>confdefs.h <<_ACEOF
13807 #define HAVE_MOUSEMASK 1
13808 _ACEOF
13811 done
13813 LIBS="$ac_save_LIBS"
13814 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13815 case "x$with_curses" in
13816 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13817 xno) ;;
13818 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13819 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13820 esac
13824 if test "x$with_sane" != "xno"
13825 then
13826 if ${SANE_CFLAGS:+false} :; then :
13827 if ${PKG_CONFIG+:} false; then :
13828 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13831 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13832 if ${SANE_LIBS:+false} :; then :
13833 if ${PKG_CONFIG+:} false; then :
13834 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13837 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13839 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13840 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13841 ac_save_CPPFLAGS=$CPPFLAGS
13842 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13843 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13844 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13846 $as_echo_n "checking for -lsane... " >&6; }
13847 if ${ac_cv_lib_soname_sane+:} false; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 ac_check_soname_save_LIBS=$LIBS
13851 LIBS="-lsane $SANE_LIBS $LIBS"
13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13855 /* Override any GCC internal prototype to avoid an error.
13856 Use char because int might match the return type of a GCC
13857 builtin and then its argument prototype would still apply. */
13858 #ifdef __cplusplus
13859 extern "C"
13860 #endif
13861 char sane_init ();
13863 main ()
13865 return sane_init ();
13867 return 0;
13869 _ACEOF
13870 if ac_fn_c_try_link "$LINENO"; then :
13871 case "$LIBEXT" in
13872 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13873 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'` ;;
13874 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13875 if ${ac_cv_lib_soname_sane:+false} :; then :
13876 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13877 fi ;;
13878 esac
13879 else
13880 ac_cv_lib_soname_sane=
13882 rm -f core conftest.err conftest.$ac_objext \
13883 conftest$ac_exeext conftest.$ac_ext
13884 LIBS=$ac_check_soname_save_LIBS
13886 if ${ac_cv_lib_soname_sane:+false} :; then :
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13888 $as_echo "not found" >&6; }
13889 SANE_CFLAGS=""
13890 else
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13892 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13894 cat >>confdefs.h <<_ACEOF
13895 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13896 _ACEOF
13900 else
13901 SANE_CFLAGS=""
13905 CPPFLAGS=$ac_save_CPPFLAGS
13906 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13907 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13910 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13911 case "x$with_sane" in
13912 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13913 xno) ;;
13914 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13915 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13916 esac
13920 if test "x$with_v4l2" != "xno"
13921 then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13923 $as_echo_n "checking for -lv4l2... " >&6; }
13924 if ${ac_cv_lib_soname_v4l2+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_soname_save_LIBS=$LIBS
13928 LIBS="-lv4l2 $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char v4l2_open ();
13940 main ()
13942 return v4l2_open ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 case "$LIBEXT" in
13949 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13950 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'` ;;
13951 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13952 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13953 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13954 fi ;;
13955 esac
13956 else
13957 ac_cv_lib_soname_v4l2=
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 LIBS=$ac_check_soname_save_LIBS
13963 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13965 $as_echo "not found" >&6; }
13967 else
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13969 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13971 cat >>confdefs.h <<_ACEOF
13972 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13973 _ACEOF
13978 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13979 case "x$with_v4l2" in
13980 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13981 xno) ;;
13982 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13983 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13984 esac
13988 if test "x$with_gphoto" != "xno"
13989 then
13990 if ${GPHOTO2_CFLAGS:+false} :; then :
13991 if ${PKG_CONFIG+:} false; then :
13992 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13995 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13996 if ${GPHOTO2_LIBS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14001 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14002 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14003 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14004 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14005 ac_save_CPPFLAGS=$CPPFLAGS
14006 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14007 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14008 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14010 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14011 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14012 $as_echo_n "(cached) " >&6
14013 else
14014 ac_check_lib_save_LIBS=$LIBS
14015 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14022 #ifdef __cplusplus
14023 extern "C"
14024 #endif
14025 char gp_camera_new ();
14027 main ()
14029 return gp_camera_new ();
14031 return 0;
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"; then :
14035 ac_cv_lib_gphoto2_gp_camera_new=yes
14036 else
14037 ac_cv_lib_gphoto2_gp_camera_new=no
14039 rm -f core conftest.err conftest.$ac_objext \
14040 conftest$ac_exeext conftest.$ac_ext
14041 LIBS=$ac_check_lib_save_LIBS
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14044 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14045 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14047 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14049 else
14050 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14053 else
14054 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14058 CPPFLAGS=$ac_save_CPPFLAGS
14059 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14060 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14062 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14063 if ${PKG_CONFIG+:} false; then :
14064 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14067 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14068 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14069 if ${PKG_CONFIG+:} false; then :
14070 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14073 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14074 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14075 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14076 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14077 ac_save_CPPFLAGS=$CPPFLAGS
14078 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14079 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14080 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14082 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14083 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14084 $as_echo_n "(cached) " >&6
14085 else
14086 ac_check_lib_save_LIBS=$LIBS
14087 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14091 /* Override any GCC internal prototype to avoid an error.
14092 Use char because int might match the return type of a GCC
14093 builtin and then its argument prototype would still apply. */
14094 #ifdef __cplusplus
14095 extern "C"
14096 #endif
14097 char gp_port_info_list_new ();
14099 main ()
14101 return gp_port_info_list_new ();
14103 return 0;
14105 _ACEOF
14106 if ac_fn_c_try_link "$LINENO"; then :
14107 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14108 else
14109 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14111 rm -f core conftest.err conftest.$ac_objext \
14112 conftest$ac_exeext conftest.$ac_ext
14113 LIBS=$ac_check_lib_save_LIBS
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14116 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14117 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14119 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14121 else
14122 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14125 else
14126 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14130 CPPFLAGS=$ac_save_CPPFLAGS
14131 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14132 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14135 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14136 case "x$with_gphoto" in
14137 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14138 xno) ;;
14139 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14140 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14141 esac
14144 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14145 case "x$with_gphoto" in
14146 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14147 xno) ;;
14148 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14149 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14150 esac
14155 if test "$ac_cv_header_resolv_h" = "yes"
14156 then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14158 $as_echo_n "checking for resolver library... " >&6; }
14159 if ${ac_cv_have_resolv+:} false; then :
14160 $as_echo_n "(cached) " >&6
14161 else
14162 ac_save_LIBS="$LIBS"
14163 for lib in '' -lresolv
14165 LIBS="$lib $ac_save_LIBS"
14166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14168 #ifdef HAVE_NETINET_IN_H
14169 #include <netinet/in.h>
14170 #endif
14171 #include <resolv.h>
14173 main ()
14175 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14177 return 0;
14179 _ACEOF
14180 if ac_fn_c_try_link "$LINENO"; then :
14181 ac_cv_have_resolv=${lib:-"none required"}
14182 else
14183 ac_cv_have_resolv="not found"
14185 rm -f core conftest.err conftest.$ac_objext \
14186 conftest$ac_exeext conftest.$ac_ext
14187 test "x$ac_cv_have_resolv" = "xnot found" || break
14188 done
14189 LIBS="$ac_save_LIBS"
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14192 $as_echo "$ac_cv_have_resolv" >&6; }
14194 case "$ac_cv_have_resolv" in
14195 "not found") ;;
14196 "none required")
14198 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14201 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14203 RESOLV_LIBS=$ac_cv_have_resolv
14205 esac
14208 if test "x$with_cms" != "xno"
14209 then
14210 if ${LCMS2_CFLAGS:+false} :; then :
14211 if ${PKG_CONFIG+:} false; then :
14212 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14216 if ${LCMS2_LIBS:+false} :; then :
14217 if ${PKG_CONFIG+:} false; then :
14218 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14222 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14223 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14224 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14225 ac_save_CPPFLAGS=$CPPFLAGS
14226 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14227 for ac_header in lcms2.h
14228 do :
14229 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14230 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14231 cat >>confdefs.h <<_ACEOF
14232 #define HAVE_LCMS2_H 1
14233 _ACEOF
14237 done
14239 if test "$ac_cv_header_lcms2_h" = "yes"
14240 then
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14242 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14243 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14244 $as_echo_n "(cached) " >&6
14245 else
14246 ac_check_lib_save_LIBS=$LIBS
14247 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14251 /* Override any GCC internal prototype to avoid an error.
14252 Use char because int might match the return type of a GCC
14253 builtin and then its argument prototype would still apply. */
14254 #ifdef __cplusplus
14255 extern "C"
14256 #endif
14257 char cmsOpenProfileFromFile ();
14259 main ()
14261 return cmsOpenProfileFromFile ();
14263 return 0;
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14268 else
14269 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 LIBS=$ac_check_lib_save_LIBS
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14276 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14277 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14279 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14281 else
14282 LCMS2_LIBS=""
14285 else
14286 LCMS2_CFLAGS=""
14287 LCMS2_LIBS=""
14289 CPPFLAGS=$ac_save_CPPFLAGS
14290 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14291 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14294 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14295 case "x$with_cms" in
14296 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14297 xno) ;;
14298 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14299 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14300 esac
14304 if test "x$with_freetype" != "xno"
14305 then
14306 if ${FREETYPE_CFLAGS:+false} :; then :
14307 if ${PKG_CONFIG+:} false; then :
14308 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14311 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14312 if ${FREETYPE_LIBS:+false} :; then :
14313 if ${PKG_CONFIG+:} false; then :
14314 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14317 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14318 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14319 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14320 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14321 ac_save_CPPFLAGS=$CPPFLAGS
14322 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14323 for ac_header in ft2build.h
14324 do :
14325 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14326 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14327 cat >>confdefs.h <<_ACEOF
14328 #define HAVE_FT2BUILD_H 1
14329 _ACEOF
14333 done
14335 if test "$ac_cv_header_ft2build_h" = "yes"
14336 then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14338 $as_echo_n "checking for -lfreetype... " >&6; }
14339 if ${ac_cv_lib_soname_freetype+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_check_soname_save_LIBS=$LIBS
14343 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 #ifdef __cplusplus
14351 extern "C"
14352 #endif
14353 char FT_Init_FreeType ();
14355 main ()
14357 return FT_Init_FreeType ();
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 case "$LIBEXT" in
14364 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14365 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'` ;;
14366 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14367 if ${ac_cv_lib_soname_freetype:+false} :; then :
14368 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14369 fi ;;
14370 esac
14371 else
14372 ac_cv_lib_soname_freetype=
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 LIBS=$ac_check_soname_save_LIBS
14378 if ${ac_cv_lib_soname_freetype:+false} :; then :
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14380 $as_echo "not found" >&6; }
14381 FREETYPE_LIBS=""
14382 else
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14384 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14386 cat >>confdefs.h <<_ACEOF
14387 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14388 _ACEOF
14391 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14393 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14394 #include FT_MODULE_H
14396 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14398 cat >>confdefs.h <<_ACEOF
14399 #define HAVE_FT_TRUETYPEENGINETYPE 1
14400 _ACEOF
14406 else
14407 FREETYPE_CFLAGS=""
14408 FREETYPE_LIBS=""
14410 CPPFLAGS=$ac_save_CPPFLAGS
14411 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14412 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14415 if test "x$ac_cv_lib_soname_freetype" = x; then :
14416 case "x$with_freetype" in
14417 xno) ;;
14418 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14419 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14420 esac
14421 enable_fonts=${enable_fonts:-no}
14424 ac_wine_check_funcs_save_LIBS="$LIBS"
14425 LIBS="$LIBS $PTHREAD_LIBS"
14426 for ac_func in \
14427 pthread_getthreadid_np
14428 do :
14429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14432 cat >>confdefs.h <<_ACEOF
14433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 _ACEOF
14437 done
14439 LIBS="$ac_wine_check_funcs_save_LIBS"
14441 if test "x$with_zlib" != "xno"
14442 then
14443 if ${Z_CFLAGS:+false} :; then :
14444 if ${PKG_CONFIG+:} false; then :
14445 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14449 if ${Z_LIBS:+false} :; then :
14450 if ${PKG_CONFIG+:} false; then :
14451 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14455 Z_LIBS=${Z_LIBS:-"-lz"}
14456 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14457 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14458 ac_save_CPPFLAGS=$CPPFLAGS
14459 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14460 for ac_header in zlib.h
14461 do :
14462 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14463 if test "x$ac_cv_header_zlib_h" = xyes; then :
14464 cat >>confdefs.h <<_ACEOF
14465 #define HAVE_ZLIB_H 1
14466 _ACEOF
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14468 $as_echo_n "checking for inflate in -lz... " >&6; }
14469 if ${ac_cv_lib_z_inflate+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_check_lib_save_LIBS=$LIBS
14473 LIBS="-lz $Z_LIBS $LIBS"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14480 #ifdef __cplusplus
14481 extern "C"
14482 #endif
14483 char inflate ();
14485 main ()
14487 return inflate ();
14489 return 0;
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_lib_z_inflate=yes
14494 else
14495 ac_cv_lib_z_inflate=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LIBS=$ac_check_lib_save_LIBS
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14502 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14503 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14505 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14507 else
14508 Z_LIBS=""
14511 else
14512 Z_LIBS=""
14515 done
14517 CPPFLAGS=$ac_save_CPPFLAGS
14518 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14519 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14522 if test "x$Z_LIBS" = "x"; then :
14523 case "x$with_zlib" in
14524 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14525 xno) ;;
14526 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14527 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14528 esac
14532 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14533 then
14534 if test "$ac_cv_header_gettext_po_h" = "yes"
14535 then
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14537 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14538 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14539 $as_echo_n "(cached) " >&6
14540 else
14541 ac_check_lib_save_LIBS=$LIBS
14542 LIBS="-lgettextpo $LIBS"
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14546 /* Override any GCC internal prototype to avoid an error.
14547 Use char because int might match the return type of a GCC
14548 builtin and then its argument prototype would still apply. */
14549 #ifdef __cplusplus
14550 extern "C"
14551 #endif
14552 char po_message_msgctxt ();
14554 main ()
14556 return po_message_msgctxt ();
14558 return 0;
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"; then :
14562 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14563 else
14564 ac_cv_lib_gettextpo_po_message_msgctxt=no
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 LIBS=$ac_check_lib_save_LIBS
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14571 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14572 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14574 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14576 GETTEXTPO_LIBS="-lgettextpo"
14581 if test "x$GETTEXTPO_LIBS" = "x"; then :
14582 case "x$with_gettextpo" in
14583 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14584 xno) ;;
14585 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14586 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14587 esac
14590 if test "$srcdir" != .; then :
14591 case "x$with_gettextpo" in
14592 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14593 xno) ;;
14594 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14595 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14596 esac
14601 if test "x$with_pulse" != "xno";
14602 then
14603 if ${PULSE_CFLAGS:+false} :; then :
14604 if ${PKG_CONFIG+:} false; then :
14605 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14609 if ${PULSE_LIBS:+false} :; then :
14610 if ${PKG_CONFIG+:} false; then :
14611 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14616 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14617 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14618 ac_save_CPPFLAGS=$CPPFLAGS
14619 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14620 for ac_header in pulse/pulseaudio.h
14621 do :
14622 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14623 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14624 cat >>confdefs.h <<_ACEOF
14625 #define HAVE_PULSE_PULSEAUDIO_H 1
14626 _ACEOF
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14628 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14629 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_check_lib_save_LIBS=$LIBS
14633 LIBS="-lpulse $PULSE_LIBS $LIBS"
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14637 /* Override any GCC internal prototype to avoid an error.
14638 Use char because int might match the return type of a GCC
14639 builtin and then its argument prototype would still apply. */
14640 #ifdef __cplusplus
14641 extern "C"
14642 #endif
14643 char pa_stream_is_corked ();
14645 main ()
14647 return pa_stream_is_corked ();
14649 return 0;
14651 _ACEOF
14652 if ac_fn_c_try_link "$LINENO"; then :
14653 ac_cv_lib_pulse_pa_stream_is_corked=yes
14654 else
14655 ac_cv_lib_pulse_pa_stream_is_corked=no
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14659 LIBS=$ac_check_lib_save_LIBS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14662 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14663 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14665 else
14666 PULSE_LIBS=""
14669 else
14670 PULSE_LIBS=""
14673 done
14675 CPPFLAGS=$ac_save_CPPFLAGS
14676 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14677 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14680 if test -z "$PULSE_LIBS"; then :
14681 case "x$with_pulse" in
14682 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14683 xno) ;;
14684 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14685 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14686 esac
14687 enable_winepulse_drv=${enable_winepulse_drv:-no}
14690 if test "x$with_gstreamer" != "xno"
14691 then
14692 if ${GSTREAMER_CFLAGS:+false} :; then :
14693 if ${PKG_CONFIG+:} false; then :
14694 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14698 if ${GSTREAMER_LIBS:+false} :; then :
14699 if ${PKG_CONFIG+:} false; then :
14700 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14705 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14706 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14707 ac_save_CPPFLAGS=$CPPFLAGS
14708 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14709 ac_gst_incl=""
14710 for i in $GSTREAMER_CFLAGS
14712 case "$i" in
14713 -I*) ac_gst_incl="$ac_gst_incl $i";;
14714 esac
14715 done
14716 GSTREAMER_CFLAGS=$ac_gst_incl
14717 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14718 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14719 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14721 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 #include <gst/gst.h>
14726 main ()
14728 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14730 return 0;
14732 _ACEOF
14733 if ac_fn_c_try_compile "$LINENO"; then :
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14735 $as_echo "yes" >&6; }
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14737 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14738 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 ac_check_lib_save_LIBS=$LIBS
14742 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14746 /* Override any GCC internal prototype to avoid an error.
14747 Use char because int might match the return type of a GCC
14748 builtin and then its argument prototype would still apply. */
14749 #ifdef __cplusplus
14750 extern "C"
14751 #endif
14752 char gst_pad_new ();
14754 main ()
14756 return gst_pad_new ();
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14763 else
14764 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14768 LIBS=$ac_check_lib_save_LIBS
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14771 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14772 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14776 else
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14778 $as_echo "no" >&6; }
14779 ac_glib2_broken=yes
14780 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14786 CPPFLAGS=$ac_save_CPPFLAGS
14787 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14788 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14791 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 :
14792 case "x$with_gstreamer" in
14793 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14794 xno) ;;
14795 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14796 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14797 esac
14800 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14802 ALSA_LIBS=""
14804 if test "x$with_alsa" != "xno"
14805 then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14807 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14808 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_check_lib_save_LIBS=$LIBS
14812 LIBS="-lasound $LIBS"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char snd_pcm_hw_params_get_access_mask ();
14824 main ()
14826 return snd_pcm_hw_params_get_access_mask ();
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14833 else
14834 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 LIBS=$ac_check_lib_save_LIBS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14841 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14842 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 #include <alsa/asoundlib.h>
14847 main ()
14849 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_compile "$LINENO"; then :
14855 ALSA_LIBS="-lasound"
14857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14863 if test "x$with_oss" != xno
14864 then
14865 ac_save_CPPFLAGS="$CPPFLAGS"
14866 if test -f /etc/oss.conf
14867 then
14868 . /etc/oss.conf
14870 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14871 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14872 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14873 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14874 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14876 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14878 cat >>confdefs.h <<_ACEOF
14879 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14880 _ACEOF
14882 OSS4_CFLAGS="$ac_oss_incl"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14885 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14886 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 ac_check_lib_save_LIBS=$LIBS
14890 LIBS="-lossaudio $LIBS"
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14897 #ifdef __cplusplus
14898 extern "C"
14899 #endif
14900 char _oss_ioctl ();
14902 main ()
14904 return _oss_ioctl ();
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_lib_ossaudio__oss_ioctl=yes
14911 else
14912 ac_cv_lib_ossaudio__oss_ioctl=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_lib_save_LIBS
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14919 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14920 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14921 OSS4_LIBS="-lossaudio"
14930 CPPFLAGS="$ac_save_CPPFLAGS"
14932 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14933 case "x$with_oss" in
14934 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14935 xno) ;;
14936 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14937 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14938 esac
14939 enable_wineoss_drv=${enable_wineoss_drv:-no}
14942 if test "x$with_udev" != "xno"
14943 then
14944 if ${UDEV_CFLAGS:+false} :; then :
14945 if ${PKG_CONFIG+:} false; then :
14946 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14950 if ${UDEV_LIBS:+false} :; then :
14951 if ${PKG_CONFIG+:} false; then :
14952 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14956 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14957 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14958 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14959 ac_save_CPPFLAGS=$CPPFLAGS
14960 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14961 for ac_header in libudev.h
14962 do :
14963 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14964 if test "x$ac_cv_header_libudev_h" = xyes; then :
14965 cat >>confdefs.h <<_ACEOF
14966 #define HAVE_LIBUDEV_H 1
14967 _ACEOF
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14969 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14970 if ${ac_cv_lib_udev_udev_new+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_check_lib_save_LIBS=$LIBS
14974 LIBS="-ludev $UDEV_LIBS $LIBS"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14981 #ifdef __cplusplus
14982 extern "C"
14983 #endif
14984 char udev_new ();
14986 main ()
14988 return udev_new ();
14990 return 0;
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_lib_udev_udev_new=yes
14995 else
14996 ac_cv_lib_udev_udev_new=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15003 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15004 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15006 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15008 else
15009 UDEV_LIBS=""
15012 else
15013 UDEV_LIBS=""
15016 done
15018 CPPFLAGS=$ac_save_CPPFLAGS
15019 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15020 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15023 if test "x$UDEV_LIBS" = "x"; then :
15024 case "x$with_udev" in
15025 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15026 xno) ;;
15027 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15028 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15029 esac
15033 if test "x$with_unwind" != xno
15034 then
15035 if ${UNWIND_CFLAGS:+false} :; then :
15036 if ${PKG_CONFIG+:} false; then :
15037 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15041 if ${UNWIND_LIBS:+false} :; then :
15042 if ${PKG_CONFIG+:} false; then :
15043 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15047 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15048 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15049 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15050 ac_save_CPPFLAGS=$CPPFLAGS
15051 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15053 $as_echo_n "checking for unw_step... " >&6; }
15054 if ${wine_cv_have_unw_step+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15059 #define UNW_LOCAL_ONLY
15060 #include <libunwind.h>
15062 main ()
15064 unw_cursor_t cursor; unw_step( &cursor );
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 wine_cv_have_unw_step="yes"
15071 else
15072 wine_cv_have_unw_step="no"
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15078 $as_echo "$wine_cv_have_unw_step" >&6; }
15079 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15080 then
15081 save_libs=$LIBS
15082 LIBS="$UNWIND_LIBS $LIBS"
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15084 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15085 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15090 #define UNW_LOCAL_ONLY
15091 #include <libunwind.h>
15093 main ()
15095 unw_cursor_t cursor; unw_step( &cursor );
15097 return 0;
15099 _ACEOF
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 wine_cv_have_libunwind_unw_step="yes"
15102 else
15103 wine_cv_have_libunwind_unw_step="no"
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15109 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15110 LIBS=$save_libs
15112 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15113 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15114 then
15116 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15119 CPPFLAGS=$ac_save_CPPFLAGS
15120 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15121 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15124 case $host in
15125 aarch64*|*-darwin*)
15126 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15127 case "x$with_unwind" in
15128 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15129 xno) ;;
15130 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15131 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15132 esac
15134 fi ;;
15135 esac
15137 if test "x$with_sdl" != "xno"
15138 then
15139 if ${SDL2_CFLAGS:+false} :; then :
15140 if ${PKG_CONFIG+:} false; then :
15141 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15145 if ${SDL2_LIBS:+false} :; then :
15146 if ${PKG_CONFIG+:} false; then :
15147 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15151 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15152 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15153 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15154 ac_save_CPPFLAGS=$CPPFLAGS
15155 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15156 for ac_header in SDL2/SDL.h
15157 do :
15158 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15159 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15160 cat >>confdefs.h <<_ACEOF
15161 #define HAVE_SDL2_SDL_H 1
15162 _ACEOF
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15164 $as_echo_n "checking for -lSDL2... " >&6; }
15165 if ${ac_cv_lib_soname_SDL2+:} false; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168 ac_check_soname_save_LIBS=$LIBS
15169 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15173 /* Override any GCC internal prototype to avoid an error.
15174 Use char because int might match the return type of a GCC
15175 builtin and then its argument prototype would still apply. */
15176 #ifdef __cplusplus
15177 extern "C"
15178 #endif
15179 char SDL_Init ();
15181 main ()
15183 return SDL_Init ();
15185 return 0;
15187 _ACEOF
15188 if ac_fn_c_try_link "$LINENO"; then :
15189 case "$LIBEXT" in
15190 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15191 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'` ;;
15192 *) 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'`
15193 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15194 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15195 fi ;;
15196 esac
15197 else
15198 ac_cv_lib_soname_SDL2=
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_check_soname_save_LIBS
15204 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15206 $as_echo "not found" >&6; }
15208 else
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15210 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15214 _ACEOF
15220 done
15222 CPPFLAGS=$ac_save_CPPFLAGS
15223 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15224 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15227 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15228 case "x$with_sdl" in
15229 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15230 xno) ;;
15231 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15232 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15233 esac
15237 if test "x$with_faudio" != "xno"
15238 then
15239 if ${FAUDIO_CFLAGS:+false} :; then :
15240 if ${PKG_CONFIG+:} false; then :
15241 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15245 if ${FAUDIO_LIBS:+false} :; then :
15246 if ${PKG_CONFIG+:} false; then :
15247 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15251 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15252 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15253 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15254 ac_save_CPPFLAGS=$CPPFLAGS
15255 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15256 for ac_header in FAudio.h
15257 do :
15258 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15259 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15260 cat >>confdefs.h <<_ACEOF
15261 #define HAVE_FAUDIO_H 1
15262 _ACEOF
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15264 $as_echo_n "checking for -lFAudio... " >&6; }
15265 if ${ac_cv_lib_soname_FAudio+:} false; then :
15266 $as_echo_n "(cached) " >&6
15267 else
15268 ac_check_soname_save_LIBS=$LIBS
15269 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 #ifdef __cplusplus
15277 extern "C"
15278 #endif
15279 char FAudioCreate ();
15281 main ()
15283 return FAudioCreate ();
15285 return 0;
15287 _ACEOF
15288 if ac_fn_c_try_link "$LINENO"; then :
15289 case "$LIBEXT" in
15290 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15291 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'` ;;
15292 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15293 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15294 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15295 fi ;;
15296 esac
15297 else
15298 ac_cv_lib_soname_FAudio=
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15302 LIBS=$ac_check_soname_save_LIBS
15304 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15306 $as_echo "not found" >&6; }
15308 else
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15310 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15312 cat >>confdefs.h <<_ACEOF
15313 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15314 _ACEOF
15320 done
15322 ac_wine_check_funcs_save_LIBS="$LIBS"
15323 LIBS="$LIBS $FAUDIO_LIBS"
15324 for ac_func in FAudio_CommitOperationSet \
15325 F3DAudioInitialize8 \
15326 FAudioLinkedVersion
15327 do :
15328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15331 cat >>confdefs.h <<_ACEOF
15332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15333 _ACEOF
15336 done
15338 LIBS="$ac_wine_check_funcs_save_LIBS"
15340 CPPFLAGS=$ac_save_CPPFLAGS
15341 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15342 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15345 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15346 case "x$with_faudio" in
15347 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15348 xno) ;;
15349 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15350 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15351 esac
15355 if test "x$with_capi" != "xno"
15356 then
15357 if ${CAPI20_CFLAGS:+false} :; then :
15358 if ${PKG_CONFIG+:} false; then :
15359 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15363 if ${CAPI20_LIBS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15370 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15371 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15372 ac_save_CPPFLAGS=$CPPFLAGS
15373 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15374 for ac_header in capi20.h linux/capi.h
15375 do :
15376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15377 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15380 cat >>confdefs.h <<_ACEOF
15381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15382 _ACEOF
15386 done
15388 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15389 then
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15391 $as_echo_n "checking for -lcapi20... " >&6; }
15392 if ${ac_cv_lib_soname_capi20+:} false; then :
15393 $as_echo_n "(cached) " >&6
15394 else
15395 ac_check_soname_save_LIBS=$LIBS
15396 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15403 #ifdef __cplusplus
15404 extern "C"
15405 #endif
15406 char capi20_register ();
15408 main ()
15410 return capi20_register ();
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 case "$LIBEXT" in
15417 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15418 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'` ;;
15419 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15420 if ${ac_cv_lib_soname_capi20:+false} :; then :
15421 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15422 fi ;;
15423 esac
15424 else
15425 ac_cv_lib_soname_capi20=
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15429 LIBS=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_capi20:+false} :; then :
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15433 $as_echo "not found" >&6; }
15435 else
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15437 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15439 cat >>confdefs.h <<_ACEOF
15440 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15441 _ACEOF
15446 CPPFLAGS=$ac_save_CPPFLAGS
15447 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15448 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15451 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15452 case "x$with_capi" in
15453 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15454 xno) ;;
15455 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15456 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15457 esac
15461 if test "x$with_cups" != "xno"
15462 then
15463 if ${CUPS_CFLAGS:+false} :; then :
15464 if ${PKG_CONFIG+:} false; then :
15465 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15468 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15469 if ${CUPS_LIBS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15474 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15475 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15476 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15477 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15478 ac_save_CPPFLAGS=$CPPFLAGS
15479 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15480 for ac_header in cups/cups.h cups/ppd.h
15481 do :
15482 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15483 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15484 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15485 cat >>confdefs.h <<_ACEOF
15486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15487 _ACEOF
15491 done
15493 if test "$ac_cv_header_cups_cups_h" = "yes"
15494 then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15496 $as_echo_n "checking for -lcups... " >&6; }
15497 if ${ac_cv_lib_soname_cups+:} false; then :
15498 $as_echo_n "(cached) " >&6
15499 else
15500 ac_check_soname_save_LIBS=$LIBS
15501 LIBS="-lcups $CUPS_LIBS $LIBS"
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 char cupsGetDefault ();
15513 main ()
15515 return cupsGetDefault ();
15517 return 0;
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 case "$LIBEXT" in
15522 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15523 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'` ;;
15524 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15525 if ${ac_cv_lib_soname_cups:+false} :; then :
15526 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15527 fi ;;
15528 esac
15529 else
15530 ac_cv_lib_soname_cups=
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_soname_save_LIBS
15536 if ${ac_cv_lib_soname_cups:+false} :; then :
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15538 $as_echo "not found" >&6; }
15539 CUPS_LIBS=""
15540 else
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15542 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15546 _ACEOF
15550 else
15551 CUPS_CFLAGS=""
15552 CUPS_LIBS=""
15554 CPPFLAGS=$ac_save_CPPFLAGS
15555 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15556 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15559 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15560 case "x$with_cups" in
15561 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15562 xno) ;;
15563 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15564 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "x$with_fontconfig" != "xno"
15570 then
15571 if ${FONTCONFIG_CFLAGS:+false} :; then :
15572 if ${PKG_CONFIG+:} false; then :
15573 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15576 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15577 if ${FONTCONFIG_LIBS:+false} :; then :
15578 if ${PKG_CONFIG+:} false; then :
15579 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15582 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15584 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15585 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15586 ac_save_CPPFLAGS=$CPPFLAGS
15587 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15588 for ac_header in fontconfig/fontconfig.h
15589 do :
15590 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15591 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15592 cat >>confdefs.h <<_ACEOF
15593 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15594 _ACEOF
15598 done
15600 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15601 then
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15603 $as_echo_n "checking for -lfontconfig... " >&6; }
15604 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15605 $as_echo_n "(cached) " >&6
15606 else
15607 ac_check_soname_save_LIBS=$LIBS
15608 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 #ifdef __cplusplus
15616 extern "C"
15617 #endif
15618 char FcInit ();
15620 main ()
15622 return FcInit ();
15624 return 0;
15626 _ACEOF
15627 if ac_fn_c_try_link "$LINENO"; then :
15628 case "$LIBEXT" in
15629 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15630 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'` ;;
15631 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15632 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15633 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15634 fi ;;
15635 esac
15636 else
15637 ac_cv_lib_soname_fontconfig=
15639 rm -f core conftest.err conftest.$ac_objext \
15640 conftest$ac_exeext conftest.$ac_ext
15641 LIBS=$ac_check_soname_save_LIBS
15643 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15645 $as_echo "not found" >&6; }
15646 FONTCONFIG_CFLAGS=""
15647 else
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15649 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15651 cat >>confdefs.h <<_ACEOF
15652 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15653 _ACEOF
15657 else
15658 FONTCONFIG_CFLAGS=""
15660 CPPFLAGS=$ac_save_CPPFLAGS
15661 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15662 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15665 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15666 case "x$with_fontconfig" in
15667 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15668 xno) ;;
15669 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15670 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15671 esac
15675 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15676 then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15678 $as_echo_n "checking for -lgsm... " >&6; }
15679 if ${ac_cv_lib_soname_gsm+:} false; then :
15680 $as_echo_n "(cached) " >&6
15681 else
15682 ac_check_soname_save_LIBS=$LIBS
15683 LIBS="-lgsm $LIBS"
15684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15685 /* end confdefs.h. */
15687 /* Override any GCC internal prototype to avoid an error.
15688 Use char because int might match the return type of a GCC
15689 builtin and then its argument prototype would still apply. */
15690 #ifdef __cplusplus
15691 extern "C"
15692 #endif
15693 char gsm_create ();
15695 main ()
15697 return gsm_create ();
15699 return 0;
15701 _ACEOF
15702 if ac_fn_c_try_link "$LINENO"; then :
15703 case "$LIBEXT" in
15704 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15705 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'` ;;
15706 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15707 if ${ac_cv_lib_soname_gsm:+false} :; then :
15708 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15709 fi ;;
15710 esac
15711 else
15712 ac_cv_lib_soname_gsm=
15714 rm -f core conftest.err conftest.$ac_objext \
15715 conftest$ac_exeext conftest.$ac_ext
15716 LIBS=$ac_check_soname_save_LIBS
15718 if ${ac_cv_lib_soname_gsm:+false} :; then :
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15720 $as_echo "not found" >&6; }
15722 else
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15724 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15726 cat >>confdefs.h <<_ACEOF
15727 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15728 _ACEOF
15733 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15734 case "x$with_gsm" in
15735 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15738 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15739 esac
15743 if test "x$with_krb5" != "xno"
15744 then
15745 if ${KRB5_CFLAGS:+false} :; then :
15746 if ${PKG_CONFIG+:} false; then :
15747 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15750 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15751 if ${KRB5_LIBS:+false} :; then :
15752 if ${PKG_CONFIG+:} false; then :
15753 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15756 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15758 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15760 ac_save_CPPFLAGS=$CPPFLAGS
15761 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15762 for ac_header in krb5/krb5.h
15763 do :
15764 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15765 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_KRB5_KRB5_H 1
15768 _ACEOF
15772 done
15774 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15775 then
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15777 $as_echo_n "checking for -lkrb5... " >&6; }
15778 if ${ac_cv_lib_soname_krb5+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 ac_check_soname_save_LIBS=$LIBS
15782 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784 /* end confdefs.h. */
15786 /* Override any GCC internal prototype to avoid an error.
15787 Use char because int might match the return type of a GCC
15788 builtin and then its argument prototype would still apply. */
15789 #ifdef __cplusplus
15790 extern "C"
15791 #endif
15792 char krb5_is_config_principal ();
15794 main ()
15796 return krb5_is_config_principal ();
15798 return 0;
15800 _ACEOF
15801 if ac_fn_c_try_link "$LINENO"; then :
15802 case "$LIBEXT" in
15803 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15804 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'` ;;
15805 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15806 if ${ac_cv_lib_soname_krb5:+false} :; then :
15807 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15808 fi ;;
15809 esac
15810 else
15811 ac_cv_lib_soname_krb5=
15813 rm -f core conftest.err conftest.$ac_objext \
15814 conftest$ac_exeext conftest.$ac_ext
15815 LIBS=$ac_check_soname_save_LIBS
15817 if ${ac_cv_lib_soname_krb5:+false} :; then :
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15819 $as_echo "not found" >&6; }
15820 KRB5_CFLAGS=""
15821 else
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15823 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15825 cat >>confdefs.h <<_ACEOF
15826 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15827 _ACEOF
15831 else
15832 KRB5_CFLAGS=""
15834 CPPFLAGS=$ac_save_CPPFLAGS
15835 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15836 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15839 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15840 case "x$with_krb5" in
15841 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15842 xno) ;;
15843 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15844 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15845 esac
15848 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15850 if test "x$with_gssapi" != "xno"
15851 then
15852 if ${GSSAPI_CFLAGS:+false} :; then :
15853 if ${PKG_CONFIG+:} false; then :
15854 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15857 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15858 if ${GSSAPI_LIBS:+false} :; then :
15859 if ${PKG_CONFIG+:} false; then :
15860 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15863 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15865 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15866 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15867 ac_save_CPPFLAGS=$CPPFLAGS
15868 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15869 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15870 do :
15871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15872 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15876 _ACEOF
15880 done
15882 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15883 then
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15885 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15886 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_check_soname_save_LIBS=$LIBS
15890 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15897 #ifdef __cplusplus
15898 extern "C"
15899 #endif
15900 char gss_init_sec_context ();
15902 main ()
15904 return gss_init_sec_context ();
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"; then :
15910 case "$LIBEXT" in
15911 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15912 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'` ;;
15913 *) 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'`
15914 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15915 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15916 fi ;;
15917 esac
15918 else
15919 ac_cv_lib_soname_gssapi_krb5=
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15923 LIBS=$ac_check_soname_save_LIBS
15925 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15927 $as_echo "not found" >&6; }
15928 GSSAPI_CFLAGS=""
15929 else
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15931 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15933 cat >>confdefs.h <<_ACEOF
15934 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15935 _ACEOF
15939 else
15940 GSSAPI_CFLAGS=""
15942 CPPFLAGS=$ac_save_CPPFLAGS
15943 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15944 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15947 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15948 case "x$with_gssapi" in
15949 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15950 xno) ;;
15951 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15952 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15953 esac
15957 if test "x$with_jpeg" != "xno"
15958 then
15959 if ${JPEG_CFLAGS:+false} :; then :
15960 if ${PKG_CONFIG+:} false; then :
15961 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15965 if ${JPEG_LIBS:+false} :; then :
15966 if ${PKG_CONFIG+:} false; then :
15967 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15972 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15973 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15974 ac_save_CPPFLAGS=$CPPFLAGS
15975 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15976 for ac_header in jpeglib.h
15977 do :
15978 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15979 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_JPEGLIB_H 1
15982 _ACEOF
15986 done
15988 if test "$ac_cv_header_jpeglib_h" = "yes"
15989 then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15991 $as_echo_n "checking for -ljpeg... " >&6; }
15992 if ${ac_cv_lib_soname_jpeg+:} false; then :
15993 $as_echo_n "(cached) " >&6
15994 else
15995 ac_check_soname_save_LIBS=$LIBS
15996 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16003 #ifdef __cplusplus
16004 extern "C"
16005 #endif
16006 char jpeg_start_decompress ();
16008 main ()
16010 return jpeg_start_decompress ();
16012 return 0;
16014 _ACEOF
16015 if ac_fn_c_try_link "$LINENO"; then :
16016 case "$LIBEXT" in
16017 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16018 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'` ;;
16019 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16020 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16021 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16022 fi ;;
16023 esac
16024 else
16025 ac_cv_lib_soname_jpeg=
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 LIBS=$ac_check_soname_save_LIBS
16031 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16033 $as_echo "not found" >&6; }
16034 JPEG_CFLAGS=""
16035 else
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16037 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16039 cat >>confdefs.h <<_ACEOF
16040 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16041 _ACEOF
16045 else
16046 JPEG_CFLAGS=""
16048 CPPFLAGS=$ac_save_CPPFLAGS
16049 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16050 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16053 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16054 case "x$with_jpeg" in
16055 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16056 xno) ;;
16057 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16058 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16059 esac
16063 if test "x$with_png" != "xno"
16064 then
16065 if ${PNG_CFLAGS:+false} :; then :
16066 if ${PKG_CONFIG+:} false; then :
16067 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16070 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16071 if ${PNG_LIBS:+false} :; then :
16072 if ${PKG_CONFIG+:} false; then :
16073 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16076 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16078 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16079 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16080 ac_save_CPPFLAGS=$CPPFLAGS
16081 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16082 for ac_header in png.h
16083 do :
16084 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16085 if test "x$ac_cv_header_png_h" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_PNG_H 1
16088 _ACEOF
16092 done
16094 if test "$ac_cv_header_png_h" = "yes"
16095 then
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16097 $as_echo_n "checking for -lpng... " >&6; }
16098 if ${ac_cv_lib_soname_png+:} false; then :
16099 $as_echo_n "(cached) " >&6
16100 else
16101 ac_check_soname_save_LIBS=$LIBS
16102 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16106 /* Override any GCC internal prototype to avoid an error.
16107 Use char because int might match the return type of a GCC
16108 builtin and then its argument prototype would still apply. */
16109 #ifdef __cplusplus
16110 extern "C"
16111 #endif
16112 char png_create_read_struct ();
16114 main ()
16116 return png_create_read_struct ();
16118 return 0;
16120 _ACEOF
16121 if ac_fn_c_try_link "$LINENO"; then :
16122 case "$LIBEXT" in
16123 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16124 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'` ;;
16125 *) 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'`
16126 if ${ac_cv_lib_soname_png:+false} :; then :
16127 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16128 fi ;;
16129 esac
16130 else
16131 ac_cv_lib_soname_png=
16133 rm -f core conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16135 LIBS=$ac_check_soname_save_LIBS
16137 if ${ac_cv_lib_soname_png:+false} :; then :
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16139 $as_echo "not found" >&6; }
16140 PNG_CFLAGS=""
16141 else
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16143 $as_echo "$ac_cv_lib_soname_png" >&6; }
16145 cat >>confdefs.h <<_ACEOF
16146 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16147 _ACEOF
16151 else
16152 PNG_CFLAGS=""
16154 CPPFLAGS=$ac_save_CPPFLAGS
16155 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16156 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16159 if test "x$ac_cv_lib_soname_png" = "x"; then :
16160 case "x$with_png" in
16161 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16162 xno) ;;
16163 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16164 This is an error since --with-png was requested." "$LINENO" 5 ;;
16165 esac
16169 if test "x$with_tiff" != "xno"
16170 then
16171 if ${TIFF_CFLAGS:+false} :; then :
16172 if ${PKG_CONFIG+:} false; then :
16173 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16177 if ${TIFF_LIBS:+false} :; then :
16178 if ${PKG_CONFIG+:} false; then :
16179 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16184 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16185 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16186 ac_save_CPPFLAGS=$CPPFLAGS
16187 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16188 for ac_header in tiffio.h
16189 do :
16190 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16191 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_TIFFIO_H 1
16194 _ACEOF
16198 done
16200 if test "$ac_cv_header_tiffio_h" = "yes"
16201 then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16203 $as_echo_n "checking for -ltiff... " >&6; }
16204 if ${ac_cv_lib_soname_tiff+:} false; then :
16205 $as_echo_n "(cached) " >&6
16206 else
16207 ac_check_soname_save_LIBS=$LIBS
16208 LIBS="-ltiff $TIFF_LIBS $LIBS"
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 /* Override any GCC internal prototype to avoid an error.
16213 Use char because int might match the return type of a GCC
16214 builtin and then its argument prototype would still apply. */
16215 #ifdef __cplusplus
16216 extern "C"
16217 #endif
16218 char TIFFClientOpen ();
16220 main ()
16222 return TIFFClientOpen ();
16224 return 0;
16226 _ACEOF
16227 if ac_fn_c_try_link "$LINENO"; then :
16228 case "$LIBEXT" in
16229 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16230 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'` ;;
16231 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16232 if ${ac_cv_lib_soname_tiff:+false} :; then :
16233 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16234 fi ;;
16235 esac
16236 else
16237 ac_cv_lib_soname_tiff=
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_soname_save_LIBS
16243 if ${ac_cv_lib_soname_tiff:+false} :; then :
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16245 $as_echo "not found" >&6; }
16247 else
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16249 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16251 cat >>confdefs.h <<_ACEOF
16252 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16253 _ACEOF
16258 CPPFLAGS=$ac_save_CPPFLAGS
16259 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16260 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16263 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16264 case "x$with_tiff" in
16265 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16266 xno) ;;
16267 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16268 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16269 esac
16273 if test "x$with_mpg123" != "xno"
16274 then
16275 if ${MPG123_CFLAGS:+false} :; then :
16276 if ${PKG_CONFIG+:} false; then :
16277 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16281 if ${MPG123_LIBS:+false} :; then :
16282 if ${PKG_CONFIG+:} false; then :
16283 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16287 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16288 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16289 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16290 ac_save_CPPFLAGS=$CPPFLAGS
16291 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16292 for ac_header in mpg123.h
16293 do :
16294 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16295 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_MPG123_H 1
16298 _ACEOF
16302 done
16304 if test "$ac_cv_header_mpg123_h" = "yes"
16305 then
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16307 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16308 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16309 $as_echo_n "(cached) " >&6
16310 else
16311 ac_check_lib_save_LIBS=$LIBS
16312 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16316 /* Override any GCC internal prototype to avoid an error.
16317 Use char because int might match the return type of a GCC
16318 builtin and then its argument prototype would still apply. */
16319 #ifdef __cplusplus
16320 extern "C"
16321 #endif
16322 char mpg123_feed ();
16324 main ()
16326 return mpg123_feed ();
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_link "$LINENO"; then :
16332 ac_cv_lib_mpg123_mpg123_feed=yes
16333 else
16334 ac_cv_lib_mpg123_mpg123_feed=no
16336 rm -f core conftest.err conftest.$ac_objext \
16337 conftest$ac_exeext conftest.$ac_ext
16338 LIBS=$ac_check_lib_save_LIBS
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16341 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16342 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16344 else
16345 MPG123_LIBS=""
16348 else
16349 MPG123_CFLAGS=""
16350 MPG123_LIBS=""
16352 CPPFLAGS=$ac_save_CPPFLAGS
16353 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16354 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16357 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16358 case "x$with_mpg123" in
16359 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16360 xno) ;;
16361 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16362 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16363 esac
16364 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16366 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16368 if test "$ac_cv_header_AL_al_h" = "yes"
16369 then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16371 $as_echo_n "checking for -lopenal... " >&6; }
16372 if ${ac_cv_lib_soname_openal+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_check_soname_save_LIBS=$LIBS
16376 LIBS="-lopenal $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 #ifdef __cplusplus
16384 extern "C"
16385 #endif
16386 char alGetSource3i ();
16388 main ()
16390 return alGetSource3i ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"; then :
16396 case "$LIBEXT" in
16397 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16398 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'` ;;
16399 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16400 if ${ac_cv_lib_soname_openal:+false} :; then :
16401 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16402 fi ;;
16403 esac
16404 else
16405 ac_cv_lib_soname_openal=
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_soname_save_LIBS
16411 if ${ac_cv_lib_soname_openal:+false} :; then :
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16413 $as_echo "not found" >&6; }
16415 else
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16417 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16419 cat >>confdefs.h <<_ACEOF
16420 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16421 _ACEOF
16423 OPENAL_LIBS="-lopenal"
16425 ac_cv_lib_openal=yes
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_OPENAL 1
16429 _ACEOF
16433 if test "x$ac_cv_lib_openal" != xyes; then :
16434 case "x$with_openal" in
16435 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16436 xno) ;;
16437 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16438 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16439 esac
16440 enable_openal32=${enable_openal32:-no}
16443 if test "x$ac_cv_lib_soname_FAudio" = "x"
16444 then
16445 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16446 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16447 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16448 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16449 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16450 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16451 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16452 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16453 enable_xapofx1_1=${enable_xapofx1_1:-no}
16454 enable_xapofx1_2=${enable_xapofx1_2:-no}
16455 enable_xapofx1_3=${enable_xapofx1_3:-no}
16456 enable_xapofx1_4=${enable_xapofx1_4:-no}
16457 enable_xapofx1_5=${enable_xapofx1_5:-no}
16458 enable_xaudio2_0=${enable_xaudio2_0:-no}
16459 enable_xaudio2_1=${enable_xaudio2_1:-no}
16460 enable_xaudio2_2=${enable_xaudio2_2:-no}
16461 enable_xaudio2_3=${enable_xaudio2_3:-no}
16462 enable_xaudio2_4=${enable_xaudio2_4:-no}
16463 enable_xaudio2_5=${enable_xaudio2_5:-no}
16464 enable_xaudio2_6=${enable_xaudio2_6:-no}
16465 enable_xaudio2_7=${enable_xaudio2_7:-no}
16466 enable_xaudio2_8=${enable_xaudio2_8:-no}
16467 enable_xaudio2_9=${enable_xaudio2_9:-no}
16470 if test "$ac_cv_header_kstat_h" = "yes"
16471 then
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16473 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16474 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 ac_check_lib_save_LIBS=$LIBS
16478 LIBS="-lkstat $LIBS"
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 #ifdef __cplusplus
16486 extern "C"
16487 #endif
16488 char kstat_open ();
16490 main ()
16492 return kstat_open ();
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"; then :
16498 ac_cv_lib_kstat_kstat_open=yes
16499 else
16500 ac_cv_lib_kstat_kstat_open=no
16502 rm -f core conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16507 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16508 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16510 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16512 KSTAT_LIBS="-lkstat"
16518 if test "$ac_cv_header_libprocstat_h" = "yes"
16519 then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16521 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16522 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 ac_check_lib_save_LIBS=$LIBS
16526 LIBS="-lprocstat $LIBS"
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16530 /* Override any GCC internal prototype to avoid an error.
16531 Use char because int might match the return type of a GCC
16532 builtin and then its argument prototype would still apply. */
16533 #ifdef __cplusplus
16534 extern "C"
16535 #endif
16536 char procstat_open_sysctl ();
16538 main ()
16540 return procstat_open_sysctl ();
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"; then :
16546 ac_cv_lib_procstat_procstat_open_sysctl=yes
16547 else
16548 ac_cv_lib_procstat_procstat_open_sysctl=no
16550 rm -f core conftest.err conftest.$ac_objext \
16551 conftest$ac_exeext conftest.$ac_ext
16552 LIBS=$ac_check_lib_save_LIBS
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16555 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16556 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16558 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16560 PROCSTAT_LIBS="-lprocstat"
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16567 $as_echo_n "checking for -lodbc... " >&6; }
16568 if ${ac_cv_lib_soname_odbc+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 ac_check_soname_save_LIBS=$LIBS
16572 LIBS="-lodbc $LIBS"
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 /* Override any GCC internal prototype to avoid an error.
16577 Use char because int might match the return type of a GCC
16578 builtin and then its argument prototype would still apply. */
16579 #ifdef __cplusplus
16580 extern "C"
16581 #endif
16582 char SQLConnect ();
16584 main ()
16586 return SQLConnect ();
16588 return 0;
16590 _ACEOF
16591 if ac_fn_c_try_link "$LINENO"; then :
16592 case "$LIBEXT" in
16593 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16594 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'` ;;
16595 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16596 if ${ac_cv_lib_soname_odbc:+false} :; then :
16597 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16598 fi ;;
16599 esac
16600 else
16601 ac_cv_lib_soname_odbc=
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_soname_save_LIBS
16607 if ${ac_cv_lib_soname_odbc:+false} :; then :
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16609 $as_echo "not found" >&6; }
16610 cat >>confdefs.h <<_ACEOF
16611 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16612 _ACEOF
16614 else
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16616 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16618 cat >>confdefs.h <<_ACEOF
16619 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16620 _ACEOF
16625 if test "x$with_netapi" != "xno"
16626 then
16627 if ${NETAPI_CFLAGS:+false} :; then :
16628 if ${PKG_CONFIG+:} false; then :
16629 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16633 if ${NETAPI_LIBS:+false} :; then :
16634 if ${PKG_CONFIG+:} false; then :
16635 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16640 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16641 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16642 ac_save_CPPFLAGS=$CPPFLAGS
16643 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16645 $as_echo_n "checking for -lnetapi... " >&6; }
16646 if ${ac_cv_lib_soname_netapi+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 ac_check_soname_save_LIBS=$LIBS
16650 LIBS="-lnetapi $NETAPI_LIBS $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 libnetapi_init ();
16662 main ()
16664 return libnetapi_init ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 case "$LIBEXT" in
16671 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16672 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'` ;;
16673 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16674 if ${ac_cv_lib_soname_netapi:+false} :; then :
16675 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16676 fi ;;
16677 esac
16678 else
16679 ac_cv_lib_soname_netapi=
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 LIBS=$ac_check_soname_save_LIBS
16685 if ${ac_cv_lib_soname_netapi:+false} :; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16687 $as_echo "not found" >&6; }
16688 cat >>confdefs.h <<_ACEOF
16689 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16690 _ACEOF
16692 else
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16694 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16696 cat >>confdefs.h <<_ACEOF
16697 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16698 _ACEOF
16702 CPPFLAGS=$ac_save_CPPFLAGS
16703 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16704 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16708 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16709 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16710 then
16711 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16714 if test "x$with_vulkan" != "xno"
16715 then
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16717 $as_echo_n "checking for -lvulkan... " >&6; }
16718 if ${ac_cv_lib_soname_vulkan+:} false; then :
16719 $as_echo_n "(cached) " >&6
16720 else
16721 ac_check_soname_save_LIBS=$LIBS
16722 LIBS="-lvulkan $LIBS"
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16726 /* Override any GCC internal prototype to avoid an error.
16727 Use char because int might match the return type of a GCC
16728 builtin and then its argument prototype would still apply. */
16729 #ifdef __cplusplus
16730 extern "C"
16731 #endif
16732 char vkGetInstanceProcAddr ();
16734 main ()
16736 return vkGetInstanceProcAddr ();
16738 return 0;
16740 _ACEOF
16741 if ac_fn_c_try_link "$LINENO"; then :
16742 case "$LIBEXT" in
16743 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16744 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'` ;;
16745 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16746 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16747 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16748 fi ;;
16749 esac
16750 else
16751 ac_cv_lib_soname_vulkan=
16753 rm -f core conftest.err conftest.$ac_objext \
16754 conftest$ac_exeext conftest.$ac_ext
16755 LIBS=$ac_check_soname_save_LIBS
16757 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16759 $as_echo "not found" >&6; }
16761 else
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16763 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16765 cat >>confdefs.h <<_ACEOF
16766 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16767 _ACEOF
16771 if test "x$ac_cv_lib_soname_vulkan" = "x"
16772 then
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16774 $as_echo_n "checking for -lMoltenVK... " >&6; }
16775 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 ac_check_soname_save_LIBS=$LIBS
16779 LIBS="-lMoltenVK $LIBS"
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 /* Override any GCC internal prototype to avoid an error.
16784 Use char because int might match the return type of a GCC
16785 builtin and then its argument prototype would still apply. */
16786 #ifdef __cplusplus
16787 extern "C"
16788 #endif
16789 char vkGetInstanceProcAddr ();
16791 main ()
16793 return vkGetInstanceProcAddr ();
16795 return 0;
16797 _ACEOF
16798 if ac_fn_c_try_link "$LINENO"; then :
16799 case "$LIBEXT" in
16800 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16801 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'` ;;
16802 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16803 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16804 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16805 fi ;;
16806 esac
16807 else
16808 ac_cv_lib_soname_MoltenVK=
16810 rm -f core conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_check_soname_save_LIBS
16814 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16816 $as_echo "not found" >&6; }
16818 else
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16820 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16822 cat >>confdefs.h <<_ACEOF
16823 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16824 _ACEOF
16830 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16831 case "x$with_vulkan" in
16832 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16833 xno) ;;
16834 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16835 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16836 esac
16840 if test "x$with_vkd3d" != "xno"
16841 then
16842 if ${VKD3D_CFLAGS:+false} :; then :
16843 if ${PKG_CONFIG+:} false; then :
16844 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16848 if ${VKD3D_LIBS:+false} :; then :
16849 if ${PKG_CONFIG+:} false; then :
16850 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16855 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16856 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16857 ac_save_CPPFLAGS=$CPPFLAGS
16858 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16860 $as_echo_n "checking for -lvkd3d... " >&6; }
16861 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16862 $as_echo_n "(cached) " >&6
16863 else
16864 ac_check_soname_save_LIBS=$LIBS
16865 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16869 /* Override any GCC internal prototype to avoid an error.
16870 Use char because int might match the return type of a GCC
16871 builtin and then its argument prototype would still apply. */
16872 #ifdef __cplusplus
16873 extern "C"
16874 #endif
16875 char vkd3d_get_dxgi_format ();
16877 main ()
16879 return vkd3d_get_dxgi_format ();
16881 return 0;
16883 _ACEOF
16884 if ac_fn_c_try_link "$LINENO"; then :
16885 case "$LIBEXT" in
16886 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16887 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'` ;;
16888 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16889 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16890 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16891 fi ;;
16892 esac
16893 else
16894 ac_cv_lib_soname_vkd3d=
16896 rm -f core conftest.err conftest.$ac_objext \
16897 conftest$ac_exeext conftest.$ac_ext
16898 LIBS=$ac_check_soname_save_LIBS
16900 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16902 $as_echo "not found" >&6; }
16904 else
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16906 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16908 cat >>confdefs.h <<_ACEOF
16909 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16910 _ACEOF
16914 CPPFLAGS=$ac_save_CPPFLAGS
16915 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16916 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16919 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16920 case "x$with_vkd3d" in
16921 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16922 xno) ;;
16923 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16924 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16925 esac
16928 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16931 EXTRACFLAGS=""
16933 if test "x${GCC}" = "xyes"
16934 then
16935 EXTRACFLAGS="-Wall -pipe"
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16938 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16939 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16940 $as_echo_n "(cached) " >&6
16941 else
16942 ac_wine_try_cflags_saved=$CFLAGS
16943 CFLAGS="$CFLAGS -fcf-protection=none"
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 int main(int argc, char **argv) { return 0; }
16947 _ACEOF
16948 if ac_fn_c_try_link "$LINENO"; then :
16949 ac_cv_cflags__fcf_protection_none=yes
16950 else
16951 ac_cv_cflags__fcf_protection_none=no
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext conftest.$ac_ext
16955 CFLAGS=$ac_wine_try_cflags_saved
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16958 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16959 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16960 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16963 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16964 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16965 $as_echo_n "(cached) " >&6
16966 else
16967 ac_wine_try_cflags_saved=$CFLAGS
16968 CFLAGS="$CFLAGS -fno-stack-protector"
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 int main(int argc, char **argv) { return 0; }
16972 _ACEOF
16973 if ac_fn_c_try_link "$LINENO"; then :
16974 ac_cv_cflags__fno_stack_protector=yes
16975 else
16976 ac_cv_cflags__fno_stack_protector=no
16978 rm -f core conftest.err conftest.$ac_objext \
16979 conftest$ac_exeext conftest.$ac_ext
16980 CFLAGS=$ac_wine_try_cflags_saved
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16983 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16984 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16985 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16988 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16989 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 ac_wine_try_cflags_saved=$CFLAGS
16993 CFLAGS="$CFLAGS -fno-strict-aliasing"
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16996 int main(int argc, char **argv) { return 0; }
16997 _ACEOF
16998 if ac_fn_c_try_link "$LINENO"; then :
16999 ac_cv_cflags__fno_strict_aliasing=yes
17000 else
17001 ac_cv_cflags__fno_strict_aliasing=no
17003 rm -f core conftest.err conftest.$ac_objext \
17004 conftest$ac_exeext conftest.$ac_ext
17005 CFLAGS=$ac_wine_try_cflags_saved
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17008 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17009 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17010 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17013 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17014 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 ac_wine_try_cflags_saved=$CFLAGS
17018 CFLAGS="$CFLAGS -fexcess-precision=standard"
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 int main(int argc, char **argv) { return 0; }
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_cflags__fexcess_precision_standard=yes
17025 else
17026 ac_cv_cflags__fexcess_precision_standard=no
17028 rm -f core conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17030 CFLAGS=$ac_wine_try_cflags_saved
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17033 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17034 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17035 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17038 saved_CFLAGS=$CFLAGS
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17040 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17041 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17042 $as_echo_n "(cached) " >&6
17043 else
17044 ac_wine_try_cflags_saved=$CFLAGS
17045 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 int main(int argc, char **argv) { return 0; }
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"; then :
17051 ac_cv_cflags__Werror_unknown_warning_option=yes
17052 else
17053 ac_cv_cflags__Werror_unknown_warning_option=no
17055 rm -f core conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17057 CFLAGS=$ac_wine_try_cflags_saved
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17060 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17061 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17062 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17065 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17066 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 ac_wine_try_cflags_saved=$CFLAGS
17070 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 int main(int argc, char **argv) { return 0; }
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"; then :
17076 ac_cv_cflags__Werror_unused_command_line_argument=yes
17077 else
17078 ac_cv_cflags__Werror_unused_command_line_argument=no
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17082 CFLAGS=$ac_wine_try_cflags_saved
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17085 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17086 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17087 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17090 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17091 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 ac_wine_try_cflags_saved=$CFLAGS
17095 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 int main(int argc, char **argv) { return 0; }
17099 _ACEOF
17100 if ac_fn_c_try_link "$LINENO"; then :
17101 ac_cv_cflags__Wdeclaration_after_statement=yes
17102 else
17103 ac_cv_cflags__Wdeclaration_after_statement=no
17105 rm -f core conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17107 CFLAGS=$ac_wine_try_cflags_saved
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17110 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17111 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17112 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17115 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17116 if ${ac_cv_cflags__Wempty_body+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 ac_wine_try_cflags_saved=$CFLAGS
17120 CFLAGS="$CFLAGS -Wempty-body"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 int main(int argc, char **argv) { return 0; }
17124 _ACEOF
17125 if ac_fn_c_try_link "$LINENO"; then :
17126 ac_cv_cflags__Wempty_body=yes
17127 else
17128 ac_cv_cflags__Wempty_body=no
17130 rm -f core conftest.err conftest.$ac_objext \
17131 conftest$ac_exeext conftest.$ac_ext
17132 CFLAGS=$ac_wine_try_cflags_saved
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17135 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17136 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17137 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17140 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17141 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17142 $as_echo_n "(cached) " >&6
17143 else
17144 ac_wine_try_cflags_saved=$CFLAGS
17145 CFLAGS="$CFLAGS -Wignored-qualifiers"
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 int main(int argc, char **argv) { return 0; }
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_cflags__Wignored_qualifiers=yes
17152 else
17153 ac_cv_cflags__Wignored_qualifiers=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 CFLAGS=$ac_wine_try_cflags_saved
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17160 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17161 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17162 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17165 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17166 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17167 $as_echo_n "(cached) " >&6
17168 else
17169 ac_wine_try_cflags_saved=$CFLAGS
17170 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 int main(int argc, char **argv) { return 0; }
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_cflags__Wpacked_not_aligned=yes
17177 else
17178 ac_cv_cflags__Wpacked_not_aligned=no
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17182 CFLAGS=$ac_wine_try_cflags_saved
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17185 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17186 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17187 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17190 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17191 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_wine_try_cflags_saved=$CFLAGS
17195 CFLAGS="$CFLAGS -Wpragma-pack"
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 int main(int argc, char **argv) { return 0; }
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"; then :
17201 ac_cv_cflags__Wpragma_pack=yes
17202 else
17203 ac_cv_cflags__Wpragma_pack=no
17205 rm -f core conftest.err conftest.$ac_objext \
17206 conftest$ac_exeext conftest.$ac_ext
17207 CFLAGS=$ac_wine_try_cflags_saved
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17210 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17211 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17212 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17215 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17216 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 ac_wine_try_cflags_saved=$CFLAGS
17220 CFLAGS="$CFLAGS -Wshift-overflow=2"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 int main(int argc, char **argv) { return 0; }
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_cflags__Wshift_overflow_2=yes
17227 else
17228 ac_cv_cflags__Wshift_overflow_2=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 CFLAGS=$ac_wine_try_cflags_saved
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17235 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17236 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17237 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17240 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17241 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_wine_try_cflags_saved=$CFLAGS
17245 CFLAGS="$CFLAGS -Wstrict-prototypes"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 int main(int argc, char **argv) { return 0; }
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_cflags__Wstrict_prototypes=yes
17252 else
17253 ac_cv_cflags__Wstrict_prototypes=no
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17257 CFLAGS=$ac_wine_try_cflags_saved
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17260 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17261 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17262 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17265 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17266 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 ac_wine_try_cflags_saved=$CFLAGS
17270 CFLAGS="$CFLAGS -Wtype-limits"
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 int main(int argc, char **argv) { return 0; }
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 ac_cv_cflags__Wtype_limits=yes
17277 else
17278 ac_cv_cflags__Wtype_limits=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 CFLAGS=$ac_wine_try_cflags_saved
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17285 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17286 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17287 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17290 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17291 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 ac_wine_try_cflags_saved=$CFLAGS
17295 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 int main(int argc, char **argv) { return 0; }
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"; then :
17301 ac_cv_cflags__Wunused_but_set_parameter=yes
17302 else
17303 ac_cv_cflags__Wunused_but_set_parameter=no
17305 rm -f core conftest.err conftest.$ac_objext \
17306 conftest$ac_exeext conftest.$ac_ext
17307 CFLAGS=$ac_wine_try_cflags_saved
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17310 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17311 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17312 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17315 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17316 if ${ac_cv_cflags__Wvla+:} false; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 ac_wine_try_cflags_saved=$CFLAGS
17320 CFLAGS="$CFLAGS -Wvla"
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17323 int main(int argc, char **argv) { return 0; }
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 ac_cv_cflags__Wvla=yes
17327 else
17328 ac_cv_cflags__Wvla=no
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17332 CFLAGS=$ac_wine_try_cflags_saved
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17335 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17336 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17337 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17340 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17341 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17342 $as_echo_n "(cached) " >&6
17343 else
17344 ac_wine_try_cflags_saved=$CFLAGS
17345 CFLAGS="$CFLAGS -Wwrite-strings"
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 int main(int argc, char **argv) { return 0; }
17349 _ACEOF
17350 if ac_fn_c_try_link "$LINENO"; then :
17351 ac_cv_cflags__Wwrite_strings=yes
17352 else
17353 ac_cv_cflags__Wwrite_strings=no
17355 rm -f core conftest.err conftest.$ac_objext \
17356 conftest$ac_exeext conftest.$ac_ext
17357 CFLAGS=$ac_wine_try_cflags_saved
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17360 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17361 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17362 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17366 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17367 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17368 $as_echo_n "(cached) " >&6
17369 else
17370 ac_wine_try_cflags_saved=$CFLAGS
17371 CFLAGS="$CFLAGS -Wpointer-arith"
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17374 int main(int argc, char **argv) { return 0; }
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 ac_cv_cflags__Wpointer_arith=yes
17378 else
17379 ac_cv_cflags__Wpointer_arith=no
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17383 CFLAGS=$ac_wine_try_cflags_saved
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17386 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17387 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17388 saved_string_h_CFLAGS=$CFLAGS
17389 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17391 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17392 if ${ac_cv_c_string_h_warnings+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #include <string.h>
17399 main ()
17403 return 0;
17405 _ACEOF
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407 ac_cv_c_string_h_warnings=no
17408 else
17409 ac_cv_c_string_h_warnings=yes
17411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17414 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17415 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17416 CFLAGS=$saved_string_h_CFLAGS
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17420 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17421 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 ac_wine_try_cflags_saved=$CFLAGS
17425 CFLAGS="$CFLAGS -Wlogical-op"
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 int main(int argc, char **argv) { return 0; }
17429 _ACEOF
17430 if ac_fn_c_try_link "$LINENO"; then :
17431 ac_cv_cflags__Wlogical_op=yes
17432 else
17433 ac_cv_cflags__Wlogical_op=no
17435 rm -f core conftest.err conftest.$ac_objext \
17436 conftest$ac_exeext conftest.$ac_ext
17437 CFLAGS=$ac_wine_try_cflags_saved
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17440 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17441 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17442 saved_string_h_CFLAGS=$CFLAGS
17443 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17445 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17446 if ${ac_cv_c_logicalop_noisy+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #include <string.h>
17452 char*f(const char *h,char n) {return strchr(h,n);}
17454 main ()
17458 return 0;
17460 _ACEOF
17461 if ac_fn_c_try_compile "$LINENO"; then :
17462 ac_cv_c_logicalop_noisy=no
17463 else
17464 ac_cv_c_logicalop_noisy=yes
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17469 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17470 CFLAGS=$saved_string_h_CFLAGS
17471 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17474 for ac_flag in $CFLAGS; do
17475 case $ac_flag in
17476 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17477 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17478 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17481 ac_wine_try_cflags_saved=$CFLAGS
17482 CFLAGS="$CFLAGS -gdwarf-2"
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17485 int main(int argc, char **argv) { return 0; }
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 ac_cv_cflags__gdwarf_2=yes
17489 else
17490 ac_cv_cflags__gdwarf_2=no
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 CFLAGS=$ac_wine_try_cflags_saved
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17497 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17498 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17499 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17502 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17503 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_wine_try_cflags_saved=$CFLAGS
17507 CFLAGS="$CFLAGS -gstrict-dwarf"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 int main(int argc, char **argv) { return 0; }
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_cflags__gstrict_dwarf=yes
17514 else
17515 ac_cv_cflags__gstrict_dwarf=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 CFLAGS=$ac_wine_try_cflags_saved
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17522 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17523 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17524 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17525 fi ;;
17526 esac
17527 done
17529 MSVCRTFLAGS=""
17531 case $host_os in
17532 mingw32*) ;;
17533 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17534 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17535 if ${ac_cv_cflags__fno_builtin+:} false; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538 ac_wine_try_cflags_saved=$CFLAGS
17539 CFLAGS="$CFLAGS -fno-builtin"
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 int main(int argc, char **argv) { return 0; }
17543 _ACEOF
17544 if ac_fn_c_try_link "$LINENO"; then :
17545 ac_cv_cflags__fno_builtin=yes
17546 else
17547 ac_cv_cflags__fno_builtin=no
17549 rm -f core conftest.err conftest.$ac_objext \
17550 conftest$ac_exeext conftest.$ac_ext
17551 CFLAGS=$ac_wine_try_cflags_saved
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17554 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17555 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17556 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17559 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17560 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563 ac_wine_try_cflags_saved=$CFLAGS
17564 CFLAGS="$CFLAGS -fshort-wchar"
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 int main(int argc, char **argv) { return 0; }
17568 _ACEOF
17569 if ac_fn_c_try_link "$LINENO"; then :
17570 ac_cv_cflags__fshort_wchar=yes
17571 else
17572 ac_cv_cflags__fshort_wchar=no
17574 rm -f core conftest.err conftest.$ac_objext \
17575 conftest$ac_exeext conftest.$ac_ext
17576 CFLAGS=$ac_wine_try_cflags_saved
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17579 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17580 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17581 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17582 fi ;;
17583 esac
17585 case $host_cpu in
17586 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17587 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17588 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 ac_wine_try_cflags_saved=$CFLAGS
17592 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 int main(int argc, char **argv) { return 0; }
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_cflags__fno_omit_frame_pointer=yes
17599 else
17600 ac_cv_cflags__fno_omit_frame_pointer=no
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17604 CFLAGS=$ac_wine_try_cflags_saved
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17607 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17608 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17609 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17610 fi ;;
17611 *x86_64*)
17612 case $host_os in
17613 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17614 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17615 if ${ac_cv_cflags__Wno_format+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 ac_wine_try_cflags_saved=$CFLAGS
17619 CFLAGS="$CFLAGS -Wno-format"
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 int main(int argc, char **argv) { return 0; }
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"; then :
17625 ac_cv_cflags__Wno_format=yes
17626 else
17627 ac_cv_cflags__Wno_format=no
17629 rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631 CFLAGS=$ac_wine_try_cflags_saved
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17634 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17635 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17636 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17637 fi ;;
17638 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17639 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17640 if ${ac_cv_cflags__mabi_ms+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 ac_wine_try_cflags_saved=$CFLAGS
17644 CFLAGS="$CFLAGS -mabi=ms"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 int main(int argc, char **argv) { return 0; }
17648 _ACEOF
17649 if ac_fn_c_try_link "$LINENO"; then :
17650 ac_cv_cflags__mabi_ms=yes
17651 else
17652 ac_cv_cflags__mabi_ms=no
17654 rm -f core conftest.err conftest.$ac_objext \
17655 conftest$ac_exeext conftest.$ac_ext
17656 CFLAGS=$ac_wine_try_cflags_saved
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17659 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17660 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17661 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17662 fi ;;
17663 esac ;;
17664 esac
17666 CFLAGS=$saved_CFLAGS
17668 if test "x$enable_werror" = "xyes"
17669 then
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17671 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17672 if ${ac_cv_cflags__Werror+:} false; then :
17673 $as_echo_n "(cached) " >&6
17674 else
17675 ac_wine_try_cflags_saved=$CFLAGS
17676 CFLAGS="$CFLAGS -Werror"
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 int main(int argc, char **argv) { return 0; }
17680 _ACEOF
17681 if ac_fn_c_try_link "$LINENO"; then :
17682 ac_cv_cflags__Werror=yes
17683 else
17684 ac_cv_cflags__Werror=no
17686 rm -f core conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17688 CFLAGS=$ac_wine_try_cflags_saved
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17691 $as_echo "$ac_cv_cflags__Werror" >&6; }
17692 if test "x$ac_cv_cflags__Werror" = xyes; then :
17693 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17700 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17701 if ${ac_cv_c_fortify_enabled+:} false; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <string.h>
17708 main ()
17710 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17711 #error Fortify enabled
17712 #endif
17714 return 0;
17716 _ACEOF
17717 if ac_fn_c_try_compile "$LINENO"; then :
17718 ac_cv_c_fortify_enabled=no
17719 else
17720 ac_cv_c_fortify_enabled=yes
17722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17725 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17726 if test "$ac_cv_c_fortify_enabled" = yes
17727 then
17728 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17733 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17734 if ${ac_cv_c_cfi_support+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17739 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17741 main ()
17745 return 0;
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 ac_cv_c_cfi_support="yes"
17750 else
17751 ac_cv_c_cfi_support="no"
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17756 $as_echo "$ac_cv_c_cfi_support" >&6; }
17757 if test "$ac_cv_c_cfi_support" = "yes"
17758 then
17759 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17760 else
17761 if test "x$enable_win64" = "xyes"
17762 then
17763 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17768 case $build_os in
17769 cygwin*|mingw32*) TOOLSEXT=".exe"
17771 esac
17773 case $host_os in
17774 linux*)
17775 case $host_cpu in
17776 *i[3456789]86*|x86_64*|*aarch64*)
17777 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17778 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17780 esac
17782 esac
17785 ac_save_CFLAGS="$CFLAGS"
17786 CFLAGS="$CFLAGS $BUILTINFLAG"
17787 for ac_func in \
17788 __res_get_state \
17789 __res_getservers \
17790 _spawnvp \
17791 epoll_create \
17792 ffs \
17793 finitef \
17794 fnmatch \
17795 fork \
17796 fpclass \
17797 fstatfs \
17798 fstatvfs \
17799 futimens \
17800 futimes \
17801 futimesat \
17802 getattrlist \
17803 getauxval \
17804 getifaddrs \
17805 getopt_long_only \
17806 kqueue \
17807 lstat \
17808 mach_continuous_time \
17809 pipe2 \
17810 poll \
17811 port_create \
17812 prctl \
17813 pread \
17814 proc_pidinfo \
17815 pwrite \
17816 readdir \
17817 readlink \
17818 sched_yield \
17819 select \
17820 setproctitle \
17821 setprogname \
17822 settimeofday \
17823 sigprocmask \
17824 statfs \
17825 statvfs \
17826 strnlen \
17827 strtold \
17828 symlink \
17829 sysinfo \
17830 tcdrain \
17831 thr_kill2 \
17832 timegm \
17833 usleep
17835 do :
17836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17839 cat >>confdefs.h <<_ACEOF
17840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17841 _ACEOF
17844 done
17846 CFLAGS="$ac_save_CFLAGS"
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17849 $as_echo_n "checking for library containing dlopen... " >&6; }
17850 if ${ac_cv_search_dlopen+:} false; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 ac_func_search_save_LIBS=$LIBS
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17857 /* Override any GCC internal prototype to avoid an error.
17858 Use char because int might match the return type of a GCC
17859 builtin and then its argument prototype would still apply. */
17860 #ifdef __cplusplus
17861 extern "C"
17862 #endif
17863 char dlopen ();
17865 main ()
17867 return dlopen ();
17869 return 0;
17871 _ACEOF
17872 for ac_lib in '' dl; do
17873 if test -z "$ac_lib"; then
17874 ac_res="none required"
17875 else
17876 ac_res=-l$ac_lib
17877 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17879 if ac_fn_c_try_link "$LINENO"; then :
17880 ac_cv_search_dlopen=$ac_res
17882 rm -f core conftest.err conftest.$ac_objext \
17883 conftest$ac_exeext
17884 if ${ac_cv_search_dlopen+:} false; then :
17885 break
17887 done
17888 if ${ac_cv_search_dlopen+:} false; then :
17890 else
17891 ac_cv_search_dlopen=no
17893 rm conftest.$ac_ext
17894 LIBS=$ac_func_search_save_LIBS
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17897 $as_echo "$ac_cv_search_dlopen" >&6; }
17898 ac_res=$ac_cv_search_dlopen
17899 if test "$ac_res" != no; then :
17900 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17904 ac_wine_check_funcs_save_LIBS="$LIBS"
17905 LIBS="$LIBS $DL_LIBS"
17906 for ac_func in dladdr
17907 do :
17908 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17909 if test "x$ac_cv_func_dladdr" = xyes; then :
17910 cat >>confdefs.h <<_ACEOF
17911 #define HAVE_DLADDR 1
17912 _ACEOF
17915 done
17917 LIBS="$ac_wine_check_funcs_save_LIBS"
17919 if test "$ac_cv_func_poll" = no
17920 then
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17922 $as_echo_n "checking for poll in -lpoll... " >&6; }
17923 if ${ac_cv_lib_poll_poll+:} false; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17926 ac_check_lib_save_LIBS=$LIBS
17927 LIBS="-lpoll $LIBS"
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17931 /* Override any GCC internal prototype to avoid an error.
17932 Use char because int might match the return type of a GCC
17933 builtin and then its argument prototype would still apply. */
17934 #ifdef __cplusplus
17935 extern "C"
17936 #endif
17937 char poll ();
17939 main ()
17941 return poll ();
17943 return 0;
17945 _ACEOF
17946 if ac_fn_c_try_link "$LINENO"; then :
17947 ac_cv_lib_poll_poll=yes
17948 else
17949 ac_cv_lib_poll_poll=no
17951 rm -f core conftest.err conftest.$ac_objext \
17952 conftest$ac_exeext conftest.$ac_ext
17953 LIBS=$ac_check_lib_save_LIBS
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17956 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17957 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17958 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17959 POLL_LIBS="-lpoll"
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17966 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17967 if ${ac_cv_search_gethostbyname+:} false; then :
17968 $as_echo_n "(cached) " >&6
17969 else
17970 ac_func_search_save_LIBS=$LIBS
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17974 /* Override any GCC internal prototype to avoid an error.
17975 Use char because int might match the return type of a GCC
17976 builtin and then its argument prototype would still apply. */
17977 #ifdef __cplusplus
17978 extern "C"
17979 #endif
17980 char gethostbyname ();
17982 main ()
17984 return gethostbyname ();
17986 return 0;
17988 _ACEOF
17989 for ac_lib in '' nsl; do
17990 if test -z "$ac_lib"; then
17991 ac_res="none required"
17992 else
17993 ac_res=-l$ac_lib
17994 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17996 if ac_fn_c_try_link "$LINENO"; then :
17997 ac_cv_search_gethostbyname=$ac_res
17999 rm -f core conftest.err conftest.$ac_objext \
18000 conftest$ac_exeext
18001 if ${ac_cv_search_gethostbyname+:} false; then :
18002 break
18004 done
18005 if ${ac_cv_search_gethostbyname+:} false; then :
18007 else
18008 ac_cv_search_gethostbyname=no
18010 rm conftest.$ac_ext
18011 LIBS=$ac_func_search_save_LIBS
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18014 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18015 ac_res=$ac_cv_search_gethostbyname
18016 if test "$ac_res" != no; then :
18017 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18023 $as_echo_n "checking for library containing connect... " >&6; }
18024 if ${ac_cv_search_connect+:} false; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18027 ac_func_search_save_LIBS=$LIBS
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18031 /* Override any GCC internal prototype to avoid an error.
18032 Use char because int might match the return type of a GCC
18033 builtin and then its argument prototype would still apply. */
18034 #ifdef __cplusplus
18035 extern "C"
18036 #endif
18037 char connect ();
18039 main ()
18041 return connect ();
18043 return 0;
18045 _ACEOF
18046 for ac_lib in '' socket; do
18047 if test -z "$ac_lib"; then
18048 ac_res="none required"
18049 else
18050 ac_res=-l$ac_lib
18051 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18053 if ac_fn_c_try_link "$LINENO"; then :
18054 ac_cv_search_connect=$ac_res
18056 rm -f core conftest.err conftest.$ac_objext \
18057 conftest$ac_exeext
18058 if ${ac_cv_search_connect+:} false; then :
18059 break
18061 done
18062 if ${ac_cv_search_connect+:} false; then :
18064 else
18065 ac_cv_search_connect=no
18067 rm conftest.$ac_ext
18068 LIBS=$ac_func_search_save_LIBS
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18071 $as_echo "$ac_cv_search_connect" >&6; }
18072 ac_res=$ac_cv_search_connect
18073 if test "$ac_res" != no; then :
18074 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18080 $as_echo_n "checking for library containing inet_aton... " >&6; }
18081 if ${ac_cv_search_inet_aton+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084 ac_func_search_save_LIBS=$LIBS
18085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 /* Override any GCC internal prototype to avoid an error.
18089 Use char because int might match the return type of a GCC
18090 builtin and then its argument prototype would still apply. */
18091 #ifdef __cplusplus
18092 extern "C"
18093 #endif
18094 char inet_aton ();
18096 main ()
18098 return inet_aton ();
18100 return 0;
18102 _ACEOF
18103 for ac_lib in '' resolv; do
18104 if test -z "$ac_lib"; then
18105 ac_res="none required"
18106 else
18107 ac_res=-l$ac_lib
18108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18110 if ac_fn_c_try_link "$LINENO"; then :
18111 ac_cv_search_inet_aton=$ac_res
18113 rm -f core conftest.err conftest.$ac_objext \
18114 conftest$ac_exeext
18115 if ${ac_cv_search_inet_aton+:} false; then :
18116 break
18118 done
18119 if ${ac_cv_search_inet_aton+:} false; then :
18121 else
18122 ac_cv_search_inet_aton=no
18124 rm conftest.$ac_ext
18125 LIBS=$ac_func_search_save_LIBS
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18128 $as_echo "$ac_cv_search_inet_aton" >&6; }
18129 ac_res=$ac_cv_search_inet_aton
18130 if test "$ac_res" != no; then :
18131 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18136 for ac_func in \
18137 getaddrinfo \
18138 getnameinfo \
18139 getnetbyname \
18140 getprotobyname \
18141 getprotobynumber \
18142 getservbyport \
18143 inet_addr \
18144 inet_network \
18145 inet_ntop \
18146 inet_pton \
18148 do :
18149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18152 cat >>confdefs.h <<_ACEOF
18153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18154 _ACEOF
18157 done
18160 case $host_os in
18161 darwin*|macosx*) ;;
18162 *) ac_save_LIBS=$LIBS
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18164 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18165 if ${ac_cv_search_clock_gettime+:} false; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18168 ac_func_search_save_LIBS=$LIBS
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18172 /* Override any GCC internal prototype to avoid an error.
18173 Use char because int might match the return type of a GCC
18174 builtin and then its argument prototype would still apply. */
18175 #ifdef __cplusplus
18176 extern "C"
18177 #endif
18178 char clock_gettime ();
18180 main ()
18182 return clock_gettime ();
18184 return 0;
18186 _ACEOF
18187 for ac_lib in '' rt; do
18188 if test -z "$ac_lib"; then
18189 ac_res="none required"
18190 else
18191 ac_res=-l$ac_lib
18192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18194 if ac_fn_c_try_link "$LINENO"; then :
18195 ac_cv_search_clock_gettime=$ac_res
18197 rm -f core conftest.err conftest.$ac_objext \
18198 conftest$ac_exeext
18199 if ${ac_cv_search_clock_gettime+:} false; then :
18200 break
18202 done
18203 if ${ac_cv_search_clock_gettime+:} false; then :
18205 else
18206 ac_cv_search_clock_gettime=no
18208 rm conftest.$ac_ext
18209 LIBS=$ac_func_search_save_LIBS
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18212 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18213 ac_res=$ac_cv_search_clock_gettime
18214 if test "$ac_res" != no; then :
18215 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18217 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18219 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18223 LIBS=$ac_save_LIBS
18225 esac
18227 if test "x$with_ldap" != "xno"
18228 then
18229 if ${LDAP_CFLAGS:+false} :; then :
18230 if ${PKG_CONFIG+:} false; then :
18231 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18235 if ${LDAP_LIBS:+false} :; then :
18236 if ${PKG_CONFIG+:} false; then :
18237 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18241 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18242 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18243 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18244 ac_save_CPPFLAGS=$CPPFLAGS
18245 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18246 for ac_header in ldap.h lber.h
18247 do :
18248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18249 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18251 cat >>confdefs.h <<_ACEOF
18252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18253 _ACEOF
18257 done
18259 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18260 then
18261 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18263 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18265 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18266 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18267 $as_echo_n "(cached) " >&6
18268 else
18269 ac_check_lib_save_LIBS=$LIBS
18270 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 /* Override any GCC internal prototype to avoid an error.
18275 Use char because int might match the return type of a GCC
18276 builtin and then its argument prototype would still apply. */
18277 #ifdef __cplusplus
18278 extern "C"
18279 #endif
18280 char ldap_initialize ();
18282 main ()
18284 return ldap_initialize ();
18286 return 0;
18288 _ACEOF
18289 if ac_fn_c_try_link "$LINENO"; then :
18290 ac_cv_lib_ldap_r_ldap_initialize=yes
18291 else
18292 ac_cv_lib_ldap_r_ldap_initialize=no
18294 rm -f core conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18296 LIBS=$ac_check_lib_save_LIBS
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18299 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18300 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18302 $as_echo_n "checking for ber_init in -llber... " >&6; }
18303 if ${ac_cv_lib_lber_ber_init+:} false; then :
18304 $as_echo_n "(cached) " >&6
18305 else
18306 ac_check_lib_save_LIBS=$LIBS
18307 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char ber_init ();
18319 main ()
18321 return ber_init ();
18323 return 0;
18325 _ACEOF
18326 if ac_fn_c_try_link "$LINENO"; then :
18327 ac_cv_lib_lber_ber_init=yes
18328 else
18329 ac_cv_lib_lber_ber_init=no
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18333 LIBS=$ac_check_lib_save_LIBS
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18336 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18337 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18339 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18341 else
18342 LDAP_LIBS=""
18345 else
18346 LDAP_LIBS=""
18349 else
18350 LDAP_LIBS=""
18353 ac_wine_check_funcs_save_LIBS="$LIBS"
18354 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18355 for ac_func in \
18356 ldap_count_references \
18357 ldap_first_reference \
18358 ldap_next_reference \
18359 ldap_parse_reference \
18360 ldap_parse_sort_control \
18361 ldap_parse_sortresponse_control \
18362 ldap_parse_vlv_control \
18363 ldap_parse_vlvresponse_control
18364 do :
18365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18368 cat >>confdefs.h <<_ACEOF
18369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18370 _ACEOF
18373 done
18375 LIBS="$ac_wine_check_funcs_save_LIBS"
18376 else
18377 LDAP_LIBS=""
18379 CPPFLAGS=$ac_save_CPPFLAGS
18380 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18381 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18384 if test "x$LDAP_LIBS" = "x"; then :
18385 case "x$with_ldap" in
18386 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18387 xno) ;;
18388 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18389 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18390 esac
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18395 $as_echo_n "checking for sched_setaffinity... " >&6; }
18396 if ${wine_cv_have_sched_setaffinity+:} false; then :
18397 $as_echo_n "(cached) " >&6
18398 else
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18401 #define _GNU_SOURCE
18402 #include <sched.h>
18404 main ()
18406 sched_setaffinity(0, 0, 0);
18408 return 0;
18410 _ACEOF
18411 if ac_fn_c_try_link "$LINENO"; then :
18412 wine_cv_have_sched_setaffinity=yes
18413 else
18414 wine_cv_have_sched_setaffinity=no
18416 rm -f core conftest.err conftest.$ac_objext \
18417 conftest$ac_exeext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18420 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18421 if test "$wine_cv_have_sched_setaffinity" = "yes"
18422 then
18424 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18429 $as_echo_n "checking for fallocate... " >&6; }
18430 if ${wine_cv_have_fallocate+:} false; then :
18431 $as_echo_n "(cached) " >&6
18432 else
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #define _GNU_SOURCE
18436 #include <fcntl.h>
18438 main ()
18440 fallocate(-1, 0, 0, 0);
18442 return 0;
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 wine_cv_have_fallocate=yes
18447 else
18448 wine_cv_have_fallocate=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18454 $as_echo "$wine_cv_have_fallocate" >&6; }
18455 if test "$wine_cv_have_fallocate" = "yes"
18456 then
18458 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18464 $as_echo_n "checking for inline... " >&6; }
18465 if ${ac_cv_c_inline+:} false; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468 ac_cv_c_inline=no
18469 for ac_kw in inline __inline__ __inline; do
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18472 #ifndef __cplusplus
18473 typedef int foo_t;
18474 static $ac_kw foo_t static_foo () {return 0; }
18475 $ac_kw foo_t foo () {return 0; }
18476 #endif
18478 _ACEOF
18479 if ac_fn_c_try_compile "$LINENO"; then :
18480 ac_cv_c_inline=$ac_kw
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 test "$ac_cv_c_inline" != no && break
18484 done
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18488 $as_echo "$ac_cv_c_inline" >&6; }
18490 case $ac_cv_c_inline in
18491 inline | yes) ;;
18493 case $ac_cv_c_inline in
18494 no) ac_val=;;
18495 *) ac_val=$ac_cv_c_inline;;
18496 esac
18497 cat >>confdefs.h <<_ACEOF
18498 #ifndef __cplusplus
18499 #define inline $ac_val
18500 #endif
18501 _ACEOF
18503 esac
18505 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18506 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_FSBLKCNT_T 1
18510 _ACEOF
18514 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18515 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define HAVE_FSFILCNT_T 1
18519 _ACEOF
18524 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18525 #include <signal.h>
18527 if test "x$ac_cv_type_sigset_t" = xyes; then :
18529 cat >>confdefs.h <<_ACEOF
18530 #define HAVE_SIGSET_T 1
18531 _ACEOF
18536 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18538 if test "x$ac_cv_type_request_sense" = xyes; then :
18540 cat >>confdefs.h <<_ACEOF
18541 #define HAVE_REQUEST_SENSE 1
18542 _ACEOF
18548 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18549 #ifdef HAVE_SYS_SOCKET_H
18550 #include <sys/socket.h>
18551 #endif
18552 #ifdef HAVE_SYS_SOCKETVAR_H
18553 #include <sys/socketvar.h>
18554 #endif
18555 #ifdef HAVE_NET_ROUTE_H
18556 #include <net/route.h>
18557 #endif
18558 #ifdef HAVE_NETINET_IN_H
18559 #include <netinet/in.h>
18560 #endif
18561 #ifdef HAVE_NETINET_IN_SYSTM_H
18562 #include <netinet/in_systm.h>
18563 #endif
18564 #ifdef HAVE_NETINET_IP_H
18565 #include <netinet/ip.h>
18566 #endif
18567 #ifdef HAVE_NETINET_IN_PCB_H
18568 #include <netinet/in_pcb.h>
18569 #endif
18571 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18573 cat >>confdefs.h <<_ACEOF
18574 #define HAVE_STRUCT_XINPGEN 1
18575 _ACEOF
18581 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18582 #include <linux/input.h>
18583 #endif
18585 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18587 cat >>confdefs.h <<_ACEOF
18588 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18589 _ACEOF
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18596 $as_echo_n "checking for if_nameindex... " >&6; }
18597 if ${wine_cv_have_if_nameindex+:} false; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18602 #ifdef HAVE_SYS_TYPES_H
18603 #include <sys/types.h>
18604 #endif
18605 #ifdef HAVE_SYS_SOCKET_H
18606 #include <sys/socket.h>
18607 #endif
18608 #ifdef HAVE_NET_IF_H
18609 # include <net/if.h>
18610 #endif
18612 main ()
18614 struct if_nameindex *p = if_nameindex(); return p->if_index;
18616 return 0;
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"; then :
18620 wine_cv_have_if_nameindex=yes
18621 else
18622 wine_cv_have_if_nameindex=no
18624 rm -f core conftest.err conftest.$ac_objext \
18625 conftest$ac_exeext conftest.$ac_ext
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18628 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18629 if test "$wine_cv_have_if_nameindex" = "yes"
18630 then
18632 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18637 $as_echo_n "checking for sigaddset... " >&6; }
18638 if ${wine_cv_have_sigaddset+:} false; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 #include <signal.h>
18645 main ()
18647 sigset_t set; sigaddset(&set,SIGTERM);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_c_try_link "$LINENO"; then :
18653 wine_cv_have_sigaddset=yes
18654 else
18655 wine_cv_have_sigaddset=no
18657 rm -f core conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18661 $as_echo "$wine_cv_have_sigaddset" >&6; }
18662 if test "$wine_cv_have_sigaddset" = "yes"
18663 then
18665 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18671 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18672 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <netdb.h>
18679 main ()
18682 char *name=0;
18683 struct hostent he;
18684 struct hostent *result;
18685 char *buf=0;
18686 int bufsize=0;
18687 int errnr;
18688 char *addr=0;
18689 int addrlen=0;
18690 int addrtype=0;
18691 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18692 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18695 return 0;
18697 _ACEOF
18698 if ac_fn_c_try_link "$LINENO"; then :
18699 wine_cv_linux_gethostbyname_r_6=yes
18700 else
18701 wine_cv_linux_gethostbyname_r_6=no
18704 rm -f core conftest.err conftest.$ac_objext \
18705 conftest$ac_exeext conftest.$ac_ext
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18709 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18710 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18711 then
18713 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18717 if test "$ac_cv_header_linux_joystick_h" = "yes"
18718 then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18720 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18721 if ${wine_cv_linux_joystick_22_api+:} false; then :
18722 $as_echo_n "(cached) " >&6
18723 else
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18727 #include <sys/ioctl.h>
18728 #include <sys/types.h>
18729 #include <linux/joystick.h>
18731 struct js_event blub;
18732 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18733 #error "no 2.2 header"
18734 #endif
18737 main ()
18739 /*empty*/
18741 return 0;
18743 _ACEOF
18744 if ac_fn_c_try_compile "$LINENO"; then :
18745 wine_cv_linux_joystick_22_api=yes
18746 else
18747 wine_cv_linux_joystick_22_api=no
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18753 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18754 if test "$wine_cv_linux_joystick_22_api" = "yes"
18755 then
18757 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18763 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18764 #ifdef HAVE_SYS_PARAM_H
18765 # include <sys/param.h>
18766 #endif
18767 #ifdef HAVE_SYS_MOUNT_H
18768 # include <sys/mount.h>
18769 #endif
18770 #ifdef HAVE_SYS_VFS_H
18771 # include <sys/vfs.h>
18772 #endif
18773 #ifdef HAVE_SYS_STATFS_H
18774 # include <sys/statfs.h>
18775 #endif
18777 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_STRUCT_STATFS_F_BFREE 1
18781 _ACEOF
18785 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18786 #ifdef HAVE_SYS_PARAM_H
18787 # include <sys/param.h>
18788 #endif
18789 #ifdef HAVE_SYS_MOUNT_H
18790 # include <sys/mount.h>
18791 #endif
18792 #ifdef HAVE_SYS_VFS_H
18793 # include <sys/vfs.h>
18794 #endif
18795 #ifdef HAVE_SYS_STATFS_H
18796 # include <sys/statfs.h>
18797 #endif
18799 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18803 _ACEOF
18807 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18808 #ifdef HAVE_SYS_PARAM_H
18809 # include <sys/param.h>
18810 #endif
18811 #ifdef HAVE_SYS_MOUNT_H
18812 # include <sys/mount.h>
18813 #endif
18814 #ifdef HAVE_SYS_VFS_H
18815 # include <sys/vfs.h>
18816 #endif
18817 #ifdef HAVE_SYS_STATFS_H
18818 # include <sys/statfs.h>
18819 #endif
18821 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18825 _ACEOF
18829 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18830 #ifdef HAVE_SYS_PARAM_H
18831 # include <sys/param.h>
18832 #endif
18833 #ifdef HAVE_SYS_MOUNT_H
18834 # include <sys/mount.h>
18835 #endif
18836 #ifdef HAVE_SYS_VFS_H
18837 # include <sys/vfs.h>
18838 #endif
18839 #ifdef HAVE_SYS_STATFS_H
18840 # include <sys/statfs.h>
18841 #endif
18843 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_STATFS_F_FFREE 1
18847 _ACEOF
18851 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18852 #ifdef HAVE_SYS_PARAM_H
18853 # include <sys/param.h>
18854 #endif
18855 #ifdef HAVE_SYS_MOUNT_H
18856 # include <sys/mount.h>
18857 #endif
18858 #ifdef HAVE_SYS_VFS_H
18859 # include <sys/vfs.h>
18860 #endif
18861 #ifdef HAVE_SYS_STATFS_H
18862 # include <sys/statfs.h>
18863 #endif
18865 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18867 cat >>confdefs.h <<_ACEOF
18868 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18869 _ACEOF
18873 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18874 #ifdef HAVE_SYS_PARAM_H
18875 # include <sys/param.h>
18876 #endif
18877 #ifdef HAVE_SYS_MOUNT_H
18878 # include <sys/mount.h>
18879 #endif
18880 #ifdef HAVE_SYS_VFS_H
18881 # include <sys/vfs.h>
18882 #endif
18883 #ifdef HAVE_SYS_STATFS_H
18884 # include <sys/statfs.h>
18885 #endif
18887 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18891 _ACEOF
18897 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18898 #include <sys/statvfs.h>
18899 #endif
18901 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18905 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18912 #include <dirent.h>
18913 #endif
18915 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18919 _ACEOF
18925 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18926 #ifdef HAVE_SYS_SOCKET_H
18927 # include <sys/socket.h>
18928 #endif
18929 #ifdef HAVE_SYS_UN_H
18930 # include <sys/un.h>
18931 #endif
18933 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18937 _ACEOF
18941 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18942 #ifdef HAVE_SYS_SOCKET_H
18943 # include <sys/socket.h>
18944 #endif
18945 #ifdef HAVE_SYS_UN_H
18946 # include <sys/un.h>
18947 #endif
18949 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18953 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18958 #ifdef HAVE_SYS_SOCKET_H
18959 # include <sys/socket.h>
18960 #endif
18961 #ifdef HAVE_SYS_UN_H
18962 # include <sys/un.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18969 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18976 #ifdef HAVE_SCSI_SG_H
18977 #include <scsi/sg.h>
18978 #endif
18980 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_SCSIREQ_T_CMD 1
18984 _ACEOF
18988 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>
18989 #ifdef HAVE_SCSI_SG_H
18990 #include <scsi/sg.h>
18991 #endif
18993 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18997 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19005 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_SIGINFO_T_SI_FD 1
19009 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19016 #ifdef HAVE_SYS_MTIO_H
19017 #include <sys/mtio.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19029 #ifdef HAVE_SYS_MTIO_H
19030 #include <sys/mtio.h>
19031 #endif
19033 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19037 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19042 #ifdef HAVE_SYS_MTIO_H
19043 #include <sys/mtio.h>
19044 #endif
19046 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19050 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19057 #include <getopt.h>
19058 #endif
19060 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_OPTION_NAME 1
19064 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19071 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19080 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_STAT_ST_MTIM 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19089 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19093 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19098 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_STAT_ST_CTIM 1
19102 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19107 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_ATIM 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19174 _ACEOF
19180 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
19181 #include <sys/types.h>
19182 #endif
19183 #ifdef HAVE_NETINET_IN_H
19184 #include <netinet/in.h>
19185 #endif
19187 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19191 _ACEOF
19197 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19198 #include <sys/types.h>
19199 #endif
19200 #ifdef HAVE_NETINET_IN_H
19201 #include <netinet/in.h>
19202 #endif
19203 #ifdef HAVE_RESOLV_H
19204 #include <resolv.h>
19205 #endif
19207 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT___RES_STATE 1
19211 _ACEOF
19217 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
19218 #include <resolv.h>
19219 #endif
19221 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19225 _ACEOF
19231 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19232 #include <sys/types.h>
19233 #endif
19234 #ifdef HAVE_NETINET_IN_H
19235 # include <netinet/in.h>
19236 #endif
19237 #ifdef HAVE_ARPA_NAMESER_H
19238 # include <arpa/nameser.h>
19239 #endif
19241 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_NS_MSG__MSG_PTR 1
19245 _ACEOF
19251 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19252 #include <sys/types.h>
19253 #endif
19254 #ifdef HAVE_NETINET_IN_H
19255 #include <netinet/in.h>
19256 #endif
19257 #ifdef HAVE_NETINET_IP_H
19258 #include <netinet/ip.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IP_ICMP_H
19261 #include <netinet/ip_icmp.h>
19262 #endif
19263 #ifdef HAVE_NETINET_ICMP_VAR_H
19264 #include <netinet/icmp_var.h>
19265 #endif
19267 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19271 _ACEOF
19277 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19278 #include <sys/types.h>
19279 #endif
19280 #ifdef HAVE_ALIAS_H
19281 #include <alias.h>
19282 #endif
19283 #ifdef HAVE_SYS_SOCKET_H
19284 #include <sys/socket.h>
19285 #endif
19286 #ifdef HAVE_SYS_SOCKETVAR_H
19287 #include <sys/socketvar.h>
19288 #endif
19289 #ifdef HAVE_SYS_TIMEOUT_H
19290 #include <sys/timeout.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IN_H
19293 #include <netinet/in.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IN_SYSTM_H
19296 #include <netinet/in_systm.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IP_H
19299 #include <netinet/ip.h>
19300 #endif
19301 #ifdef HAVE_NETINET_IP_VAR_H
19302 #include <netinet/ip_var.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IP_ICMP_H
19305 #include <netinet/ip_icmp.h>
19306 #endif
19307 #ifdef HAVE_NETINET_ICMP_VAR_H
19308 #include <netinet/icmp_var.h>
19309 #endif
19311 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19313 cat >>confdefs.h <<_ACEOF
19314 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19315 _ACEOF
19321 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19322 #include <sys/types.h>
19323 #endif
19324 #ifdef HAVE_SYS_SOCKETVAR_H
19325 #include <sys/socketvar.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IN_H
19328 #include <netinet/in.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_VAR_H
19331 #include <netinet/ip_var.h>
19332 #endif
19334 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19336 cat >>confdefs.h <<_ACEOF
19337 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19338 _ACEOF
19344 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
19345 #include <netinet/ip_var.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19352 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19359 #include <sys/types.h>
19360 #endif
19361 #ifdef HAVE_SYS_SOCKETVAR_H
19362 #include <sys/socketvar.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IN_H
19365 #include <netinet/in.h>
19366 #endif
19367 #ifdef HAVE_NETINET_TCP_H
19368 #include <netinet/tcp.h>
19369 #endif
19370 #ifdef HAVE_NETINET_TCP_VAR_H
19371 #include <netinet/tcp_var.h>
19372 #endif
19374 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19376 cat >>confdefs.h <<_ACEOF
19377 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19378 _ACEOF
19384 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
19385 #include <netinet/tcp_var.h>
19386 #endif
19388 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19390 cat >>confdefs.h <<_ACEOF
19391 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19392 _ACEOF
19398 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19399 #include <sys/types.h>
19400 #endif
19401 #ifdef HAVE_NETINET_IN_H
19402 #include <netinet/in.h>
19403 #endif
19404 #ifdef HAVE_NETINET_IP_VAR_H
19405 #include <netinet/ip_var.h>
19406 #endif
19407 #ifdef HAVE_NETINET_UDP_H
19408 #include <netinet/udp.h>
19409 #endif
19410 #ifdef HAVE_NETINET_UDP_VAR_H
19411 #include <netinet/udp_var.h>
19412 #endif
19414 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19416 cat >>confdefs.h <<_ACEOF
19417 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19418 _ACEOF
19424 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19425 #include <sys/types.h>
19426 #endif
19427 #ifdef HAVE_NET_IF_H
19428 # include <net/if.h>
19429 #endif
19431 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19433 cat >>confdefs.h <<_ACEOF
19434 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19435 _ACEOF
19441 ac_save_LIBS="$LIBS"
19442 LIBS="$LIBS -lm"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19444 $as_echo_n "checking for isfinite... " >&6; }
19445 if ${ac_cv_have_isfinite+:} false; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19450 #define _GNU_SOURCE
19451 #include <math.h>
19453 main ()
19455 float f = 0.0; return isfinite(f)
19457 return 0;
19459 _ACEOF
19460 if ac_fn_c_try_link "$LINENO"; then :
19461 ac_cv_have_isfinite="yes"
19462 else
19463 ac_cv_have_isfinite="no"
19465 rm -f core conftest.err conftest.$ac_objext \
19466 conftest$ac_exeext conftest.$ac_ext
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19469 $as_echo "$ac_cv_have_isfinite" >&6; }
19470 if test "$ac_cv_have_isfinite" = "yes"
19471 then
19473 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19478 $as_echo_n "checking for isinf... " >&6; }
19479 if ${ac_cv_have_isinf+:} false; then :
19480 $as_echo_n "(cached) " >&6
19481 else
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <math.h>
19486 main ()
19488 float f = 0.0; return isinf(f)
19490 return 0;
19492 _ACEOF
19493 if ac_fn_c_try_link "$LINENO"; then :
19494 ac_cv_have_isinf="yes"
19495 else
19496 ac_cv_have_isinf="no"
19498 rm -f core conftest.err conftest.$ac_objext \
19499 conftest$ac_exeext conftest.$ac_ext
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19502 $as_echo "$ac_cv_have_isinf" >&6; }
19503 if test "$ac_cv_have_isinf" = "yes"
19504 then
19506 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19511 $as_echo_n "checking for isnan... " >&6; }
19512 if ${ac_cv_have_isnan+:} false; then :
19513 $as_echo_n "(cached) " >&6
19514 else
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <math.h>
19519 main ()
19521 float f = 0.0; return isnan(f)
19523 return 0;
19525 _ACEOF
19526 if ac_fn_c_try_link "$LINENO"; then :
19527 ac_cv_have_isnan="yes"
19528 else
19529 ac_cv_have_isnan="no"
19531 rm -f core conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext conftest.$ac_ext
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19535 $as_echo "$ac_cv_have_isnan" >&6; }
19536 if test "$ac_cv_have_isnan" = "yes"
19537 then
19539 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19543 for ac_func in \
19544 acosh \
19545 acoshf \
19546 asinh \
19547 asinhf \
19548 atanh \
19549 atanhf \
19550 cbrt \
19551 cbrtf \
19552 erf \
19553 erfc \
19554 erfcf \
19555 erff \
19556 exp2 \
19557 exp2f \
19558 expm1 \
19559 expm1f \
19560 fma \
19561 fmaf \
19562 ilogb \
19563 ilogbf \
19564 j0 \
19565 j1 \
19566 jn \
19567 lgamma \
19568 lgammaf \
19569 llrint \
19570 llrintf \
19571 llround \
19572 llroundf \
19573 log1p \
19574 log1pf \
19575 log2 \
19576 log2f \
19577 lrint \
19578 lrintf \
19579 lround \
19580 lroundf \
19581 nearbyint \
19582 nearbyintf \
19583 nexttoward \
19584 nexttowardf \
19585 remainder \
19586 remainderf \
19587 remquo \
19588 remquof \
19589 rint \
19590 rintf \
19591 round \
19592 roundf \
19593 tgamma \
19594 tgammaf \
19595 trunc \
19596 truncf \
19597 y0 \
19598 y1 \
19601 do :
19602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19605 cat >>confdefs.h <<_ACEOF
19606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19607 _ACEOF
19610 done
19612 LIBS="$ac_save_LIBS"
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19615 $as_echo_n "checking for __builtin_popcount... " >&6; }
19616 if ${ac_cv_have___builtin_popcount+:} false; then :
19617 $as_echo_n "(cached) " >&6
19618 else
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19623 main ()
19625 return __builtin_popcount(1)
19627 return 0;
19629 _ACEOF
19630 if ac_fn_c_try_link "$LINENO"; then :
19631 ac_cv_have___builtin_popcount="yes"
19632 else
19633 ac_cv_have___builtin_popcount="no"
19635 rm -f core conftest.err conftest.$ac_objext \
19636 conftest$ac_exeext conftest.$ac_ext
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19639 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19640 if test "$ac_cv_have___builtin_popcount" = "yes"
19641 then
19643 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19648 $as_echo_n "checking for __clear_cache... " >&6; }
19649 if ${ac_cv_have___clear_cache+:} false; then :
19650 $as_echo_n "(cached) " >&6
19651 else
19652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19656 main ()
19658 __clear_cache((void*)0, (void*)0); return 0;
19660 return 0;
19662 _ACEOF
19663 if ac_fn_c_try_link "$LINENO"; then :
19664 ac_cv_have___clear_cache="yes"
19665 else
19666 ac_cv_have___clear_cache="no"
19668 rm -f core conftest.err conftest.$ac_objext \
19669 conftest$ac_exeext conftest.$ac_ext
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19672 $as_echo "$ac_cv_have___clear_cache" >&6; }
19673 if test "$ac_cv_have___clear_cache" = "yes"
19674 then
19676 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19681 case $host_cpu in
19682 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19683 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19684 if ${ac_cv_cpp_def___i386__+:} false; then :
19685 $as_echo_n "(cached) " >&6
19686 else
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19689 #ifndef __i386__
19691 #endif
19692 _ACEOF
19693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19694 $EGREP "yes" >/dev/null 2>&1; then :
19695 ac_cv_cpp_def___i386__=yes
19696 else
19697 ac_cv_cpp_def___i386__=no
19699 rm -f conftest*
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19703 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19704 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19705 CFLAGS="$CFLAGS -D__i386__"
19706 LINTFLAGS="$LINTFLAGS -D__i386__"
19707 fi ;;
19708 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19709 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19710 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19711 $as_echo_n "(cached) " >&6
19712 else
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #ifndef __x86_64__
19717 #endif
19718 _ACEOF
19719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19720 $EGREP "yes" >/dev/null 2>&1; then :
19721 ac_cv_cpp_def___x86_64__=yes
19722 else
19723 ac_cv_cpp_def___x86_64__=no
19725 rm -f conftest*
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19729 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19730 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19731 CFLAGS="$CFLAGS -D__x86_64__"
19732 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19733 fi ;;
19734 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19735 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19736 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19737 $as_echo_n "(cached) " >&6
19738 else
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19741 #ifndef __sparc64__
19743 #endif
19744 _ACEOF
19745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19746 $EGREP "yes" >/dev/null 2>&1; then :
19747 ac_cv_cpp_def___sparc64__=yes
19748 else
19749 ac_cv_cpp_def___sparc64__=no
19751 rm -f conftest*
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19755 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19756 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19757 CFLAGS="$CFLAGS -D__sparc64__"
19758 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19759 fi ;;
19760 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19761 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19762 if ${ac_cv_cpp_def___sparc__+:} false; then :
19763 $as_echo_n "(cached) " >&6
19764 else
19765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19767 #ifndef __sparc__
19769 #endif
19770 _ACEOF
19771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19772 $EGREP "yes" >/dev/null 2>&1; then :
19773 ac_cv_cpp_def___sparc__=yes
19774 else
19775 ac_cv_cpp_def___sparc__=no
19777 rm -f conftest*
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19781 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19782 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19783 CFLAGS="$CFLAGS -D__sparc__"
19784 LINTFLAGS="$LINTFLAGS -D__sparc__"
19785 fi ;;
19786 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19787 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19788 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19789 $as_echo_n "(cached) " >&6
19790 else
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19793 #ifndef __powerpc64__
19795 #endif
19796 _ACEOF
19797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19798 $EGREP "yes" >/dev/null 2>&1; then :
19799 ac_cv_cpp_def___powerpc64__=yes
19800 else
19801 ac_cv_cpp_def___powerpc64__=no
19803 rm -f conftest*
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19807 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19808 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19809 CFLAGS="$CFLAGS -D__powerpc64__"
19810 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19811 fi ;;
19812 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19813 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19814 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #ifndef __powerpc__
19821 #endif
19822 _ACEOF
19823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19824 $EGREP "yes" >/dev/null 2>&1; then :
19825 ac_cv_cpp_def___powerpc__=yes
19826 else
19827 ac_cv_cpp_def___powerpc__=no
19829 rm -f conftest*
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19833 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19834 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19835 CFLAGS="$CFLAGS -D__powerpc__"
19836 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19837 fi ;;
19838 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19839 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19840 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19841 $as_echo_n "(cached) " >&6
19842 else
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #ifndef __aarch64__
19847 #endif
19848 _ACEOF
19849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19850 $EGREP "yes" >/dev/null 2>&1; then :
19851 ac_cv_cpp_def___aarch64__=yes
19852 else
19853 ac_cv_cpp_def___aarch64__=no
19855 rm -f conftest*
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19859 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19860 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19861 CFLAGS="$CFLAGS -D__aarch64__"
19862 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19863 fi ;;
19864 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19865 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19866 if ${ac_cv_cpp_def___arm__+:} false; then :
19867 $as_echo_n "(cached) " >&6
19868 else
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19871 #ifndef __arm__
19873 #endif
19874 _ACEOF
19875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19876 $EGREP "yes" >/dev/null 2>&1; then :
19877 ac_cv_cpp_def___arm__=yes
19878 else
19879 ac_cv_cpp_def___arm__=no
19881 rm -f conftest*
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19885 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19886 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19887 CFLAGS="$CFLAGS -D__arm__"
19888 LINTFLAGS="$LINTFLAGS -D__arm__"
19889 fi ;;
19890 esac
19892 case $host_vendor in
19893 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19894 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19895 if ${ac_cv_cpp_def___sun__+:} false; then :
19896 $as_echo_n "(cached) " >&6
19897 else
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #ifndef __sun__
19902 #endif
19903 _ACEOF
19904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19905 $EGREP "yes" >/dev/null 2>&1; then :
19906 ac_cv_cpp_def___sun__=yes
19907 else
19908 ac_cv_cpp_def___sun__=no
19910 rm -f conftest*
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19914 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19915 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19916 CFLAGS="$CFLAGS -D__sun__"
19917 LINTFLAGS="$LINTFLAGS -D__sun__"
19918 fi ;;
19919 esac
19925 ac_config_commands="$ac_config_commands include/stamp-h"
19927 $as_echo_n "creating Makefile rules..." >&6
19929 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19930 OPENGL_LIBS = $OPENGL_LIBS
19931 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19932 IOKIT_LIBS = $IOKIT_LIBS
19933 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19934 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19935 CORESERVICES_LIBS = $CORESERVICES_LIBS
19936 APPKIT_LIBS = $APPKIT_LIBS
19937 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19938 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19939 SECURITY_LIBS = $SECURITY_LIBS
19940 COREAUDIO_LIBS = $COREAUDIO_LIBS
19941 OPENAL_LIBS = $OPENAL_LIBS
19942 OPENCL_LIBS = $OPENCL_LIBS
19943 QUICKTIME_LIBS = $QUICKTIME_LIBS
19944 CARBON_LIBS = $CARBON_LIBS
19945 METAL_LIBS = $METAL_LIBS
19946 PTHREAD_LIBS = $PTHREAD_LIBS
19947 X_CFLAGS = $X_CFLAGS
19948 X_PRE_LIBS = $X_PRE_LIBS
19949 X_LIBS = $X_LIBS
19950 X_EXTRA_LIBS = $X_EXTRA_LIBS
19951 PCAP_LIBS = $PCAP_LIBS
19952 XML2_CFLAGS = $XML2_CFLAGS
19953 XML2_LIBS = $XML2_LIBS
19954 XSLT_CFLAGS = $XSLT_CFLAGS
19955 XSLT_LIBS = $XSLT_LIBS
19956 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19957 INOTIFY_LIBS = $INOTIFY_LIBS
19958 DBUS_CFLAGS = $DBUS_CFLAGS
19959 DBUS_LIBS = $DBUS_LIBS
19960 HAL_CFLAGS = $HAL_CFLAGS
19961 HAL_LIBS = $HAL_LIBS
19962 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19963 GNUTLS_LIBS = $GNUTLS_LIBS
19964 SANE_CFLAGS = $SANE_CFLAGS
19965 SANE_LIBS = $SANE_LIBS
19966 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19967 GPHOTO2_LIBS = $GPHOTO2_LIBS
19968 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19969 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19970 RESOLV_LIBS = $RESOLV_LIBS
19971 LCMS2_CFLAGS = $LCMS2_CFLAGS
19972 LCMS2_LIBS = $LCMS2_LIBS
19973 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19974 FREETYPE_LIBS = $FREETYPE_LIBS
19975 Z_CFLAGS = $Z_CFLAGS
19976 Z_LIBS = $Z_LIBS
19977 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19978 PULSE_CFLAGS = $PULSE_CFLAGS
19979 PULSE_LIBS = $PULSE_LIBS
19980 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19981 GSTREAMER_LIBS = $GSTREAMER_LIBS
19982 ALSA_LIBS = $ALSA_LIBS
19983 OSS4_CFLAGS = $OSS4_CFLAGS
19984 OSS4_LIBS = $OSS4_LIBS
19985 UDEV_CFLAGS = $UDEV_CFLAGS
19986 UDEV_LIBS = $UDEV_LIBS
19987 UNWIND_CFLAGS = $UNWIND_CFLAGS
19988 UNWIND_LIBS = $UNWIND_LIBS
19989 SDL2_CFLAGS = $SDL2_CFLAGS
19990 SDL2_LIBS = $SDL2_LIBS
19991 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19992 FAUDIO_LIBS = $FAUDIO_LIBS
19993 CAPI20_CFLAGS = $CAPI20_CFLAGS
19994 CAPI20_LIBS = $CAPI20_LIBS
19995 CUPS_CFLAGS = $CUPS_CFLAGS
19996 CUPS_LIBS = $CUPS_LIBS
19997 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19998 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19999 KRB5_CFLAGS = $KRB5_CFLAGS
20000 KRB5_LIBS = $KRB5_LIBS
20001 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20002 GSSAPI_LIBS = $GSSAPI_LIBS
20003 JPEG_CFLAGS = $JPEG_CFLAGS
20004 JPEG_LIBS = $JPEG_LIBS
20005 PNG_CFLAGS = $PNG_CFLAGS
20006 PNG_LIBS = $PNG_LIBS
20007 TIFF_CFLAGS = $TIFF_CFLAGS
20008 TIFF_LIBS = $TIFF_LIBS
20009 MPG123_CFLAGS = $MPG123_CFLAGS
20010 MPG123_LIBS = $MPG123_LIBS
20011 KSTAT_LIBS = $KSTAT_LIBS
20012 PROCSTAT_LIBS = $PROCSTAT_LIBS
20013 NETAPI_CFLAGS = $NETAPI_CFLAGS
20014 NETAPI_LIBS = $NETAPI_LIBS
20015 VKD3D_CFLAGS = $VKD3D_CFLAGS
20016 VKD3D_LIBS = $VKD3D_LIBS
20017 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20018 POLL_LIBS = $POLL_LIBS
20019 RT_LIBS = $RT_LIBS
20020 LDAP_CFLAGS = $LDAP_CFLAGS
20021 LDAP_LIBS = $LDAP_LIBS
20026 wine_fn_append_rule "
20027 # Rules automatically generated by configure
20029 .INIT: Makefile
20030 .MAKEFILEDEPS:
20031 all: Makefile
20032 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20033 @./config.status Make.tmp Makefile
20034 depend: \$(MAKEDEP) dummy
20035 \$(MAKEDEP)"
20037 ac_config_links="$ac_config_links wine:tools/winewrapper"
20038 wine_fn_config_symlink wine
20039 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20040 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20041 wine_fn_config_symlink wine64
20044 wine_fn_config_makefile dlls/acledit enable_acledit
20045 wine_fn_config_makefile dlls/aclui enable_aclui
20046 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20047 wine_fn_config_makefile dlls/activeds enable_activeds
20048 wine_fn_config_makefile dlls/activeds/tests enable_tests
20049 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20050 wine_fn_config_makefile dlls/adsiid enable_adsiid
20051 wine_fn_config_makefile dlls/adsldp enable_adsldp
20052 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20053 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20054 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20055 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20056 wine_fn_config_makefile dlls/advpack enable_advpack
20057 wine_fn_config_makefile dlls/advpack/tests enable_tests
20058 wine_fn_config_makefile dlls/amsi enable_amsi
20059 wine_fn_config_makefile dlls/amstream enable_amstream
20060 wine_fn_config_makefile dlls/amstream/tests enable_tests
20061 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20064 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20081 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20086 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20087 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20096 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20116 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20128 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20140 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20141 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20168 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20171 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20192 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20233 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20244 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20248 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20252 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20253 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20271 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20277 wine_fn_config_makefile dlls/apphelp enable_apphelp
20278 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20279 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20280 wine_fn_config_makefile dlls/atl enable_atl
20281 wine_fn_config_makefile dlls/atl/tests enable_tests
20282 wine_fn_config_makefile dlls/atl100 enable_atl100
20283 wine_fn_config_makefile dlls/atl100/tests enable_tests
20284 wine_fn_config_makefile dlls/atl110 enable_atl110
20285 wine_fn_config_makefile dlls/atl80 enable_atl80
20286 wine_fn_config_makefile dlls/atl80/tests enable_tests
20287 wine_fn_config_makefile dlls/atl90 enable_atl90
20288 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20289 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20290 wine_fn_config_makefile dlls/atmlib enable_atmlib
20291 wine_fn_config_makefile dlls/authz enable_authz
20292 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20293 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20294 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20295 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20296 wine_fn_config_makefile dlls/avrt enable_avrt
20297 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20298 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20299 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20300 wine_fn_config_makefile dlls/browseui enable_browseui
20301 wine_fn_config_makefile dlls/browseui/tests enable_tests
20302 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20303 wine_fn_config_makefile dlls/cabinet enable_cabinet
20304 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20305 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20306 wine_fn_config_makefile dlls/cards enable_cards
20307 wine_fn_config_makefile dlls/cdosys enable_cdosys
20308 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20309 wine_fn_config_makefile dlls/clusapi enable_clusapi
20310 wine_fn_config_makefile dlls/combase enable_combase
20311 wine_fn_config_makefile dlls/combase/tests enable_tests
20312 wine_fn_config_makefile dlls/comcat enable_comcat
20313 wine_fn_config_makefile dlls/comcat/tests enable_tests
20314 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20315 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20316 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20317 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20318 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20319 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20320 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20321 wine_fn_config_makefile dlls/compstui enable_compstui
20322 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20323 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20324 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20325 wine_fn_config_makefile dlls/connect enable_connect
20326 wine_fn_config_makefile dlls/credui enable_credui
20327 wine_fn_config_makefile dlls/credui/tests enable_tests
20328 wine_fn_config_makefile dlls/crtdll enable_crtdll
20329 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20330 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20331 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20332 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20333 wine_fn_config_makefile dlls/cryptext enable_cryptext
20334 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20335 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20336 wine_fn_config_makefile dlls/cryptui enable_cryptui
20337 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20338 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20339 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20340 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20341 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20342 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20343 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20344 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20345 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20346 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20347 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20348 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20349 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20350 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20351 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20352 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20353 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20354 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20355 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20356 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20357 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20358 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20359 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20360 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20361 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20362 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20363 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20364 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20365 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20366 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20367 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20368 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20369 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20370 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20371 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20372 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20373 wine_fn_config_makefile dlls/d3dim enable_d3dim
20374 wine_fn_config_makefile dlls/d3drm enable_d3drm
20375 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20376 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20377 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20378 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20379 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20380 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20381 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20382 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20383 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20384 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20385 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20386 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20387 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20388 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20389 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20390 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20391 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20392 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20393 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20394 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20395 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20396 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20397 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20398 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20399 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20400 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20401 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20402 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20403 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20404 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20405 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20406 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20407 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20408 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20409 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20410 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20411 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20412 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20413 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20414 wine_fn_config_makefile dlls/davclnt enable_davclnt
20415 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20416 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20417 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20418 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20419 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20420 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20421 wine_fn_config_makefile dlls/ddraw enable_ddraw
20422 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20423 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20424 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20425 wine_fn_config_makefile dlls/devenum enable_devenum
20426 wine_fn_config_makefile dlls/devenum/tests enable_tests
20427 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20428 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20429 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20430 wine_fn_config_makefile dlls/difxapi enable_difxapi
20431 wine_fn_config_makefile dlls/dinput enable_dinput
20432 wine_fn_config_makefile dlls/dinput/tests enable_tests
20433 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20434 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20435 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20436 wine_fn_config_makefile dlls/dispex enable_dispex
20437 wine_fn_config_makefile dlls/dispex/tests enable_tests
20438 wine_fn_config_makefile dlls/display.drv16 enable_win16
20439 wine_fn_config_makefile dlls/dmband enable_dmband
20440 wine_fn_config_makefile dlls/dmband/tests enable_tests
20441 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20442 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20443 wine_fn_config_makefile dlls/dmime enable_dmime
20444 wine_fn_config_makefile dlls/dmime/tests enable_tests
20445 wine_fn_config_makefile dlls/dmloader enable_dmloader
20446 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20447 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20448 wine_fn_config_makefile dlls/dmscript enable_dmscript
20449 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20450 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20451 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20452 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20453 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20454 wine_fn_config_makefile dlls/dmusic enable_dmusic
20455 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20456 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20457 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20458 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20459 wine_fn_config_makefile dlls/dplay enable_dplay
20460 wine_fn_config_makefile dlls/dplayx enable_dplayx
20461 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20462 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20463 wine_fn_config_makefile dlls/dpnet enable_dpnet
20464 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20465 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20466 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20467 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20468 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20469 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20470 wine_fn_config_makefile dlls/drmclien enable_drmclien
20471 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20472 wine_fn_config_makefile dlls/dsound enable_dsound
20473 wine_fn_config_makefile dlls/dsound/tests enable_tests
20474 wine_fn_config_makefile dlls/dsquery enable_dsquery
20475 wine_fn_config_makefile dlls/dssenh enable_dssenh
20476 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20477 wine_fn_config_makefile dlls/dswave enable_dswave
20478 wine_fn_config_makefile dlls/dswave/tests enable_tests
20479 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20480 wine_fn_config_makefile dlls/dwrite enable_dwrite
20481 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20482 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20483 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20484 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20485 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20486 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20487 wine_fn_config_makefile dlls/dxgi enable_dxgi
20488 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20489 wine_fn_config_makefile dlls/dxguid enable_dxguid
20490 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20491 wine_fn_config_makefile dlls/esent enable_esent
20492 wine_fn_config_makefile dlls/evr enable_evr
20493 wine_fn_config_makefile dlls/evr/tests enable_tests
20494 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20495 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20496 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20497 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20498 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20499 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20500 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20501 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20502 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20503 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20504 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20505 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20506 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20507 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20508 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20509 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20510 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20511 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20512 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20513 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20514 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20515 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20516 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20517 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20518 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20519 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20520 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20521 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20522 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20523 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20527 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20528 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20530 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20531 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20533 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20536 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
20537 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20539 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20547 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20548 wine_fn_config_makefile dlls/faultrep enable_faultrep
20549 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20550 wine_fn_config_makefile dlls/feclient enable_feclient
20551 wine_fn_config_makefile dlls/fltlib enable_fltlib
20552 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20553 wine_fn_config_makefile dlls/fntcache enable_fntcache
20554 wine_fn_config_makefile dlls/fontsub enable_fontsub
20555 wine_fn_config_makefile dlls/fusion enable_fusion
20556 wine_fn_config_makefile dlls/fusion/tests enable_tests
20557 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20558 wine_fn_config_makefile dlls/gameux enable_gameux
20559 wine_fn_config_makefile dlls/gameux/tests enable_tests
20560 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20561 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20562 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20563 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20564 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20565 wine_fn_config_makefile dlls/glu32 enable_glu32
20566 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20567 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20568 wine_fn_config_makefile dlls/hal enable_hal
20569 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20570 wine_fn_config_makefile dlls/hid enable_hid
20571 wine_fn_config_makefile dlls/hid/tests enable_tests
20572 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20573 wine_fn_config_makefile dlls/hlink enable_hlink
20574 wine_fn_config_makefile dlls/hlink/tests enable_tests
20575 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20576 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20577 wine_fn_config_makefile dlls/http.sys enable_http_sys
20578 wine_fn_config_makefile dlls/httpapi enable_httpapi
20579 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20580 wine_fn_config_makefile dlls/iccvid enable_iccvid
20581 wine_fn_config_makefile dlls/icmp enable_icmp
20582 wine_fn_config_makefile dlls/ieframe enable_ieframe
20583 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20584 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20585 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20586 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20587 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20588 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20589 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20590 wine_fn_config_makefile dlls/imm32 enable_imm32
20591 wine_fn_config_makefile dlls/imm32/tests enable_tests
20592 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20593 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20594 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20595 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20596 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20597 wine_fn_config_makefile dlls/infosoft enable_infosoft
20598 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20599 wine_fn_config_makefile dlls/initpki enable_initpki
20600 wine_fn_config_makefile dlls/inkobj enable_inkobj
20601 wine_fn_config_makefile dlls/inseng enable_inseng
20602 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20603 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20604 wine_fn_config_makefile dlls/iprop enable_iprop
20605 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20606 wine_fn_config_makefile dlls/itircl enable_itircl
20607 wine_fn_config_makefile dlls/itss enable_itss
20608 wine_fn_config_makefile dlls/itss/tests enable_tests
20609 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20610 wine_fn_config_makefile dlls/jscript enable_jscript
20611 wine_fn_config_makefile dlls/jscript/tests enable_tests
20612 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20613 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20614 wine_fn_config_makefile dlls/kerberos enable_kerberos
20615 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20616 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20617 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20618 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20619 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20620 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20621 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20622 wine_fn_config_makefile dlls/ksuser enable_ksuser
20623 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20624 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20625 wine_fn_config_makefile dlls/loadperf enable_loadperf
20626 wine_fn_config_makefile dlls/localspl enable_localspl
20627 wine_fn_config_makefile dlls/localspl/tests enable_tests
20628 wine_fn_config_makefile dlls/localui enable_localui
20629 wine_fn_config_makefile dlls/localui/tests enable_tests
20630 wine_fn_config_makefile dlls/lz32 enable_lz32
20631 wine_fn_config_makefile dlls/lz32/tests enable_tests
20632 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20633 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20634 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20635 wine_fn_config_makefile dlls/mapistub enable_mapistub
20636 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20637 wine_fn_config_makefile dlls/mcicda enable_mcicda
20638 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20639 wine_fn_config_makefile dlls/mciseq enable_mciseq
20640 wine_fn_config_makefile dlls/mciwave enable_mciwave
20641 wine_fn_config_makefile dlls/mf enable_mf
20642 wine_fn_config_makefile dlls/mf/tests enable_tests
20643 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20644 wine_fn_config_makefile dlls/mferror enable_mferror
20645 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20646 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20647 wine_fn_config_makefile dlls/mfplat enable_mfplat
20648 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20649 wine_fn_config_makefile dlls/mfplay enable_mfplay
20650 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20651 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20652 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20653 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20654 wine_fn_config_makefile dlls/midimap enable_midimap
20655 wine_fn_config_makefile dlls/mlang enable_mlang
20656 wine_fn_config_makefile dlls/mlang/tests enable_tests
20657 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20658 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20659 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20660 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20661 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20662 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20663 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20664 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20665 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20666 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20667 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20668 wine_fn_config_makefile dlls/mpr enable_mpr
20669 wine_fn_config_makefile dlls/mpr/tests enable_tests
20670 wine_fn_config_makefile dlls/mprapi enable_mprapi
20671 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20672 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20673 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20674 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20675 wine_fn_config_makefile dlls/msado15 enable_msado15
20676 wine_fn_config_makefile dlls/msado15/tests enable_tests
20677 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20678 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20679 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20680 wine_fn_config_makefile dlls/mscms enable_mscms
20681 wine_fn_config_makefile dlls/mscms/tests enable_tests
20682 wine_fn_config_makefile dlls/mscoree enable_mscoree
20683 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20684 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20685 wine_fn_config_makefile dlls/msctf enable_msctf
20686 wine_fn_config_makefile dlls/msctf/tests enable_tests
20687 wine_fn_config_makefile dlls/msctfp enable_msctfp
20688 wine_fn_config_makefile dlls/msdaps enable_msdaps
20689 wine_fn_config_makefile dlls/msdelta enable_msdelta
20690 wine_fn_config_makefile dlls/msdmo enable_msdmo
20691 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20692 wine_fn_config_makefile dlls/msdrm enable_msdrm
20693 wine_fn_config_makefile dlls/msftedit enable_msftedit
20694 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20695 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20696 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20697 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20698 wine_fn_config_makefile dlls/mshtml enable_mshtml
20699 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20700 wine_fn_config_makefile dlls/msi enable_msi
20701 wine_fn_config_makefile dlls/msi/tests enable_tests
20702 wine_fn_config_makefile dlls/msident enable_msident
20703 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20704 wine_fn_config_makefile dlls/msimsg enable_msimsg
20705 wine_fn_config_makefile dlls/msimtf enable_msimtf
20706 wine_fn_config_makefile dlls/msisip enable_msisip
20707 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20708 wine_fn_config_makefile dlls/msls31 enable_msls31
20709 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20710 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20711 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20712 wine_fn_config_makefile dlls/msports enable_msports
20713 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20714 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20715 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20716 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20717 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20718 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20719 wine_fn_config_makefile dlls/mstask enable_mstask
20720 wine_fn_config_makefile dlls/mstask/tests enable_tests
20721 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20722 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20723 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20724 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20725 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20726 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20727 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20728 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20729 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20730 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20731 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20732 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20733 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20734 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20735 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20736 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20737 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20738 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20739 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20740 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20741 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20742 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20743 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20744 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20745 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20746 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20747 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20748 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20749 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20750 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20751 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20752 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20753 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20754 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20755 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20756 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20757 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20758 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20759 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20760 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20761 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20762 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20763 wine_fn_config_makefile dlls/mswsock enable_mswsock
20764 wine_fn_config_makefile dlls/msxml enable_msxml
20765 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20766 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20767 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20768 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20769 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20770 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20771 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20772 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20773 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20774 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20775 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20776 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20777 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20778 wine_fn_config_makefile dlls/netprofm enable_netprofm
20779 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20780 wine_fn_config_makefile dlls/newdev enable_newdev
20781 wine_fn_config_makefile dlls/ninput enable_ninput
20782 wine_fn_config_makefile dlls/ninput/tests enable_tests
20783 wine_fn_config_makefile dlls/normaliz enable_normaliz
20784 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20785 wine_fn_config_makefile dlls/npptools enable_npptools
20786 wine_fn_config_makefile dlls/ntdll enable_ntdll
20787 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20788 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20789 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20790 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20791 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20792 wine_fn_config_makefile dlls/ntprint enable_ntprint
20793 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20794 wine_fn_config_makefile dlls/objsel enable_objsel
20795 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20796 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20797 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20798 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20799 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20800 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20801 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20802 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20803 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20804 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20805 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20806 wine_fn_config_makefile dlls/ole32 enable_ole32
20807 wine_fn_config_makefile dlls/ole32/tests enable_tests
20808 wine_fn_config_makefile dlls/oleacc enable_oleacc
20809 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20810 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20811 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20812 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20813 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20814 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20815 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20816 wine_fn_config_makefile dlls/oledlg enable_oledlg
20817 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20818 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20819 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20820 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20821 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20822 wine_fn_config_makefile dlls/opcservices enable_opcservices
20823 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20824 wine_fn_config_makefile dlls/openal32 enable_openal32
20825 wine_fn_config_makefile dlls/opencl enable_opencl
20826 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20827 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20828 wine_fn_config_makefile dlls/packager enable_packager
20829 wine_fn_config_makefile dlls/packager/tests enable_tests
20830 wine_fn_config_makefile dlls/pdh enable_pdh
20831 wine_fn_config_makefile dlls/pdh/tests enable_tests
20832 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20833 wine_fn_config_makefile dlls/pidgen enable_pidgen
20834 wine_fn_config_makefile dlls/powrprof enable_powrprof
20835 wine_fn_config_makefile dlls/printui enable_printui
20836 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20837 wine_fn_config_makefile dlls/propsys enable_propsys
20838 wine_fn_config_makefile dlls/propsys/tests enable_tests
20839 wine_fn_config_makefile dlls/psapi enable_psapi
20840 wine_fn_config_makefile dlls/psapi/tests enable_tests
20841 wine_fn_config_makefile dlls/pstorec enable_pstorec
20842 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20843 wine_fn_config_makefile dlls/qasf enable_qasf
20844 wine_fn_config_makefile dlls/qasf/tests enable_tests
20845 wine_fn_config_makefile dlls/qcap enable_qcap
20846 wine_fn_config_makefile dlls/qcap/tests enable_tests
20847 wine_fn_config_makefile dlls/qedit enable_qedit
20848 wine_fn_config_makefile dlls/qedit/tests enable_tests
20849 wine_fn_config_makefile dlls/qmgr enable_qmgr
20850 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20851 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20852 wine_fn_config_makefile dlls/quartz enable_quartz
20853 wine_fn_config_makefile dlls/quartz/tests enable_tests
20854 wine_fn_config_makefile dlls/query enable_query
20855 wine_fn_config_makefile dlls/qwave enable_qwave
20856 wine_fn_config_makefile dlls/qwave/tests enable_tests
20857 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20858 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20859 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20860 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20861 wine_fn_config_makefile dlls/regapi enable_regapi
20862 wine_fn_config_makefile dlls/resutils enable_resutils
20863 wine_fn_config_makefile dlls/riched20 enable_riched20
20864 wine_fn_config_makefile dlls/riched20/tests enable_tests
20865 wine_fn_config_makefile dlls/riched32 enable_riched32
20866 wine_fn_config_makefile dlls/riched32/tests enable_tests
20867 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20868 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20869 wine_fn_config_makefile dlls/rsabase enable_rsabase
20870 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20871 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20872 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20873 wine_fn_config_makefile dlls/rtutils enable_rtutils
20874 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20875 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20876 wine_fn_config_makefile dlls/samlib enable_samlib
20877 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20878 wine_fn_config_makefile dlls/sapi enable_sapi
20879 wine_fn_config_makefile dlls/sapi/tests enable_tests
20880 wine_fn_config_makefile dlls/sas enable_sas
20881 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20882 wine_fn_config_makefile dlls/sccbase enable_sccbase
20883 wine_fn_config_makefile dlls/schannel enable_schannel
20884 wine_fn_config_makefile dlls/schannel/tests enable_tests
20885 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20886 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20887 wine_fn_config_makefile dlls/scrobj enable_scrobj
20888 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20889 wine_fn_config_makefile dlls/scrrun enable_scrrun
20890 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20891 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20892 wine_fn_config_makefile dlls/secur32 enable_secur32
20893 wine_fn_config_makefile dlls/secur32/tests enable_tests
20894 wine_fn_config_makefile dlls/security enable_security
20895 wine_fn_config_makefile dlls/sensapi enable_sensapi
20896 wine_fn_config_makefile dlls/serialui enable_serialui
20897 wine_fn_config_makefile dlls/serialui/tests enable_tests
20898 wine_fn_config_makefile dlls/setupapi enable_setupapi
20899 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20900 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20901 wine_fn_config_makefile dlls/sfc enable_sfc
20902 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20903 wine_fn_config_makefile dlls/shcore enable_shcore
20904 wine_fn_config_makefile dlls/shcore/tests enable_tests
20905 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20906 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20907 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20908 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20909 wine_fn_config_makefile dlls/shell32 enable_shell32
20910 wine_fn_config_makefile dlls/shell32/tests enable_tests
20911 wine_fn_config_makefile dlls/shfolder enable_shfolder
20912 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20913 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20914 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20915 wine_fn_config_makefile dlls/slc enable_slc
20916 wine_fn_config_makefile dlls/slc/tests enable_tests
20917 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20918 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20919 wine_fn_config_makefile dlls/softpub enable_softpub
20920 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20921 wine_fn_config_makefile dlls/spoolss enable_spoolss
20922 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20923 wine_fn_config_makefile dlls/srclient enable_srclient
20924 wine_fn_config_makefile dlls/sspicli enable_sspicli
20925 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20926 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20927 wine_fn_config_makefile dlls/sti enable_sti
20928 wine_fn_config_makefile dlls/sti/tests enable_tests
20929 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20930 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20931 wine_fn_config_makefile dlls/strmbase enable_strmbase
20932 wine_fn_config_makefile dlls/strmdll enable_strmdll
20933 wine_fn_config_makefile dlls/strmiids enable_strmiids
20934 wine_fn_config_makefile dlls/svrapi enable_svrapi
20935 wine_fn_config_makefile dlls/sxs enable_sxs
20936 wine_fn_config_makefile dlls/sxs/tests enable_tests
20937 wine_fn_config_makefile dlls/system.drv16 enable_win16
20938 wine_fn_config_makefile dlls/t2embed enable_t2embed
20939 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20940 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20941 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20942 wine_fn_config_makefile dlls/taskschd enable_taskschd
20943 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20944 wine_fn_config_makefile dlls/tdh enable_tdh
20945 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20946 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20947 wine_fn_config_makefile dlls/traffic enable_traffic
20948 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20949 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20950 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20951 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20952 wine_fn_config_makefile dlls/tzres enable_tzres
20953 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20954 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20955 wine_fn_config_makefile dlls/uianimation enable_uianimation
20956 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20957 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20958 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20959 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20960 wine_fn_config_makefile dlls/unicows enable_unicows
20961 wine_fn_config_makefile dlls/updspapi enable_updspapi
20962 wine_fn_config_makefile dlls/url enable_url
20963 wine_fn_config_makefile dlls/urlmon enable_urlmon
20964 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20965 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20966 wine_fn_config_makefile dlls/user.exe16 enable_win16
20967 wine_fn_config_makefile dlls/user32 enable_user32
20968 wine_fn_config_makefile dlls/user32/tests enable_tests
20969 wine_fn_config_makefile dlls/userenv enable_userenv
20970 wine_fn_config_makefile dlls/userenv/tests enable_tests
20971 wine_fn_config_makefile dlls/usp10 enable_usp10
20972 wine_fn_config_makefile dlls/usp10/tests enable_tests
20973 wine_fn_config_makefile dlls/utildll enable_utildll
20974 wine_fn_config_makefile dlls/uuid enable_uuid
20975 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20976 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20977 wine_fn_config_makefile dlls/vbscript enable_vbscript
20978 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20979 wine_fn_config_makefile dlls/vcomp enable_vcomp
20980 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20981 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20982 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20983 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20984 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20985 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20986 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20987 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20988 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20989 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20990 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20991 wine_fn_config_makefile dlls/version enable_version
20992 wine_fn_config_makefile dlls/version/tests enable_tests
20993 wine_fn_config_makefile dlls/vga enable_vga
20994 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20995 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20996 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20997 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20998 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20999 wine_fn_config_makefile dlls/vssapi enable_vssapi
21000 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21001 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21002 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21003 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21004 wine_fn_config_makefile dlls/w32skrnl enable_win16
21005 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21006 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21007 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21008 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21009 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21010 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21011 wine_fn_config_makefile dlls/wdscore enable_wdscore
21012 wine_fn_config_makefile dlls/webservices enable_webservices
21013 wine_fn_config_makefile dlls/webservices/tests enable_tests
21014 wine_fn_config_makefile dlls/wer enable_wer
21015 wine_fn_config_makefile dlls/wer/tests enable_tests
21016 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21017 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21018 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21019 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21020 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21021 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21022 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21023 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21024 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21025 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21026 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21027 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21028 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21029 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21030 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21031 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21032 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21033 wine_fn_config_makefile dlls/wined3d enable_wined3d
21034 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21035 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21036 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21037 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21038 wine_fn_config_makefile dlls/winemapi enable_winemapi
21039 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21040 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21041 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21042 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21043 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21044 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21045 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21046 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21047 wine_fn_config_makefile dlls/wing32 enable_wing32
21048 wine_fn_config_makefile dlls/winhttp enable_winhttp
21049 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21050 wine_fn_config_makefile dlls/wininet enable_wininet
21051 wine_fn_config_makefile dlls/wininet/tests enable_tests
21052 wine_fn_config_makefile dlls/winmm enable_winmm
21053 wine_fn_config_makefile dlls/winmm/tests enable_tests
21054 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21055 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21056 wine_fn_config_makefile dlls/winscard enable_winscard
21057 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21058 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21059 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21060 wine_fn_config_makefile dlls/winsta enable_winsta
21061 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21062 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21063 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21064 wine_fn_config_makefile dlls/wintrust enable_wintrust
21065 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21066 wine_fn_config_makefile dlls/winusb enable_winusb
21067 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21068 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21069 wine_fn_config_makefile dlls/wlanui enable_wlanui
21070 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21071 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21072 wine_fn_config_makefile dlls/wmasf enable_wmasf
21073 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21074 wine_fn_config_makefile dlls/wmi enable_wmi
21075 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21076 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21077 wine_fn_config_makefile dlls/wmp enable_wmp
21078 wine_fn_config_makefile dlls/wmp/tests enable_tests
21079 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21080 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21081 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21082 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21083 wine_fn_config_makefile dlls/wow32 enable_win16
21084 wine_fn_config_makefile dlls/wpc enable_wpc
21085 wine_fn_config_makefile dlls/wpc/tests enable_tests
21086 wine_fn_config_makefile dlls/wpcap enable_wpcap
21087 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21088 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21089 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21090 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21091 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21092 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21093 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21094 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21095 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21096 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21097 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21098 wine_fn_config_makefile dlls/wuapi enable_wuapi
21099 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21100 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21101 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21102 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21103 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21104 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21105 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21106 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21107 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21108 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21109 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21110 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21111 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21112 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21113 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21114 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21115 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21116 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21117 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21118 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21119 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21120 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21121 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21122 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21123 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21124 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21125 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21126 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21127 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21128 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21129 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21130 wine_fn_config_makefile dlls/xmllite enable_xmllite
21131 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21132 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21133 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21134 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21135 wine_fn_config_makefile fonts enable_fonts
21136 wine_fn_config_makefile include enable_include
21137 wine_fn_config_makefile libs/port enable_port
21138 wine_fn_config_makefile libs/wine enable_wine
21139 wine_fn_config_makefile libs/wpp enable_wpp
21140 wine_fn_config_makefile loader enable_loader
21141 wine_fn_config_makefile nls enable_nls
21142 wine_fn_config_makefile po enable_po
21143 wine_fn_config_makefile programs/arp enable_arp
21144 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21145 wine_fn_config_makefile programs/attrib enable_attrib
21146 wine_fn_config_makefile programs/cabarc enable_cabarc
21147 wine_fn_config_makefile programs/cacls enable_cacls
21148 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21149 wine_fn_config_makefile programs/clock enable_clock
21150 wine_fn_config_makefile programs/cmd enable_cmd
21151 wine_fn_config_makefile programs/cmd/tests enable_tests
21152 wine_fn_config_makefile programs/conhost enable_conhost
21153 wine_fn_config_makefile programs/control enable_control
21154 wine_fn_config_makefile programs/cscript enable_cscript
21155 wine_fn_config_makefile programs/dism enable_dism
21156 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21157 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21158 wine_fn_config_makefile programs/eject enable_eject
21159 wine_fn_config_makefile programs/expand enable_expand
21160 wine_fn_config_makefile programs/explorer enable_explorer
21161 wine_fn_config_makefile programs/extrac32 enable_extrac32
21162 wine_fn_config_makefile programs/fc enable_fc
21163 wine_fn_config_makefile programs/find enable_find
21164 wine_fn_config_makefile programs/find/tests enable_tests
21165 wine_fn_config_makefile programs/findstr enable_findstr
21166 wine_fn_config_makefile programs/fsutil enable_fsutil
21167 wine_fn_config_makefile programs/hh enable_hh
21168 wine_fn_config_makefile programs/hostname enable_hostname
21169 wine_fn_config_makefile programs/icacls enable_icacls
21170 wine_fn_config_makefile programs/icinfo enable_icinfo
21171 wine_fn_config_makefile programs/iexplore enable_iexplore
21172 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21173 wine_fn_config_makefile programs/lodctr enable_lodctr
21174 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21175 wine_fn_config_makefile programs/mshta enable_mshta
21176 wine_fn_config_makefile programs/msidb enable_msidb
21177 wine_fn_config_makefile programs/msiexec enable_msiexec
21178 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21179 wine_fn_config_makefile programs/net enable_net
21180 wine_fn_config_makefile programs/netsh enable_netsh
21181 wine_fn_config_makefile programs/netstat enable_netstat
21182 wine_fn_config_makefile programs/ngen enable_ngen
21183 wine_fn_config_makefile programs/notepad enable_notepad
21184 wine_fn_config_makefile programs/oleview enable_oleview
21185 wine_fn_config_makefile programs/ping enable_ping
21186 wine_fn_config_makefile programs/plugplay enable_plugplay
21187 wine_fn_config_makefile programs/powershell enable_powershell
21188 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21189 wine_fn_config_makefile programs/progman enable_progman
21190 wine_fn_config_makefile programs/reg enable_reg
21191 wine_fn_config_makefile programs/reg/tests enable_tests
21192 wine_fn_config_makefile programs/regasm enable_regasm
21193 wine_fn_config_makefile programs/regedit enable_regedit
21194 wine_fn_config_makefile programs/regedit/tests enable_tests
21195 wine_fn_config_makefile programs/regini enable_regini
21196 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21197 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21198 wine_fn_config_makefile programs/rpcss enable_rpcss
21199 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21200 wine_fn_config_makefile programs/rundll32 enable_rundll32
21201 wine_fn_config_makefile programs/sc enable_sc
21202 wine_fn_config_makefile programs/schtasks enable_schtasks
21203 wine_fn_config_makefile programs/schtasks/tests enable_tests
21204 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21205 wine_fn_config_makefile programs/secedit enable_secedit
21206 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21207 wine_fn_config_makefile programs/services enable_services
21208 wine_fn_config_makefile programs/services/tests enable_tests
21209 wine_fn_config_makefile programs/shutdown enable_shutdown
21210 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21211 wine_fn_config_makefile programs/start enable_start
21212 wine_fn_config_makefile programs/subst enable_subst
21213 wine_fn_config_makefile programs/svchost enable_svchost
21214 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21215 wine_fn_config_makefile programs/taskkill enable_taskkill
21216 wine_fn_config_makefile programs/tasklist enable_tasklist
21217 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21218 wine_fn_config_makefile programs/termsv enable_termsv
21219 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21220 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21221 wine_fn_config_makefile programs/view enable_view
21222 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21223 wine_fn_config_makefile programs/whoami enable_whoami
21224 wine_fn_config_makefile programs/wineboot enable_wineboot
21225 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21226 wine_fn_config_makefile programs/winecfg enable_winecfg
21227 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21228 wine_fn_config_makefile programs/winedbg enable_winedbg
21229 wine_fn_config_makefile programs/winedevice enable_winedevice
21230 wine_fn_config_makefile programs/winefile enable_winefile
21231 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21232 wine_fn_config_makefile programs/winemine enable_winemine
21233 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21234 wine_fn_config_makefile programs/winepath enable_winepath
21235 wine_fn_config_makefile programs/winetest enable_winetest
21236 wine_fn_config_makefile programs/winevdm enable_win16
21237 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21238 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21239 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21240 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21241 wine_fn_config_makefile programs/winver enable_winver
21242 wine_fn_config_makefile programs/wmic enable_wmic
21243 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21244 wine_fn_config_makefile programs/wordpad enable_wordpad
21245 wine_fn_config_makefile programs/write enable_write
21246 wine_fn_config_makefile programs/wscript enable_wscript
21247 wine_fn_config_makefile programs/wscript/tests enable_tests
21248 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21249 wine_fn_config_makefile programs/wusa enable_wusa
21250 wine_fn_config_makefile programs/xcopy enable_xcopy
21251 wine_fn_config_makefile programs/xcopy/tests enable_tests
21252 wine_fn_config_makefile server enable_server
21253 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21254 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21264 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21265 wine_fn_append_file CONFIGURE_TARGETS "tags"
21266 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21267 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21268 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21269 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21270 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21271 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21273 if test "x$enable_tools" != xno
21274 then
21275 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21276 ac_config_commands="$ac_config_commands tools/makedep"
21280 ac_config_commands="$ac_config_commands Makefile"
21283 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21287 if test "x$enable_maintainer_mode" = xyes
21288 then
21289 wine_fn_append_rule "configure: configure.ac aclocal.m4
21290 autoconf --warnings=all
21291 include/config.h.in: include/stamp-h.in
21292 include/stamp-h.in: configure.ac aclocal.m4
21293 autoheader --warnings=all
21294 @echo timestamp > \$@"
21297 if test "x$enable_tools" != xno
21298 then
21299 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21300 @./config.status tools/makedep
21301 Makefile: tools/makedep$ac_exeext
21302 fonts: tools/sfnt2fon
21303 include: tools tools/widl"
21304 else
21305 wine_fn_append_rule "\$(MAKEDEP):
21306 @echo \"You need to run make in $TOOLSDIR first\" && false"
21309 if test -n "$with_wine64"
21310 then
21311 case "$with_wine64" in
21312 /*) reldir="" ;;
21313 *) reldir="../" ;;
21314 esac
21315 rm -f fonts server 2>/dev/null
21316 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21317 loader/wine64 loader/wine64-preloader:
21318 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21319 $with_wine64/loader/wine:
21320 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21321 $with_wine64/loader/wine-preloader:
21322 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21323 clean::
21324 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21325 else
21326 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21327 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21328 fonts \
21329 loader/wine.inf \
21330 loader/winebus.inf \
21331 loader/winehid.inf \
21332 nls \
21333 programs/msidb/msidb \
21334 programs/msiexec/msiexec \
21335 programs/notepad/notepad \
21336 programs/regedit/regedit \
21337 programs/regsvr32/regsvr32 \
21338 programs/wineboot/wineboot \
21339 programs/winecfg/winecfg \
21340 programs/wineconsole/wineconsole \
21341 programs/winedbg/winedbg \
21342 programs/winefile/winefile \
21343 programs/winemine/winemine \
21344 programs/winepath/winepath \
21345 server/wineserver"
21347 case $host_os in
21348 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21349 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21350 esac
21353 $as_echo " done" >&6
21354 cat >confcache <<\_ACEOF
21355 # This file is a shell script that caches the results of configure
21356 # tests run on this system so they can be shared between configure
21357 # scripts and configure runs, see configure's option --config-cache.
21358 # It is not useful on other systems. If it contains results you don't
21359 # want to keep, you may remove or edit it.
21361 # config.status only pays attention to the cache file if you give it
21362 # the --recheck option to rerun configure.
21364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21366 # following values.
21368 _ACEOF
21370 # The following way of writing the cache mishandles newlines in values,
21371 # but we know of no workaround that is simple, portable, and efficient.
21372 # So, we kill variables containing newlines.
21373 # Ultrix sh set writes to stderr and can't be redirected directly,
21374 # and sets the high bit in the cache file unless we assign to the vars.
21376 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21377 eval ac_val=\$$ac_var
21378 case $ac_val in #(
21379 *${as_nl}*)
21380 case $ac_var in #(
21381 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21382 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21383 esac
21384 case $ac_var in #(
21385 _ | IFS | as_nl) ;; #(
21386 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21387 *) { eval $ac_var=; unset $ac_var;} ;;
21388 esac ;;
21389 esac
21390 done
21392 (set) 2>&1 |
21393 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21394 *${as_nl}ac_space=\ *)
21395 # `set' does not quote correctly, so add quotes: double-quote
21396 # substitution turns \\\\ into \\, and sed turns \\ into \.
21397 sed -n \
21398 "s/'/'\\\\''/g;
21399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21400 ;; #(
21402 # `set' quotes correctly as required by POSIX, so do not add quotes.
21403 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21405 esac |
21406 sort
21408 sed '
21409 /^ac_cv_env_/b end
21410 t clear
21411 :clear
21412 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21413 t end
21414 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21415 :end' >>confcache
21416 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21417 if test -w "$cache_file"; then
21418 if test "x$cache_file" != "x/dev/null"; then
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21420 $as_echo "$as_me: updating cache $cache_file" >&6;}
21421 if test ! -f "$cache_file" || test -h "$cache_file"; then
21422 cat confcache >"$cache_file"
21423 else
21424 case $cache_file in #(
21425 */* | ?:*)
21426 mv -f confcache "$cache_file"$$ &&
21427 mv -f "$cache_file"$$ "$cache_file" ;; #(
21429 mv -f confcache "$cache_file" ;;
21430 esac
21433 else
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21435 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21438 rm -f confcache
21440 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21441 # Let make expand exec_prefix.
21442 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21444 DEFS=-DHAVE_CONFIG_H
21446 ac_libobjs=
21447 ac_ltlibobjs=
21449 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21450 # 1. Remove the extension, and $U if already installed.
21451 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21452 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21454 # will be set to the directory where LIBOBJS objects are built.
21455 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21456 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21457 done
21458 LIBOBJS=$ac_libobjs
21460 LTLIBOBJS=$ac_ltlibobjs
21464 : "${CONFIG_STATUS=./config.status}"
21465 ac_write_fail=0
21466 ac_clean_files_save=$ac_clean_files
21467 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21469 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21470 as_write_fail=0
21471 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21472 #! $SHELL
21473 # Generated by $as_me.
21474 # Run this file to recreate the current configuration.
21475 # Compiler output produced by configure, useful for debugging
21476 # configure, is in config.log if it exists.
21478 debug=false
21479 ac_cs_recheck=false
21480 ac_cs_silent=false
21482 SHELL=\${CONFIG_SHELL-$SHELL}
21483 export SHELL
21484 _ASEOF
21485 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21486 ## -------------------- ##
21487 ## M4sh Initialization. ##
21488 ## -------------------- ##
21490 # Be more Bourne compatible
21491 DUALCASE=1; export DUALCASE # for MKS sh
21492 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21493 emulate sh
21494 NULLCMD=:
21495 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21496 # is contrary to our usage. Disable this feature.
21497 alias -g '${1+"$@"}'='"$@"'
21498 setopt NO_GLOB_SUBST
21499 else
21500 case `(set -o) 2>/dev/null` in #(
21501 *posix*) :
21502 set -o posix ;; #(
21503 *) :
21505 esac
21509 as_nl='
21511 export as_nl
21512 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21513 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21514 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21515 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21516 # Prefer a ksh shell builtin over an external printf program on Solaris,
21517 # but without wasting forks for bash or zsh.
21518 if test -z "$BASH_VERSION$ZSH_VERSION" \
21519 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21520 as_echo='print -r --'
21521 as_echo_n='print -rn --'
21522 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21523 as_echo='printf %s\n'
21524 as_echo_n='printf %s'
21525 else
21526 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21527 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21528 as_echo_n='/usr/ucb/echo -n'
21529 else
21530 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21531 as_echo_n_body='eval
21532 arg=$1;
21533 case $arg in #(
21534 *"$as_nl"*)
21535 expr "X$arg" : "X\\(.*\\)$as_nl";
21536 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21537 esac;
21538 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21540 export as_echo_n_body
21541 as_echo_n='sh -c $as_echo_n_body as_echo'
21543 export as_echo_body
21544 as_echo='sh -c $as_echo_body as_echo'
21547 # The user is always right.
21548 if test "${PATH_SEPARATOR+set}" != set; then
21549 PATH_SEPARATOR=:
21550 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21551 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21552 PATH_SEPARATOR=';'
21557 # IFS
21558 # We need space, tab and new line, in precisely that order. Quoting is
21559 # there to prevent editors from complaining about space-tab.
21560 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21561 # splitting by setting IFS to empty value.)
21562 IFS=" "" $as_nl"
21564 # Find who we are. Look in the path if we contain no directory separator.
21565 as_myself=
21566 case $0 in #((
21567 *[\\/]* ) as_myself=$0 ;;
21568 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21569 for as_dir in $PATH
21571 IFS=$as_save_IFS
21572 test -z "$as_dir" && as_dir=.
21573 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21574 done
21575 IFS=$as_save_IFS
21578 esac
21579 # We did not find ourselves, most probably we were run as `sh COMMAND'
21580 # in which case we are not to be found in the path.
21581 if test "x$as_myself" = x; then
21582 as_myself=$0
21584 if test ! -f "$as_myself"; then
21585 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21586 exit 1
21589 # Unset variables that we do not need and which cause bugs (e.g. in
21590 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21591 # suppresses any "Segmentation fault" message there. '((' could
21592 # trigger a bug in pdksh 5.2.14.
21593 for as_var in BASH_ENV ENV MAIL MAILPATH
21594 do eval test x\${$as_var+set} = xset \
21595 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21596 done
21597 PS1='$ '
21598 PS2='> '
21599 PS4='+ '
21601 # NLS nuisances.
21602 LC_ALL=C
21603 export LC_ALL
21604 LANGUAGE=C
21605 export LANGUAGE
21607 # CDPATH.
21608 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21611 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21612 # ----------------------------------------
21613 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21614 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21615 # script with STATUS, using 1 if that was 0.
21616 as_fn_error ()
21618 as_status=$1; test $as_status -eq 0 && as_status=1
21619 if test "$4"; then
21620 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21621 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21623 $as_echo "$as_me: error: $2" >&2
21624 as_fn_exit $as_status
21625 } # as_fn_error
21628 # as_fn_set_status STATUS
21629 # -----------------------
21630 # Set $? to STATUS, without forking.
21631 as_fn_set_status ()
21633 return $1
21634 } # as_fn_set_status
21636 # as_fn_exit STATUS
21637 # -----------------
21638 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21639 as_fn_exit ()
21641 set +e
21642 as_fn_set_status $1
21643 exit $1
21644 } # as_fn_exit
21646 # as_fn_unset VAR
21647 # ---------------
21648 # Portably unset VAR.
21649 as_fn_unset ()
21651 { eval $1=; unset $1;}
21653 as_unset=as_fn_unset
21654 # as_fn_append VAR VALUE
21655 # ----------------------
21656 # Append the text in VALUE to the end of the definition contained in VAR. Take
21657 # advantage of any shell optimizations that allow amortized linear growth over
21658 # repeated appends, instead of the typical quadratic growth present in naive
21659 # implementations.
21660 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21661 eval 'as_fn_append ()
21663 eval $1+=\$2
21665 else
21666 as_fn_append ()
21668 eval $1=\$$1\$2
21670 fi # as_fn_append
21672 # as_fn_arith ARG...
21673 # ------------------
21674 # Perform arithmetic evaluation on the ARGs, and store the result in the
21675 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21676 # must be portable across $(()) and expr.
21677 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21678 eval 'as_fn_arith ()
21680 as_val=$(( $* ))
21682 else
21683 as_fn_arith ()
21685 as_val=`expr "$@" || test $? -eq 1`
21687 fi # as_fn_arith
21690 if expr a : '\(a\)' >/dev/null 2>&1 &&
21691 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21692 as_expr=expr
21693 else
21694 as_expr=false
21697 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21698 as_basename=basename
21699 else
21700 as_basename=false
21703 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21704 as_dirname=dirname
21705 else
21706 as_dirname=false
21709 as_me=`$as_basename -- "$0" ||
21710 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21711 X"$0" : 'X\(//\)$' \| \
21712 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21713 $as_echo X/"$0" |
21714 sed '/^.*\/\([^/][^/]*\)\/*$/{
21715 s//\1/
21718 /^X\/\(\/\/\)$/{
21719 s//\1/
21722 /^X\/\(\/\).*/{
21723 s//\1/
21726 s/.*/./; q'`
21728 # Avoid depending upon Character Ranges.
21729 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21730 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21731 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21732 as_cr_digits='0123456789'
21733 as_cr_alnum=$as_cr_Letters$as_cr_digits
21735 ECHO_C= ECHO_N= ECHO_T=
21736 case `echo -n x` in #(((((
21737 -n*)
21738 case `echo 'xy\c'` in
21739 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21740 xy) ECHO_C='\c';;
21741 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21742 ECHO_T=' ';;
21743 esac;;
21745 ECHO_N='-n';;
21746 esac
21748 rm -f conf$$ conf$$.exe conf$$.file
21749 if test -d conf$$.dir; then
21750 rm -f conf$$.dir/conf$$.file
21751 else
21752 rm -f conf$$.dir
21753 mkdir conf$$.dir 2>/dev/null
21755 if (echo >conf$$.file) 2>/dev/null; then
21756 if ln -s conf$$.file conf$$ 2>/dev/null; then
21757 as_ln_s='ln -s'
21758 # ... but there are two gotchas:
21759 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21760 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21761 # In both cases, we have to default to `cp -pR'.
21762 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21763 as_ln_s='cp -pR'
21764 elif ln conf$$.file conf$$ 2>/dev/null; then
21765 as_ln_s=ln
21766 else
21767 as_ln_s='cp -pR'
21769 else
21770 as_ln_s='cp -pR'
21772 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21773 rmdir conf$$.dir 2>/dev/null
21776 # as_fn_mkdir_p
21777 # -------------
21778 # Create "$as_dir" as a directory, including parents if necessary.
21779 as_fn_mkdir_p ()
21782 case $as_dir in #(
21783 -*) as_dir=./$as_dir;;
21784 esac
21785 test -d "$as_dir" || eval $as_mkdir_p || {
21786 as_dirs=
21787 while :; do
21788 case $as_dir in #(
21789 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21790 *) as_qdir=$as_dir;;
21791 esac
21792 as_dirs="'$as_qdir' $as_dirs"
21793 as_dir=`$as_dirname -- "$as_dir" ||
21794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21795 X"$as_dir" : 'X\(//\)[^/]' \| \
21796 X"$as_dir" : 'X\(//\)$' \| \
21797 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21798 $as_echo X"$as_dir" |
21799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21800 s//\1/
21803 /^X\(\/\/\)[^/].*/{
21804 s//\1/
21807 /^X\(\/\/\)$/{
21808 s//\1/
21811 /^X\(\/\).*/{
21812 s//\1/
21815 s/.*/./; q'`
21816 test -d "$as_dir" && break
21817 done
21818 test -z "$as_dirs" || eval "mkdir $as_dirs"
21819 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21822 } # as_fn_mkdir_p
21823 if mkdir -p . 2>/dev/null; then
21824 as_mkdir_p='mkdir -p "$as_dir"'
21825 else
21826 test -d ./-p && rmdir ./-p
21827 as_mkdir_p=false
21831 # as_fn_executable_p FILE
21832 # -----------------------
21833 # Test if FILE is an executable regular file.
21834 as_fn_executable_p ()
21836 test -f "$1" && test -x "$1"
21837 } # as_fn_executable_p
21838 as_test_x='test -x'
21839 as_executable_p=as_fn_executable_p
21841 # Sed expression to map a string onto a valid CPP name.
21842 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21844 # Sed expression to map a string onto a valid variable name.
21845 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21848 exec 6>&1
21849 ## ----------------------------------- ##
21850 ## Main body of $CONFIG_STATUS script. ##
21851 ## ----------------------------------- ##
21852 _ASEOF
21853 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21856 # Save the log message, to keep $0 and so on meaningful, and to
21857 # report actual input values of CONFIG_FILES etc. instead of their
21858 # values after options handling.
21859 ac_log="
21860 This file was extended by Wine $as_me 5.5, which was
21861 generated by GNU Autoconf 2.69. Invocation command line was
21863 CONFIG_FILES = $CONFIG_FILES
21864 CONFIG_HEADERS = $CONFIG_HEADERS
21865 CONFIG_LINKS = $CONFIG_LINKS
21866 CONFIG_COMMANDS = $CONFIG_COMMANDS
21867 $ $0 $@
21869 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21872 _ACEOF
21874 case $ac_config_files in *"
21875 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21876 esac
21878 case $ac_config_headers in *"
21879 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21880 esac
21883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21884 # Files that config.status was made for.
21885 config_files="$ac_config_files"
21886 config_headers="$ac_config_headers"
21887 config_links="$ac_config_links"
21888 config_commands="$ac_config_commands"
21890 _ACEOF
21892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21893 ac_cs_usage="\
21894 \`$as_me' instantiates files and other configuration actions
21895 from templates according to the current configuration. Unless the files
21896 and actions are specified as TAGs, all are instantiated by default.
21898 Usage: $0 [OPTION]... [TAG]...
21900 -h, --help print this help, then exit
21901 -V, --version print version number and configuration settings, then exit
21902 --config print configuration, then exit
21903 -q, --quiet, --silent
21904 do not print progress messages
21905 -d, --debug don't remove temporary files
21906 --recheck update $as_me by reconfiguring in the same conditions
21907 --file=FILE[:TEMPLATE]
21908 instantiate the configuration file FILE
21909 --header=FILE[:TEMPLATE]
21910 instantiate the configuration header FILE
21912 Configuration files:
21913 $config_files
21915 Configuration headers:
21916 $config_headers
21918 Configuration links:
21919 $config_links
21921 Configuration commands:
21922 $config_commands
21924 Report bugs to <wine-devel@winehq.org>.
21925 Wine home page: <https://www.winehq.org>."
21927 _ACEOF
21928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21929 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21930 ac_cs_version="\\
21931 Wine config.status 5.5
21932 configured by $0, generated by GNU Autoconf 2.69,
21933 with options \\"\$ac_cs_config\\"
21935 Copyright (C) 2012 Free Software Foundation, Inc.
21936 This config.status script is free software; the Free Software Foundation
21937 gives unlimited permission to copy, distribute and modify it."
21939 ac_pwd='$ac_pwd'
21940 srcdir='$srcdir'
21941 test -n "\$AWK" || AWK=awk
21942 _ACEOF
21944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21945 # The default lists apply if the user does not specify any file.
21946 ac_need_defaults=:
21947 while test $# != 0
21949 case $1 in
21950 --*=?*)
21951 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21952 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21953 ac_shift=:
21955 --*=)
21956 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21957 ac_optarg=
21958 ac_shift=:
21961 ac_option=$1
21962 ac_optarg=$2
21963 ac_shift=shift
21965 esac
21967 case $ac_option in
21968 # Handling of the options.
21969 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21970 ac_cs_recheck=: ;;
21971 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21972 $as_echo "$ac_cs_version"; exit ;;
21973 --config | --confi | --conf | --con | --co | --c )
21974 $as_echo "$ac_cs_config"; exit ;;
21975 --debug | --debu | --deb | --de | --d | -d )
21976 debug=: ;;
21977 --file | --fil | --fi | --f )
21978 $ac_shift
21979 case $ac_optarg in
21980 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21981 '') as_fn_error $? "missing file argument" ;;
21982 esac
21983 as_fn_append CONFIG_FILES " '$ac_optarg'"
21984 ac_need_defaults=false;;
21985 --header | --heade | --head | --hea )
21986 $ac_shift
21987 case $ac_optarg in
21988 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21989 esac
21990 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21991 ac_need_defaults=false;;
21992 --he | --h)
21993 # Conflict between --help and --header
21994 as_fn_error $? "ambiguous option: \`$1'
21995 Try \`$0 --help' for more information.";;
21996 --help | --hel | -h )
21997 $as_echo "$ac_cs_usage"; exit ;;
21998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21999 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22000 ac_cs_silent=: ;;
22002 # This is an error.
22003 -*) as_fn_error $? "unrecognized option: \`$1'
22004 Try \`$0 --help' for more information." ;;
22006 *) as_fn_append ac_config_targets " $1"
22007 ac_need_defaults=false ;;
22009 esac
22010 shift
22011 done
22013 ac_configure_extra_args=
22015 if $ac_cs_silent; then
22016 exec 6>/dev/null
22017 ac_configure_extra_args="$ac_configure_extra_args --silent"
22020 _ACEOF
22021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22022 if \$ac_cs_recheck; then
22023 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22024 shift
22025 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22026 CONFIG_SHELL='$SHELL'
22027 export CONFIG_SHELL
22028 exec "\$@"
22031 _ACEOF
22032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22033 exec 5>>config.log
22035 echo
22036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22037 ## Running $as_me. ##
22038 _ASBOX
22039 $as_echo "$ac_log"
22040 } >&5
22042 _ACEOF
22043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22045 # INIT-COMMANDS
22047 wine_fn_output_makedep ()
22049 as_dir=tools; as_fn_mkdir_p
22050 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22052 wine_fn_output_makefile ()
22054 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22055 `cat $wine_rules_file`
22056 _WINE_EOF
22057 as_fn_error $? "could not create Makefile" "$LINENO" 5
22060 _ACEOF
22062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22064 # Handling of arguments.
22065 for ac_config_target in $ac_config_targets
22067 case $ac_config_target in
22068 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22069 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22070 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22071 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22072 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22073 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22074 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22076 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22077 esac
22078 done
22081 # If the user did not use the arguments to specify the items to instantiate,
22082 # then the envvar interface is used. Set only those that are not.
22083 # We use the long form for the default assignment because of an extremely
22084 # bizarre bug on SunOS 4.1.3.
22085 if $ac_need_defaults; then
22086 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22087 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22088 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22089 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22092 # Have a temporary directory for convenience. Make it in the build tree
22093 # simply because there is no reason against having it here, and in addition,
22094 # creating and moving files from /tmp can sometimes cause problems.
22095 # Hook for its removal unless debugging.
22096 # Note that there is a small window in which the directory will not be cleaned:
22097 # after its creation but before its name has been assigned to `$tmp'.
22098 $debug ||
22100 tmp= ac_tmp=
22101 trap 'exit_status=$?
22102 : "${ac_tmp:=$tmp}"
22103 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22105 trap 'as_fn_exit 1' 1 2 13 15
22107 # Create a (secure) tmp directory for tmp files.
22110 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22111 test -d "$tmp"
22112 } ||
22114 tmp=./conf$$-$RANDOM
22115 (umask 077 && mkdir "$tmp")
22116 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22117 ac_tmp=$tmp
22119 # Set up the scripts for CONFIG_FILES section.
22120 # No need to generate them if there are no CONFIG_FILES.
22121 # This happens for instance with `./config.status config.h'.
22122 if test -n "$CONFIG_FILES"; then
22125 ac_cr=`echo X | tr X '\015'`
22126 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22127 # But we know of no other shell where ac_cr would be empty at this
22128 # point, so we can use a bashism as a fallback.
22129 if test "x$ac_cr" = x; then
22130 eval ac_cr=\$\'\\r\'
22132 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22133 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22134 ac_cs_awk_cr='\\r'
22135 else
22136 ac_cs_awk_cr=$ac_cr
22139 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22140 _ACEOF
22144 echo "cat >conf$$subs.awk <<_ACEOF" &&
22145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22146 echo "_ACEOF"
22147 } >conf$$subs.sh ||
22148 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22150 ac_delim='%!_!# '
22151 for ac_last_try in false false false false false :; do
22152 . ./conf$$subs.sh ||
22153 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22155 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22156 if test $ac_delim_n = $ac_delim_num; then
22157 break
22158 elif $ac_last_try; then
22159 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22160 else
22161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22163 done
22164 rm -f conf$$subs.sh
22166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22167 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22168 _ACEOF
22169 sed -n '
22171 s/^/S["/; s/!.*/"]=/
22174 s/^[^!]*!//
22175 :repl
22176 t repl
22177 s/'"$ac_delim"'$//
22178 t delim
22181 s/\(.\{148\}\)..*/\1/
22182 t more1
22183 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22186 b repl
22187 :more1
22188 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22191 s/.\{148\}//
22192 t nl
22193 :delim
22195 s/\(.\{148\}\)..*/\1/
22196 t more2
22197 s/["\\]/\\&/g; s/^/"/; s/$/"/
22200 :more2
22201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22204 s/.\{148\}//
22205 t delim
22206 ' <conf$$subs.awk | sed '
22207 /^[^""]/{
22209 s/\n//
22211 ' >>$CONFIG_STATUS || ac_write_fail=1
22212 rm -f conf$$subs.awk
22213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22214 _ACAWK
22215 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22216 for (key in S) S_is_set[key] = 1
22217 FS = "\a"
22221 line = $ 0
22222 nfields = split(line, field, "@")
22223 substed = 0
22224 len = length(field[1])
22225 for (i = 2; i < nfields; i++) {
22226 key = field[i]
22227 keylen = length(key)
22228 if (S_is_set[key]) {
22229 value = S[key]
22230 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22231 len += length(value) + length(field[++i])
22232 substed = 1
22233 } else
22234 len += 1 + keylen
22237 print line
22240 _ACAWK
22241 _ACEOF
22242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22243 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22244 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22245 else
22247 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22248 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22249 _ACEOF
22251 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22252 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22253 # trailing colons and then remove the whole line if VPATH becomes empty
22254 # (actually we leave an empty line to preserve line numbers).
22255 if test "x$srcdir" = x.; then
22256 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22258 s///
22259 s/^/:/
22260 s/[ ]*$/:/
22261 s/:\$(srcdir):/:/g
22262 s/:\${srcdir}:/:/g
22263 s/:@srcdir@:/:/g
22264 s/^:*//
22265 s/:*$//
22267 s/\(=[ ]*\).*/\1/
22269 s/\n//
22270 s/^[^=]*=[ ]*$//
22274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22275 fi # test -n "$CONFIG_FILES"
22277 # Set up the scripts for CONFIG_HEADERS section.
22278 # No need to generate them if there are no CONFIG_HEADERS.
22279 # This happens for instance with `./config.status Makefile'.
22280 if test -n "$CONFIG_HEADERS"; then
22281 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22282 BEGIN {
22283 _ACEOF
22285 # Transform confdefs.h into an awk script `defines.awk', embedded as
22286 # here-document in config.status, that substitutes the proper values into
22287 # config.h.in to produce config.h.
22289 # Create a delimiter string that does not exist in confdefs.h, to ease
22290 # handling of long lines.
22291 ac_delim='%!_!# '
22292 for ac_last_try in false false :; do
22293 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22294 if test -z "$ac_tt"; then
22295 break
22296 elif $ac_last_try; then
22297 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22298 else
22299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22301 done
22303 # For the awk script, D is an array of macro values keyed by name,
22304 # likewise P contains macro parameters if any. Preserve backslash
22305 # newline sequences.
22307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22308 sed -n '
22309 s/.\{148\}/&'"$ac_delim"'/g
22310 t rset
22311 :rset
22312 s/^[ ]*#[ ]*define[ ][ ]*/ /
22313 t def
22315 :def
22316 s/\\$//
22317 t bsnl
22318 s/["\\]/\\&/g
22319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22320 D["\1"]=" \3"/p
22321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22323 :bsnl
22324 s/["\\]/\\&/g
22325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22326 D["\1"]=" \3\\\\\\n"\\/p
22327 t cont
22328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22329 t cont
22331 :cont
22333 s/.\{148\}/&'"$ac_delim"'/g
22334 t clear
22335 :clear
22336 s/\\$//
22337 t bsnlc
22338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22340 :bsnlc
22341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22342 b cont
22343 ' <confdefs.h | sed '
22344 s/'"$ac_delim"'/"\\\
22345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22348 for (key in D) D_is_set[key] = 1
22349 FS = "\a"
22351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22352 line = \$ 0
22353 split(line, arg, " ")
22354 if (arg[1] == "#") {
22355 defundef = arg[2]
22356 mac1 = arg[3]
22357 } else {
22358 defundef = substr(arg[1], 2)
22359 mac1 = arg[2]
22361 split(mac1, mac2, "(") #)
22362 macro = mac2[1]
22363 prefix = substr(line, 1, index(line, defundef) - 1)
22364 if (D_is_set[macro]) {
22365 # Preserve the white space surrounding the "#".
22366 print prefix "define", macro P[macro] D[macro]
22367 next
22368 } else {
22369 # Replace #undef with comments. This is necessary, for example,
22370 # in the case of _POSIX_SOURCE, which is predefined and required
22371 # on some systems where configure will not decide to define it.
22372 if (defundef == "undef") {
22373 print "/*", prefix defundef, macro, "*/"
22374 next
22378 { print }
22379 _ACAWK
22380 _ACEOF
22381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22382 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22383 fi # test -n "$CONFIG_HEADERS"
22386 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22387 shift
22388 for ac_tag
22390 case $ac_tag in
22391 :[FHLC]) ac_mode=$ac_tag; continue;;
22392 esac
22393 case $ac_mode$ac_tag in
22394 :[FHL]*:*);;
22395 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22396 :[FH]-) ac_tag=-:-;;
22397 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22398 esac
22399 ac_save_IFS=$IFS
22400 IFS=:
22401 set x $ac_tag
22402 IFS=$ac_save_IFS
22403 shift
22404 ac_file=$1
22405 shift
22407 case $ac_mode in
22408 :L) ac_source=$1;;
22409 :[FH])
22410 ac_file_inputs=
22411 for ac_f
22413 case $ac_f in
22414 -) ac_f="$ac_tmp/stdin";;
22415 *) # Look for the file first in the build tree, then in the source tree
22416 # (if the path is not absolute). The absolute path cannot be DOS-style,
22417 # because $ac_f cannot contain `:'.
22418 test -f "$ac_f" ||
22419 case $ac_f in
22420 [\\/$]*) false;;
22421 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22422 esac ||
22423 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22424 esac
22425 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22426 as_fn_append ac_file_inputs " '$ac_f'"
22427 done
22429 # Let's still pretend it is `configure' which instantiates (i.e., don't
22430 # use $as_me), people would be surprised to read:
22431 # /* config.h. Generated by config.status. */
22432 configure_input='Generated from '`
22433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22434 `' by configure.'
22435 if test x"$ac_file" != x-; then
22436 configure_input="$ac_file. $configure_input"
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22438 $as_echo "$as_me: creating $ac_file" >&6;}
22440 # Neutralize special characters interpreted by sed in replacement strings.
22441 case $configure_input in #(
22442 *\&* | *\|* | *\\* )
22443 ac_sed_conf_input=`$as_echo "$configure_input" |
22444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22445 *) ac_sed_conf_input=$configure_input;;
22446 esac
22448 case $ac_tag in
22449 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22451 esac
22453 esac
22455 ac_dir=`$as_dirname -- "$ac_file" ||
22456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22457 X"$ac_file" : 'X\(//\)[^/]' \| \
22458 X"$ac_file" : 'X\(//\)$' \| \
22459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22460 $as_echo X"$ac_file" |
22461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22462 s//\1/
22465 /^X\(\/\/\)[^/].*/{
22466 s//\1/
22469 /^X\(\/\/\)$/{
22470 s//\1/
22473 /^X\(\/\).*/{
22474 s//\1/
22477 s/.*/./; q'`
22478 as_dir="$ac_dir"; as_fn_mkdir_p
22479 ac_builddir=.
22481 case "$ac_dir" in
22482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22485 # A ".." for each directory in $ac_dir_suffix.
22486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22487 case $ac_top_builddir_sub in
22488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22490 esac ;;
22491 esac
22492 ac_abs_top_builddir=$ac_pwd
22493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22494 # for backward compatibility:
22495 ac_top_builddir=$ac_top_build_prefix
22497 case $srcdir in
22498 .) # We are building in place.
22499 ac_srcdir=.
22500 ac_top_srcdir=$ac_top_builddir_sub
22501 ac_abs_top_srcdir=$ac_pwd ;;
22502 [\\/]* | ?:[\\/]* ) # Absolute name.
22503 ac_srcdir=$srcdir$ac_dir_suffix;
22504 ac_top_srcdir=$srcdir
22505 ac_abs_top_srcdir=$srcdir ;;
22506 *) # Relative name.
22507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22508 ac_top_srcdir=$ac_top_build_prefix$srcdir
22509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22510 esac
22511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22514 case $ac_mode in
22517 # CONFIG_FILE
22520 _ACEOF
22522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22523 # If the template does not know about datarootdir, expand it.
22524 # FIXME: This hack should be removed a few years after 2.60.
22525 ac_datarootdir_hack=; ac_datarootdir_seen=
22526 ac_sed_dataroot='
22527 /datarootdir/ {
22531 /@datadir@/p
22532 /@docdir@/p
22533 /@infodir@/p
22534 /@localedir@/p
22535 /@mandir@/p'
22536 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22537 *datarootdir*) ac_datarootdir_seen=yes;;
22538 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22540 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22541 _ACEOF
22542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22543 ac_datarootdir_hack='
22544 s&@datadir@&$datadir&g
22545 s&@docdir@&$docdir&g
22546 s&@infodir@&$infodir&g
22547 s&@localedir@&$localedir&g
22548 s&@mandir@&$mandir&g
22549 s&\\\${datarootdir}&$datarootdir&g' ;;
22550 esac
22551 _ACEOF
22553 # Neutralize VPATH when `$srcdir' = `.'.
22554 # Shell code in configure.ac might set extrasub.
22555 # FIXME: do we really want to maintain this feature?
22556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22557 ac_sed_extra="$ac_vpsub
22558 $extrasub
22559 _ACEOF
22560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22563 s|@configure_input@|$ac_sed_conf_input|;t t
22564 s&@top_builddir@&$ac_top_builddir_sub&;t t
22565 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22566 s&@srcdir@&$ac_srcdir&;t t
22567 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22568 s&@top_srcdir@&$ac_top_srcdir&;t t
22569 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22570 s&@builddir@&$ac_builddir&;t t
22571 s&@abs_builddir@&$ac_abs_builddir&;t t
22572 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22573 $ac_datarootdir_hack
22575 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22576 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22578 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22579 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22580 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22581 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22583 which seems to be undefined. Please make sure it is defined" >&5
22584 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22585 which seems to be undefined. Please make sure it is defined" >&2;}
22587 rm -f "$ac_tmp/stdin"
22588 case $ac_file in
22589 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22590 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22591 esac \
22592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22596 # CONFIG_HEADER
22598 if test x"$ac_file" != x-; then
22600 $as_echo "/* $configure_input */" \
22601 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22602 } >"$ac_tmp/config.h" \
22603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22604 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22606 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22607 else
22608 rm -f "$ac_file"
22609 mv "$ac_tmp/config.h" "$ac_file" \
22610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22612 else
22613 $as_echo "/* $configure_input */" \
22614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22615 || as_fn_error $? "could not create -" "$LINENO" 5
22620 # CONFIG_LINK
22623 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22625 else
22626 # Prefer the file from the source tree if names are identical.
22627 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22628 ac_source=$srcdir/$ac_source
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22632 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22634 if test ! -r "$ac_source"; then
22635 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22637 rm -f "$ac_file"
22639 # Try a relative symlink, then a hard link, then a copy.
22640 case $ac_source in
22641 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22642 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22643 esac
22644 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22645 ln "$ac_source" "$ac_file" 2>/dev/null ||
22646 cp -p "$ac_source" "$ac_file" ||
22647 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22650 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22651 $as_echo "$as_me: executing $ac_file commands" >&6;}
22653 esac
22656 case $ac_file$ac_mode in
22657 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22658 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22659 "Makefile":C) wine_fn_output_makefile Makefile ;;
22661 esac
22662 done # for ac_tag
22665 as_fn_exit 0
22666 _ACEOF
22667 ac_clean_files=$ac_clean_files_save
22669 test $ac_write_fail = 0 ||
22670 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22673 # configure is writing to config.log, and then calls config.status.
22674 # config.status does its own redirection, appending to config.log.
22675 # Unfortunately, on DOS this fails, as config.log is still kept open
22676 # by configure, so config.status won't be able to write to it; its
22677 # output is simply discarded. So we exec the FD to /dev/null,
22678 # effectively closing config.log, so it can be properly (re)opened and
22679 # appended to by config.status. When coming back to configure, we
22680 # need to make the FD available again.
22681 if test "$no_create" != yes; then
22682 ac_cs_success=:
22683 ac_config_status_args=
22684 test "$silent" = yes &&
22685 ac_config_status_args="$ac_config_status_args --quiet"
22686 exec 5>/dev/null
22687 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22688 exec 5>>config.log
22689 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22690 # would make configure fail if this is the last instruction.
22691 $ac_cs_success || as_fn_exit 1
22693 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22695 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22699 if test "$no_create" = "yes"
22700 then
22701 exit 0
22704 ac_save_IFS="$IFS"
22705 if test "x$wine_notices" != x; then
22706 echo >&6
22707 IFS="|"
22708 for msg in $wine_notices; do
22709 IFS="$ac_save_IFS"
22710 if ${msg:+false} :; then :
22712 else
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22714 $as_echo "$as_me: $msg" >&6;}
22716 done
22718 IFS="|"
22719 for msg in $wine_warnings; do
22720 IFS="$ac_save_IFS"
22721 if ${msg:+false} :; then :
22723 else
22724 echo >&2
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22726 $as_echo "$as_me: WARNING: $msg" >&2;}
22728 done
22729 IFS="$ac_save_IFS"
22731 $as_echo "
22732 $as_me: Finished. Do '${ac_make}' to compile Wine.
22733 " >&6