mshtml/tests: Get rid of a2bstr() in activex.c.
[wine.git] / configure
blob2f9654fca0ae40f5ef92a1364e592ffff9e28a91
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.1.
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.1'
584 PACKAGE_STRING='Wine 5.1'
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 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 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
909 enable_actxprxy
910 enable_adsiid
911 enable_adsldp
912 enable_adsldpc
913 enable_advapi32
914 enable_advpack
915 enable_amsi
916 enable_amstream
917 enable_api_ms_win_appmodel_identity_l1_1_0
918 enable_api_ms_win_appmodel_runtime_l1_1_1
919 enable_api_ms_win_appmodel_runtime_l1_1_2
920 enable_api_ms_win_core_apiquery_l1_1_0
921 enable_api_ms_win_core_appcompat_l1_1_1
922 enable_api_ms_win_core_appinit_l1_1_0
923 enable_api_ms_win_core_atoms_l1_1_0
924 enable_api_ms_win_core_bem_l1_1_0
925 enable_api_ms_win_core_com_l1_1_0
926 enable_api_ms_win_core_com_l1_1_1
927 enable_api_ms_win_core_com_private_l1_1_0
928 enable_api_ms_win_core_comm_l1_1_0
929 enable_api_ms_win_core_console_l1_1_0
930 enable_api_ms_win_core_console_l2_1_0
931 enable_api_ms_win_core_crt_l1_1_0
932 enable_api_ms_win_core_crt_l2_1_0
933 enable_api_ms_win_core_datetime_l1_1_0
934 enable_api_ms_win_core_datetime_l1_1_1
935 enable_api_ms_win_core_debug_l1_1_0
936 enable_api_ms_win_core_debug_l1_1_1
937 enable_api_ms_win_core_delayload_l1_1_0
938 enable_api_ms_win_core_delayload_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_0
940 enable_api_ms_win_core_errorhandling_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_2
942 enable_api_ms_win_core_errorhandling_l1_1_3
943 enable_api_ms_win_core_fibers_l1_1_0
944 enable_api_ms_win_core_fibers_l1_1_1
945 enable_api_ms_win_core_file_l1_1_0
946 enable_api_ms_win_core_file_l1_2_0
947 enable_api_ms_win_core_file_l1_2_1
948 enable_api_ms_win_core_file_l1_2_2
949 enable_api_ms_win_core_file_l2_1_0
950 enable_api_ms_win_core_file_l2_1_1
951 enable_api_ms_win_core_file_l2_1_2
952 enable_api_ms_win_core_handle_l1_1_0
953 enable_api_ms_win_core_heap_l1_1_0
954 enable_api_ms_win_core_heap_l1_2_0
955 enable_api_ms_win_core_heap_l2_1_0
956 enable_api_ms_win_core_heap_obsolete_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_2_0
959 enable_api_ms_win_core_io_l1_1_0
960 enable_api_ms_win_core_io_l1_1_1
961 enable_api_ms_win_core_job_l1_1_0
962 enable_api_ms_win_core_job_l2_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_1
965 enable_api_ms_win_core_kernel32_private_l1_1_1
966 enable_api_ms_win_core_largeinteger_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_1
969 enable_api_ms_win_core_libraryloader_l1_2_0
970 enable_api_ms_win_core_libraryloader_l1_2_1
971 enable_api_ms_win_core_libraryloader_l1_2_2
972 enable_api_ms_win_core_localization_l1_1_0
973 enable_api_ms_win_core_localization_l1_2_0
974 enable_api_ms_win_core_localization_l1_2_1
975 enable_api_ms_win_core_localization_l2_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_2_0
978 enable_api_ms_win_core_localization_obsolete_l1_3_0
979 enable_api_ms_win_core_localization_private_l1_1_0
980 enable_api_ms_win_core_localregistry_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_1
983 enable_api_ms_win_core_memory_l1_1_2
984 enable_api_ms_win_core_misc_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_2_0
987 enable_api_ms_win_core_namespace_l1_1_0
988 enable_api_ms_win_core_normalization_l1_1_0
989 enable_api_ms_win_core_path_l1_1_0
990 enable_api_ms_win_core_privateprofile_l1_1_1
991 enable_api_ms_win_core_processenvironment_l1_1_0
992 enable_api_ms_win_core_processenvironment_l1_2_0
993 enable_api_ms_win_core_processthreads_l1_1_0
994 enable_api_ms_win_core_processthreads_l1_1_1
995 enable_api_ms_win_core_processthreads_l1_1_2
996 enable_api_ms_win_core_processthreads_l1_1_3
997 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
998 enable_api_ms_win_core_profile_l1_1_0
999 enable_api_ms_win_core_psapi_ansi_l1_1_0
1000 enable_api_ms_win_core_psapi_l1_1_0
1001 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_quirks_l1_1_0
1003 enable_api_ms_win_core_realtime_l1_1_0
1004 enable_api_ms_win_core_registry_l1_1_0
1005 enable_api_ms_win_core_registry_l2_1_0
1006 enable_api_ms_win_core_registryuserspecific_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_2_0
1009 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1012 enable_api_ms_win_core_shutdown_l1_1_0
1013 enable_api_ms_win_core_sidebyside_l1_1_0
1014 enable_api_ms_win_core_string_l1_1_0
1015 enable_api_ms_win_core_string_l2_1_0
1016 enable_api_ms_win_core_string_obsolete_l1_1_0
1017 enable_api_ms_win_core_stringansi_l1_1_0
1018 enable_api_ms_win_core_stringloader_l1_1_1
1019 enable_api_ms_win_core_synch_ansi_l1_1_0
1020 enable_api_ms_win_core_synch_l1_1_0
1021 enable_api_ms_win_core_synch_l1_2_0
1022 enable_api_ms_win_core_synch_l1_2_1
1023 enable_api_ms_win_core_sysinfo_l1_1_0
1024 enable_api_ms_win_core_sysinfo_l1_2_0
1025 enable_api_ms_win_core_sysinfo_l1_2_1
1026 enable_api_ms_win_core_threadpool_l1_1_0
1027 enable_api_ms_win_core_threadpool_l1_2_0
1028 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1029 enable_api_ms_win_core_threadpool_private_l1_1_0
1030 enable_api_ms_win_core_timezone_l1_1_0
1031 enable_api_ms_win_core_toolhelp_l1_1_0
1032 enable_api_ms_win_core_url_l1_1_0
1033 enable_api_ms_win_core_util_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_1
1036 enable_api_ms_win_core_version_private_l1_1_0
1037 enable_api_ms_win_core_versionansi_l1_1_0
1038 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_1
1041 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1042 enable_api_ms_win_core_winrt_l1_1_0
1043 enable_api_ms_win_core_winrt_registration_l1_1_0
1044 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_1
1047 enable_api_ms_win_core_wow64_l1_1_0
1048 enable_api_ms_win_core_wow64_l1_1_1
1049 enable_api_ms_win_core_xstate_l1_1_0
1050 enable_api_ms_win_core_xstate_l2_1_0
1051 enable_api_ms_win_crt_conio_l1_1_0
1052 enable_api_ms_win_crt_convert_l1_1_0
1053 enable_api_ms_win_crt_environment_l1_1_0
1054 enable_api_ms_win_crt_filesystem_l1_1_0
1055 enable_api_ms_win_crt_heap_l1_1_0
1056 enable_api_ms_win_crt_locale_l1_1_0
1057 enable_api_ms_win_crt_math_l1_1_0
1058 enable_api_ms_win_crt_multibyte_l1_1_0
1059 enable_api_ms_win_crt_private_l1_1_0
1060 enable_api_ms_win_crt_process_l1_1_0
1061 enable_api_ms_win_crt_runtime_l1_1_0
1062 enable_api_ms_win_crt_stdio_l1_1_0
1063 enable_api_ms_win_crt_string_l1_1_0
1064 enable_api_ms_win_crt_time_l1_1_0
1065 enable_api_ms_win_crt_utility_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_1
1068 enable_api_ms_win_devices_query_l1_1_1
1069 enable_api_ms_win_downlevel_advapi32_l1_1_0
1070 enable_api_ms_win_downlevel_advapi32_l2_1_0
1071 enable_api_ms_win_downlevel_normaliz_l1_1_0
1072 enable_api_ms_win_downlevel_ole32_l1_1_0
1073 enable_api_ms_win_downlevel_shell32_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1076 enable_api_ms_win_downlevel_user32_l1_1_0
1077 enable_api_ms_win_downlevel_version_l1_1_0
1078 enable_api_ms_win_dx_d3dkmt_l1_1_0
1079 enable_api_ms_win_eventing_classicprovider_l1_1_0
1080 enable_api_ms_win_eventing_consumer_l1_1_0
1081 enable_api_ms_win_eventing_controller_l1_1_0
1082 enable_api_ms_win_eventing_legacy_l1_1_0
1083 enable_api_ms_win_eventing_provider_l1_1_0
1084 enable_api_ms_win_eventlog_legacy_l1_1_0
1085 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1086 enable_api_ms_win_mm_joystick_l1_1_0
1087 enable_api_ms_win_mm_misc_l1_1_1
1088 enable_api_ms_win_mm_mme_l1_1_0
1089 enable_api_ms_win_mm_time_l1_1_0
1090 enable_api_ms_win_ntuser_dc_access_l1_1_0
1091 enable_api_ms_win_ntuser_rectangle_l1_1_0
1092 enable_api_ms_win_ntuser_sysparams_l1_1_0
1093 enable_api_ms_win_perf_legacy_l1_1_0
1094 enable_api_ms_win_power_base_l1_1_0
1095 enable_api_ms_win_power_setting_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1099 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1103 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1104 enable_api_ms_win_security_audit_l1_1_1
1105 enable_api_ms_win_security_base_l1_1_0
1106 enable_api_ms_win_security_base_l1_2_0
1107 enable_api_ms_win_security_base_private_l1_1_1
1108 enable_api_ms_win_security_credentials_l1_1_0
1109 enable_api_ms_win_security_cryptoapi_l1_1_0
1110 enable_api_ms_win_security_grouppolicy_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_1
1113 enable_api_ms_win_security_lsalookup_l2_1_0
1114 enable_api_ms_win_security_lsalookup_l2_1_1
1115 enable_api_ms_win_security_lsapolicy_l1_1_0
1116 enable_api_ms_win_security_provider_l1_1_0
1117 enable_api_ms_win_security_sddl_l1_1_0
1118 enable_api_ms_win_security_systemfunctions_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_1
1121 enable_api_ms_win_service_management_l1_1_0
1122 enable_api_ms_win_service_management_l2_1_0
1123 enable_api_ms_win_service_private_l1_1_1
1124 enable_api_ms_win_service_winsvc_l1_1_0
1125 enable_api_ms_win_service_winsvc_l1_2_0
1126 enable_api_ms_win_shcore_obsolete_l1_1_0
1127 enable_api_ms_win_shcore_scaling_l1_1_1
1128 enable_api_ms_win_shcore_stream_l1_1_0
1129 enable_api_ms_win_shcore_thread_l1_1_0
1130 enable_api_ms_win_shell_shellcom_l1_1_0
1131 enable_api_ms_win_shell_shellfolders_l1_1_0
1132 enable_apphelp
1133 enable_appwiz_cpl
1134 enable_atl
1135 enable_atl100
1136 enable_atl110
1137 enable_atl80
1138 enable_atl90
1139 enable_atlthunk
1140 enable_atmlib
1141 enable_authz
1142 enable_avicap32
1143 enable_avifil32
1144 enable_avrt
1145 enable_bcrypt
1146 enable_bluetoothapis
1147 enable_browseui
1148 enable_bthprops_cpl
1149 enable_cabinet
1150 enable_capi2032
1151 enable_cards
1152 enable_cdosys
1153 enable_cfgmgr32
1154 enable_clusapi
1155 enable_combase
1156 enable_comcat
1157 enable_comctl32
1158 enable_comdlg32
1159 enable_compstui
1160 enable_comsvcs
1161 enable_concrt140
1162 enable_connect
1163 enable_credui
1164 enable_crtdll
1165 enable_crypt32
1166 enable_cryptdlg
1167 enable_cryptdll
1168 enable_cryptext
1169 enable_cryptnet
1170 enable_cryptui
1171 enable_ctapi32
1172 enable_ctl3d32
1173 enable_d2d1
1174 enable_d3d10
1175 enable_d3d10_1
1176 enable_d3d10core
1177 enable_d3d11
1178 enable_d3d12
1179 enable_d3d8
1180 enable_d3d9
1181 enable_d3dcompiler_33
1182 enable_d3dcompiler_34
1183 enable_d3dcompiler_35
1184 enable_d3dcompiler_36
1185 enable_d3dcompiler_37
1186 enable_d3dcompiler_38
1187 enable_d3dcompiler_39
1188 enable_d3dcompiler_40
1189 enable_d3dcompiler_41
1190 enable_d3dcompiler_42
1191 enable_d3dcompiler_43
1192 enable_d3dcompiler_46
1193 enable_d3dcompiler_47
1194 enable_d3dim
1195 enable_d3drm
1196 enable_d3dx10_33
1197 enable_d3dx10_34
1198 enable_d3dx10_35
1199 enable_d3dx10_36
1200 enable_d3dx10_37
1201 enable_d3dx10_38
1202 enable_d3dx10_39
1203 enable_d3dx10_40
1204 enable_d3dx10_41
1205 enable_d3dx10_42
1206 enable_d3dx10_43
1207 enable_d3dx11_42
1208 enable_d3dx11_43
1209 enable_d3dx9_24
1210 enable_d3dx9_25
1211 enable_d3dx9_26
1212 enable_d3dx9_27
1213 enable_d3dx9_28
1214 enable_d3dx9_29
1215 enable_d3dx9_30
1216 enable_d3dx9_31
1217 enable_d3dx9_32
1218 enable_d3dx9_33
1219 enable_d3dx9_34
1220 enable_d3dx9_35
1221 enable_d3dx9_36
1222 enable_d3dx9_37
1223 enable_d3dx9_38
1224 enable_d3dx9_39
1225 enable_d3dx9_40
1226 enable_d3dx9_41
1227 enable_d3dx9_42
1228 enable_d3dx9_43
1229 enable_d3dxof
1230 enable_davclnt
1231 enable_dbgeng
1232 enable_dbghelp
1233 enable_dciman32
1234 enable_ddraw
1235 enable_ddrawex
1236 enable_devenum
1237 enable_dhcpcsvc
1238 enable_dhtmled_ocx
1239 enable_difxapi
1240 enable_dinput
1241 enable_dinput8
1242 enable_dispex
1243 enable_dmband
1244 enable_dmcompos
1245 enable_dmime
1246 enable_dmloader
1247 enable_dmoguids
1248 enable_dmscript
1249 enable_dmstyle
1250 enable_dmsynth
1251 enable_dmusic
1252 enable_dmusic32
1253 enable_dnsapi
1254 enable_dplay
1255 enable_dplayx
1256 enable_dpnaddr
1257 enable_dpnet
1258 enable_dpnhpast
1259 enable_dpnlobby
1260 enable_dpvoice
1261 enable_dpwsockx
1262 enable_drmclien
1263 enable_dsdmo
1264 enable_dsound
1265 enable_dsquery
1266 enable_dssenh
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_rtworkq
1543 enable_samlib
1544 enable_sane_ds
1545 enable_sapi
1546 enable_sas
1547 enable_scarddlg
1548 enable_sccbase
1549 enable_schannel
1550 enable_schedsvc
1551 enable_scrobj
1552 enable_scrrun
1553 enable_scsiport_sys
1554 enable_secur32
1555 enable_security
1556 enable_sensapi
1557 enable_serialui
1558 enable_setupapi
1559 enable_sfc
1560 enable_sfc_os
1561 enable_shcore
1562 enable_shdoclc
1563 enable_shdocvw
1564 enable_shell32
1565 enable_shfolder
1566 enable_shlwapi
1567 enable_slbcsp
1568 enable_slc
1569 enable_snmpapi
1570 enable_softpub
1571 enable_spoolss
1572 enable_srclient
1573 enable_sspicli
1574 enable_stdole2_tlb
1575 enable_stdole32_tlb
1576 enable_sti
1577 enable_strmbase
1578 enable_strmdll
1579 enable_strmiids
1580 enable_svrapi
1581 enable_sxs
1582 enable_t2embed
1583 enable_tapi32
1584 enable_taskschd
1585 enable_tdh
1586 enable_tdi_sys
1587 enable_traffic
1588 enable_twain_32
1589 enable_tzres
1590 enable_ucrtbase
1591 enable_uianimation
1592 enable_uiautomationcore
1593 enable_uiribbon
1594 enable_unicows
1595 enable_updspapi
1596 enable_url
1597 enable_urlmon
1598 enable_usbd_sys
1599 enable_user32
1600 enable_userenv
1601 enable_usp10
1602 enable_utildll
1603 enable_uuid
1604 enable_uxtheme
1605 enable_vbscript
1606 enable_vcomp
1607 enable_vcomp100
1608 enable_vcomp110
1609 enable_vcomp120
1610 enable_vcomp140
1611 enable_vcomp90
1612 enable_vcruntime140
1613 enable_vcruntime140_1
1614 enable_vdmdbg
1615 enable_version
1616 enable_virtdisk
1617 enable_vssapi
1618 enable_vulkan_1
1619 enable_wbemdisp
1620 enable_wbemprox
1621 enable_wbemuuid
1622 enable_wdscore
1623 enable_webservices
1624 enable_wer
1625 enable_wevtapi
1626 enable_wiaservc
1627 enable_wimgapi
1628 enable_windowscodecs
1629 enable_windowscodecsext
1630 enable_winealsa_drv
1631 enable_wineandroid_drv
1632 enable_winebus_sys
1633 enable_winecoreaudio_drv
1634 enable_winecrt0
1635 enable_wined3d
1636 enable_winegstreamer
1637 enable_winehid_sys
1638 enable_winejoystick_drv
1639 enable_winemac_drv
1640 enable_winemapi
1641 enable_wineoss_drv
1642 enable_wineps_drv
1643 enable_winepulse_drv
1644 enable_wineqtdecoder
1645 enable_winevulkan
1646 enable_winex11_drv
1647 enable_wing32
1648 enable_winhttp
1649 enable_wininet
1650 enable_winmm
1651 enable_winnls32
1652 enable_winscard
1653 enable_winspool_drv
1654 enable_winsta
1655 enable_wintab32
1656 enable_wintrust
1657 enable_winusb
1658 enable_wlanapi
1659 enable_wlanui
1660 enable_wldap32
1661 enable_wmasf
1662 enable_wmcodecdspuuid
1663 enable_wmi
1664 enable_wmiutils
1665 enable_wmp
1666 enable_wmphoto
1667 enable_wmvcore
1668 enable_wnaspi32
1669 enable_wpc
1670 enable_wpcap
1671 enable_ws2_32
1672 enable_wsdapi
1673 enable_wshom_ocx
1674 enable_wsnmp32
1675 enable_wsock32
1676 enable_wtsapi32
1677 enable_wuapi
1678 enable_wuaueng
1679 enable_x3daudio1_0
1680 enable_x3daudio1_1
1681 enable_x3daudio1_2
1682 enable_x3daudio1_3
1683 enable_x3daudio1_4
1684 enable_x3daudio1_5
1685 enable_x3daudio1_6
1686 enable_x3daudio1_7
1687 enable_xapofx1_1
1688 enable_xapofx1_2
1689 enable_xapofx1_3
1690 enable_xapofx1_4
1691 enable_xapofx1_5
1692 enable_xaudio2_0
1693 enable_xaudio2_1
1694 enable_xaudio2_2
1695 enable_xaudio2_3
1696 enable_xaudio2_4
1697 enable_xaudio2_5
1698 enable_xaudio2_6
1699 enable_xaudio2_7
1700 enable_xaudio2_8
1701 enable_xaudio2_9
1702 enable_xinput1_1
1703 enable_xinput1_2
1704 enable_xinput1_3
1705 enable_xinput1_4
1706 enable_xinput9_1_0
1707 enable_xmllite
1708 enable_xolehlp
1709 enable_xpsprint
1710 enable_xpssvcs
1711 enable_fonts
1712 enable_include
1713 enable_port
1714 enable_wine
1715 enable_wpp
1716 enable_loader
1717 enable_nls
1718 enable_po
1719 enable_arp
1720 enable_aspnet_regiis
1721 enable_attrib
1722 enable_cabarc
1723 enable_cacls
1724 enable_chcp_com
1725 enable_clock
1726 enable_cmd
1727 enable_conhost
1728 enable_control
1729 enable_cscript
1730 enable_dism
1731 enable_dpnsvr
1732 enable_dxdiag
1733 enable_eject
1734 enable_expand
1735 enable_explorer
1736 enable_extrac32
1737 enable_fc
1738 enable_find
1739 enable_findstr
1740 enable_fsutil
1741 enable_hh
1742 enable_hostname
1743 enable_icacls
1744 enable_icinfo
1745 enable_iexplore
1746 enable_ipconfig
1747 enable_lodctr
1748 enable_mofcomp
1749 enable_mshta
1750 enable_msidb
1751 enable_msiexec
1752 enable_msinfo32
1753 enable_net
1754 enable_netsh
1755 enable_netstat
1756 enable_ngen
1757 enable_notepad
1758 enable_oleview
1759 enable_ping
1760 enable_plugplay
1761 enable_powershell
1762 enable_presentationfontcache
1763 enable_progman
1764 enable_reg
1765 enable_regasm
1766 enable_regedit
1767 enable_regini
1768 enable_regsvcs
1769 enable_regsvr32
1770 enable_rpcss
1771 enable_rundll32
1772 enable_sc
1773 enable_schtasks
1774 enable_sdbinst
1775 enable_secedit
1776 enable_servicemodelreg
1777 enable_services
1778 enable_shutdown
1779 enable_spoolsv
1780 enable_start
1781 enable_subst
1782 enable_svchost
1783 enable_systeminfo
1784 enable_taskkill
1785 enable_tasklist
1786 enable_taskmgr
1787 enable_termsv
1788 enable_uninstaller
1789 enable_unlodctr
1790 enable_view
1791 enable_wevtutil
1792 enable_wineboot
1793 enable_winebrowser
1794 enable_winecfg
1795 enable_wineconsole
1796 enable_winedbg
1797 enable_winedevice
1798 enable_winefile
1799 enable_winemenubuilder
1800 enable_winemine
1801 enable_winemsibuilder
1802 enable_winepath
1803 enable_winetest
1804 enable_winhlp32
1805 enable_winmgmt
1806 enable_winver
1807 enable_wmic
1808 enable_wmplayer
1809 enable_wordpad
1810 enable_write
1811 enable_wscript
1812 enable_wuauserv
1813 enable_wusa
1814 enable_xcopy
1815 enable_server
1816 enable_tools
1817 enable_sfnt2fon
1818 enable_widl
1819 enable_winebuild
1820 enable_winedump
1821 enable_winegcc
1822 enable_winemaker
1823 enable_wmc
1824 enable_wrc
1826 ac_precious_vars='build_alias
1827 host_alias
1828 target_alias
1830 CFLAGS
1831 LDFLAGS
1832 LIBS
1833 CPPFLAGS
1835 CXXFLAGS
1838 OBJC
1839 OBJCFLAGS
1840 OBJCPP
1841 XMKMF
1842 XML2_CFLAGS
1843 XML2_LIBS
1844 XSLT_CFLAGS
1845 XSLT_LIBS
1846 INOTIFY_CFLAGS
1847 INOTIFY_LIBS
1848 DBUS_CFLAGS
1849 DBUS_LIBS
1850 HAL_CFLAGS
1851 HAL_LIBS
1852 GNUTLS_CFLAGS
1853 GNUTLS_LIBS
1854 SANE_CFLAGS
1855 SANE_LIBS
1856 GPHOTO2_CFLAGS
1857 GPHOTO2_LIBS
1858 GPHOTO2_PORT_CFLAGS
1859 GPHOTO2_PORT_LIBS
1860 LCMS2_CFLAGS
1861 LCMS2_LIBS
1862 FREETYPE_CFLAGS
1863 FREETYPE_LIBS
1864 Z_CFLAGS
1865 Z_LIBS
1866 PULSE_CFLAGS
1867 PULSE_LIBS
1868 GSTREAMER_CFLAGS
1869 GSTREAMER_LIBS
1870 UDEV_CFLAGS
1871 UDEV_LIBS
1872 UNWIND_CFLAGS
1873 UNWIND_LIBS
1874 SDL2_CFLAGS
1875 SDL2_LIBS
1876 FAUDIO_CFLAGS
1877 FAUDIO_LIBS
1878 CAPI20_CFLAGS
1879 CAPI20_LIBS
1880 CUPS_CFLAGS
1881 CUPS_LIBS
1882 FONTCONFIG_CFLAGS
1883 FONTCONFIG_LIBS
1884 KRB5_CFLAGS
1885 KRB5_LIBS
1886 GSSAPI_CFLAGS
1887 GSSAPI_LIBS
1888 JPEG_CFLAGS
1889 JPEG_LIBS
1890 PNG_CFLAGS
1891 PNG_LIBS
1892 TIFF_CFLAGS
1893 TIFF_LIBS
1894 MPG123_CFLAGS
1895 MPG123_LIBS
1896 NETAPI_CFLAGS
1897 NETAPI_LIBS
1898 VKD3D_CFLAGS
1899 VKD3D_LIBS
1900 LDAP_CFLAGS
1901 LDAP_LIBS'
1904 # Initialize some variables set by options.
1905 ac_init_help=
1906 ac_init_version=false
1907 ac_unrecognized_opts=
1908 ac_unrecognized_sep=
1909 # The variables have the same names as the options, with
1910 # dashes changed to underlines.
1911 cache_file=/dev/null
1912 exec_prefix=NONE
1913 no_create=
1914 no_recursion=
1915 prefix=NONE
1916 program_prefix=NONE
1917 program_suffix=NONE
1918 program_transform_name=s,x,x,
1919 silent=
1920 site=
1921 srcdir=
1922 verbose=
1923 x_includes=NONE
1924 x_libraries=NONE
1926 # Installation directory options.
1927 # These are left unexpanded so users can "make install exec_prefix=/foo"
1928 # and all the variables that are supposed to be based on exec_prefix
1929 # by default will actually change.
1930 # Use braces instead of parens because sh, perl, etc. also accept them.
1931 # (The list follows the same order as the GNU Coding Standards.)
1932 bindir='${exec_prefix}/bin'
1933 sbindir='${exec_prefix}/sbin'
1934 libexecdir='${exec_prefix}/libexec'
1935 datarootdir='${prefix}/share'
1936 datadir='${datarootdir}'
1937 sysconfdir='${prefix}/etc'
1938 sharedstatedir='${prefix}/com'
1939 localstatedir='${prefix}/var'
1940 runstatedir='${localstatedir}/run'
1941 includedir='${prefix}/include'
1942 oldincludedir='/usr/include'
1943 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1944 infodir='${datarootdir}/info'
1945 htmldir='${docdir}'
1946 dvidir='${docdir}'
1947 pdfdir='${docdir}'
1948 psdir='${docdir}'
1949 libdir='${exec_prefix}/lib'
1950 localedir='${datarootdir}/locale'
1951 mandir='${datarootdir}/man'
1953 ac_prev=
1954 ac_dashdash=
1955 for ac_option
1957 # If the previous option needs an argument, assign it.
1958 if test -n "$ac_prev"; then
1959 eval $ac_prev=\$ac_option
1960 ac_prev=
1961 continue
1964 case $ac_option in
1965 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1966 *=) ac_optarg= ;;
1967 *) ac_optarg=yes ;;
1968 esac
1970 # Accept the important Cygnus configure options, so we can diagnose typos.
1972 case $ac_dashdash$ac_option in
1974 ac_dashdash=yes ;;
1976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1977 ac_prev=bindir ;;
1978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1979 bindir=$ac_optarg ;;
1981 -build | --build | --buil | --bui | --bu)
1982 ac_prev=build_alias ;;
1983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1984 build_alias=$ac_optarg ;;
1986 -cache-file | --cache-file | --cache-fil | --cache-fi \
1987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1988 ac_prev=cache_file ;;
1989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1991 cache_file=$ac_optarg ;;
1993 --config-cache | -C)
1994 cache_file=config.cache ;;
1996 -datadir | --datadir | --datadi | --datad)
1997 ac_prev=datadir ;;
1998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1999 datadir=$ac_optarg ;;
2001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2002 | --dataroo | --dataro | --datar)
2003 ac_prev=datarootdir ;;
2004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2006 datarootdir=$ac_optarg ;;
2008 -disable-* | --disable-*)
2009 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2010 # Reject names that are not valid shell variable names.
2011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2012 as_fn_error $? "invalid feature name: $ac_useropt"
2013 ac_useropt_orig=$ac_useropt
2014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2015 case $ac_user_opts in
2017 "enable_$ac_useropt"
2018 "*) ;;
2019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2020 ac_unrecognized_sep=', ';;
2021 esac
2022 eval enable_$ac_useropt=no ;;
2024 -docdir | --docdir | --docdi | --doc | --do)
2025 ac_prev=docdir ;;
2026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2027 docdir=$ac_optarg ;;
2029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2030 ac_prev=dvidir ;;
2031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2032 dvidir=$ac_optarg ;;
2034 -enable-* | --enable-*)
2035 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2036 # Reject names that are not valid shell variable names.
2037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2038 as_fn_error $? "invalid feature name: $ac_useropt"
2039 ac_useropt_orig=$ac_useropt
2040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2041 case $ac_user_opts in
2043 "enable_$ac_useropt"
2044 "*) ;;
2045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2046 ac_unrecognized_sep=', ';;
2047 esac
2048 eval enable_$ac_useropt=\$ac_optarg ;;
2050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2052 | --exec | --exe | --ex)
2053 ac_prev=exec_prefix ;;
2054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2056 | --exec=* | --exe=* | --ex=*)
2057 exec_prefix=$ac_optarg ;;
2059 -gas | --gas | --ga | --g)
2060 # Obsolete; use --with-gas.
2061 with_gas=yes ;;
2063 -help | --help | --hel | --he | -h)
2064 ac_init_help=long ;;
2065 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2066 ac_init_help=recursive ;;
2067 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2068 ac_init_help=short ;;
2070 -host | --host | --hos | --ho)
2071 ac_prev=host_alias ;;
2072 -host=* | --host=* | --hos=* | --ho=*)
2073 host_alias=$ac_optarg ;;
2075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2076 ac_prev=htmldir ;;
2077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2078 | --ht=*)
2079 htmldir=$ac_optarg ;;
2081 -includedir | --includedir | --includedi | --included | --include \
2082 | --includ | --inclu | --incl | --inc)
2083 ac_prev=includedir ;;
2084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2085 | --includ=* | --inclu=* | --incl=* | --inc=*)
2086 includedir=$ac_optarg ;;
2088 -infodir | --infodir | --infodi | --infod | --info | --inf)
2089 ac_prev=infodir ;;
2090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2091 infodir=$ac_optarg ;;
2093 -libdir | --libdir | --libdi | --libd)
2094 ac_prev=libdir ;;
2095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2096 libdir=$ac_optarg ;;
2098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2099 | --libexe | --libex | --libe)
2100 ac_prev=libexecdir ;;
2101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2102 | --libexe=* | --libex=* | --libe=*)
2103 libexecdir=$ac_optarg ;;
2105 -localedir | --localedir | --localedi | --localed | --locale)
2106 ac_prev=localedir ;;
2107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2108 localedir=$ac_optarg ;;
2110 -localstatedir | --localstatedir | --localstatedi | --localstated \
2111 | --localstate | --localstat | --localsta | --localst | --locals)
2112 ac_prev=localstatedir ;;
2113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2115 localstatedir=$ac_optarg ;;
2117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2118 ac_prev=mandir ;;
2119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2120 mandir=$ac_optarg ;;
2122 -nfp | --nfp | --nf)
2123 # Obsolete; use --without-fp.
2124 with_fp=no ;;
2126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2127 | --no-cr | --no-c | -n)
2128 no_create=yes ;;
2130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2132 no_recursion=yes ;;
2134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2136 | --oldin | --oldi | --old | --ol | --o)
2137 ac_prev=oldincludedir ;;
2138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2141 oldincludedir=$ac_optarg ;;
2143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2144 ac_prev=prefix ;;
2145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2146 prefix=$ac_optarg ;;
2148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2149 | --program-pre | --program-pr | --program-p)
2150 ac_prev=program_prefix ;;
2151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2153 program_prefix=$ac_optarg ;;
2155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2156 | --program-suf | --program-su | --program-s)
2157 ac_prev=program_suffix ;;
2158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2160 program_suffix=$ac_optarg ;;
2162 -program-transform-name | --program-transform-name \
2163 | --program-transform-nam | --program-transform-na \
2164 | --program-transform-n | --program-transform- \
2165 | --program-transform | --program-transfor \
2166 | --program-transfo | --program-transf \
2167 | --program-trans | --program-tran \
2168 | --progr-tra | --program-tr | --program-t)
2169 ac_prev=program_transform_name ;;
2170 -program-transform-name=* | --program-transform-name=* \
2171 | --program-transform-nam=* | --program-transform-na=* \
2172 | --program-transform-n=* | --program-transform-=* \
2173 | --program-transform=* | --program-transfor=* \
2174 | --program-transfo=* | --program-transf=* \
2175 | --program-trans=* | --program-tran=* \
2176 | --progr-tra=* | --program-tr=* | --program-t=*)
2177 program_transform_name=$ac_optarg ;;
2179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2180 ac_prev=pdfdir ;;
2181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2182 pdfdir=$ac_optarg ;;
2184 -psdir | --psdir | --psdi | --psd | --ps)
2185 ac_prev=psdir ;;
2186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2187 psdir=$ac_optarg ;;
2189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2190 | -silent | --silent | --silen | --sile | --sil)
2191 silent=yes ;;
2193 -runstatedir | --runstatedir | --runstatedi | --runstated \
2194 | --runstate | --runstat | --runsta | --runst | --runs \
2195 | --run | --ru | --r)
2196 ac_prev=runstatedir ;;
2197 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2198 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2199 | --run=* | --ru=* | --r=*)
2200 runstatedir=$ac_optarg ;;
2202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2203 ac_prev=sbindir ;;
2204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2205 | --sbi=* | --sb=*)
2206 sbindir=$ac_optarg ;;
2208 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2210 | --sharedst | --shareds | --shared | --share | --shar \
2211 | --sha | --sh)
2212 ac_prev=sharedstatedir ;;
2213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2216 | --sha=* | --sh=*)
2217 sharedstatedir=$ac_optarg ;;
2219 -site | --site | --sit)
2220 ac_prev=site ;;
2221 -site=* | --site=* | --sit=*)
2222 site=$ac_optarg ;;
2224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2225 ac_prev=srcdir ;;
2226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2227 srcdir=$ac_optarg ;;
2229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2230 | --syscon | --sysco | --sysc | --sys | --sy)
2231 ac_prev=sysconfdir ;;
2232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2234 sysconfdir=$ac_optarg ;;
2236 -target | --target | --targe | --targ | --tar | --ta | --t)
2237 ac_prev=target_alias ;;
2238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2239 target_alias=$ac_optarg ;;
2241 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2242 verbose=yes ;;
2244 -version | --version | --versio | --versi | --vers | -V)
2245 ac_init_version=: ;;
2247 -with-* | --with-*)
2248 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2249 # Reject names that are not valid shell variable names.
2250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2251 as_fn_error $? "invalid package name: $ac_useropt"
2252 ac_useropt_orig=$ac_useropt
2253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2254 case $ac_user_opts in
2256 "with_$ac_useropt"
2257 "*) ;;
2258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2259 ac_unrecognized_sep=', ';;
2260 esac
2261 eval with_$ac_useropt=\$ac_optarg ;;
2263 -without-* | --without-*)
2264 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2265 # Reject names that are not valid shell variable names.
2266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2267 as_fn_error $? "invalid package name: $ac_useropt"
2268 ac_useropt_orig=$ac_useropt
2269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2270 case $ac_user_opts in
2272 "with_$ac_useropt"
2273 "*) ;;
2274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2275 ac_unrecognized_sep=', ';;
2276 esac
2277 eval with_$ac_useropt=no ;;
2279 --x)
2280 # Obsolete; use --with-x.
2281 with_x=yes ;;
2283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2284 | --x-incl | --x-inc | --x-in | --x-i)
2285 ac_prev=x_includes ;;
2286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2288 x_includes=$ac_optarg ;;
2290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2292 ac_prev=x_libraries ;;
2293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2295 x_libraries=$ac_optarg ;;
2297 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2298 Try \`$0 --help' for more information"
2301 *=*)
2302 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2303 # Reject names that are not valid shell variable names.
2304 case $ac_envvar in #(
2305 '' | [0-9]* | *[!_$as_cr_alnum]* )
2306 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2307 esac
2308 eval $ac_envvar=\$ac_optarg
2309 export $ac_envvar ;;
2312 # FIXME: should be removed in autoconf 3.0.
2313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2316 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2319 esac
2320 done
2322 if test -n "$ac_prev"; then
2323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2324 as_fn_error $? "missing argument to $ac_option"
2327 if test -n "$ac_unrecognized_opts"; then
2328 case $enable_option_checking in
2329 no) ;;
2330 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2332 esac
2335 # Check all directory arguments for consistency.
2336 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2337 datadir sysconfdir sharedstatedir localstatedir includedir \
2338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2339 libdir localedir mandir runstatedir
2341 eval ac_val=\$$ac_var
2342 # Remove trailing slashes.
2343 case $ac_val in
2344 */ )
2345 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2346 eval $ac_var=\$ac_val;;
2347 esac
2348 # Be sure to have absolute directory names.
2349 case $ac_val in
2350 [\\/$]* | ?:[\\/]* ) continue;;
2351 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2352 esac
2353 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2354 done
2356 # There might be people who depend on the old broken behavior: `$host'
2357 # used to hold the argument of --host etc.
2358 # FIXME: To remove some day.
2359 build=$build_alias
2360 host=$host_alias
2361 target=$target_alias
2363 # FIXME: To remove some day.
2364 if test "x$host_alias" != x; then
2365 if test "x$build_alias" = x; then
2366 cross_compiling=maybe
2367 elif test "x$build_alias" != "x$host_alias"; then
2368 cross_compiling=yes
2372 ac_tool_prefix=
2373 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2375 test "$silent" = yes && exec 6>/dev/null
2378 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2379 ac_ls_di=`ls -di .` &&
2380 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2381 as_fn_error $? "working directory cannot be determined"
2382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2383 as_fn_error $? "pwd does not report name of working directory"
2386 # Find the source files, if location was not specified.
2387 if test -z "$srcdir"; then
2388 ac_srcdir_defaulted=yes
2389 # Try the directory containing this script, then the parent directory.
2390 ac_confdir=`$as_dirname -- "$as_myself" ||
2391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2392 X"$as_myself" : 'X\(//\)[^/]' \| \
2393 X"$as_myself" : 'X\(//\)$' \| \
2394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2395 $as_echo X"$as_myself" |
2396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2397 s//\1/
2400 /^X\(\/\/\)[^/].*/{
2401 s//\1/
2404 /^X\(\/\/\)$/{
2405 s//\1/
2408 /^X\(\/\).*/{
2409 s//\1/
2412 s/.*/./; q'`
2413 srcdir=$ac_confdir
2414 if test ! -r "$srcdir/$ac_unique_file"; then
2415 srcdir=..
2417 else
2418 ac_srcdir_defaulted=no
2420 if test ! -r "$srcdir/$ac_unique_file"; then
2421 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2422 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2424 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2425 ac_abs_confdir=`(
2426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2427 pwd)`
2428 # When building in place, set srcdir=.
2429 if test "$ac_abs_confdir" = "$ac_pwd"; then
2430 srcdir=.
2432 # Remove unnecessary trailing slashes from srcdir.
2433 # Double slashes in file names in object file debugging info
2434 # mess up M-x gdb in Emacs.
2435 case $srcdir in
2436 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2437 esac
2438 for ac_var in $ac_precious_vars; do
2439 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2440 eval ac_env_${ac_var}_value=\$${ac_var}
2441 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2442 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2443 done
2446 # Report the --help message.
2448 if test "$ac_init_help" = "long"; then
2449 # Omit some internal or obsolete options to make the list less imposing.
2450 # This message is too long to be a string in the A/UX 3.1 sh.
2451 cat <<_ACEOF
2452 \`configure' configures Wine 5.1 to adapt to many kinds of systems.
2454 Usage: $0 [OPTION]... [VAR=VALUE]...
2456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2457 VAR=VALUE. See below for descriptions of some of the useful variables.
2459 Defaults for the options are specified in brackets.
2461 Configuration:
2462 -h, --help display this help and exit
2463 --help=short display options specific to this package
2464 --help=recursive display the short help of all the included packages
2465 -V, --version display version information and exit
2466 -q, --quiet, --silent do not print \`checking ...' messages
2467 --cache-file=FILE cache test results in FILE [disabled]
2468 -C, --config-cache alias for \`--cache-file=config.cache'
2469 -n, --no-create do not create output files
2470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2472 Installation directories:
2473 --prefix=PREFIX install architecture-independent files in PREFIX
2474 [$ac_default_prefix]
2475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2476 [PREFIX]
2478 By default, \`make install' will install all the files in
2479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2481 for instance \`--prefix=\$HOME'.
2483 For better control, use the options below.
2485 Fine tuning of the installation directories:
2486 --bindir=DIR user executables [EPREFIX/bin]
2487 --sbindir=DIR system admin executables [EPREFIX/sbin]
2488 --libexecdir=DIR program executables [EPREFIX/libexec]
2489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2491 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2492 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2493 --libdir=DIR object code libraries [EPREFIX/lib]
2494 --includedir=DIR C header files [PREFIX/include]
2495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2498 --infodir=DIR info documentation [DATAROOTDIR/info]
2499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2500 --mandir=DIR man documentation [DATAROOTDIR/man]
2501 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2502 --htmldir=DIR html documentation [DOCDIR]
2503 --dvidir=DIR dvi documentation [DOCDIR]
2504 --pdfdir=DIR pdf documentation [DOCDIR]
2505 --psdir=DIR ps documentation [DOCDIR]
2506 _ACEOF
2508 cat <<\_ACEOF
2510 X features:
2511 --x-includes=DIR X include files are in DIR
2512 --x-libraries=DIR X library files are in DIR
2514 System types:
2515 --build=BUILD configure for building on BUILD [guessed]
2516 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2517 _ACEOF
2520 if test -n "$ac_init_help"; then
2521 case $ac_init_help in
2522 short | recursive ) echo "Configuration of Wine 5.1:";;
2523 esac
2524 cat <<\_ACEOF
2526 Optional Features:
2527 --disable-option-checking ignore unrecognized --enable/--with options
2528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2530 --disable-win16 do not include Win16 support
2531 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2532 binaries)
2533 --disable-tests do not build the regression tests
2534 --enable-maintainer-mode
2535 enable maintainer-specific build rules
2536 --disable-largefile omit support for large files
2538 Optional Packages:
2539 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2540 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2541 --without-alsa do not use the Alsa sound support
2542 --without-capi do not use CAPI (ISDN support)
2543 --without-cms do not use CMS (color management support)
2544 --without-coreaudio do not use the CoreAudio sound support
2545 --without-cups do not use CUPS
2546 --without-curses do not use (n)curses
2547 --without-dbus do not use DBus (dynamic device support)
2548 --without-faudio do not use FAudio (XAudio2 support)
2549 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2550 --without-fontconfig do not use fontconfig
2551 --without-freetype do not use the FreeType library
2552 --without-gettext do not use gettext
2553 --with-gettextpo use the GetTextPO library to rebuild po files
2554 --without-gphoto do not use gphoto (Digital Camera support)
2555 --without-glu do not use the GLU library
2556 --without-gnutls do not use GnuTLS (schannel support)
2557 --without-gsm do not use libgsm (GSM 06.10 codec support)
2558 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2559 --without-gstreamer do not use GStreamer (codecs support)
2560 --without-hal do not use HAL (dynamic device support)
2561 --without-inotify do not use inotify (filesystem change notifications)
2562 --without-jpeg do not use JPEG
2563 --without-krb5 do not use krb5 (Kerberos)
2564 --without-ldap do not use LDAP
2565 --without-mingw do not use the MinGW cross-compiler
2566 --without-mpg123 do not use the mpg123 library
2567 --without-netapi do not use the Samba NetAPI library
2568 --without-openal do not use OpenAL
2569 --without-opencl do not use OpenCL
2570 --without-opengl do not use OpenGL
2571 --without-osmesa do not use the OSMesa library
2572 --without-oss do not use the OSS sound support
2573 --without-pcap do not use the Packet Capture library
2574 --without-png do not use PNG
2575 --without-pthread do not use the pthread library
2576 --without-pulse do not use PulseAudio sound support
2577 --without-sane do not use SANE (scanner support)
2578 --without-sdl do not use SDL
2579 --without-tiff do not use TIFF
2580 --without-udev do not use udev (plug and play support)
2581 --without-unwind do not use the libunwind library (exception
2582 handling)
2583 --without-v4l2 do not use v4l2 (video capture)
2584 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2585 --without-vulkan do not use Vulkan
2586 --without-xcomposite do not use the Xcomposite extension
2587 --without-xcursor do not use the Xcursor extension
2588 --without-xfixes do not use Xfixes for clipboard change notifications
2589 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2590 --without-xinput do not use the Xinput extension
2591 --without-xinput2 do not use the Xinput 2 extension
2592 --without-xml do not use XML
2593 --without-xrandr do not use Xrandr (multi-monitor support)
2594 --without-xrender do not use the Xrender extension
2595 --without-xshape do not use the Xshape extension
2596 --without-xshm do not use XShm (shared memory extension)
2597 --without-xslt do not use XSLT
2598 --without-xxf86vm do not use XFree video mode extension
2599 --without-zlib do not use Zlib (data compression)
2600 --with-wine-tools=DIR use Wine tools from directory DIR
2601 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2602 --with-x use the X Window System
2604 Some influential environment variables:
2605 CC C compiler command
2606 CFLAGS C compiler flags
2607 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2608 nonstandard directory <lib dir>
2609 LIBS libraries to pass to the linker, e.g. -l<library>
2610 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2611 you have headers in a nonstandard directory <include dir>
2612 CXX C++ compiler command
2613 CXXFLAGS C++ compiler flags
2614 CPP C preprocessor
2615 OBJC Objective C compiler command
2616 OBJCFLAGS Objective C compiler flags
2617 OBJCPP Objective C preprocessor
2618 XMKMF Path to xmkmf, Makefile generator for X Window System
2619 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2620 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2621 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2622 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2623 INOTIFY_CFLAGS
2624 C compiler flags for libinotify, overriding pkg-config
2625 INOTIFY_LIBS
2626 Linker flags for libinotify, overriding pkg-config
2627 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2628 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2629 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2630 HAL_LIBS Linker flags for hal, overriding pkg-config
2631 GNUTLS_CFLAGS
2632 C compiler flags for gnutls, overriding pkg-config
2633 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2634 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2635 SANE_LIBS Linker flags for libsane, overriding pkg-config
2636 GPHOTO2_CFLAGS
2637 C compiler flags for libgphoto2, overriding pkg-config
2638 GPHOTO2_LIBS
2639 Linker flags for libgphoto2, overriding pkg-config
2640 GPHOTO2_PORT_CFLAGS
2641 C compiler flags for libgphoto2_port, overriding pkg-config
2642 GPHOTO2_PORT_LIBS
2643 Linker flags for libgphoto2_port, overriding pkg-config
2644 LCMS2_CFLAGS
2645 C compiler flags for lcms2, overriding pkg-config
2646 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2647 FREETYPE_CFLAGS
2648 C compiler flags for freetype2, overriding pkg-config
2649 FREETYPE_LIBS
2650 Linker flags for freetype2, overriding pkg-config
2651 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2652 Z_LIBS Linker flags for libz, overriding pkg-config
2653 PULSE_CFLAGS
2654 C compiler flags for libpulse, overriding pkg-config
2655 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2656 GSTREAMER_CFLAGS
2657 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2658 gstreamer-audio-1.0, overriding pkg-config
2659 GSTREAMER_LIBS
2660 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2661 gstreamer-audio-1.0, overriding pkg-config
2662 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2663 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2664 UNWIND_CFLAGS
2665 C compiler flags for libunwind, overriding pkg-config
2666 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2667 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2668 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2669 FAUDIO_CFLAGS
2670 C compiler flags for faudio, overriding pkg-config
2671 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2672 CAPI20_CFLAGS
2673 C compiler flags for capi20, overriding pkg-config
2674 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2675 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2676 CUPS_LIBS Linker flags for cups, overriding pkg-config
2677 FONTCONFIG_CFLAGS
2678 C compiler flags for fontconfig, overriding pkg-config
2679 FONTCONFIG_LIBS
2680 Linker flags for fontconfig, overriding pkg-config
2681 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2682 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2683 GSSAPI_CFLAGS
2684 C compiler flags for krb5-gssapi, overriding pkg-config
2685 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2686 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2687 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2688 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2689 PNG_LIBS Linker flags for libpng, overriding pkg-config
2690 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2691 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2692 MPG123_CFLAGS
2693 C compiler flags for libmpg123, overriding pkg-config
2694 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2695 NETAPI_CFLAGS
2696 C compiler flags for netapi, overriding pkg-config
2697 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2698 VKD3D_CFLAGS
2699 C compiler flags for libvkd3d, overriding pkg-config
2700 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2701 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2702 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2704 Use these variables to override the choices made by `configure' or to help
2705 it to find libraries and programs with nonstandard names/locations.
2707 Report bugs to <wine-devel@winehq.org>.
2708 Wine home page: <https://www.winehq.org>.
2709 _ACEOF
2710 ac_status=$?
2713 if test "$ac_init_help" = "recursive"; then
2714 # If there are subdirs, report their specific --help.
2715 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2716 test -d "$ac_dir" ||
2717 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2718 continue
2719 ac_builddir=.
2721 case "$ac_dir" in
2722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2724 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2725 # A ".." for each directory in $ac_dir_suffix.
2726 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2727 case $ac_top_builddir_sub in
2728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2730 esac ;;
2731 esac
2732 ac_abs_top_builddir=$ac_pwd
2733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2734 # for backward compatibility:
2735 ac_top_builddir=$ac_top_build_prefix
2737 case $srcdir in
2738 .) # We are building in place.
2739 ac_srcdir=.
2740 ac_top_srcdir=$ac_top_builddir_sub
2741 ac_abs_top_srcdir=$ac_pwd ;;
2742 [\\/]* | ?:[\\/]* ) # Absolute name.
2743 ac_srcdir=$srcdir$ac_dir_suffix;
2744 ac_top_srcdir=$srcdir
2745 ac_abs_top_srcdir=$srcdir ;;
2746 *) # Relative name.
2747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2748 ac_top_srcdir=$ac_top_build_prefix$srcdir
2749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2750 esac
2751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2753 cd "$ac_dir" || { ac_status=$?; continue; }
2754 # Check for guested configure.
2755 if test -f "$ac_srcdir/configure.gnu"; then
2756 echo &&
2757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2758 elif test -f "$ac_srcdir/configure"; then
2759 echo &&
2760 $SHELL "$ac_srcdir/configure" --help=recursive
2761 else
2762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2763 fi || ac_status=$?
2764 cd "$ac_pwd" || { ac_status=$?; break; }
2765 done
2768 test -n "$ac_init_help" && exit $ac_status
2769 if $ac_init_version; then
2770 cat <<\_ACEOF
2771 Wine configure 5.1
2772 generated by GNU Autoconf 2.69
2774 Copyright (C) 2012 Free Software Foundation, Inc.
2775 This configure script is free software; the Free Software Foundation
2776 gives unlimited permission to copy, distribute and modify it.
2777 _ACEOF
2778 exit
2781 ## ------------------------ ##
2782 ## Autoconf initialization. ##
2783 ## ------------------------ ##
2785 # ac_fn_c_try_compile LINENO
2786 # --------------------------
2787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_c_try_compile ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext
2792 if { { ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_compile") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_c_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.$ac_objext; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_c_try_compile
2823 # ac_fn_cxx_try_compile LINENO
2824 # ----------------------------
2825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2826 ac_fn_cxx_try_compile ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 rm -f conftest.$ac_objext
2830 if { { ac_try="$ac_compile"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_compile") 2>conftest.err
2838 ac_status=$?
2839 if test -s conftest.err; then
2840 grep -v '^ *+' conftest.err >conftest.er1
2841 cat conftest.er1 >&5
2842 mv -f conftest.er1 conftest.err
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; } && {
2846 test -z "$ac_cxx_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest.$ac_objext; then :
2849 ac_retval=0
2850 else
2851 $as_echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2854 ac_retval=1
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2857 as_fn_set_status $ac_retval
2859 } # ac_fn_cxx_try_compile
2861 # ac_fn_c_try_link LINENO
2862 # -----------------------
2863 # Try to link conftest.$ac_ext, and return whether this succeeded.
2864 ac_fn_c_try_link ()
2866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2867 rm -f conftest.$ac_objext conftest$ac_exeext
2868 if { { ac_try="$ac_link"
2869 case "(($ac_try" in
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2872 esac
2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875 (eval "$ac_link") 2>conftest.err
2876 ac_status=$?
2877 if test -s conftest.err; then
2878 grep -v '^ *+' conftest.err >conftest.er1
2879 cat conftest.er1 >&5
2880 mv -f conftest.er1 conftest.err
2882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2883 test $ac_status = 0; } && {
2884 test -z "$ac_c_werror_flag" ||
2885 test ! -s conftest.err
2886 } && test -s conftest$ac_exeext && {
2887 test "$cross_compiling" = yes ||
2888 test -x conftest$ac_exeext
2889 }; then :
2890 ac_retval=0
2891 else
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_retval=1
2897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2899 # interfere with the next link command; also delete a directory that is
2900 # left behind by Apple's compiler. We do this before executing the actions.
2901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 as_fn_set_status $ac_retval
2905 } # ac_fn_c_try_link
2907 # ac_fn_c_try_cpp LINENO
2908 # ----------------------
2909 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2910 ac_fn_c_try_cpp ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 if { { ac_try="$ac_cpp conftest.$ac_ext"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } > conftest.i && {
2929 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2930 test ! -s conftest.err
2931 }; then :
2932 ac_retval=0
2933 else
2934 $as_echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2937 ac_retval=1
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 as_fn_set_status $ac_retval
2942 } # ac_fn_c_try_cpp
2944 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2945 # -------------------------------------------------------
2946 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2947 # the include files in INCLUDES and setting the cache variable VAR
2948 # accordingly.
2949 ac_fn_c_check_header_mongrel ()
2951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2952 if eval \${$3+:} false; then :
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2954 $as_echo_n "checking for $2... " >&6; }
2955 if eval \${$3+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 eval ac_res=\$$3
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 $as_echo "$ac_res" >&6; }
2961 else
2962 # Is the header compilable?
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2964 $as_echo_n "checking $2 usability... " >&6; }
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2968 #include <$2>
2969 _ACEOF
2970 if ac_fn_c_try_compile "$LINENO"; then :
2971 ac_header_compiler=yes
2972 else
2973 ac_header_compiler=no
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2977 $as_echo "$ac_header_compiler" >&6; }
2979 # Is the header present?
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2981 $as_echo_n "checking $2 presence... " >&6; }
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 #include <$2>
2985 _ACEOF
2986 if ac_fn_c_try_cpp "$LINENO"; then :
2987 ac_header_preproc=yes
2988 else
2989 ac_header_preproc=no
2991 rm -f conftest.err conftest.i conftest.$ac_ext
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2993 $as_echo "$ac_header_preproc" >&6; }
2995 # So? What about this header?
2996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2997 yes:no: )
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2999 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3001 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3003 no:yes:* )
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3005 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3007 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3009 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3011 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3014 ( $as_echo "## ------------------------------------ ##
3015 ## Report this to wine-devel@winehq.org ##
3016 ## ------------------------------------ ##"
3017 ) | sed "s/^/$as_me: WARNING: /" >&2
3019 esac
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3021 $as_echo_n "checking for $2... " >&6; }
3022 if eval \${$3+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 eval "$3=\$ac_header_compiler"
3027 eval ac_res=\$$3
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 $as_echo "$ac_res" >&6; }
3031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3033 } # ac_fn_c_check_header_mongrel
3035 # ac_fn_c_try_run LINENO
3036 # ----------------------
3037 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3038 # that executables *can* be run.
3039 ac_fn_c_try_run ()
3041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3042 if { { ac_try="$ac_link"
3043 case "(($ac_try" in
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3046 esac
3047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_link") 2>&5
3050 ac_status=$?
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3053 { { case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3056 esac
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_try") 2>&5
3060 ac_status=$?
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; }; then :
3063 ac_retval=0
3064 else
3065 $as_echo "$as_me: program exited with status $ac_status" >&5
3066 $as_echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 ac_retval=$ac_status
3071 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 as_fn_set_status $ac_retval
3075 } # ac_fn_c_try_run
3077 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3078 # -------------------------------------------------------
3079 # Tests whether HEADER exists and can be compiled using the include files in
3080 # INCLUDES, setting the cache variable VAR accordingly.
3081 ac_fn_c_check_header_compile ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 $as_echo_n "checking for $2... " >&6; }
3086 if eval \${$3+:} false; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3092 #include <$2>
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 eval "$3=yes"
3096 else
3097 eval "$3=no"
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101 eval ac_res=\$$3
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3103 $as_echo "$ac_res" >&6; }
3104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3106 } # ac_fn_c_check_header_compile
3108 # ac_fn_objc_try_compile LINENO
3109 # -----------------------------
3110 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3111 ac_fn_objc_try_compile ()
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 rm -f conftest.$ac_objext
3115 if { { ac_try="$ac_compile"
3116 case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_compile") 2>conftest.err
3123 ac_status=$?
3124 if test -s conftest.err; then
3125 grep -v '^ *+' conftest.err >conftest.er1
3126 cat conftest.er1 >&5
3127 mv -f conftest.er1 conftest.err
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; } && {
3131 test -z "$ac_objc_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then :
3134 ac_retval=0
3135 else
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 ac_retval=1
3141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 as_fn_set_status $ac_retval
3144 } # ac_fn_objc_try_compile
3146 # ac_fn_objc_try_cpp LINENO
3147 # -------------------------
3148 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3149 ac_fn_objc_try_cpp ()
3151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3152 if { { ac_try="$ac_cpp conftest.$ac_ext"
3153 case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3156 esac
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3160 ac_status=$?
3161 if test -s conftest.err; then
3162 grep -v '^ *+' conftest.err >conftest.er1
3163 cat conftest.er1 >&5
3164 mv -f conftest.er1 conftest.err
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; } > conftest.i && {
3168 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3169 test ! -s conftest.err
3170 }; then :
3171 ac_retval=0
3172 else
3173 $as_echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 ac_retval=1
3178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3179 as_fn_set_status $ac_retval
3181 } # ac_fn_objc_try_cpp
3183 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3184 # ----------------------------------------------------------
3185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3186 # the include files in INCLUDES and setting the cache variable VAR
3187 # accordingly.
3188 ac_fn_objc_check_header_mongrel ()
3190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3191 if eval \${$3+:} false; then :
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3193 $as_echo_n "checking for $2... " >&6; }
3194 if eval \${$3+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 eval ac_res=\$$3
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3199 $as_echo "$ac_res" >&6; }
3200 else
3201 # Is the header compilable?
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3203 $as_echo_n "checking $2 usability... " >&6; }
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3207 #include <$2>
3208 _ACEOF
3209 if ac_fn_objc_try_compile "$LINENO"; then :
3210 ac_header_compiler=yes
3211 else
3212 ac_header_compiler=no
3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3216 $as_echo "$ac_header_compiler" >&6; }
3218 # Is the header present?
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3220 $as_echo_n "checking $2 presence... " >&6; }
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3223 #include <$2>
3224 _ACEOF
3225 if ac_fn_objc_try_cpp "$LINENO"; then :
3226 ac_header_preproc=yes
3227 else
3228 ac_header_preproc=no
3230 rm -f conftest.err conftest.i conftest.$ac_ext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3232 $as_echo "$ac_header_preproc" >&6; }
3234 # So? What about this header?
3235 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3236 yes:no: )
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3242 no:yes:* )
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3253 ( $as_echo "## ------------------------------------ ##
3254 ## Report this to wine-devel@winehq.org ##
3255 ## ------------------------------------ ##"
3256 ) | sed "s/^/$as_me: WARNING: /" >&2
3258 esac
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3260 $as_echo_n "checking for $2... " >&6; }
3261 if eval \${$3+:} false; then :
3262 $as_echo_n "(cached) " >&6
3263 else
3264 eval "$3=\$ac_header_compiler"
3266 eval ac_res=\$$3
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3268 $as_echo "$ac_res" >&6; }
3270 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3272 } # ac_fn_objc_check_header_mongrel
3274 # ac_fn_c_check_func LINENO FUNC VAR
3275 # ----------------------------------
3276 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3277 ac_fn_c_check_func ()
3279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3281 $as_echo_n "checking for $2... " >&6; }
3282 if eval \${$3+:} false; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3287 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3289 #define $2 innocuous_$2
3291 /* System header to define __stub macros and hopefully few prototypes,
3292 which can conflict with char $2 (); below.
3293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3294 <limits.h> exists even on freestanding compilers. */
3296 #ifdef __STDC__
3297 # include <limits.h>
3298 #else
3299 # include <assert.h>
3300 #endif
3302 #undef $2
3304 /* Override any GCC internal prototype to avoid an error.
3305 Use char because int might match the return type of a GCC
3306 builtin and then its argument prototype would still apply. */
3307 #ifdef __cplusplus
3308 extern "C"
3309 #endif
3310 char $2 ();
3311 /* The GNU C library defines this for functions which it implements
3312 to always fail with ENOSYS. Some functions are actually named
3313 something starting with __ and the normal name is an alias. */
3314 #if defined __stub_$2 || defined __stub___$2
3315 choke me
3316 #endif
3319 main ()
3321 return $2 ();
3323 return 0;
3325 _ACEOF
3326 if ac_fn_c_try_link "$LINENO"; then :
3327 eval "$3=yes"
3328 else
3329 eval "$3=no"
3331 rm -f core conftest.err conftest.$ac_objext \
3332 conftest$ac_exeext conftest.$ac_ext
3334 eval ac_res=\$$3
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3336 $as_echo "$ac_res" >&6; }
3337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3339 } # ac_fn_c_check_func
3341 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3342 # ----------------------------------------------------
3343 # Tries to find if the field MEMBER exists in type AGGR, after including
3344 # INCLUDES, setting cache variable VAR accordingly.
3345 ac_fn_c_check_member ()
3347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3349 $as_echo_n "checking for $2.$3... " >&6; }
3350 if eval \${$4+:} false; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main ()
3359 static $2 ac_aggr;
3360 if (ac_aggr.$3)
3361 return 0;
3363 return 0;
3365 _ACEOF
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 eval "$4=yes"
3368 else
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3373 main ()
3375 static $2 ac_aggr;
3376 if (sizeof ac_aggr.$3)
3377 return 0;
3379 return 0;
3381 _ACEOF
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 eval "$4=yes"
3384 else
3385 eval "$4=no"
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 eval ac_res=\$$4
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3393 $as_echo "$ac_res" >&6; }
3394 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3396 } # ac_fn_c_check_member
3398 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3399 # -------------------------------------------
3400 # Tests whether TYPE exists after having included INCLUDES, setting cache
3401 # variable VAR accordingly.
3402 ac_fn_c_check_type ()
3404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3406 $as_echo_n "checking for $2... " >&6; }
3407 if eval \${$3+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 eval "$3=no"
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3415 main ()
3417 if (sizeof ($2))
3418 return 0;
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3428 main ()
3430 if (sizeof (($2)))
3431 return 0;
3433 return 0;
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3438 else
3439 eval "$3=yes"
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 eval ac_res=\$$3
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3447 $as_echo "$ac_res" >&6; }
3448 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3450 } # ac_fn_c_check_type
3451 cat >config.log <<_ACEOF
3452 This file contains any messages produced by compilers while
3453 running configure, to aid debugging if configure makes a mistake.
3455 It was created by Wine $as_me 5.1, which was
3456 generated by GNU Autoconf 2.69. Invocation command line was
3458 $ $0 $@
3460 _ACEOF
3461 exec 5>>config.log
3463 cat <<_ASUNAME
3464 ## --------- ##
3465 ## Platform. ##
3466 ## --------- ##
3468 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3469 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3470 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3471 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3472 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3474 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3475 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3477 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3478 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3479 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3480 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3481 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3482 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3483 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3485 _ASUNAME
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 $as_echo "PATH: $as_dir"
3493 done
3494 IFS=$as_save_IFS
3496 } >&5
3498 cat >&5 <<_ACEOF
3501 ## ----------- ##
3502 ## Core tests. ##
3503 ## ----------- ##
3505 _ACEOF
3508 # Keep a trace of the command line.
3509 # Strip out --no-create and --no-recursion so they do not pile up.
3510 # Strip out --silent because we don't want to record it for future runs.
3511 # Also quote any args containing shell meta-characters.
3512 # Make two passes to allow for proper duplicate-argument suppression.
3513 ac_configure_args=
3514 ac_configure_args0=
3515 ac_configure_args1=
3516 ac_must_keep_next=false
3517 for ac_pass in 1 2
3519 for ac_arg
3521 case $ac_arg in
3522 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3524 | -silent | --silent | --silen | --sile | --sil)
3525 continue ;;
3526 *\'*)
3527 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3528 esac
3529 case $ac_pass in
3530 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3532 as_fn_append ac_configure_args1 " '$ac_arg'"
3533 if test $ac_must_keep_next = true; then
3534 ac_must_keep_next=false # Got value, back to normal.
3535 else
3536 case $ac_arg in
3537 *=* | --config-cache | -C | -disable-* | --disable-* \
3538 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3539 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3540 | -with-* | --with-* | -without-* | --without-* | --x)
3541 case "$ac_configure_args0 " in
3542 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3543 esac
3545 -* ) ac_must_keep_next=true ;;
3546 esac
3548 as_fn_append ac_configure_args " '$ac_arg'"
3550 esac
3551 done
3552 done
3553 { ac_configure_args0=; unset ac_configure_args0;}
3554 { ac_configure_args1=; unset ac_configure_args1;}
3556 # When interrupted or exit'd, cleanup temporary files, and complete
3557 # config.log. We remove comments because anyway the quotes in there
3558 # would cause problems or look ugly.
3559 # WARNING: Use '\'' to represent an apostrophe within the trap.
3560 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3561 trap 'exit_status=$?
3562 # Save into config.log some information that might help in debugging.
3564 echo
3566 $as_echo "## ---------------- ##
3567 ## Cache variables. ##
3568 ## ---------------- ##"
3569 echo
3570 # The following way of writing the cache mishandles newlines in values,
3572 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3573 eval ac_val=\$$ac_var
3574 case $ac_val in #(
3575 *${as_nl}*)
3576 case $ac_var in #(
3577 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3578 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3579 esac
3580 case $ac_var in #(
3581 _ | IFS | as_nl) ;; #(
3582 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3583 *) { eval $ac_var=; unset $ac_var;} ;;
3584 esac ;;
3585 esac
3586 done
3587 (set) 2>&1 |
3588 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3589 *${as_nl}ac_space=\ *)
3590 sed -n \
3591 "s/'\''/'\''\\\\'\'''\''/g;
3592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3593 ;; #(
3595 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3597 esac |
3598 sort
3600 echo
3602 $as_echo "## ----------------- ##
3603 ## Output variables. ##
3604 ## ----------------- ##"
3605 echo
3606 for ac_var in $ac_subst_vars
3608 eval ac_val=\$$ac_var
3609 case $ac_val in
3610 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3611 esac
3612 $as_echo "$ac_var='\''$ac_val'\''"
3613 done | sort
3614 echo
3616 if test -n "$ac_subst_files"; then
3617 $as_echo "## ------------------- ##
3618 ## File substitutions. ##
3619 ## ------------------- ##"
3620 echo
3621 for ac_var in $ac_subst_files
3623 eval ac_val=\$$ac_var
3624 case $ac_val in
3625 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3626 esac
3627 $as_echo "$ac_var='\''$ac_val'\''"
3628 done | sort
3629 echo
3632 if test -s confdefs.h; then
3633 $as_echo "## ----------- ##
3634 ## confdefs.h. ##
3635 ## ----------- ##"
3636 echo
3637 cat confdefs.h
3638 echo
3640 test "$ac_signal" != 0 &&
3641 $as_echo "$as_me: caught signal $ac_signal"
3642 $as_echo "$as_me: exit $exit_status"
3643 } >&5
3644 rm -f core *.core core.conftest.* &&
3645 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3646 exit $exit_status
3648 for ac_signal in 1 2 13 15; do
3649 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3650 done
3651 ac_signal=0
3653 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3654 rm -f -r conftest* confdefs.h
3656 $as_echo "/* confdefs.h */" > confdefs.h
3658 # Predefined preprocessor variables.
3660 cat >>confdefs.h <<_ACEOF
3661 #define PACKAGE_NAME "$PACKAGE_NAME"
3662 _ACEOF
3664 cat >>confdefs.h <<_ACEOF
3665 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3666 _ACEOF
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3670 _ACEOF
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_STRING "$PACKAGE_STRING"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_URL "$PACKAGE_URL"
3682 _ACEOF
3685 # Let the site file select an alternate cache file if it wants to.
3686 # Prefer an explicitly selected file to automatically selected ones.
3687 ac_site_file1=NONE
3688 ac_site_file2=NONE
3689 if test -n "$CONFIG_SITE"; then
3690 # We do not want a PATH search for config.site.
3691 case $CONFIG_SITE in #((
3692 -*) ac_site_file1=./$CONFIG_SITE;;
3693 */*) ac_site_file1=$CONFIG_SITE;;
3694 *) ac_site_file1=./$CONFIG_SITE;;
3695 esac
3696 elif test "x$prefix" != xNONE; then
3697 ac_site_file1=$prefix/share/config.site
3698 ac_site_file2=$prefix/etc/config.site
3699 else
3700 ac_site_file1=$ac_default_prefix/share/config.site
3701 ac_site_file2=$ac_default_prefix/etc/config.site
3703 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3705 test "x$ac_site_file" = xNONE && continue
3706 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3708 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3709 sed 's/^/| /' "$ac_site_file" >&5
3710 . "$ac_site_file" \
3711 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error $? "failed to load site script $ac_site_file
3714 See \`config.log' for more details" "$LINENO" 5; }
3716 done
3718 if test -r "$cache_file"; then
3719 # Some versions of bash will fail to source /dev/null (special files
3720 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3721 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3723 $as_echo "$as_me: loading cache $cache_file" >&6;}
3724 case $cache_file in
3725 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3726 *) . "./$cache_file";;
3727 esac
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3731 $as_echo "$as_me: creating cache $cache_file" >&6;}
3732 >$cache_file
3735 # Check that the precious variables saved in the cache have kept the same
3736 # value.
3737 ac_cache_corrupted=false
3738 for ac_var in $ac_precious_vars; do
3739 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3740 eval ac_new_set=\$ac_env_${ac_var}_set
3741 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3742 eval ac_new_val=\$ac_env_${ac_var}_value
3743 case $ac_old_set,$ac_new_set in
3744 set,)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3746 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3747 ac_cache_corrupted=: ;;
3748 ,set)
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3750 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3751 ac_cache_corrupted=: ;;
3752 ,);;
3754 if test "x$ac_old_val" != "x$ac_new_val"; then
3755 # differences in whitespace do not lead to failure.
3756 ac_old_val_w=`echo x $ac_old_val`
3757 ac_new_val_w=`echo x $ac_new_val`
3758 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3760 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3761 ac_cache_corrupted=:
3762 else
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3764 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3765 eval $ac_var=\$ac_old_val
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3768 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3770 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3771 fi;;
3772 esac
3773 # Pass precious variables to config.status.
3774 if test "$ac_new_set" = set; then
3775 case $ac_new_val in
3776 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3777 *) ac_arg=$ac_var=$ac_new_val ;;
3778 esac
3779 case " $ac_configure_args " in
3780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3781 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3782 esac
3784 done
3785 if $ac_cache_corrupted; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3789 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3790 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3792 ## -------------------- ##
3793 ## Main body of script. ##
3794 ## -------------------- ##
3796 ac_ext=c
3797 ac_cpp='$CPP $CPPFLAGS'
3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 ac_config_headers="$ac_config_headers include/config.h"
3806 ac_aux_dir=
3807 for ac_dir in tools "$srcdir"/tools; do
3808 if test -f "$ac_dir/install-sh"; then
3809 ac_aux_dir=$ac_dir
3810 ac_install_sh="$ac_aux_dir/install-sh -c"
3811 break
3812 elif test -f "$ac_dir/install.sh"; then
3813 ac_aux_dir=$ac_dir
3814 ac_install_sh="$ac_aux_dir/install.sh -c"
3815 break
3816 elif test -f "$ac_dir/shtool"; then
3817 ac_aux_dir=$ac_dir
3818 ac_install_sh="$ac_aux_dir/shtool install -c"
3819 break
3821 done
3822 if test -z "$ac_aux_dir"; then
3823 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3826 # These three variables are undocumented and unsupported,
3827 # and are intended to be withdrawn in a future Autoconf release.
3828 # They can cause serious problems if a builder's source tree is in a directory
3829 # whose full name contains unusual characters.
3830 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3831 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3832 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3836 libwine_version="1.0"
3840 # Check whether --enable-win16 was given.
3841 if test "${enable_win16+set}" = set; then :
3842 enableval=$enable_win16;
3845 # Check whether --enable-win64 was given.
3846 if test "${enable_win64+set}" = set; then :
3847 enableval=$enable_win64;
3850 # Check whether --enable-tests was given.
3851 if test "${enable_tests+set}" = set; then :
3852 enableval=$enable_tests;
3855 # Check whether --enable-maintainer-mode was given.
3856 if test "${enable_maintainer_mode+set}" = set; then :
3857 enableval=$enable_maintainer_mode;
3862 # Check whether --with-alsa was given.
3863 if test "${with_alsa+set}" = set; then :
3864 withval=$with_alsa;
3868 # Check whether --with-capi was given.
3869 if test "${with_capi+set}" = set; then :
3870 withval=$with_capi;
3874 # Check whether --with-cms was given.
3875 if test "${with_cms+set}" = set; then :
3876 withval=$with_cms;
3880 # Check whether --with-coreaudio was given.
3881 if test "${with_coreaudio+set}" = set; then :
3882 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3886 # Check whether --with-cups was given.
3887 if test "${with_cups+set}" = set; then :
3888 withval=$with_cups;
3892 # Check whether --with-curses was given.
3893 if test "${with_curses+set}" = set; then :
3894 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3898 # Check whether --with-dbus was given.
3899 if test "${with_dbus+set}" = set; then :
3900 withval=$with_dbus;
3904 # Check whether --with-faudio was given.
3905 if test "${with_faudio+set}" = set; then :
3906 withval=$with_faudio;
3910 # Check whether --with-float-abi was given.
3911 if test "${with_float_abi+set}" = set; then :
3912 withval=$with_float_abi;
3916 # Check whether --with-fontconfig was given.
3917 if test "${with_fontconfig+set}" = set; then :
3918 withval=$with_fontconfig;
3922 # Check whether --with-freetype was given.
3923 if test "${with_freetype+set}" = set; then :
3924 withval=$with_freetype;
3928 # Check whether --with-gettext was given.
3929 if test "${with_gettext+set}" = set; then :
3930 withval=$with_gettext;
3934 # Check whether --with-gettextpo was given.
3935 if test "${with_gettextpo+set}" = set; then :
3936 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3940 # Check whether --with-gphoto was given.
3941 if test "${with_gphoto+set}" = set; then :
3942 withval=$with_gphoto;
3946 # Check whether --with-glu was given.
3947 if test "${with_glu+set}" = set; then :
3948 withval=$with_glu;
3952 # Check whether --with-gnutls was given.
3953 if test "${with_gnutls+set}" = set; then :
3954 withval=$with_gnutls;
3958 # Check whether --with-gsm was given.
3959 if test "${with_gsm+set}" = set; then :
3960 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3964 # Check whether --with-gssapi was given.
3965 if test "${with_gssapi+set}" = set; then :
3966 withval=$with_gssapi;
3970 # Check whether --with-gstreamer was given.
3971 if test "${with_gstreamer+set}" = set; then :
3972 withval=$with_gstreamer;
3976 # Check whether --with-hal was given.
3977 if test "${with_hal+set}" = set; then :
3978 withval=$with_hal;
3982 # Check whether --with-inotify was given.
3983 if test "${with_inotify+set}" = set; then :
3984 withval=$with_inotify;
3988 # Check whether --with-jpeg was given.
3989 if test "${with_jpeg+set}" = set; then :
3990 withval=$with_jpeg;
3994 # Check whether --with-krb5 was given.
3995 if test "${with_krb5+set}" = set; then :
3996 withval=$with_krb5;
4000 # Check whether --with-ldap was given.
4001 if test "${with_ldap+set}" = set; then :
4002 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4006 # Check whether --with-mingw was given.
4007 if test "${with_mingw+set}" = set; then :
4008 withval=$with_mingw;
4012 # Check whether --with-mpg123 was given.
4013 if test "${with_mpg123+set}" = set; then :
4014 withval=$with_mpg123;
4018 # Check whether --with-netapi was given.
4019 if test "${with_netapi+set}" = set; then :
4020 withval=$with_netapi;
4024 # Check whether --with-openal was given.
4025 if test "${with_openal+set}" = set; then :
4026 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4030 # Check whether --with-opencl was given.
4031 if test "${with_opencl+set}" = set; then :
4032 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4036 # Check whether --with-opengl was given.
4037 if test "${with_opengl+set}" = set; then :
4038 withval=$with_opengl;
4042 # Check whether --with-osmesa was given.
4043 if test "${with_osmesa+set}" = set; then :
4044 withval=$with_osmesa;
4048 # Check whether --with-oss was given.
4049 if test "${with_oss+set}" = set; then :
4050 withval=$with_oss;
4054 # Check whether --with-pcap was given.
4055 if test "${with_pcap+set}" = set; then :
4056 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4060 # Check whether --with-png was given.
4061 if test "${with_png+set}" = set; then :
4062 withval=$with_png;
4066 # Check whether --with-pthread was given.
4067 if test "${with_pthread+set}" = set; then :
4068 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4072 # Check whether --with-pulse was given.
4073 if test "${with_pulse+set}" = set; then :
4074 withval=$with_pulse;
4078 # Check whether --with-sane was given.
4079 if test "${with_sane+set}" = set; then :
4080 withval=$with_sane;
4084 # Check whether --with-sdl was given.
4085 if test "${with_sdl+set}" = set; then :
4086 withval=$with_sdl;
4090 # Check whether --with-tiff was given.
4091 if test "${with_tiff+set}" = set; then :
4092 withval=$with_tiff;
4096 # Check whether --with-udev was given.
4097 if test "${with_udev+set}" = set; then :
4098 withval=$with_udev;
4102 # Check whether --with-unwind was given.
4103 if test "${with_unwind+set}" = set; then :
4104 withval=$with_unwind;
4108 # Check whether --with-v4l2 was given.
4109 if test "${with_v4l2+set}" = set; then :
4110 withval=$with_v4l2;
4114 # Check whether --with-vkd3d was given.
4115 if test "${with_vkd3d+set}" = set; then :
4116 withval=$with_vkd3d;
4120 # Check whether --with-vulkan was given.
4121 if test "${with_vulkan+set}" = set; then :
4122 withval=$with_vulkan;
4126 # Check whether --with-xcomposite was given.
4127 if test "${with_xcomposite+set}" = set; then :
4128 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4132 # Check whether --with-xcursor was given.
4133 if test "${with_xcursor+set}" = set; then :
4134 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4138 # Check whether --with-xfixes was given.
4139 if test "${with_xfixes+set}" = set; then :
4140 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4144 # Check whether --with-xinerama was given.
4145 if test "${with_xinerama+set}" = set; then :
4146 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4150 # Check whether --with-xinput was given.
4151 if test "${with_xinput+set}" = set; then :
4152 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4156 # Check whether --with-xinput2 was given.
4157 if test "${with_xinput2+set}" = set; then :
4158 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4162 # Check whether --with-xml was given.
4163 if test "${with_xml+set}" = set; then :
4164 withval=$with_xml;
4168 # Check whether --with-xrandr was given.
4169 if test "${with_xrandr+set}" = set; then :
4170 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4174 # Check whether --with-xrender was given.
4175 if test "${with_xrender+set}" = set; then :
4176 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4180 # Check whether --with-xshape was given.
4181 if test "${with_xshape+set}" = set; then :
4182 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4186 # Check whether --with-xshm was given.
4187 if test "${with_xshm+set}" = set; then :
4188 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4192 # Check whether --with-xslt was given.
4193 if test "${with_xslt+set}" = set; then :
4194 withval=$with_xslt;
4198 # Check whether --with-xxf86vm was given.
4199 if test "${with_xxf86vm+set}" = set; then :
4200 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
4204 # Check whether --with-zlib was given.
4205 if test "${with_zlib+set}" = set; then :
4206 withval=$with_zlib;
4211 # Check whether --with-wine-tools was given.
4212 if test "${with_wine_tools+set}" = set; then :
4213 withval=$with_wine_tools;
4217 # Check whether --with-wine64 was given.
4218 if test "${with_wine64+set}" = set; then :
4219 withval=$with_wine64;
4223 # Make sure we can run config.sub.
4224 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4225 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4228 $as_echo_n "checking build system type... " >&6; }
4229 if ${ac_cv_build+:} false; then :
4230 $as_echo_n "(cached) " >&6
4231 else
4232 ac_build_alias=$build_alias
4233 test "x$ac_build_alias" = x &&
4234 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4235 test "x$ac_build_alias" = x &&
4236 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4237 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4238 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4242 $as_echo "$ac_cv_build" >&6; }
4243 case $ac_cv_build in
4244 *-*-*) ;;
4245 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4246 esac
4247 build=$ac_cv_build
4248 ac_save_IFS=$IFS; IFS='-'
4249 set x $ac_cv_build
4250 shift
4251 build_cpu=$1
4252 build_vendor=$2
4253 shift; shift
4254 # Remember, the first character of IFS is used to create $*,
4255 # except with old shells:
4256 build_os=$*
4257 IFS=$ac_save_IFS
4258 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4262 $as_echo_n "checking host system type... " >&6; }
4263 if ${ac_cv_host+:} false; then :
4264 $as_echo_n "(cached) " >&6
4265 else
4266 if test "x$host_alias" = x; then
4267 ac_cv_host=$ac_cv_build
4268 else
4269 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4270 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4275 $as_echo "$ac_cv_host" >&6; }
4276 case $ac_cv_host in
4277 *-*-*) ;;
4278 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4279 esac
4280 host=$ac_cv_host
4281 ac_save_IFS=$IFS; IFS='-'
4282 set x $ac_cv_host
4283 shift
4284 host_cpu=$1
4285 host_vendor=$2
4286 shift; shift
4287 # Remember, the first character of IFS is used to create $*,
4288 # except with old shells:
4289 host_os=$*
4290 IFS=$ac_save_IFS
4291 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4297 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4298 set x ${MAKE-make}
4299 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4300 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 cat >conftest.make <<\_ACEOF
4304 SHELL = /bin/sh
4305 all:
4306 @echo '@@@%%%=$(MAKE)=@@@%%%'
4307 _ACEOF
4308 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4309 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4310 *@@@%%%=?*=@@@%%%*)
4311 eval ac_cv_prog_make_${ac_make}_set=yes;;
4313 eval ac_cv_prog_make_${ac_make}_set=no;;
4314 esac
4315 rm -f conftest.make
4317 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4319 $as_echo "yes" >&6; }
4320 SET_MAKE=
4321 else
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4324 SET_MAKE="MAKE=${MAKE-make}"
4327 ac_ext=c
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 if test -n "$ac_tool_prefix"; then
4333 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4334 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC="$CC" # Let the user override the test.
4342 else
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 for as_dir in $PATH
4346 IFS=$as_save_IFS
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 break 2
4354 done
4355 done
4356 IFS=$as_save_IFS
4360 CC=$ac_cv_prog_CC
4361 if test -n "$CC"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4363 $as_echo "$CC" >&6; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4371 if test -z "$ac_cv_prog_CC"; then
4372 ac_ct_CC=$CC
4373 # Extract the first word of "gcc", so it can be a program name with args.
4374 set dummy gcc; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 if test -n "$ac_ct_CC"; then
4381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4382 else
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_ac_ct_CC="gcc"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 break 2
4394 done
4395 done
4396 IFS=$as_save_IFS
4400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4401 if test -n "$ac_ct_CC"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4403 $as_echo "$ac_ct_CC" >&6; }
4404 else
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4409 if test "x$ac_ct_CC" = x; then
4410 CC=""
4411 else
4412 case $cross_compiling:$ac_tool_warned in
4413 yes:)
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4416 ac_tool_warned=yes ;;
4417 esac
4418 CC=$ac_ct_CC
4420 else
4421 CC="$ac_cv_prog_CC"
4424 if test -z "$CC"; then
4425 if test -n "$ac_tool_prefix"; then
4426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4427 set dummy ${ac_tool_prefix}cc; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_CC+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 if test -n "$CC"; then
4434 ac_cv_prog_CC="$CC" # Let the user override the test.
4435 else
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 for as_dir in $PATH
4439 IFS=$as_save_IFS
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_CC="${ac_tool_prefix}cc"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 break 2
4447 done
4448 done
4449 IFS=$as_save_IFS
4453 CC=$ac_cv_prog_CC
4454 if test -n "$CC"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4456 $as_echo "$CC" >&6; }
4457 else
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4465 if test -z "$CC"; then
4466 # Extract the first word of "cc", so it can be a program name with args.
4467 set dummy cc; ac_word=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_CC+:} false; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 if test -n "$CC"; then
4474 ac_cv_prog_CC="$CC" # Let the user override the test.
4475 else
4476 ac_prog_rejected=no
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4480 IFS=$as_save_IFS
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4485 ac_prog_rejected=yes
4486 continue
4488 ac_cv_prog_CC="cc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4496 if test $ac_prog_rejected = yes; then
4497 # We found a bogon in the path, so make sure we never use it.
4498 set dummy $ac_cv_prog_CC
4499 shift
4500 if test $# != 0; then
4501 # We chose a different compiler from the bogus one.
4502 # However, it has the same basename, so the bogon will be chosen
4503 # first if we set CC to just the basename; use the full file name.
4504 shift
4505 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4510 CC=$ac_cv_prog_CC
4511 if test -n "$CC"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4513 $as_echo "$CC" >&6; }
4514 else
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4521 if test -z "$CC"; then
4522 if test -n "$ac_tool_prefix"; then
4523 for ac_prog in cl.exe
4525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_CC+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 if test -n "$CC"; then
4533 ac_cv_prog_CC="$CC" # Let the user override the test.
4534 else
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 for as_dir in $PATH
4538 IFS=$as_save_IFS
4539 test -z "$as_dir" && as_dir=.
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 break 2
4546 done
4547 done
4548 IFS=$as_save_IFS
4552 CC=$ac_cv_prog_CC
4553 if test -n "$CC"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4555 $as_echo "$CC" >&6; }
4556 else
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 test -n "$CC" && break
4563 done
4565 if test -z "$CC"; then
4566 ac_ct_CC=$CC
4567 for ac_prog in cl.exe
4569 # Extract the first word of "$ac_prog", so it can be a program name with args.
4570 set dummy $ac_prog; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -n "$ac_ct_CC"; then
4577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4578 else
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_ac_ct_CC="$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 break 2
4590 done
4591 done
4592 IFS=$as_save_IFS
4596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4597 if test -n "$ac_ct_CC"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4599 $as_echo "$ac_ct_CC" >&6; }
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4606 test -n "$ac_ct_CC" && break
4607 done
4609 if test "x$ac_ct_CC" = x; then
4610 CC=""
4611 else
4612 case $cross_compiling:$ac_tool_warned in
4613 yes:)
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned=yes ;;
4617 esac
4618 CC=$ac_ct_CC
4625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4627 as_fn_error $? "no acceptable C compiler found in \$PATH
4628 See \`config.log' for more details" "$LINENO" 5; }
4630 # Provide some information about the compiler.
4631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4632 set X $ac_compile
4633 ac_compiler=$2
4634 for ac_option in --version -v -V -qversion; do
4635 { { ac_try="$ac_compiler $ac_option >&5"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4641 $as_echo "$ac_try_echo"; } >&5
4642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4643 ac_status=$?
4644 if test -s conftest.err; then
4645 sed '10a\
4646 ... rest of stderr output deleted ...
4647 10q' conftest.err >conftest.er1
4648 cat conftest.er1 >&5
4650 rm -f conftest.er1 conftest.err
4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4652 test $ac_status = 0; }
4653 done
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4659 main ()
4663 return 0;
4665 _ACEOF
4666 ac_clean_files_save=$ac_clean_files
4667 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4668 # Try to create an executable without -o first, disregard a.out.
4669 # It will help us diagnose broken compilers, and finding out an intuition
4670 # of exeext.
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4672 $as_echo_n "checking whether the C compiler works... " >&6; }
4673 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4675 # The possible output files:
4676 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4678 ac_rmfiles=
4679 for ac_file in $ac_files
4681 case $ac_file in
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4684 esac
4685 done
4686 rm -f $ac_rmfiles
4688 if { { ac_try="$ac_link_default"
4689 case "(($ac_try" in
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4692 esac
4693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4694 $as_echo "$ac_try_echo"; } >&5
4695 (eval "$ac_link_default") 2>&5
4696 ac_status=$?
4697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4698 test $ac_status = 0; }; then :
4699 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4700 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4701 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4702 # so that the user can short-circuit this test for compilers unknown to
4703 # Autoconf.
4704 for ac_file in $ac_files ''
4706 test -f "$ac_file" || continue
4707 case $ac_file in
4708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4710 [ab].out )
4711 # We found the default executable, but exeext='' is most
4712 # certainly right.
4713 break;;
4714 *.* )
4715 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4716 then :; else
4717 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4719 # We set ac_cv_exeext here because the later test for it is not
4720 # safe: cross compilers may not add the suffix if given an `-o'
4721 # argument, so we may need to know it at that point already.
4722 # Even if this section looks crufty: it has the advantage of
4723 # actually working.
4724 break;;
4726 break;;
4727 esac
4728 done
4729 test "$ac_cv_exeext" = no && ac_cv_exeext=
4731 else
4732 ac_file=''
4734 if test -z "$ac_file"; then :
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4737 $as_echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.$ac_ext >&5
4740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4742 as_fn_error 77 "C compiler cannot create executables
4743 See \`config.log' for more details" "$LINENO" 5; }
4744 else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4746 $as_echo "yes" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4749 $as_echo_n "checking for C compiler default output file name... " >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4751 $as_echo "$ac_file" >&6; }
4752 ac_exeext=$ac_cv_exeext
4754 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4755 ac_clean_files=$ac_clean_files_save
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4757 $as_echo_n "checking for suffix of executables... " >&6; }
4758 if { { ac_try="$ac_link"
4759 case "(($ac_try" in
4760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4762 esac
4763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4764 $as_echo "$ac_try_echo"; } >&5
4765 (eval "$ac_link") 2>&5
4766 ac_status=$?
4767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4768 test $ac_status = 0; }; then :
4769 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4770 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4771 # work properly (i.e., refer to `conftest.exe'), while it won't with
4772 # `rm'.
4773 for ac_file in conftest.exe conftest conftest.*; do
4774 test -f "$ac_file" || continue
4775 case $ac_file in
4776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4777 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4778 break;;
4779 * ) break;;
4780 esac
4781 done
4782 else
4783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4785 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4786 See \`config.log' for more details" "$LINENO" 5; }
4788 rm -f conftest conftest$ac_cv_exeext
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4790 $as_echo "$ac_cv_exeext" >&6; }
4792 rm -f conftest.$ac_ext
4793 EXEEXT=$ac_cv_exeext
4794 ac_exeext=$EXEEXT
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 #include <stdio.h>
4799 main ()
4801 FILE *f = fopen ("conftest.out", "w");
4802 return ferror (f) || fclose (f) != 0;
4805 return 0;
4807 _ACEOF
4808 ac_clean_files="$ac_clean_files conftest.out"
4809 # Check that the compiler produces executables we can run. If not, either
4810 # the compiler is broken, or we cross compile.
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4812 $as_echo_n "checking whether we are cross compiling... " >&6; }
4813 if test "$cross_compiling" != yes; then
4814 { { ac_try="$ac_link"
4815 case "(($ac_try" in
4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4818 esac
4819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4820 $as_echo "$ac_try_echo"; } >&5
4821 (eval "$ac_link") 2>&5
4822 ac_status=$?
4823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4824 test $ac_status = 0; }
4825 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
4833 ac_status=$?
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }; }; then
4836 cross_compiling=no
4837 else
4838 if test "$cross_compiling" = maybe; then
4839 cross_compiling=yes
4840 else
4841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4843 as_fn_error $? "cannot run C compiled programs.
4844 If you meant to cross compile, use \`--host'.
4845 See \`config.log' for more details" "$LINENO" 5; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4850 $as_echo "$cross_compiling" >&6; }
4852 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4853 ac_clean_files=$ac_clean_files_save
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4855 $as_echo_n "checking for suffix of object files... " >&6; }
4856 if ${ac_cv_objext+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4863 main ()
4867 return 0;
4869 _ACEOF
4870 rm -f conftest.o conftest.obj
4871 if { { ac_try="$ac_compile"
4872 case "(($ac_try" in
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4875 esac
4876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4877 $as_echo "$ac_try_echo"; } >&5
4878 (eval "$ac_compile") 2>&5
4879 ac_status=$?
4880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4881 test $ac_status = 0; }; then :
4882 for ac_file in conftest.o conftest.obj conftest.*; do
4883 test -f "$ac_file" || continue;
4884 case $ac_file in
4885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4886 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4887 break;;
4888 esac
4889 done
4890 else
4891 $as_echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4896 as_fn_error $? "cannot compute suffix of object files: cannot compile
4897 See \`config.log' for more details" "$LINENO" 5; }
4899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4902 $as_echo "$ac_cv_objext" >&6; }
4903 OBJEXT=$ac_cv_objext
4904 ac_objext=$OBJEXT
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4906 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4907 if ${ac_cv_c_compiler_gnu+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4914 main ()
4916 #ifndef __GNUC__
4917 choke me
4918 #endif
4921 return 0;
4923 _ACEOF
4924 if ac_fn_c_try_compile "$LINENO"; then :
4925 ac_compiler_gnu=yes
4926 else
4927 ac_compiler_gnu=no
4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4934 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4935 if test $ac_compiler_gnu = yes; then
4936 GCC=yes
4937 else
4938 GCC=
4940 ac_test_CFLAGS=${CFLAGS+set}
4941 ac_save_CFLAGS=$CFLAGS
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4943 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4944 if ${ac_cv_prog_cc_g+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 ac_save_c_werror_flag=$ac_c_werror_flag
4948 ac_c_werror_flag=yes
4949 ac_cv_prog_cc_g=no
4950 CFLAGS="-g"
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4955 main ()
4959 return 0;
4961 _ACEOF
4962 if ac_fn_c_try_compile "$LINENO"; then :
4963 ac_cv_prog_cc_g=yes
4964 else
4965 CFLAGS=""
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_c_try_compile "$LINENO"; then :
4979 else
4980 ac_c_werror_flag=$ac_save_c_werror_flag
4981 CFLAGS="-g"
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4986 main ()
4990 return 0;
4992 _ACEOF
4993 if ac_fn_c_try_compile "$LINENO"; then :
4994 ac_cv_prog_cc_g=yes
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 ac_c_werror_flag=$ac_save_c_werror_flag
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5004 $as_echo "$ac_cv_prog_cc_g" >&6; }
5005 if test "$ac_test_CFLAGS" = set; then
5006 CFLAGS=$ac_save_CFLAGS
5007 elif test $ac_cv_prog_cc_g = yes; then
5008 if test "$GCC" = yes; then
5009 CFLAGS="-g -O2"
5010 else
5011 CFLAGS="-g"
5013 else
5014 if test "$GCC" = yes; then
5015 CFLAGS="-O2"
5016 else
5017 CFLAGS=
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5021 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5022 if ${ac_cv_prog_cc_c89+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 ac_cv_prog_cc_c89=no
5026 ac_save_CC=$CC
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <stdarg.h>
5030 #include <stdio.h>
5031 struct stat;
5032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5033 struct buf { int x; };
5034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5035 static char *e (p, i)
5036 char **p;
5037 int i;
5039 return p[i];
5041 static char *f (char * (*g) (char **, int), char **p, ...)
5043 char *s;
5044 va_list v;
5045 va_start (v,p);
5046 s = g (p, va_arg (v,int));
5047 va_end (v);
5048 return s;
5051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5052 function prototypes and stuff, but not '\xHH' hex character constants.
5053 These don't provoke an error unfortunately, instead are silently treated
5054 as 'x'. The following induces an error, until -std is added to get
5055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5056 array size at least. It's necessary to write '\x00'==0 to get something
5057 that's true only with -std. */
5058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5061 inside strings and character constants. */
5062 #define FOO(x) 'x'
5063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5065 int test (int i, double x);
5066 struct s1 {int (*f) (int a);};
5067 struct s2 {int (*f) (double a);};
5068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5069 int argc;
5070 char **argv;
5072 main ()
5074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5076 return 0;
5078 _ACEOF
5079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5082 CC="$ac_save_CC $ac_arg"
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084 ac_cv_prog_cc_c89=$ac_arg
5086 rm -f core conftest.err conftest.$ac_objext
5087 test "x$ac_cv_prog_cc_c89" != "xno" && break
5088 done
5089 rm -f conftest.$ac_ext
5090 CC=$ac_save_CC
5093 # AC_CACHE_VAL
5094 case "x$ac_cv_prog_cc_c89" in
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5097 $as_echo "none needed" >&6; } ;;
5098 xno)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5100 $as_echo "unsupported" >&6; } ;;
5102 CC="$CC $ac_cv_prog_cc_c89"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5104 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5105 esac
5106 if test "x$ac_cv_prog_cc_c89" != xno; then :
5110 ac_ext=c
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5116 ac_ext=cpp
5117 ac_cpp='$CXXCPP $CPPFLAGS'
5118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5121 if test -z "$CXX"; then
5122 if test -n "$CCC"; then
5123 CXX=$CCC
5124 else
5125 if test -n "$ac_tool_prefix"; then
5126 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_CXX+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if test -n "$CXX"; then
5136 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5151 IFS=$as_save_IFS
5155 CXX=$ac_cv_prog_CXX
5156 if test -n "$CXX"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5158 $as_echo "$CXX" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5165 test -n "$CXX" && break
5166 done
5168 if test -z "$CXX"; then
5169 ac_ct_CXX=$CXX
5170 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5172 # Extract the first word of "$ac_prog", so it can be a program name with args.
5173 set dummy $ac_prog; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_CXX"; then
5180 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_CXX="$ac_prog"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5200 if test -n "$ac_ct_CXX"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5202 $as_echo "$ac_ct_CXX" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5209 test -n "$ac_ct_CXX" && break
5210 done
5212 if test "x$ac_ct_CXX" = x; then
5213 CXX="g++"
5214 else
5215 case $cross_compiling:$ac_tool_warned in
5216 yes:)
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5219 ac_tool_warned=yes ;;
5220 esac
5221 CXX=$ac_ct_CXX
5227 # Provide some information about the compiler.
5228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5229 set X $ac_compile
5230 ac_compiler=$2
5231 for ac_option in --version -v -V -qversion; do
5232 { { ac_try="$ac_compiler $ac_option >&5"
5233 case "(($ac_try" in
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5235 *) ac_try_echo=$ac_try;;
5236 esac
5237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 $as_echo "$ac_try_echo"; } >&5
5239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5240 ac_status=$?
5241 if test -s conftest.err; then
5242 sed '10a\
5243 ... rest of stderr output deleted ...
5244 10q' conftest.err >conftest.er1
5245 cat conftest.er1 >&5
5247 rm -f conftest.er1 conftest.err
5248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5249 test $ac_status = 0; }
5250 done
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5253 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5254 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5255 $as_echo_n "(cached) " >&6
5256 else
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5261 main ()
5263 #ifndef __GNUC__
5264 choke me
5265 #endif
5268 return 0;
5270 _ACEOF
5271 if ac_fn_cxx_try_compile "$LINENO"; then :
5272 ac_compiler_gnu=yes
5273 else
5274 ac_compiler_gnu=no
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5281 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5282 if test $ac_compiler_gnu = yes; then
5283 GXX=yes
5284 else
5285 GXX=
5287 ac_test_CXXFLAGS=${CXXFLAGS+set}
5288 ac_save_CXXFLAGS=$CXXFLAGS
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5290 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5291 if ${ac_cv_prog_cxx_g+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5295 ac_cxx_werror_flag=yes
5296 ac_cv_prog_cxx_g=no
5297 CXXFLAGS="-g"
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5302 main ()
5306 return 0;
5308 _ACEOF
5309 if ac_fn_cxx_try_compile "$LINENO"; then :
5310 ac_cv_prog_cxx_g=yes
5311 else
5312 CXXFLAGS=""
5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314 /* end confdefs.h. */
5317 main ()
5321 return 0;
5323 _ACEOF
5324 if ac_fn_cxx_try_compile "$LINENO"; then :
5326 else
5327 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5328 CXXFLAGS="-g"
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 main ()
5337 return 0;
5339 _ACEOF
5340 if ac_fn_cxx_try_compile "$LINENO"; then :
5341 ac_cv_prog_cxx_g=yes
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5351 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5352 if test "$ac_test_CXXFLAGS" = set; then
5353 CXXFLAGS=$ac_save_CXXFLAGS
5354 elif test $ac_cv_prog_cxx_g = yes; then
5355 if test "$GXX" = yes; then
5356 CXXFLAGS="-g -O2"
5357 else
5358 CXXFLAGS="-g"
5360 else
5361 if test "$GXX" = yes; then
5362 CXXFLAGS="-O2"
5363 else
5364 CXXFLAGS=
5367 ac_ext=c
5368 ac_cpp='$CPP $CPPFLAGS'
5369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_CPPBIN+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$CPPBIN"; then
5382 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 CPPBIN=$ac_cv_prog_CPPBIN
5402 if test -n "$CPPBIN"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5404 $as_echo "$CPPBIN" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5412 if test -z "$ac_cv_prog_CPPBIN"; then
5413 ac_ct_CPPBIN=$CPPBIN
5414 # Extract the first word of "cpp", so it can be a program name with args.
5415 set dummy cpp; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 if test -n "$ac_ct_CPPBIN"; then
5422 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5427 IFS=$as_save_IFS
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_ac_ct_CPPBIN="cpp"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 break 2
5435 done
5436 done
5437 IFS=$as_save_IFS
5441 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5442 if test -n "$ac_ct_CPPBIN"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5444 $as_echo "$ac_ct_CPPBIN" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5450 if test "x$ac_ct_CPPBIN" = x; then
5451 CPPBIN="cpp"
5452 else
5453 case $cross_compiling:$ac_tool_warned in
5454 yes:)
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5457 ac_tool_warned=yes ;;
5458 esac
5459 CPPBIN=$ac_ct_CPPBIN
5461 else
5462 CPPBIN="$ac_cv_prog_CPPBIN"
5466 cat >>confdefs.h <<_ACEOF
5467 #define EXEEXT "$ac_exeext"
5468 _ACEOF
5470 if test -n "$ac_tool_prefix"; then
5471 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5472 set dummy ${ac_tool_prefix}ld; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_LD+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$LD"; then
5479 ac_cv_prog_LD="$LD" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_LD="${ac_tool_prefix}ld"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 LD=$ac_cv_prog_LD
5499 if test -n "$LD"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5501 $as_echo "$LD" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5509 if test -z "$ac_cv_prog_LD"; then
5510 ac_ct_LD=$LD
5511 # Extract the first word of "ld", so it can be a program name with args.
5512 set dummy ld; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -n "$ac_ct_LD"; then
5519 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_ac_ct_LD="ld"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5539 if test -n "$ac_ct_LD"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5541 $as_echo "$ac_ct_LD" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5547 if test "x$ac_ct_LD" = x; then
5548 LD=""
5549 else
5550 case $cross_compiling:$ac_tool_warned in
5551 yes:)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5554 ac_tool_warned=yes ;;
5555 esac
5556 LD=$ac_ct_LD
5558 else
5559 LD="$ac_cv_prog_LD"
5563 case $host in
5564 *-darwin*)
5565 with_fontconfig=${with_fontconfig:-no}
5567 *-mingw32*|*-cygwin*)
5568 enable_win16=${enable_win16:-no}
5569 with_mingw=${with_mingw:-no}
5570 CFLAGS="$CFLAGS -D_WIN32"
5572 esac
5574 case $host in
5575 x86_64*|amd64*)
5576 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5577 then
5578 CC="$CC -m32"
5579 CXX="$CXX -m32"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5582 $as_echo_n "checking whether $CC works... " >&6; }
5583 if ${wine_cv_cc_m32+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5590 main ()
5594 return 0;
5596 _ACEOF
5597 if ac_fn_c_try_link "$LINENO"; then :
5598 wine_cv_cc_m32=yes
5599 else
5600 wine_cv_cc_m32=no
5602 rm -f core conftest.err conftest.$ac_objext \
5603 conftest$ac_exeext conftest.$ac_ext
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5606 $as_echo "$wine_cv_cc_m32" >&6; }
5607 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
5608 host_cpu="i386"
5609 notice_platform="32-bit "
5610 TARGETFLAGS="-m32"
5612 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5613 export PKG_CONFIG_PATH
5614 enable_win16=${enable_win16:-yes}
5615 with_unwind=${with_unwind:-no}
5616 else
5617 if test "x${GCC}" = "xyes"
5618 then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5620 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5621 if ${wine_cv_builtin_ms_va_list+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626 #include <stdarg.h>
5628 main ()
5630 void func(__builtin_ms_va_list *args);
5632 return 0;
5634 _ACEOF
5635 if ac_fn_c_try_compile "$LINENO"; then :
5636 wine_cv_builtin_ms_va_list=yes
5637 else
5638 wine_cv_builtin_ms_va_list=no
5640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5643 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5644 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
5646 CC="$CC -m64"
5647 CXX="$CXX -m64"
5648 host_cpu="x86_64"
5649 notice_platform="64-bit "
5650 TARGETFLAGS="-m64"
5654 arm*)
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5656 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5657 if ${wine_cv_thumb+:} false; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5662 int ac_test(int i) { return i; }
5664 main ()
5666 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5668 return 0;
5670 _ACEOF
5671 if ac_fn_c_try_link "$LINENO"; then :
5672 wine_cv_thumb=yes
5673 else
5674 wine_cv_thumb=no
5676 rm -f core conftest.err conftest.$ac_objext \
5677 conftest$ac_exeext conftest.$ac_ext
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5680 $as_echo "$wine_cv_thumb" >&6; }
5681 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5682 case $with_float_abi in
5683 soft|softfp|hard)
5684 float_abi=$with_float_abi ;;
5686 case $host_os in
5687 *eabihf)
5688 float_abi=hard ;;
5690 float_abi=softfp
5691 saved_CFLAGS=$CFLAGS
5692 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5694 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5695 if ${wine_cv_float_abi+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5702 main ()
5704 asm("vmrs r2,fpscr");
5706 return 0;
5708 _ACEOF
5709 if ac_fn_c_try_link "$LINENO"; then :
5710 wine_cv_float_abi=yes
5711 else
5712 wine_cv_float_abi=no
5714 rm -f core conftest.err conftest.$ac_objext \
5715 conftest$ac_exeext conftest.$ac_ext
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5718 $as_echo "$wine_cv_float_abi" >&6; }
5719 if test $wine_cv_float_abi = no
5720 then
5721 float_abi=soft
5722 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5724 CFLAGS=$saved_CFLAGS
5725 esac
5727 esac
5728 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5729 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5732 aarch64*)
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5734 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5735 if ${wine_cv_builtin_ms_va_list+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5740 #include <stdarg.h>
5742 main ()
5744 void func(__builtin_ms_va_list *args);
5746 return 0;
5748 _ACEOF
5749 if ac_fn_c_try_compile "$LINENO"; then :
5750 wine_cv_builtin_ms_va_list=yes
5751 else
5752 wine_cv_builtin_ms_va_list=no
5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5757 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5758 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5760 i[3456789]86*)
5761 enable_win16=${enable_win16:-yes}
5762 with_unwind=${with_unwind:-no}
5764 esac
5766 enable_win16=${enable_win16:-no}
5767 enable_win64=${enable_win64:-no}
5769 enable_winetest=${enable_winetest:-$enable_tests}
5771 if test "x$enable_win64" = "xyes"
5772 then
5773 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5774 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5775 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5779 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5780 if ${wine_cv_toolsdir+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 wine_cv_toolsdir="$with_wine_tools"
5784 if test -z "$with_wine_tools"; then
5785 if test "$cross_compiling" = "yes"; then
5786 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5787 elif test -n "$with_wine64"; then
5788 wine_cv_toolsdir="$with_wine64"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5793 $as_echo "$wine_cv_toolsdir" >&6; }
5794 if test -z "$wine_cv_toolsdir"; then
5795 wine_makedep=tools/makedep
5796 TOOLSDIR="\$(top_builddir)"
5798 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5799 wine_makedep=$wine_cv_toolsdir/tools/makedep
5800 case "$wine_cv_toolsdir" in
5801 /*) TOOLSDIR=$wine_cv_toolsdir
5803 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5805 esac
5806 enable_tools=${enable_tools:-no}
5807 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5808 else
5809 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5811 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5812 then
5813 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5817 for ac_prog in flex
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_FLEX+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$FLEX"; then
5827 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_FLEX="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 FLEX=$ac_cv_prog_FLEX
5847 if test -n "$FLEX"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5849 $as_echo "$FLEX" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$FLEX" && break
5857 done
5858 test -n "$FLEX" || FLEX="none"
5860 if test "$FLEX" = "none"
5861 then
5862 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5865 $as_echo_n "checking whether flex is recent enough... " >&6; }
5866 if ${wine_cv_recent_flex+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 cat >conftest.l <<EOF
5870 %top{
5871 #include "prediluvian.h"
5875 if $FLEX -t conftest.l >/dev/null 2>&5
5876 then
5877 wine_cv_recent_flex=yes
5878 else
5879 wine_cv_recent_flex=no
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5883 $as_echo "$wine_cv_recent_flex" >&6; }
5884 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
5886 for ac_prog in bison
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy $ac_prog; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if ${ac_cv_prog_BISON+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 if test -n "$BISON"; then
5896 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5901 IFS=$as_save_IFS
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905 ac_cv_prog_BISON="$ac_prog"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 break 2
5909 done
5910 done
5911 IFS=$as_save_IFS
5915 BISON=$ac_cv_prog_BISON
5916 if test -n "$BISON"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5918 $as_echo "$BISON" >&6; }
5919 else
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5925 test -n "$BISON" && break
5926 done
5927 test -n "$BISON" || BISON="none"
5929 if test "$BISON" = "none"
5930 then
5931 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5934 $as_echo_n "checking whether bison is recent enough... " >&6; }
5935 if ${wine_cv_recent_bison+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 cat >conftest.y <<EOF
5939 %define parse.error verbose
5941 empty: ;
5943 if $BISON conftest.y >/dev/null 2>&5
5944 then
5945 wine_cv_recent_bison=yes
5946 else
5947 wine_cv_recent_bison=no
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5951 $as_echo "$wine_cv_recent_bison" >&6; }
5952 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
5954 if test -n "$ac_tool_prefix"; then
5955 for ac_prog in ar gar
5957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_AR+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$AR"; then
5965 ac_cv_prog_AR="$AR" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 AR=$ac_cv_prog_AR
5985 if test -n "$AR"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5987 $as_echo "$AR" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$AR" && break
5995 done
5997 if test -z "$AR"; then
5998 ac_ct_AR=$AR
5999 for ac_prog in ar gar
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy $ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$ac_ct_AR"; then
6009 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_ac_ct_AR="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6029 if test -n "$ac_ct_AR"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6031 $as_echo "$ac_ct_AR" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$ac_ct_AR" && break
6039 done
6041 if test "x$ac_ct_AR" = x; then
6042 AR="ar"
6043 else
6044 case $cross_compiling:$ac_tool_warned in
6045 yes:)
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6048 ac_tool_warned=yes ;;
6049 esac
6050 AR=$ac_ct_AR
6054 if test -n "$ac_tool_prefix"; then
6055 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6056 set dummy ${ac_tool_prefix}strip; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if ${ac_cv_prog_STRIP+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 if test -n "$STRIP"; then
6063 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6078 IFS=$as_save_IFS
6082 STRIP=$ac_cv_prog_STRIP
6083 if test -n "$STRIP"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6085 $as_echo "$STRIP" >&6; }
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6093 if test -z "$ac_cv_prog_STRIP"; then
6094 ac_ct_STRIP=$STRIP
6095 # Extract the first word of "strip", so it can be a program name with args.
6096 set dummy strip; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 if test -n "$ac_ct_STRIP"; then
6103 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_ac_ct_STRIP="strip"
6113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6123 if test -n "$ac_ct_STRIP"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6125 $as_echo "$ac_ct_STRIP" >&6; }
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6131 if test "x$ac_ct_STRIP" = x; then
6132 STRIP="strip"
6133 else
6134 case $cross_compiling:$ac_tool_warned in
6135 yes:)
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6138 ac_tool_warned=yes ;;
6139 esac
6140 STRIP=$ac_ct_STRIP
6142 else
6143 STRIP="$ac_cv_prog_STRIP"
6146 if test -n "$ac_tool_prefix"; then
6147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if ${ac_cv_prog_RANLIB+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 if test -n "$RANLIB"; then
6155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6156 else
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 for as_dir in $PATH
6160 IFS=$as_save_IFS
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166 break 2
6168 done
6169 done
6170 IFS=$as_save_IFS
6174 RANLIB=$ac_cv_prog_RANLIB
6175 if test -n "$RANLIB"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6177 $as_echo "$RANLIB" >&6; }
6178 else
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6185 if test -z "$ac_cv_prog_RANLIB"; then
6186 ac_ct_RANLIB=$RANLIB
6187 # Extract the first word of "ranlib", so it can be a program name with args.
6188 set dummy ranlib; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$ac_ct_RANLIB"; then
6195 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_ac_ct_RANLIB="ranlib"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6215 if test -n "$ac_ct_RANLIB"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6217 $as_echo "$ac_ct_RANLIB" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6223 if test "x$ac_ct_RANLIB" = x; then
6224 RANLIB=":"
6225 else
6226 case $cross_compiling:$ac_tool_warned in
6227 yes:)
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6230 ac_tool_warned=yes ;;
6231 esac
6232 RANLIB=$ac_ct_RANLIB
6234 else
6235 RANLIB="$ac_cv_prog_RANLIB"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6239 $as_echo_n "checking whether ln -s works... " >&6; }
6240 LN_S=$as_ln_s
6241 if test "$LN_S" = "ln -s"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6243 $as_echo "yes" >&6; }
6244 else
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6246 $as_echo "no, using $LN_S" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6250 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6251 if ${ac_cv_path_GREP+:} false; then :
6252 $as_echo_n "(cached) " >&6
6253 else
6254 if test -z "$GREP"; then
6255 ac_path_GREP_found=false
6256 # Loop through the user's path and test for each of PROGNAME-LIST
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6260 IFS=$as_save_IFS
6261 test -z "$as_dir" && as_dir=.
6262 for ac_prog in grep ggrep; do
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6265 as_fn_executable_p "$ac_path_GREP" || continue
6266 # Check for GNU ac_path_GREP and select it if it is found.
6267 # Check for GNU $ac_path_GREP
6268 case `"$ac_path_GREP" --version 2>&1` in
6269 *GNU*)
6270 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6272 ac_count=0
6273 $as_echo_n 0123456789 >"conftest.in"
6274 while :
6276 cat "conftest.in" "conftest.in" >"conftest.tmp"
6277 mv "conftest.tmp" "conftest.in"
6278 cp "conftest.in" "conftest.nl"
6279 $as_echo 'GREP' >> "conftest.nl"
6280 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6282 as_fn_arith $ac_count + 1 && ac_count=$as_val
6283 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6284 # Best one so far, save it but keep looking for a better one
6285 ac_cv_path_GREP="$ac_path_GREP"
6286 ac_path_GREP_max=$ac_count
6288 # 10*(2^10) chars as input seems more than enough
6289 test $ac_count -gt 10 && break
6290 done
6291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6292 esac
6294 $ac_path_GREP_found && break 3
6295 done
6296 done
6297 done
6298 IFS=$as_save_IFS
6299 if test -z "$ac_cv_path_GREP"; then
6300 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6302 else
6303 ac_cv_path_GREP=$GREP
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6308 $as_echo "$ac_cv_path_GREP" >&6; }
6309 GREP="$ac_cv_path_GREP"
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6313 $as_echo_n "checking for egrep... " >&6; }
6314 if ${ac_cv_path_EGREP+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6318 then ac_cv_path_EGREP="$GREP -E"
6319 else
6320 if test -z "$EGREP"; then
6321 ac_path_EGREP_found=false
6322 # Loop through the user's path and test for each of PROGNAME-LIST
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6326 IFS=$as_save_IFS
6327 test -z "$as_dir" && as_dir=.
6328 for ac_prog in egrep; do
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6331 as_fn_executable_p "$ac_path_EGREP" || continue
6332 # Check for GNU ac_path_EGREP and select it if it is found.
6333 # Check for GNU $ac_path_EGREP
6334 case `"$ac_path_EGREP" --version 2>&1` in
6335 *GNU*)
6336 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6338 ac_count=0
6339 $as_echo_n 0123456789 >"conftest.in"
6340 while :
6342 cat "conftest.in" "conftest.in" >"conftest.tmp"
6343 mv "conftest.tmp" "conftest.in"
6344 cp "conftest.in" "conftest.nl"
6345 $as_echo 'EGREP' >> "conftest.nl"
6346 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6347 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6348 as_fn_arith $ac_count + 1 && ac_count=$as_val
6349 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6350 # Best one so far, save it but keep looking for a better one
6351 ac_cv_path_EGREP="$ac_path_EGREP"
6352 ac_path_EGREP_max=$ac_count
6354 # 10*(2^10) chars as input seems more than enough
6355 test $ac_count -gt 10 && break
6356 done
6357 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6358 esac
6360 $ac_path_EGREP_found && break 3
6361 done
6362 done
6363 done
6364 IFS=$as_save_IFS
6365 if test -z "$ac_cv_path_EGREP"; then
6366 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6368 else
6369 ac_cv_path_EGREP=$EGREP
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6375 $as_echo "$ac_cv_path_EGREP" >&6; }
6376 EGREP="$ac_cv_path_EGREP"
6379 # Extract the first word of "ldconfig", so it can be a program name with args.
6380 set dummy ldconfig; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_path_LDCONFIG+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6386 case $LDCONFIG in
6387 [\\/]* | ?:[\\/]*)
6388 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in /sbin /usr/sbin $PATH
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6398 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 break 2
6402 done
6403 done
6404 IFS=$as_save_IFS
6406 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6408 esac
6410 LDCONFIG=$ac_cv_path_LDCONFIG
6411 if test -n "$LDCONFIG"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6413 $as_echo "$LDCONFIG" >&6; }
6414 else
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 $as_echo "no" >&6; }
6420 for ac_prog in msgfmt
6422 # Extract the first word of "$ac_prog", so it can be a program name with args.
6423 set dummy $ac_prog; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 $as_echo_n "checking for $ac_word... " >&6; }
6426 if ${ac_cv_prog_MSGFMT+:} false; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if test -n "$MSGFMT"; then
6430 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_prog_MSGFMT="$ac_prog"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6449 MSGFMT=$ac_cv_prog_MSGFMT
6450 if test -n "$MSGFMT"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6452 $as_echo "$MSGFMT" >&6; }
6453 else
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6455 $as_echo "no" >&6; }
6459 test -n "$MSGFMT" && break
6460 done
6461 test -n "$MSGFMT" || MSGFMT="false"
6463 if ${ac_tool_prefix+:} false; then :
6464 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6465 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$PKG_CONFIG"; then
6472 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6492 if test -n "$PKG_CONFIG"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6494 $as_echo "$PKG_CONFIG" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6502 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6503 if test "x$cross_compiling" = xyes; then :
6505 else
6506 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6507 # Extract the first word of "pkg-config", so it can be a program name with args.
6508 set dummy pkg-config; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$PKG_CONFIG"; then
6515 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_PKG_CONFIG="pkg-config"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6535 if test -n "$PKG_CONFIG"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6537 $as_echo "$PKG_CONFIG" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6545 else
6546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6549 if test "x$enable_maintainer_mode" != "xyes"
6550 then
6551 FONTFORGE=""
6552 RSVG=""
6553 CONVERT=""
6554 ICOTOOL=""
6555 else
6556 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6557 for ac_prog in fontforge
6559 # Extract the first word of "$ac_prog", so it can be a program name with args.
6560 set dummy $ac_prog; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_FONTFORGE+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 if test -n "$FONTFORGE"; then
6567 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6572 IFS=$as_save_IFS
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_FONTFORGE="$ac_prog"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 break 2
6580 done
6581 done
6582 IFS=$as_save_IFS
6586 FONTFORGE=$ac_cv_prog_FONTFORGE
6587 if test -n "$FONTFORGE"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6589 $as_echo "$FONTFORGE" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6596 test -n "$FONTFORGE" && break
6597 done
6598 test -n "$FONTFORGE" || FONTFORGE="false"
6600 for ac_prog in rsvg-convert rsvg
6602 # Extract the first word of "$ac_prog", so it can be a program name with args.
6603 set dummy $ac_prog; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_RSVG+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 if test -n "$RSVG"; then
6610 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 test -z "$as_dir" && as_dir=.
6617 for ac_exec_ext in '' $ac_executable_extensions; do
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_RSVG="$ac_prog"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 break 2
6623 done
6624 done
6625 IFS=$as_save_IFS
6629 RSVG=$ac_cv_prog_RSVG
6630 if test -n "$RSVG"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6632 $as_echo "$RSVG" >&6; }
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6639 test -n "$RSVG" && break
6640 done
6641 test -n "$RSVG" || RSVG="false"
6643 for ac_prog in convert
6645 # Extract the first word of "$ac_prog", so it can be a program name with args.
6646 set dummy $ac_prog; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if ${ac_cv_prog_CONVERT+:} false; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$CONVERT"; then
6653 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6662 ac_cv_prog_CONVERT="$ac_prog"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6666 done
6667 done
6668 IFS=$as_save_IFS
6672 CONVERT=$ac_cv_prog_CONVERT
6673 if test -n "$CONVERT"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6675 $as_echo "$CONVERT" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6682 test -n "$CONVERT" && break
6683 done
6684 test -n "$CONVERT" || CONVERT="false"
6686 for ac_prog in icotool
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy $ac_prog; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 $as_echo_n "checking for $ac_word... " >&6; }
6692 if ${ac_cv_prog_ICOTOOL+:} false; then :
6693 $as_echo_n "(cached) " >&6
6694 else
6695 if test -n "$ICOTOOL"; then
6696 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6697 else
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699 for as_dir in $PATH
6701 IFS=$as_save_IFS
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_ICOTOOL="$ac_prog"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 break 2
6709 done
6710 done
6711 IFS=$as_save_IFS
6715 ICOTOOL=$ac_cv_prog_ICOTOOL
6716 if test -n "$ICOTOOL"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6718 $as_echo "$ICOTOOL" >&6; }
6719 else
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 $as_echo "no" >&6; }
6725 test -n "$ICOTOOL" && break
6726 done
6727 test -n "$ICOTOOL" || ICOTOOL="false"
6729 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6730 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6732 if test "$CONVERT" = false
6733 then
6734 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6737 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6738 convert_version=`convert --version | head -n1`
6739 if test "x$convert_version" != "x"
6740 then
6741 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6742 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6743 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6744 then
6745 CONVERT=false
6748 if test "$CONVERT" = false
6749 then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6751 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6752 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6753 else
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6755 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6759 if test "$ICOTOOL" = false
6760 then
6761 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6762 else
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6764 $as_echo_n "checking for recent enough icotool... " >&6; }
6765 icotool_version=`icotool --version | head -n1`
6766 if test "x$icotool_version" != "x"
6767 then
6768 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6769 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6770 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6771 then
6772 ICOTOOL=false
6773 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6776 if test "$ICOTOOL" = false
6777 then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6779 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6780 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6781 else
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6783 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6787 with_gettext=yes
6788 with_gettextpo=yes
6791 test "x$with_gettext" != xno || MSGFMT=false
6792 if test "$MSGFMT" != "false"
6793 then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6795 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6796 if ${wine_cv_msgfmt_contexts+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 cat >conftest.po <<EOF
6800 # comment
6801 msgctxt "ctxt"
6802 msgid "id"
6803 msgstr "str"
6805 if $MSGFMT -o /dev/null conftest.po 2>&5
6806 then
6807 wine_cv_msgfmt_contexts=yes
6808 else
6809 wine_cv_msgfmt_contexts=no
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6813 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6814 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6816 if test "$MSGFMT" = false; then :
6817 case "x$with_gettext" in
6818 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6819 xno) ;;
6820 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6821 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6822 esac
6823 enable_po=${enable_po:-no}
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6828 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6829 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6830 $as_echo_n "(cached) " >&6
6831 else
6832 ac_check_lib_save_LIBS=$LIBS
6833 LIBS="-li386 $LIBS"
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6837 /* Override any GCC internal prototype to avoid an error.
6838 Use char because int might match the return type of a GCC
6839 builtin and then its argument prototype would still apply. */
6840 #ifdef __cplusplus
6841 extern "C"
6842 #endif
6843 char i386_set_ldt ();
6845 main ()
6847 return i386_set_ldt ();
6849 return 0;
6851 _ACEOF
6852 if ac_fn_c_try_link "$LINENO"; then :
6853 ac_cv_lib_i386_i386_set_ldt=yes
6854 else
6855 ac_cv_lib_i386_i386_set_ldt=no
6857 rm -f core conftest.err conftest.$ac_objext \
6858 conftest$ac_exeext conftest.$ac_ext
6859 LIBS=$ac_check_lib_save_LIBS
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6862 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6863 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6864 I386_LIBS="-li386"
6869 OPENGL_LIBS=""
6873 # Check whether --enable-largefile was given.
6874 if test "${enable_largefile+set}" = set; then :
6875 enableval=$enable_largefile;
6878 if test "$enable_largefile" != no; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6881 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6882 if ${ac_cv_sys_largefile_CC+:} false; then :
6883 $as_echo_n "(cached) " >&6
6884 else
6885 ac_cv_sys_largefile_CC=no
6886 if test "$GCC" != yes; then
6887 ac_save_CC=$CC
6888 while :; do
6889 # IRIX 6.2 and later do not support large files by default,
6890 # so use the C compiler's -n32 option if that helps.
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 #include <sys/types.h>
6894 /* Check that off_t can represent 2**63 - 1 correctly.
6895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6896 since some C++ compilers masquerading as C compilers
6897 incorrectly reject 9223372036854775807. */
6898 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6900 && LARGE_OFF_T % 2147483647 == 1)
6901 ? 1 : -1];
6903 main ()
6907 return 0;
6909 _ACEOF
6910 if ac_fn_c_try_compile "$LINENO"; then :
6911 break
6913 rm -f core conftest.err conftest.$ac_objext
6914 CC="$CC -n32"
6915 if ac_fn_c_try_compile "$LINENO"; then :
6916 ac_cv_sys_largefile_CC=' -n32'; break
6918 rm -f core conftest.err conftest.$ac_objext
6919 break
6920 done
6921 CC=$ac_save_CC
6922 rm -f conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6926 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6927 if test "$ac_cv_sys_largefile_CC" != no; then
6928 CC=$CC$ac_cv_sys_largefile_CC
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6932 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6933 if ${ac_cv_sys_file_offset_bits+:} false; then :
6934 $as_echo_n "(cached) " >&6
6935 else
6936 while :; do
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <sys/types.h>
6940 /* Check that off_t can represent 2**63 - 1 correctly.
6941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6942 since some C++ compilers masquerading as C compilers
6943 incorrectly reject 9223372036854775807. */
6944 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6946 && LARGE_OFF_T % 2147483647 == 1)
6947 ? 1 : -1];
6949 main ()
6953 return 0;
6955 _ACEOF
6956 if ac_fn_c_try_compile "$LINENO"; then :
6957 ac_cv_sys_file_offset_bits=no; break
6959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 #define _FILE_OFFSET_BITS 64
6963 #include <sys/types.h>
6964 /* Check that off_t can represent 2**63 - 1 correctly.
6965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6966 since some C++ compilers masquerading as C compilers
6967 incorrectly reject 9223372036854775807. */
6968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6970 && LARGE_OFF_T % 2147483647 == 1)
6971 ? 1 : -1];
6973 main ()
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_compile "$LINENO"; then :
6981 ac_cv_sys_file_offset_bits=64; break
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 ac_cv_sys_file_offset_bits=unknown
6985 break
6986 done
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6989 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6990 case $ac_cv_sys_file_offset_bits in #(
6991 no | unknown) ;;
6993 cat >>confdefs.h <<_ACEOF
6994 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6995 _ACEOF
6997 esac
6998 rm -rf conftest*
6999 if test $ac_cv_sys_file_offset_bits = unknown; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7001 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7002 if ${ac_cv_sys_large_files+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 while :; do
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #include <sys/types.h>
7009 /* Check that off_t can represent 2**63 - 1 correctly.
7010 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7011 since some C++ compilers masquerading as C compilers
7012 incorrectly reject 9223372036854775807. */
7013 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7015 && LARGE_OFF_T % 2147483647 == 1)
7016 ? 1 : -1];
7018 main ()
7022 return 0;
7024 _ACEOF
7025 if ac_fn_c_try_compile "$LINENO"; then :
7026 ac_cv_sys_large_files=no; break
7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #define _LARGE_FILES 1
7032 #include <sys/types.h>
7033 /* Check that off_t can represent 2**63 - 1 correctly.
7034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7035 since some C++ compilers masquerading as C compilers
7036 incorrectly reject 9223372036854775807. */
7037 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7039 && LARGE_OFF_T % 2147483647 == 1)
7040 ? 1 : -1];
7042 main ()
7046 return 0;
7048 _ACEOF
7049 if ac_fn_c_try_compile "$LINENO"; then :
7050 ac_cv_sys_large_files=1; break
7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053 ac_cv_sys_large_files=unknown
7054 break
7055 done
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7058 $as_echo "$ac_cv_sys_large_files" >&6; }
7059 case $ac_cv_sys_large_files in #(
7060 no | unknown) ;;
7062 cat >>confdefs.h <<_ACEOF
7063 #define _LARGE_FILES $ac_cv_sys_large_files
7064 _ACEOF
7066 esac
7067 rm -rf conftest*
7074 ac_ext=c
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7081 # On Suns, sometimes $CPP names a directory.
7082 if test -n "$CPP" && test -d "$CPP"; then
7083 CPP=
7085 if test -z "$CPP"; then
7086 if ${ac_cv_prog_CPP+:} false; then :
7087 $as_echo_n "(cached) " >&6
7088 else
7089 # Double quotes because CPP needs to be expanded
7090 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7092 ac_preproc_ok=false
7093 for ac_c_preproc_warn_flag in '' yes
7095 # Use a header file that comes with gcc, so configuring glibc
7096 # with a fresh cross-compiler works.
7097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7098 # <limits.h> exists even on freestanding compilers.
7099 # On the NeXT, cc -E runs the code through the compiler's parser,
7100 # not just through cpp. "Syntax error" is here to catch this case.
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7103 #ifdef __STDC__
7104 # include <limits.h>
7105 #else
7106 # include <assert.h>
7107 #endif
7108 Syntax error
7109 _ACEOF
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7112 else
7113 # Broken: fails on valid input.
7114 continue
7116 rm -f conftest.err conftest.i conftest.$ac_ext
7118 # OK, works on sane cases. Now check whether nonexistent headers
7119 # can be detected and how.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <ac_nonexistent.h>
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7125 # Broken: success on invalid input.
7126 continue
7127 else
7128 # Passes both tests.
7129 ac_preproc_ok=:
7130 break
7132 rm -f conftest.err conftest.i conftest.$ac_ext
7134 done
7135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7136 rm -f conftest.i conftest.err conftest.$ac_ext
7137 if $ac_preproc_ok; then :
7138 break
7141 done
7142 ac_cv_prog_CPP=$CPP
7145 CPP=$ac_cv_prog_CPP
7146 else
7147 ac_cv_prog_CPP=$CPP
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7150 $as_echo "$CPP" >&6; }
7151 ac_preproc_ok=false
7152 for ac_c_preproc_warn_flag in '' yes
7154 # Use a header file that comes with gcc, so configuring glibc
7155 # with a fresh cross-compiler works.
7156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7157 # <limits.h> exists even on freestanding compilers.
7158 # On the NeXT, cc -E runs the code through the compiler's parser,
7159 # not just through cpp. "Syntax error" is here to catch this case.
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7162 #ifdef __STDC__
7163 # include <limits.h>
7164 #else
7165 # include <assert.h>
7166 #endif
7167 Syntax error
7168 _ACEOF
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7171 else
7172 # Broken: fails on valid input.
7173 continue
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 # OK, works on sane cases. Now check whether nonexistent headers
7178 # can be detected and how.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #include <ac_nonexistent.h>
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7184 # Broken: success on invalid input.
7185 continue
7186 else
7187 # Passes both tests.
7188 ac_preproc_ok=:
7189 break
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7193 done
7194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7195 rm -f conftest.i conftest.err conftest.$ac_ext
7196 if $ac_preproc_ok; then :
7198 else
7199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7201 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7202 See \`config.log' for more details" "$LINENO" 5; }
7205 ac_ext=c
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7213 $as_echo_n "checking for ANSI C header files... " >&6; }
7214 if ${ac_cv_header_stdc+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #include <stdlib.h>
7220 #include <stdarg.h>
7221 #include <string.h>
7222 #include <float.h>
7225 main ()
7229 return 0;
7231 _ACEOF
7232 if ac_fn_c_try_compile "$LINENO"; then :
7233 ac_cv_header_stdc=yes
7234 else
7235 ac_cv_header_stdc=no
7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7239 if test $ac_cv_header_stdc = yes; then
7240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #include <string.h>
7245 _ACEOF
7246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7247 $EGREP "memchr" >/dev/null 2>&1; then :
7249 else
7250 ac_cv_header_stdc=no
7252 rm -f conftest*
7256 if test $ac_cv_header_stdc = yes; then
7257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 #include <stdlib.h>
7262 _ACEOF
7263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7264 $EGREP "free" >/dev/null 2>&1; then :
7266 else
7267 ac_cv_header_stdc=no
7269 rm -f conftest*
7273 if test $ac_cv_header_stdc = yes; then
7274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7275 if test "$cross_compiling" = yes; then :
7277 else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7280 #include <ctype.h>
7281 #include <stdlib.h>
7282 #if ((' ' & 0x0FF) == 0x020)
7283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7285 #else
7286 # define ISLOWER(c) \
7287 (('a' <= (c) && (c) <= 'i') \
7288 || ('j' <= (c) && (c) <= 'r') \
7289 || ('s' <= (c) && (c) <= 'z'))
7290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7291 #endif
7293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7295 main ()
7297 int i;
7298 for (i = 0; i < 256; i++)
7299 if (XOR (islower (i), ISLOWER (i))
7300 || toupper (i) != TOUPPER (i))
7301 return 2;
7302 return 0;
7304 _ACEOF
7305 if ac_fn_c_try_run "$LINENO"; then :
7307 else
7308 ac_cv_header_stdc=no
7310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7311 conftest.$ac_objext conftest.beam conftest.$ac_ext
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7317 $as_echo "$ac_cv_header_stdc" >&6; }
7318 if test $ac_cv_header_stdc = yes; then
7320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7325 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7326 inttypes.h stdint.h unistd.h
7327 do :
7328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7334 _ACEOF
7338 done
7341 for ac_header in \
7342 AL/al.h \
7343 ApplicationServices/ApplicationServices.h \
7344 AudioToolbox/AudioConverter.h \
7345 AudioUnit/AudioUnit.h \
7346 AudioUnit/AudioComponent.h \
7347 CL/cl.h \
7348 Carbon/Carbon.h \
7349 CommonCrypto/CommonCryptor.h \
7350 CoreAudio/CoreAudio.h \
7351 CoreServices/CoreServices.h \
7352 DiskArbitration/DiskArbitration.h \
7353 EGL/egl.h \
7354 IOKit/IOKitLib.h \
7355 IOKit/hid/IOHIDLib.h \
7356 OpenAL/al.h \
7357 OpenCL/opencl.h \
7358 QuickTime/ImageCompression.h \
7359 Security/Security.h \
7360 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7361 SystemConfiguration/SCNetworkConfiguration.h \
7362 alias.h \
7363 arpa/inet.h \
7364 arpa/nameser.h \
7365 asm/types.h \
7366 asm/user.h \
7367 curses.h \
7368 dirent.h \
7369 dlfcn.h \
7370 elf.h \
7371 float.h \
7372 fnmatch.h \
7373 getopt.h \
7374 gettext-po.h \
7375 grp.h \
7376 gsm.h \
7377 gsm/gsm.h \
7378 ieeefp.h \
7379 inet/mib2.h \
7380 kstat.h \
7381 libproc.h \
7382 link.h \
7383 linux/cdrom.h \
7384 linux/compiler.h \
7385 linux/filter.h \
7386 linux/hdreg.h \
7387 linux/hidraw.h \
7388 linux/input.h \
7389 linux/ioctl.h \
7390 linux/joystick.h \
7391 linux/major.h \
7392 linux/param.h \
7393 linux/serial.h \
7394 linux/types.h \
7395 linux/ucdrom.h \
7396 lwp.h \
7397 mach-o/nlist.h \
7398 mach-o/loader.h \
7399 mach/mach.h \
7400 mach/machine.h \
7401 machine/cpu.h \
7402 machine/limits.h \
7403 machine/sysarch.h \
7404 mntent.h \
7405 ncurses.h \
7406 netdb.h \
7407 netinet/in.h \
7408 netinet/in_systm.h \
7409 netinet/tcp.h \
7410 netinet/tcp_fsm.h \
7411 pcap/pcap.h \
7412 poll.h \
7413 port.h \
7414 pthread.h \
7415 pwd.h \
7416 sched.h \
7417 scsi/scsi.h \
7418 scsi/scsi_ioctl.h \
7419 scsi/sg.h \
7420 stdbool.h \
7421 stdint.h \
7422 stropts.h \
7423 sys/attr.h \
7424 sys/auxv.h \
7425 sys/cdio.h \
7426 sys/elf32.h \
7427 sys/epoll.h \
7428 sys/event.h \
7429 sys/exec_elf.h \
7430 sys/filio.h \
7431 sys/ioctl.h \
7432 sys/ipc.h \
7433 sys/limits.h \
7434 sys/link.h \
7435 sys/mman.h \
7436 sys/modem.h \
7437 sys/msg.h \
7438 sys/mtio.h \
7439 sys/param.h \
7440 sys/poll.h \
7441 sys/prctl.h \
7442 sys/protosw.h \
7443 sys/ptrace.h \
7444 sys/queue.h \
7445 sys/resource.h \
7446 sys/scsiio.h \
7447 sys/shm.h \
7448 sys/signal.h \
7449 sys/socket.h \
7450 sys/socketvar.h \
7451 sys/sockio.h \
7452 sys/statvfs.h \
7453 sys/strtio.h \
7454 sys/syscall.h \
7455 sys/sysinfo.h \
7456 sys/tihdr.h \
7457 sys/time.h \
7458 sys/timeout.h \
7459 sys/times.h \
7460 sys/uio.h \
7461 sys/user.h \
7462 sys/utsname.h \
7463 sys/vnode.h \
7464 sys/wait.h \
7465 syscall.h \
7466 termios.h \
7467 unistd.h \
7468 utime.h \
7469 valgrind/memcheck.h \
7470 valgrind/valgrind.h
7472 do :
7473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7476 cat >>confdefs.h <<_ACEOF
7477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7482 done
7484 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7485 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7487 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7492 if test $ac_cv_header_sys_mkdev_h = no; then
7493 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7494 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7496 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7503 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7504 if ${ac_cv_header_stat_broken+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7509 #include <sys/types.h>
7510 #include <sys/stat.h>
7512 #if defined S_ISBLK && defined S_IFDIR
7513 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7514 #endif
7516 #if defined S_ISBLK && defined S_IFCHR
7517 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7518 #endif
7520 #if defined S_ISLNK && defined S_IFREG
7521 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7522 #endif
7524 #if defined S_ISSOCK && defined S_IFREG
7525 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7526 #endif
7528 _ACEOF
7529 if ac_fn_c_try_compile "$LINENO"; then :
7530 ac_cv_header_stat_broken=no
7531 else
7532 ac_cv_header_stat_broken=yes
7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7537 $as_echo "$ac_cv_header_stat_broken" >&6; }
7538 if test $ac_cv_header_stat_broken = yes; then
7540 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7546 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7547 do :
7548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7549 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7550 #ifdef HAVE_SYS_PARAM_H
7551 # include <sys/param.h>
7552 #endif
7554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7555 cat >>confdefs.h <<_ACEOF
7556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7557 _ACEOF
7561 done
7564 for ac_header in \
7565 netinet/ip.h \
7566 net/if.h \
7567 net/if_arp.h \
7568 net/if_dl.h \
7569 net/if_types.h \
7570 net/route.h \
7571 netinet/if_ether.h \
7572 netinet/if_inarp.h \
7573 netinet/in_pcb.h \
7574 netinet/ip_icmp.h \
7575 netinet/ip_var.h \
7576 netinet/udp.h \
7577 netipx/ipx.h \
7578 sys/un.h \
7580 do :
7581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7583 #ifdef HAVE_SYS_SOCKET_H
7584 # include <sys/socket.h>
7585 #endif
7586 #ifdef HAVE_SYS_SOCKETVAR_H
7587 # include <sys/socketvar.h>
7588 #endif
7589 #ifdef HAVE_NET_ROUTE_H
7590 # include <net/route.h>
7591 #endif
7592 #ifdef HAVE_NETINET_IN_H
7593 # include <netinet/in.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_SYSTM_H
7596 # include <netinet/in_systm.h>
7597 #endif
7598 #ifdef HAVE_NET_IF_H
7599 # include <net/if.h>
7600 #endif
7601 #ifdef HAVE_NETINET_IP_H
7602 # include <netinet/ip.h>
7603 #endif
7605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7606 cat >>confdefs.h <<_ACEOF
7607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7608 _ACEOF
7612 done
7615 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7616 do :
7617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7619 #ifdef HAVE_ALIAS_H
7620 # include <alias.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKET_H
7623 # include <sys/socket.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKETVAR_H
7626 # include <sys/socketvar.h>
7627 #endif
7628 #ifdef HAVE_SYS_TIMEOUT_H
7629 # include <sys/timeout.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_H
7632 # include <netinet/in.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_SYSTM_H
7635 # include <netinet/in_systm.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_H
7638 # include <netinet/ip.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_VAR_H
7641 # include <netinet/ip_var.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_ICMP_H
7644 # include <netinet/ip_icmp.h>
7645 #endif
7646 #ifdef HAVE_NETINET_UDP_H
7647 # include <netinet/udp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_TCP_H
7650 # include <netinet/tcp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_TIMER_H
7653 #include <netinet/tcp_timer.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7667 do :
7668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7670 #ifdef HAVE_ASM_TYPES_H
7671 # include <asm/types.h>
7672 #endif
7673 #ifdef HAVE_SYS_SOCKET_H
7674 # include <sys/socket.h>
7675 #endif
7676 #ifdef HAVE_LINUX_TYPES_H
7677 # include <linux/types.h>
7678 #endif
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7687 done
7690 for ac_header in resolv.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7693 #ifdef HAVE_SYS_SOCKET_H
7694 # include <sys/socket.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IN_H
7697 # include <netinet/in.h>
7698 #endif
7699 #ifdef HAVE_ARPA_NAMESER_H
7700 # include <arpa/nameser.h>
7701 #endif
7703 if test "x$ac_cv_header_resolv_h" = xyes; then :
7704 cat >>confdefs.h <<_ACEOF
7705 #define HAVE_RESOLV_H 1
7706 _ACEOF
7710 done
7713 for ac_header in ifaddrs.h
7714 do :
7715 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7717 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_IFADDRS_H 1
7720 _ACEOF
7724 done
7727 for ac_header in sys/ucontext.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7731 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_SYS_UCONTEXT_H 1
7734 _ACEOF
7738 done
7741 for ac_header in sys/thr.h
7742 do :
7743 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7744 #ifdef HAVE_SYS_UCONTEXT_H
7745 #include <sys/ucontext.h>
7746 #endif
7748 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define HAVE_SYS_THR_H 1
7751 _ACEOF
7755 done
7758 for ac_header in pthread_np.h
7759 do :
7760 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7761 #include <pthread.h>
7762 #endif
7764 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_PTHREAD_NP_H 1
7767 _ACEOF
7771 done
7774 for ac_header in linux/videodev2.h
7775 do :
7776 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7777 #include <sys/time.h>
7778 #endif
7779 #include <sys/types.h>
7780 #ifdef HAVE_ASM_TYPES_H
7781 #include <asm/types.h>
7782 #endif
7784 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_LINUX_VIDEODEV2_H 1
7787 _ACEOF
7791 done
7794 for ac_header in libprocstat.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7797 #include <sys/param.h>
7798 #endif
7799 #ifdef HAVE_SYS_QUEUE_H
7800 #include <sys/queue.h>
7801 #endif
7802 #ifdef HAVE_SYS_SOCKET_H
7803 #include <sys/socket.h>
7804 #endif
7806 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_LIBPROCSTAT_H 1
7809 _ACEOF
7813 done
7817 DLLFLAGS="-D_REENTRANT"
7819 LDRPATH_INSTALL=""
7821 LDRPATH_LOCAL=""
7823 LDDLLFLAGS=""
7825 LDEXECFLAGS=""
7827 TOP_INSTALL_LIB=""
7829 TOP_INSTALL_DEV=""
7831 WINELOADER_LDFLAGS=""
7833 WINEPRELOADER_LDFLAGS=""
7835 LIBEXT="so"
7836 DLLEXT=".so"
7837 # Extract the first word of "ldd", so it can be a program name with args.
7838 set dummy ldd; ac_word=$2
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840 $as_echo_n "checking for $ac_word... " >&6; }
7841 if ${ac_cv_path_LDD+:} false; then :
7842 $as_echo_n "(cached) " >&6
7843 else
7844 case $LDD in
7845 [\\/]* | ?:[\\/]*)
7846 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 as_dummy="/sbin:/usr/sbin:$PATH"
7851 for as_dir in $as_dummy
7853 IFS=$as_save_IFS
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 break 2
7861 done
7862 done
7863 IFS=$as_save_IFS
7865 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7867 esac
7869 LDD=$ac_cv_path_LDD
7870 if test -n "$LDD"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7872 $as_echo "$LDD" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7879 if test -n "$ac_tool_prefix"; then
7880 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7881 set dummy ${ac_tool_prefix}otool; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_OTOOL+:} false; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 if test -n "$OTOOL"; then
7888 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7889 else
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891 for as_dir in $PATH
7893 IFS=$as_save_IFS
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7899 break 2
7901 done
7902 done
7903 IFS=$as_save_IFS
7907 OTOOL=$ac_cv_prog_OTOOL
7908 if test -n "$OTOOL"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7910 $as_echo "$OTOOL" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7918 if test -z "$ac_cv_prog_OTOOL"; then
7919 ac_ct_OTOOL=$OTOOL
7920 # Extract the first word of "otool", so it can be a program name with args.
7921 set dummy otool; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7925 $as_echo_n "(cached) " >&6
7926 else
7927 if test -n "$ac_ct_OTOOL"; then
7928 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7929 else
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 for as_dir in $PATH
7933 IFS=$as_save_IFS
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_ac_ct_OTOOL="otool"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 break 2
7941 done
7942 done
7943 IFS=$as_save_IFS
7947 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7948 if test -n "$ac_ct_OTOOL"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7950 $as_echo "$ac_ct_OTOOL" >&6; }
7951 else
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7956 if test "x$ac_ct_OTOOL" = x; then
7957 OTOOL="otool"
7958 else
7959 case $cross_compiling:$ac_tool_warned in
7960 yes:)
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7963 ac_tool_warned=yes ;;
7964 esac
7965 OTOOL=$ac_ct_OTOOL
7967 else
7968 OTOOL="$ac_cv_prog_OTOOL"
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_READELF+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$READELF"; then
7980 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 READELF=$ac_cv_prog_READELF
8000 if test -n "$READELF"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8002 $as_echo "$READELF" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_READELF"; then
8011 ac_ct_READELF=$READELF
8012 # Extract the first word of "readelf", so it can be a program name with args.
8013 set dummy readelf; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$ac_ct_READELF"; then
8020 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_READELF="readelf"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8040 if test -n "$ac_ct_READELF"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8042 $as_echo "$ac_ct_READELF" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_READELF" = x; then
8049 READELF="true"
8050 else
8051 case $cross_compiling:$ac_tool_warned in
8052 yes:)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8056 esac
8057 READELF=$ac_ct_READELF
8059 else
8060 READELF="$ac_cv_prog_READELF"
8063 wine_rules_file=conf$$rules.make
8064 rm -f $wine_rules_file
8065 SUBDIRS=""
8067 DISABLED_SUBDIRS=""
8069 CONFIGURE_TARGETS=""
8072 wine_fn_append_file ()
8074 as_fn_append $1 " \\$as_nl $2"
8077 wine_fn_append_rule ()
8079 $as_echo "$1" >>$wine_rules_file
8082 wine_fn_config_makefile ()
8084 wine_fn_append_file SUBDIRS $1
8085 if eval test \"x\$"$2"\" = x"no"; then :
8086 wine_fn_append_file DISABLED_SUBDIRS $1
8090 wine_fn_config_symlink ()
8092 ac_links=$@
8093 wine_fn_append_rule \
8094 "$ac_links:
8095 @./config.status \$@"
8096 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8099 wine_binary="wine"
8100 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8101 WINELOADER_PROGRAMS="$wine_binary"
8103 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8105 case $host_os in
8106 cygwin*|mingw32*)
8107 if test -n "$ac_tool_prefix"; then
8108 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8109 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8111 $as_echo_n "checking for $ac_word... " >&6; }
8112 if ${ac_cv_prog_DLLTOOL+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 if test -n "$DLLTOOL"; then
8116 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8117 else
8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 for as_dir in $PATH
8121 IFS=$as_save_IFS
8122 test -z "$as_dir" && as_dir=.
8123 for ac_exec_ext in '' $ac_executable_extensions; do
8124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8125 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 break 2
8129 done
8130 done
8131 IFS=$as_save_IFS
8135 DLLTOOL=$ac_cv_prog_DLLTOOL
8136 if test -n "$DLLTOOL"; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8138 $as_echo "$DLLTOOL" >&6; }
8139 else
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8141 $as_echo "no" >&6; }
8146 if test -z "$ac_cv_prog_DLLTOOL"; then
8147 ac_ct_DLLTOOL=$DLLTOOL
8148 # Extract the first word of "dlltool", so it can be a program name with args.
8149 set dummy dlltool; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8153 $as_echo_n "(cached) " >&6
8154 else
8155 if test -n "$ac_ct_DLLTOOL"; then
8156 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8157 else
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 for as_dir in $PATH
8161 IFS=$as_save_IFS
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8165 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8167 break 2
8169 done
8170 done
8171 IFS=$as_save_IFS
8175 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8176 if test -n "$ac_ct_DLLTOOL"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8178 $as_echo "$ac_ct_DLLTOOL" >&6; }
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8184 if test "x$ac_ct_DLLTOOL" = x; then
8185 DLLTOOL="false"
8186 else
8187 case $cross_compiling:$ac_tool_warned in
8188 yes:)
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8191 ac_tool_warned=yes ;;
8192 esac
8193 DLLTOOL=$ac_ct_DLLTOOL
8195 else
8196 DLLTOOL="$ac_cv_prog_DLLTOOL"
8199 LIBEXT="dll"
8200 DLLEXT=""
8201 case $host_cpu in
8202 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8203 esac
8204 enable_iphlpapi=${enable_iphlpapi:-no}
8205 enable_kernel32=${enable_kernel32:-no}
8206 enable_ntdll=${enable_ntdll:-no}
8207 enable_ws2_32=${enable_ws2_32:-no}
8208 enable_loader=${enable_loader:-no}
8209 enable_server=${enable_server:-no}
8210 with_x=${with_x:-no}
8211 with_pthread=${with_pthread:-no}
8214 darwin*|macosx*)
8215 ac_ext=m
8216 ac_cpp='$OBJCPP $CPPFLAGS'
8217 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8218 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8219 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8221 ac_ext=m
8222 ac_cpp='$OBJCPP $CPPFLAGS'
8223 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8224 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8225 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8226 if test -n "$ac_tool_prefix"; then
8227 for ac_prog in gcc objcc objc cc CC
8229 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8230 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8232 $as_echo_n "checking for $ac_word... " >&6; }
8233 if ${ac_cv_prog_OBJC+:} false; then :
8234 $as_echo_n "(cached) " >&6
8235 else
8236 if test -n "$OBJC"; then
8237 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8238 else
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 for as_dir in $PATH
8242 IFS=$as_save_IFS
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8246 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 break 2
8250 done
8251 done
8252 IFS=$as_save_IFS
8256 OBJC=$ac_cv_prog_OBJC
8257 if test -n "$OBJC"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8259 $as_echo "$OBJC" >&6; }
8260 else
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8266 test -n "$OBJC" && break
8267 done
8269 if test -z "$OBJC"; then
8270 ac_ct_OBJC=$OBJC
8271 for ac_prog in gcc objcc objc cc CC
8273 # Extract the first word of "$ac_prog", so it can be a program name with args.
8274 set dummy $ac_prog; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 if test -n "$ac_ct_OBJC"; then
8281 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8282 else
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 for as_dir in $PATH
8286 IFS=$as_save_IFS
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8292 break 2
8294 done
8295 done
8296 IFS=$as_save_IFS
8300 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8301 if test -n "$ac_ct_OBJC"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8303 $as_echo "$ac_ct_OBJC" >&6; }
8304 else
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8310 test -n "$ac_ct_OBJC" && break
8311 done
8313 if test "x$ac_ct_OBJC" = x; then
8314 OBJC="gcc"
8315 else
8316 case $cross_compiling:$ac_tool_warned in
8317 yes:)
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8320 ac_tool_warned=yes ;;
8321 esac
8322 OBJC=$ac_ct_OBJC
8326 # Provide some information about the compiler.
8327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8328 set X $ac_compile
8329 ac_compiler=$2
8330 for ac_option in --version -v -V -qversion; do
8331 { { ac_try="$ac_compiler $ac_option >&5"
8332 case "(($ac_try" in
8333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8334 *) ac_try_echo=$ac_try;;
8335 esac
8336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8337 $as_echo "$ac_try_echo"; } >&5
8338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8339 ac_status=$?
8340 if test -s conftest.err; then
8341 sed '10a\
8342 ... rest of stderr output deleted ...
8343 10q' conftest.err >conftest.er1
8344 cat conftest.er1 >&5
8346 rm -f conftest.er1 conftest.err
8347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8348 test $ac_status = 0; }
8349 done
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8352 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8353 if ${ac_cv_objc_compiler_gnu+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8360 main ()
8362 #ifndef __GNUC__
8363 choke me
8364 #endif
8367 return 0;
8369 _ACEOF
8370 if ac_fn_objc_try_compile "$LINENO"; then :
8371 ac_compiler_gnu=yes
8372 else
8373 ac_compiler_gnu=no
8375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8376 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8380 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8381 if test $ac_compiler_gnu = yes; then
8382 GOBJC=yes
8383 else
8384 GOBJC=
8386 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8387 ac_save_OBJCFLAGS=$OBJCFLAGS
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8389 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8390 if ${ac_cv_prog_objc_g+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_save_objc_werror_flag=$ac_objc_werror_flag
8394 ac_objc_werror_flag=yes
8395 ac_cv_prog_objc_g=no
8396 OBJCFLAGS="-g"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 main ()
8405 return 0;
8407 _ACEOF
8408 if ac_fn_objc_try_compile "$LINENO"; then :
8409 ac_cv_prog_objc_g=yes
8410 else
8411 OBJCFLAGS=""
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 main ()
8420 return 0;
8422 _ACEOF
8423 if ac_fn_objc_try_compile "$LINENO"; then :
8425 else
8426 ac_objc_werror_flag=$ac_save_objc_werror_flag
8427 OBJCFLAGS="-g"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 main ()
8436 return 0;
8438 _ACEOF
8439 if ac_fn_objc_try_compile "$LINENO"; then :
8440 ac_cv_prog_objc_g=yes
8442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 ac_objc_werror_flag=$ac_save_objc_werror_flag
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8450 $as_echo "$ac_cv_prog_objc_g" >&6; }
8451 if test "$ac_test_OBJCFLAGS" = set; then
8452 OBJCFLAGS=$ac_save_OBJCFLAGS
8453 elif test $ac_cv_prog_objc_g = yes; then
8454 if test "$GOBJC" = yes; then
8455 OBJCFLAGS="-g -O2"
8456 else
8457 OBJCFLAGS="-g"
8459 else
8460 if test "$GOBJC" = yes; then
8461 OBJCFLAGS="-O2"
8462 else
8463 OBJCFLAGS=
8466 ac_ext=m
8467 ac_cpp='$OBJCPP $CPPFLAGS'
8468 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8469 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8470 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8473 ac_ext=m
8474 ac_cpp='$OBJCPP $CPPFLAGS'
8475 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8476 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8477 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8479 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8480 if test -z "$OBJCPP"; then
8481 if ${ac_cv_prog_OBJCPP+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 # Double quotes because OBJCPP needs to be expanded
8485 for OBJCPP in "$OBJC -E" "/lib/cpp"
8487 ac_preproc_ok=false
8488 for ac_objc_preproc_warn_flag in '' yes
8490 # Use a header file that comes with gcc, so configuring glibc
8491 # with a fresh cross-compiler works.
8492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8493 # <limits.h> exists even on freestanding compilers.
8494 # On the NeXT, cc -E runs the code through the compiler's parser,
8495 # not just through cpp. "Syntax error" is here to catch this case.
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 #ifdef __STDC__
8499 # include <limits.h>
8500 #else
8501 # include <assert.h>
8502 #endif
8503 Syntax error
8504 _ACEOF
8505 if ac_fn_objc_try_cpp "$LINENO"; then :
8507 else
8508 # Broken: fails on valid input.
8509 continue
8511 rm -f conftest.err conftest.i conftest.$ac_ext
8513 # OK, works on sane cases. Now check whether nonexistent headers
8514 # can be detected and how.
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 #include <ac_nonexistent.h>
8518 _ACEOF
8519 if ac_fn_objc_try_cpp "$LINENO"; then :
8520 # Broken: success on invalid input.
8521 continue
8522 else
8523 # Passes both tests.
8524 ac_preproc_ok=:
8525 break
8527 rm -f conftest.err conftest.i conftest.$ac_ext
8529 done
8530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8531 rm -f conftest.i conftest.err conftest.$ac_ext
8532 if $ac_preproc_ok; then :
8533 break
8536 done
8537 ac_cv_prog_OBJCPP=$OBJCPP
8540 OBJCPP=$ac_cv_prog_OBJCPP
8541 else
8542 ac_cv_prog_OBJCPP=$OBJCPP
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8545 $as_echo "$OBJCPP" >&6; }
8546 ac_preproc_ok=false
8547 for ac_objc_preproc_warn_flag in '' yes
8549 # Use a header file that comes with gcc, so configuring glibc
8550 # with a fresh cross-compiler works.
8551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8552 # <limits.h> exists even on freestanding compilers.
8553 # On the NeXT, cc -E runs the code through the compiler's parser,
8554 # not just through cpp. "Syntax error" is here to catch this case.
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 #ifdef __STDC__
8558 # include <limits.h>
8559 #else
8560 # include <assert.h>
8561 #endif
8562 Syntax error
8563 _ACEOF
8564 if ac_fn_objc_try_cpp "$LINENO"; then :
8566 else
8567 # Broken: fails on valid input.
8568 continue
8570 rm -f conftest.err conftest.i conftest.$ac_ext
8572 # OK, works on sane cases. Now check whether nonexistent headers
8573 # can be detected and how.
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 #include <ac_nonexistent.h>
8577 _ACEOF
8578 if ac_fn_objc_try_cpp "$LINENO"; then :
8579 # Broken: success on invalid input.
8580 continue
8581 else
8582 # Passes both tests.
8583 ac_preproc_ok=:
8584 break
8586 rm -f conftest.err conftest.i conftest.$ac_ext
8588 done
8589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8590 rm -f conftest.i conftest.err conftest.$ac_ext
8591 if $ac_preproc_ok; then :
8593 else
8594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8596 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8597 See \`config.log' for more details" "$LINENO" 5; }
8600 ac_ext=m
8601 ac_cpp='$OBJCPP $CPPFLAGS'
8602 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8603 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8604 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8607 for ac_header in Metal/Metal.h
8608 do :
8609 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8610 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8611 cat >>confdefs.h <<_ACEOF
8612 #define HAVE_METAL_METAL_H 1
8613 _ACEOF
8617 done
8619 ac_ext=c
8620 ac_cpp='$CPP $CPPFLAGS'
8621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8625 LIBEXT="dylib"
8626 DLLFLAGS="$DLLFLAGS -fPIC"
8627 LDDLLFLAGS="-fPIC"
8628 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8629 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8630 COREFOUNDATION_LIBS="-framework CoreFoundation"
8632 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8634 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8636 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8638 CORESERVICES_LIBS="-framework CoreServices"
8640 APPKIT_LIBS="-framework AppKit"
8642 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8645 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8647 wine_can_build_preloader=yes
8648 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8650 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8651 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 ac_cv_cflags__Wl__no_new_main__e__main=yes
8662 else
8663 ac_cv_cflags__Wl__no_new_main__e__main=no
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8670 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8671 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8672 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8674 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8675 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 int main(int argc, char **argv) { return 0; }
8683 _ACEOF
8684 if ac_fn_c_try_link "$LINENO"; then :
8685 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8686 else
8687 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8689 rm -f core conftest.err conftest.$ac_objext \
8690 conftest$ac_exeext conftest.$ac_ext
8691 CFLAGS=$ac_wine_try_cflags_saved
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8694 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8695 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8696 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8697 else
8698 { $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
8699 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8700 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8711 else
8712 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $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
8719 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8720 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8721 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8722 else
8723 wine_can_build_preloader=no
8726 else
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8728 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8729 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8730 $as_echo_n "(cached) " >&6
8731 else
8732 ac_wine_try_cflags_saved=$CFLAGS
8733 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8736 int main(int argc, char **argv) { return 0; }
8737 _ACEOF
8738 if ac_fn_c_try_link "$LINENO"; then :
8739 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8740 else
8741 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 CFLAGS=$ac_wine_try_cflags_saved
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8748 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8749 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8750 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8751 else
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8753 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8754 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 int main(int argc, char **argv) { return 0; }
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8765 else
8766 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8773 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8774 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8775 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8776 else
8777 wine_can_build_preloader=no
8781 if test "$wine_can_build_preloader" = "yes"
8782 then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8784 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8785 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -Wl,-no_pie"
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 int main(int argc, char **argv) { return 0; }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_cflags__Wl__no_pie=yes
8796 else
8797 ac_cv_cflags__Wl__no_pie=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8804 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8805 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8806 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8808 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8809 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8810 else
8811 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8814 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8815 then
8816 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8819 if test "$ac_cv_header_Security_Security_h" = "yes"
8820 then
8821 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8823 ac_save_LIBS="$LIBS"
8824 LIBS="$LIBS $SECURITY_LIBS"
8825 for ac_func in SSLCopyPeerCertificates
8826 do :
8827 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8828 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8829 cat >>confdefs.h <<_ACEOF
8830 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8831 _ACEOF
8834 done
8836 LIBS="$ac_save_LIBS"
8838 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8839 then
8840 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8841 then
8842 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8844 else
8845 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8848 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8849 ac_save_LIBS="$LIBS"
8850 LIBS="$LIBS $COREAUDIO_LIBS"
8851 for ac_func in AUGraphAddNode
8852 do :
8853 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8854 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8855 cat >>confdefs.h <<_ACEOF
8856 #define HAVE_AUGRAPHADDNODE 1
8857 _ACEOF
8860 done
8862 LIBS="$ac_save_LIBS"
8864 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8865 then
8866 OPENAL_LIBS="-framework OpenAL"
8869 cat >>confdefs.h <<_ACEOF
8870 #define HAVE_OPENAL 1
8871 _ACEOF
8873 ac_cv_lib_openal=yes
8875 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8876 then
8877 OPENCL_LIBS="-framework OpenCL"
8879 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8881 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8882 then
8883 ac_save_LIBS="$LIBS"
8884 LIBS="$LIBS $IOKIT_LIBS"
8885 for ac_func in IOHIDManagerCreate
8886 do :
8887 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8888 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8889 cat >>confdefs.h <<_ACEOF
8890 #define HAVE_IOHIDMANAGERCREATE 1
8891 _ACEOF
8894 done
8896 LIBS="$ac_save_LIBS"
8898 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8899 then
8900 ac_save_LIBS="$LIBS"
8901 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8903 $as_echo_n "checking for the QuickTime framework... " >&6; }
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 #include <QuickTime/ImageCompression.h>
8908 main ()
8910 CodecManagerVersion(NULL);
8912 return 0;
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8917 $as_echo "yes" >&6; }
8918 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8920 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8921 else
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8924 ac_cv_header_QuickTime_ImageCompression_h=no
8926 rm -f core conftest.err conftest.$ac_objext \
8927 conftest$ac_exeext conftest.$ac_ext
8928 LIBS="$ac_save_LIBS"
8930 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8931 then
8932 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8934 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8935 then
8936 CARBON_LIBS="-framework Carbon"
8939 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8940 then
8941 METAL_LIBS="-framework Metal -framework QuartzCore"
8945 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8946 then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8948 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8949 ac_ext=m
8950 ac_cpp='$OBJCPP $CPPFLAGS'
8951 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8957 #include <Metal/Metal.h>
8959 main ()
8961 id<MTLDevice> device; device.registryID;
8963 return 0;
8965 _ACEOF
8966 if ac_fn_objc_try_compile "$LINENO"; then :
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8968 $as_echo "yes" >&6; }
8970 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8972 else
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8977 ac_ext=c
8978 ac_cpp='$CPP $CPPFLAGS'
8979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8985 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8986 then
8987 ac_save_LIBS="$LIBS"
8988 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8989 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8990 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8991 enable_winemac_drv=${enable_winemac_drv:-yes}
8994 LIBS="$ac_save_LIBS"
8997 if test "x$enable_win16" = "xyes"
8998 then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9000 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9001 if test "$cross_compiling" = yes; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9003 $as_echo "cross-compiling, assuming yes" >&6; }
9004 else
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9007 asm(".text\n"
9008 "bad:\tnop;nop\n"
9009 "good:\tnop;nop\n\t"
9010 ".globl _testfunc\n"
9011 "_testfunc:\tcallw good");
9012 extern void testfunc();
9014 main ()
9016 unsigned short *p = (unsigned short *)testfunc;
9017 return p[0] != 0xe866 || p[1] != 0xfffa
9019 return 0;
9021 _ACEOF
9022 if ac_fn_c_try_run "$LINENO"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9024 $as_echo "yes" >&6; }
9025 else
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9028 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
9030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9031 conftest.$ac_objext conftest.beam conftest.$ac_ext
9036 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9038 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9040 WINELOADER_DEPENDS="wine_info.plist"
9042 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9043 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9046 linux-android*)
9047 DLLFLAGS="$DLLFLAGS -fPIC"
9048 LDDLLFLAGS="-fPIC"
9049 LDEXECFLAGS="-Wl,-pie"
9050 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9052 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9053 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 int main(int argc, char **argv) { return 0; }
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9063 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9064 else
9065 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 CFLAGS=$ac_wine_try_cflags_saved
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9072 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9073 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9074 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9076 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9077 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9079 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9080 if eval \${$as_ac_var+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_wine_try_cflags_saved=$CFLAGS
9084 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 int main(int argc, char **argv) { return 0; }
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 eval "$as_ac_var=yes"
9091 else
9092 eval "$as_ac_var=no"
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 CFLAGS=$ac_wine_try_cflags_saved
9098 eval ac_res=\$$as_ac_var
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9100 $as_echo "$ac_res" >&6; }
9101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9102 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9103 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9104 else
9105 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9107 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9108 if eval \${$as_ac_var+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9115 int main(int argc, char **argv) { return 0; }
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 eval "$as_ac_var=yes"
9119 else
9120 eval "$as_ac_var=no"
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 eval ac_res=\$$as_ac_var
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9128 $as_echo "$ac_res" >&6; }
9129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9130 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9131 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9135 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9136 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_wine_try_cflags_saved=$CFLAGS
9140 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9143 int main(int argc, char **argv) { return 0; }
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 ac_cv_cflags__Wl___enable_new_dtags=yes
9147 else
9148 ac_cv_cflags__Wl___enable_new_dtags=no
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 CFLAGS=$ac_wine_try_cflags_saved
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9155 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9156 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9157 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9160 LIBWINE_SHAREDLIB="libwine.so"
9162 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9164 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9167 $as_echo_n "checking for -lEGL... " >&6; }
9168 if ${ac_cv_lib_soname_EGL+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_soname_save_LIBS=$LIBS
9172 LIBS="-lEGL $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char eglGetProcAddress ();
9184 main ()
9186 return eglGetProcAddress ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 case "$LIBEXT" in
9193 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9194 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'` ;;
9195 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9196 if ${ac_cv_lib_soname_EGL:+false} :; then :
9197 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9198 fi ;;
9199 esac
9200 else
9201 ac_cv_lib_soname_EGL=
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_soname_save_LIBS
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9209 $as_echo "not found" >&6; }
9211 else
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9213 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9215 cat >>confdefs.h <<_ACEOF
9216 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9217 _ACEOF
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9222 $as_echo_n "checking for -lGLESv2... " >&6; }
9223 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_check_soname_save_LIBS=$LIBS
9227 LIBS="-lGLESv2 $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char glFlush ();
9239 main ()
9241 return glFlush ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 case "$LIBEXT" in
9248 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9249 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'` ;;
9250 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9251 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9252 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9253 fi ;;
9254 esac
9255 else
9256 ac_cv_lib_soname_GLESv2=
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 LIBS=$ac_check_soname_save_LIBS
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9264 $as_echo "not found" >&6; }
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9268 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9270 cat >>confdefs.h <<_ACEOF
9271 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9272 _ACEOF
9277 if test "x$exec_prefix" = xNONE
9278 then
9279 case $host_cpu in
9280 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9281 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9282 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9283 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9284 esac
9289 case $host_cpu in
9290 *i[3456789]86*)
9291 DLLFLAGS="$DLLFLAGS -fno-PIC"
9292 LDDLLFLAGS="-fno-PIC" ;;
9294 DLLFLAGS="$DLLFLAGS -fPIC"
9295 LDDLLFLAGS="-fPIC" ;;
9296 esac
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9298 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9299 if ${ac_cv_c_dll_gnuelf+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_wine_try_cflags_saved=$CFLAGS
9303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 void myfunc() {}
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9310 else
9311 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 CFLAGS=$ac_wine_try_cflags_saved
9316 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9317 ac_cv_c_dll_gnuelf="yes"
9318 else
9319 ac_cv_c_dll_gnuelf="no"
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9323 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9324 if test "$ac_cv_c_dll_gnuelf" = "yes"
9325 then
9326 LIBWINE_LDFLAGS="-shared"
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9328 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9329 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9330 $as_echo_n "(cached) " >&6
9331 else
9332 ac_wine_try_cflags_saved=$CFLAGS
9333 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9336 int main(int argc, char **argv) { return 0; }
9337 _ACEOF
9338 if ac_fn_c_try_link "$LINENO"; then :
9339 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9340 else
9341 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 CFLAGS=$ac_wine_try_cflags_saved
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9348 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9349 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9350 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9351 else
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9353 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9354 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9355 $as_echo_n "(cached) " >&6
9356 else
9357 ac_wine_try_cflags_saved=$CFLAGS
9358 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360 /* end confdefs.h. */
9361 int main(int argc, char **argv) { return 0; }
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9365 else
9366 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 CFLAGS=$ac_wine_try_cflags_saved
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9373 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9374 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9375 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9379 echo '{ global: *; };' >conftest.map
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9381 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9382 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_wine_try_cflags_saved=$CFLAGS
9386 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int main(int argc, char **argv) { return 0; }
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9393 else
9394 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 CFLAGS=$ac_wine_try_cflags_saved
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9401 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9402 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9403 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9405 rm -f conftest.map
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9408 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9409 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 int main(int argc, char **argv) { return 0; }
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_cflags__Wl___export_dynamic=yes
9420 else
9421 ac_cv_cflags__Wl___export_dynamic=no
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9428 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9429 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9430 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9432 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9434 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9436 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9437 if eval \${$as_ac_var+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 eval "$as_ac_var=yes"
9448 else
9449 eval "$as_ac_var=no"
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 eval ac_res=\$$as_ac_var
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9457 $as_echo "$ac_res" >&6; }
9458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9459 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9460 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9461 else
9462 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9464 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9465 if eval \${$as_ac_var+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 eval "$as_ac_var=yes"
9476 else
9477 eval "$as_ac_var=no"
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 eval ac_res=\$$as_ac_var
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9485 $as_echo "$ac_res" >&6; }
9486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9487 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9488 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9493 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9494 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_wine_try_cflags_saved=$CFLAGS
9498 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9501 int main(int argc, char **argv) { return 0; }
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_cflags__Wl___enable_new_dtags=yes
9505 else
9506 ac_cv_cflags__Wl___enable_new_dtags=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 CFLAGS=$ac_wine_try_cflags_saved
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9513 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9514 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9515 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9518 case $host_cpu in
9519 *i[3456789]86* | x86_64 | *aarch64*)
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9521 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9522 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_wine_try_cflags_saved=$CFLAGS
9526 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9529 int main(int argc, char **argv) { return 0; }
9530 _ACEOF
9531 if ac_fn_c_try_link "$LINENO"; then :
9532 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9533 else
9534 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9536 rm -f core conftest.err conftest.$ac_objext \
9537 conftest$ac_exeext conftest.$ac_ext
9538 CFLAGS=$ac_wine_try_cflags_saved
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9541 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9542 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9543 case $host_os in
9544 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9545 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9546 esac
9547 else
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9549 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9550 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9551 $as_echo_n "(cached) " >&6
9552 else
9553 ac_wine_try_cflags_saved=$CFLAGS
9554 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9557 int main(int argc, char **argv) { return 0; }
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9561 else
9562 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 CFLAGS=$ac_wine_try_cflags_saved
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9569 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9570 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9571 case $host_os in
9572 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9573 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9574 esac
9576 # Extract the first word of "prelink", so it can be a program name with args.
9577 set dummy prelink; ac_word=$2
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9579 $as_echo_n "checking for $ac_word... " >&6; }
9580 if ${ac_cv_path_PRELINK+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 case $PRELINK in
9584 [\\/]* | ?:[\\/]*)
9585 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9589 for as_dir in /sbin /usr/sbin $PATH
9591 IFS=$as_save_IFS
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9595 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9597 break 2
9599 done
9600 done
9601 IFS=$as_save_IFS
9603 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9605 esac
9607 PRELINK=$ac_cv_path_PRELINK
9608 if test -n "$PRELINK"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9610 $as_echo "$PRELINK" >&6; }
9611 else
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 $as_echo "no" >&6; }
9617 if test "x$PRELINK" = xfalse
9618 then
9619 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9623 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9624 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9625 $as_echo_n "(cached) " >&6
9626 else
9627 ac_wine_try_cflags_saved=$CFLAGS
9628 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9631 int main(int argc, char **argv) { return 0; }
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9635 else
9636 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 CFLAGS=$ac_wine_try_cflags_saved
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9643 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9644 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9645 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9648 esac
9650 else
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9652 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9653 if ${ac_cv_c_dll_unixware+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 ac_wine_try_cflags_saved=$CFLAGS
9657 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9660 void myfunc() {}
9661 _ACEOF
9662 if ac_fn_c_try_link "$LINENO"; then :
9663 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9664 else
9665 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 CFLAGS=$ac_wine_try_cflags_saved
9670 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9671 ac_cv_c_dll_unixware="yes"
9672 else
9673 ac_cv_c_dll_unixware="no"
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9677 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9678 if test "$ac_cv_c_dll_unixware" = "yes"
9679 then
9680 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9683 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9685 LIBWINE_DEPENDS="wine.map"
9687 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9688 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9690 esac
9692 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9693 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9694 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9695 enable_winemac_drv=${enable_winemac_drv:-no}
9696 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9698 CROSSTARGET=""
9700 if test "x$with_mingw" != xno
9701 then
9702 case "x$with_mingw" in
9703 x|xyes) case "$host_cpu" in
9704 aarch64*)
9705 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9706 arm*)
9707 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9708 i[3456789]86*)
9709 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
9710 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9711 mingw32-gcc" ;;
9712 x86_64)
9713 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
9714 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9716 ac_prefix_list="" ;;
9717 esac
9718 for ac_prog in $ac_prefix_list
9720 # Extract the first word of "$ac_prog", so it can be a program name with args.
9721 set dummy $ac_prog; ac_word=$2
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9723 $as_echo_n "checking for $ac_word... " >&6; }
9724 if ${ac_cv_prog_CROSSCC+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 if test -n "$CROSSCC"; then
9728 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9729 else
9730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9731 for as_dir in $PATH
9733 IFS=$as_save_IFS
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9737 ac_cv_prog_CROSSCC="$ac_prog"
9738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9739 break 2
9741 done
9742 done
9743 IFS=$as_save_IFS
9747 CROSSCC=$ac_cv_prog_CROSSCC
9748 if test -n "$CROSSCC"; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9750 $as_echo "$CROSSCC" >&6; }
9751 else
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9753 $as_echo "no" >&6; }
9757 test -n "$CROSSCC" && break
9758 done
9759 test -n "$CROSSCC" || CROSSCC="false"
9761 *) CROSSCC=$with_mingw ;;
9762 esac
9763 if test "$CROSSCC" != "false"
9764 then
9765 ac_save_CC="$CC"
9766 saved_CFLAGS=$CFLAGS
9767 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9769 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9773 CC="$CROSSCC"
9774 CFLAGS=$CROSSCFLAGS
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9776 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9777 if ${wine_cv_crosscc+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9784 main ()
9788 return 0;
9790 _ACEOF
9791 if ac_fn_c_try_compile "$LINENO"; then :
9792 wine_cv_crosscc=yes
9793 else
9794 wine_cv_crosscc=no
9796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9799 $as_echo "$wine_cv_crosscc" >&6; }
9800 if test $wine_cv_crosscc = yes
9801 then
9802 set x $CROSSCC
9803 shift
9804 while test $# -ge 1
9806 case "$1" in
9807 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9808 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9809 esac
9810 shift
9811 done
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9814 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9815 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9816 $as_echo_n "(cached) " >&6
9817 else
9818 ac_wine_try_cflags_saved=$CFLAGS
9819 ac_wine_try_cflags_saved_cc=$CC
9820 ac_wine_try_cflags_saved_exeext=$ac_exeext
9821 CFLAGS="$CFLAGS -fno-strict-aliasing"
9822 CC="$CROSSCC"
9823 ac_exeext=".exe"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9826 int main(int argc, char **argv) { return 0; }
9827 _ACEOF
9828 if ac_fn_c_try_link "$LINENO"; then :
9829 ac_cv_crosscflags__fno_strict_aliasing=yes
9830 else
9831 ac_cv_crosscflags__fno_strict_aliasing=no
9833 rm -f core conftest.err conftest.$ac_objext \
9834 conftest$ac_exeext conftest.$ac_ext
9835 CFLAGS=$ac_wine_try_cflags_saved
9836 CC=$ac_wine_try_cflags_saved_cc
9837 ac_exeext=$ac_wine_try_cflags_saved_exeext
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9840 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9841 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9842 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9845 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9846 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 ac_wine_try_cflags_saved=$CFLAGS
9850 ac_wine_try_cflags_saved_cc=$CC
9851 ac_wine_try_cflags_saved_exeext=$ac_exeext
9852 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9853 CC="$CROSSCC"
9854 ac_exeext=".exe"
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9857 int main(int argc, char **argv) { return 0; }
9858 _ACEOF
9859 if ac_fn_c_try_link "$LINENO"; then :
9860 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9861 else
9862 ac_cv_crosscflags__Werror_unknown_warning_option=no
9864 rm -f core conftest.err conftest.$ac_objext \
9865 conftest$ac_exeext conftest.$ac_ext
9866 CFLAGS=$ac_wine_try_cflags_saved
9867 CC=$ac_wine_try_cflags_saved_cc
9868 ac_exeext=$ac_wine_try_cflags_saved_exeext
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9871 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9872 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9873 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9876 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9877 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9878 $as_echo_n "(cached) " >&6
9879 else
9880 ac_wine_try_cflags_saved=$CFLAGS
9881 ac_wine_try_cflags_saved_cc=$CC
9882 ac_wine_try_cflags_saved_exeext=$ac_exeext
9883 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9884 CC="$CROSSCC"
9885 ac_exeext=".exe"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9888 int main(int argc, char **argv) { return 0; }
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"; then :
9891 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9892 else
9893 ac_cv_crosscflags__Wdeclaration_after_statement=no
9895 rm -f core conftest.err conftest.$ac_objext \
9896 conftest$ac_exeext conftest.$ac_ext
9897 CFLAGS=$ac_wine_try_cflags_saved
9898 CC=$ac_wine_try_cflags_saved_cc
9899 ac_exeext=$ac_wine_try_cflags_saved_exeext
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9902 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9903 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9904 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9907 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9908 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_wine_try_cflags_saved=$CFLAGS
9912 ac_wine_try_cflags_saved_cc=$CC
9913 ac_wine_try_cflags_saved_exeext=$ac_exeext
9914 CFLAGS="$CFLAGS -Wempty-body"
9915 CC="$CROSSCC"
9916 ac_exeext=".exe"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9919 int main(int argc, char **argv) { return 0; }
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 ac_cv_crosscflags__Wempty_body=yes
9923 else
9924 ac_cv_crosscflags__Wempty_body=no
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 CFLAGS=$ac_wine_try_cflags_saved
9929 CC=$ac_wine_try_cflags_saved_cc
9930 ac_exeext=$ac_wine_try_cflags_saved_exeext
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9933 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9934 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9935 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9938 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9939 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_wine_try_cflags_saved=$CFLAGS
9943 ac_wine_try_cflags_saved_cc=$CC
9944 ac_wine_try_cflags_saved_exeext=$ac_exeext
9945 CFLAGS="$CFLAGS -Wignored-qualifiers"
9946 CC="$CROSSCC"
9947 ac_exeext=".exe"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int main(int argc, char **argv) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 ac_cv_crosscflags__Wignored_qualifiers=yes
9954 else
9955 ac_cv_crosscflags__Wignored_qualifiers=no
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 CFLAGS=$ac_wine_try_cflags_saved
9960 CC=$ac_wine_try_cflags_saved_cc
9961 ac_exeext=$ac_wine_try_cflags_saved_exeext
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9964 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9965 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9966 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9969 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9970 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_wine_try_cflags_saved=$CFLAGS
9974 ac_wine_try_cflags_saved_cc=$CC
9975 ac_wine_try_cflags_saved_exeext=$ac_exeext
9976 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9977 CC="$CROSSCC"
9978 ac_exeext=".exe"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 int main(int argc, char **argv) { return 0; }
9982 _ACEOF
9983 if ac_fn_c_try_link "$LINENO"; then :
9984 ac_cv_crosscflags__Wpacked_not_aligned=yes
9985 else
9986 ac_cv_crosscflags__Wpacked_not_aligned=no
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 CFLAGS=$ac_wine_try_cflags_saved
9991 CC=$ac_wine_try_cflags_saved_cc
9992 ac_exeext=$ac_wine_try_cflags_saved_exeext
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9995 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9996 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9997 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10000 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10001 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10002 $as_echo_n "(cached) " >&6
10003 else
10004 ac_wine_try_cflags_saved=$CFLAGS
10005 ac_wine_try_cflags_saved_cc=$CC
10006 ac_wine_try_cflags_saved_exeext=$ac_exeext
10007 CFLAGS="$CFLAGS -Wpragma-pack"
10008 CC="$CROSSCC"
10009 ac_exeext=".exe"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 int main(int argc, char **argv) { return 0; }
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 ac_cv_crosscflags__Wpragma_pack=yes
10016 else
10017 ac_cv_crosscflags__Wpragma_pack=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 CFLAGS=$ac_wine_try_cflags_saved
10022 CC=$ac_wine_try_cflags_saved_cc
10023 ac_exeext=$ac_wine_try_cflags_saved_exeext
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10026 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10027 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10028 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10031 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10032 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_wine_try_cflags_saved=$CFLAGS
10036 ac_wine_try_cflags_saved_cc=$CC
10037 ac_wine_try_cflags_saved_exeext=$ac_exeext
10038 CFLAGS="$CFLAGS -Wshift-overflow=2"
10039 CC="$CROSSCC"
10040 ac_exeext=".exe"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 int main(int argc, char **argv) { return 0; }
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_crosscflags__Wshift_overflow_2=yes
10047 else
10048 ac_cv_crosscflags__Wshift_overflow_2=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 CFLAGS=$ac_wine_try_cflags_saved
10053 CC=$ac_wine_try_cflags_saved_cc
10054 ac_exeext=$ac_wine_try_cflags_saved_exeext
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10057 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10058 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10059 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10062 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10063 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_wine_try_cflags_saved=$CFLAGS
10067 ac_wine_try_cflags_saved_cc=$CC
10068 ac_wine_try_cflags_saved_exeext=$ac_exeext
10069 CFLAGS="$CFLAGS -Wstrict-prototypes"
10070 CC="$CROSSCC"
10071 ac_exeext=".exe"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10074 int main(int argc, char **argv) { return 0; }
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_crosscflags__Wstrict_prototypes=yes
10078 else
10079 ac_cv_crosscflags__Wstrict_prototypes=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 CFLAGS=$ac_wine_try_cflags_saved
10084 CC=$ac_wine_try_cflags_saved_cc
10085 ac_exeext=$ac_wine_try_cflags_saved_exeext
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10088 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10089 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10090 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10093 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10094 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_wine_try_cflags_saved=$CFLAGS
10098 ac_wine_try_cflags_saved_cc=$CC
10099 ac_wine_try_cflags_saved_exeext=$ac_exeext
10100 CFLAGS="$CFLAGS -Wtype-limits"
10101 CC="$CROSSCC"
10102 ac_exeext=".exe"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10105 int main(int argc, char **argv) { return 0; }
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 ac_cv_crosscflags__Wtype_limits=yes
10109 else
10110 ac_cv_crosscflags__Wtype_limits=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 CFLAGS=$ac_wine_try_cflags_saved
10115 CC=$ac_wine_try_cflags_saved_cc
10116 ac_exeext=$ac_wine_try_cflags_saved_exeext
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10119 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10120 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10121 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10124 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10125 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 ac_wine_try_cflags_saved=$CFLAGS
10129 ac_wine_try_cflags_saved_cc=$CC
10130 ac_wine_try_cflags_saved_exeext=$ac_exeext
10131 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10132 CC="$CROSSCC"
10133 ac_exeext=".exe"
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 int main(int argc, char **argv) { return 0; }
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"; then :
10139 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10140 else
10141 ac_cv_crosscflags__Wunused_but_set_parameter=no
10143 rm -f core conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 CFLAGS=$ac_wine_try_cflags_saved
10146 CC=$ac_wine_try_cflags_saved_cc
10147 ac_exeext=$ac_wine_try_cflags_saved_exeext
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10150 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10151 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10152 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10155 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10156 if ${ac_cv_crosscflags__Wvla+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_wine_try_cflags_saved=$CFLAGS
10160 ac_wine_try_cflags_saved_cc=$CC
10161 ac_wine_try_cflags_saved_exeext=$ac_exeext
10162 CFLAGS="$CFLAGS -Wvla"
10163 CC="$CROSSCC"
10164 ac_exeext=".exe"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10167 int main(int argc, char **argv) { return 0; }
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 ac_cv_crosscflags__Wvla=yes
10171 else
10172 ac_cv_crosscflags__Wvla=no
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10177 CC=$ac_wine_try_cflags_saved_cc
10178 ac_exeext=$ac_wine_try_cflags_saved_exeext
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10181 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10182 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10183 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10186 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10187 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10188 $as_echo_n "(cached) " >&6
10189 else
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 ac_wine_try_cflags_saved_cc=$CC
10192 ac_wine_try_cflags_saved_exeext=$ac_exeext
10193 CFLAGS="$CFLAGS -Wwrite-strings"
10194 CC="$CROSSCC"
10195 ac_exeext=".exe"
10196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10198 int main(int argc, char **argv) { return 0; }
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 ac_cv_crosscflags__Wwrite_strings=yes
10202 else
10203 ac_cv_crosscflags__Wwrite_strings=no
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 CFLAGS=$ac_wine_try_cflags_saved
10208 CC=$ac_wine_try_cflags_saved_cc
10209 ac_exeext=$ac_wine_try_cflags_saved_exeext
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10212 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10213 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10214 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10217 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10218 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_wine_try_cflags_saved=$CFLAGS
10222 ac_wine_try_cflags_saved_cc=$CC
10223 ac_wine_try_cflags_saved_exeext=$ac_exeext
10224 CFLAGS="$CFLAGS -Wpointer-arith"
10225 CC="$CROSSCC"
10226 ac_exeext=".exe"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10229 int main(int argc, char **argv) { return 0; }
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 ac_cv_crosscflags__Wpointer_arith=yes
10233 else
10234 ac_cv_crosscflags__Wpointer_arith=no
10236 rm -f core conftest.err conftest.$ac_objext \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10239 CC=$ac_wine_try_cflags_saved_cc
10240 ac_exeext=$ac_wine_try_cflags_saved_exeext
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10243 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10244 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10245 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10248 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10249 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_wine_try_cflags_saved=$CFLAGS
10253 ac_wine_try_cflags_saved_cc=$CC
10254 ac_wine_try_cflags_saved_exeext=$ac_exeext
10255 CFLAGS="$CFLAGS -Wlogical-op"
10256 CC="$CROSSCC"
10257 ac_exeext=".exe"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 int main(int argc, char **argv) { return 0; }
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 ac_cv_crosscflags__Wlogical_op=yes
10264 else
10265 ac_cv_crosscflags__Wlogical_op=no
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 CFLAGS=$ac_wine_try_cflags_saved
10270 CC=$ac_wine_try_cflags_saved_cc
10271 ac_exeext=$ac_wine_try_cflags_saved_exeext
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10274 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10275 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10276 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10279 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10280 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_wine_try_cflags_saved=$CFLAGS
10284 ac_wine_try_cflags_saved_cc=$CC
10285 ac_wine_try_cflags_saved_exeext=$ac_exeext
10286 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10287 CC="$CROSSCC"
10288 ac_exeext=".exe"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 int main(int argc, char **argv) { return 0; }
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10295 else
10296 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 CFLAGS=$ac_wine_try_cflags_saved
10301 CC=$ac_wine_try_cflags_saved_cc
10302 ac_exeext=$ac_wine_try_cflags_saved_exeext
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10305 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10306 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10307 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10310 case $host_cpu in
10311 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10312 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10313 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 ac_wine_try_cflags_saved=$CFLAGS
10317 ac_wine_try_cflags_saved_cc=$CC
10318 ac_wine_try_cflags_saved_exeext=$ac_exeext
10319 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10320 CC="$CROSSCC"
10321 ac_exeext=".exe"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 int main(int argc, char **argv) { return 0; }
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10328 else
10329 ac_cv_crosscflags__fno_omit_frame_pointer=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 CFLAGS=$ac_wine_try_cflags_saved
10334 CC=$ac_wine_try_cflags_saved_cc
10335 ac_exeext=$ac_wine_try_cflags_saved_exeext
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10338 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10339 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10340 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10341 fi ;;
10342 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10343 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10344 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_wine_try_cflags_saved=$CFLAGS
10348 ac_wine_try_cflags_saved_cc=$CC
10349 ac_wine_try_cflags_saved_exeext=$ac_exeext
10350 CFLAGS="$CFLAGS -Wno-format"
10351 CC="$CROSSCC"
10352 ac_exeext=".exe"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 int main(int argc, char **argv) { return 0; }
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 ac_cv_crosscflags__Wno_format=yes
10359 else
10360 ac_cv_crosscflags__Wno_format=no
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 CFLAGS=$ac_wine_try_cflags_saved
10365 CC=$ac_wine_try_cflags_saved_cc
10366 ac_exeext=$ac_wine_try_cflags_saved_exeext
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10369 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10370 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10371 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10372 fi ;;
10373 esac
10375 for ac_flag in $CROSSCFLAGS; do
10376 case $ac_flag in
10377 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10378 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10379 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10380 $as_echo_n "(cached) " >&6
10381 else
10382 ac_wine_try_cflags_saved=$CFLAGS
10383 ac_wine_try_cflags_saved_cc=$CC
10384 ac_wine_try_cflags_saved_exeext=$ac_exeext
10385 CFLAGS="$CFLAGS -gdwarf-2"
10386 CC="$CROSSCC"
10387 ac_exeext=".exe"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int main(int argc, char **argv) { return 0; }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 ac_cv_crosscflags__gdwarf_2=yes
10394 else
10395 ac_cv_crosscflags__gdwarf_2=no
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10400 CC=$ac_wine_try_cflags_saved_cc
10401 ac_exeext=$ac_wine_try_cflags_saved_exeext
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10404 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10405 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10406 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10409 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10410 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10411 $as_echo_n "(cached) " >&6
10412 else
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 ac_wine_try_cflags_saved_cc=$CC
10415 ac_wine_try_cflags_saved_exeext=$ac_exeext
10416 CFLAGS="$CFLAGS -gstrict-dwarf"
10417 CC="$CROSSCC"
10418 ac_exeext=".exe"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int main(int argc, char **argv) { return 0; }
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 ac_cv_crosscflags__gstrict_dwarf=yes
10425 else
10426 ac_cv_crosscflags__gstrict_dwarf=no
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 CFLAGS=$ac_wine_try_cflags_saved
10431 CC=$ac_wine_try_cflags_saved_cc
10432 ac_exeext=$ac_wine_try_cflags_saved_exeext
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10435 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10436 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10437 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10438 fi ;;
10439 esac
10440 done
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10443 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10444 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10451 int main(int argc, char **argv) { return 0; }
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10455 else
10456 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10458 rm -f core conftest.err conftest.$ac_objext \
10459 conftest$ac_exeext conftest.$ac_ext
10460 CFLAGS=$ac_wine_try_cflags_saved
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10463 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10464 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10465 DELAYLOADFLAG="-Wl,-delayload,"
10469 if test "x$enable_maintainer_mode" = xyes
10470 then
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10472 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10473 if ${ac_cv_crosscflags__Werror+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 ac_wine_try_cflags_saved_cc=$CC
10478 ac_wine_try_cflags_saved_exeext=$ac_exeext
10479 CFLAGS="$CFLAGS -Werror"
10480 CC="$CROSSCC"
10481 ac_exeext=".exe"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int main(int argc, char **argv) { return 0; }
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_crosscflags__Werror=yes
10488 else
10489 ac_cv_crosscflags__Werror=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 CFLAGS=$ac_wine_try_cflags_saved
10494 CC=$ac_wine_try_cflags_saved_cc
10495 ac_exeext=$ac_wine_try_cflags_saved_exeext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10498 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10499 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10500 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10504 CFLAGS=$saved_CFLAGS
10505 CC="$ac_save_CC"
10508 if test "x$CROSSTARGET" = "x"; then :
10509 case "x$with_mingw" in
10510 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10511 xno) ;;
10512 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10513 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10514 esac
10519 if test "$ac_cv_header_pthread_h" = "yes"
10520 then
10521 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10522 if test "x$ac_cv_func_pthread_create" = xyes; then :
10524 else
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10526 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10527 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_check_lib_save_LIBS=$LIBS
10531 LIBS="-lpthread $LIBS"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10538 #ifdef __cplusplus
10539 extern "C"
10540 #endif
10541 char pthread_create ();
10543 main ()
10545 return pthread_create ();
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 ac_cv_lib_pthread_pthread_create=yes
10552 else
10553 ac_cv_lib_pthread_pthread_create=no
10555 rm -f core conftest.err conftest.$ac_objext \
10556 conftest$ac_exeext conftest.$ac_ext
10557 LIBS=$ac_check_lib_save_LIBS
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10560 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10561 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10562 PTHREAD_LIBS="-lpthread"
10569 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10570 case "x$with_pthread" in
10571 xno) ;;
10572 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10573 Wine cannot support threads without libpthread.
10574 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10575 esac
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10581 $as_echo_n "checking for X... " >&6; }
10584 # Check whether --with-x was given.
10585 if test "${with_x+set}" = set; then :
10586 withval=$with_x;
10589 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10590 if test "x$with_x" = xno; then
10591 # The user explicitly disabled X.
10592 have_x=disabled
10593 else
10594 case $x_includes,$x_libraries in #(
10595 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10596 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10597 $as_echo_n "(cached) " >&6
10598 else
10599 # One or both of the vars are not set, and there is no cached value.
10600 ac_x_includes=no ac_x_libraries=no
10601 rm -f -r conftest.dir
10602 if mkdir conftest.dir; then
10603 cd conftest.dir
10604 cat >Imakefile <<'_ACEOF'
10605 incroot:
10606 @echo incroot='${INCROOT}'
10607 usrlibdir:
10608 @echo usrlibdir='${USRLIBDIR}'
10609 libdir:
10610 @echo libdir='${LIBDIR}'
10611 _ACEOF
10612 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10614 for ac_var in incroot usrlibdir libdir; do
10615 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10616 done
10617 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10618 for ac_extension in a so sl dylib la dll; do
10619 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10620 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10621 ac_im_usrlibdir=$ac_im_libdir; break
10623 done
10624 # Screen out bogus values from the imake configuration. They are
10625 # bogus both because they are the default anyway, and because
10626 # using them would break gcc on systems where it needs fixed includes.
10627 case $ac_im_incroot in
10628 /usr/include) ac_x_includes= ;;
10629 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10630 esac
10631 case $ac_im_usrlibdir in
10632 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10633 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10634 esac
10636 cd ..
10637 rm -f -r conftest.dir
10640 # Standard set of common directories for X headers.
10641 # Check X11 before X11Rn because it is often a symlink to the current release.
10642 ac_x_header_dirs='
10643 /usr/X11/include
10644 /usr/X11R7/include
10645 /usr/X11R6/include
10646 /usr/X11R5/include
10647 /usr/X11R4/include
10649 /usr/include/X11
10650 /usr/include/X11R7
10651 /usr/include/X11R6
10652 /usr/include/X11R5
10653 /usr/include/X11R4
10655 /usr/local/X11/include
10656 /usr/local/X11R7/include
10657 /usr/local/X11R6/include
10658 /usr/local/X11R5/include
10659 /usr/local/X11R4/include
10661 /usr/local/include/X11
10662 /usr/local/include/X11R7
10663 /usr/local/include/X11R6
10664 /usr/local/include/X11R5
10665 /usr/local/include/X11R4
10667 /usr/X386/include
10668 /usr/x386/include
10669 /usr/XFree86/include/X11
10671 /usr/include
10672 /usr/local/include
10673 /usr/unsupported/include
10674 /usr/athena/include
10675 /usr/local/x11r5/include
10676 /usr/lpp/Xamples/include
10678 /usr/openwin/include
10679 /usr/openwin/share/include'
10681 if test "$ac_x_includes" = no; then
10682 # Guess where to find include files, by looking for Xlib.h.
10683 # First, try using that file with no special directory specified.
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10686 #include <X11/Xlib.h>
10687 _ACEOF
10688 if ac_fn_c_try_cpp "$LINENO"; then :
10689 # We can compile using X headers with no special include directory.
10690 ac_x_includes=
10691 else
10692 for ac_dir in $ac_x_header_dirs; do
10693 if test -r "$ac_dir/X11/Xlib.h"; then
10694 ac_x_includes=$ac_dir
10695 break
10697 done
10699 rm -f conftest.err conftest.i conftest.$ac_ext
10700 fi # $ac_x_includes = no
10702 if test "$ac_x_libraries" = no; then
10703 # Check for the libraries.
10704 # See if we find them without any special options.
10705 # Don't add to $LIBS permanently.
10706 ac_save_LIBS=$LIBS
10707 LIBS="-lX11 $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 #include <X11/Xlib.h>
10712 main ()
10714 XrmInitialize ()
10716 return 0;
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 LIBS=$ac_save_LIBS
10721 # We can link X programs with no special library path.
10722 ac_x_libraries=
10723 else
10724 LIBS=$ac_save_LIBS
10725 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10727 # Don't even attempt the hair of trying to link an X program!
10728 for ac_extension in a so sl dylib la dll; do
10729 if test -r "$ac_dir/libX11.$ac_extension"; then
10730 ac_x_libraries=$ac_dir
10731 break 2
10733 done
10734 done
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 fi # $ac_x_libraries = no
10740 case $ac_x_includes,$ac_x_libraries in #(
10741 no,* | *,no | *\'*)
10742 # Didn't find X, or a directory has "'" in its name.
10743 ac_cv_have_x="have_x=no";; #(
10745 # Record where we found X for the cache.
10746 ac_cv_have_x="have_x=yes\
10747 ac_x_includes='$ac_x_includes'\
10748 ac_x_libraries='$ac_x_libraries'"
10749 esac
10751 ;; #(
10752 *) have_x=yes;;
10753 esac
10754 eval "$ac_cv_have_x"
10755 fi # $with_x != no
10757 if test "$have_x" != yes; then
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10759 $as_echo "$have_x" >&6; }
10760 no_x=yes
10761 else
10762 # If each of the values was on the command line, it overrides each guess.
10763 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10764 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10765 # Update the cache value to reflect the command line values.
10766 ac_cv_have_x="have_x=yes\
10767 ac_x_includes='$x_includes'\
10768 ac_x_libraries='$x_libraries'"
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10770 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10773 if test "$no_x" = yes; then
10774 # Not all programs may use this symbol, but it does not hurt to define it.
10776 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10778 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10779 else
10780 if test -n "$x_includes"; then
10781 X_CFLAGS="$X_CFLAGS -I$x_includes"
10784 # It would also be nice to do this for all -L options, not just this one.
10785 if test -n "$x_libraries"; then
10786 X_LIBS="$X_LIBS -L$x_libraries"
10787 # For Solaris; some versions of Sun CC require a space after -R and
10788 # others require no space. Words are not sufficient . . . .
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10790 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10791 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10792 ac_xsave_c_werror_flag=$ac_c_werror_flag
10793 ac_c_werror_flag=yes
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10798 main ()
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 $as_echo "no" >&6; }
10808 X_LIBS="$X_LIBS -R$x_libraries"
10809 else
10810 LIBS="$ac_xsave_LIBS -R $x_libraries"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10815 main ()
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10824 $as_echo "yes" >&6; }
10825 X_LIBS="$X_LIBS -R $x_libraries"
10826 else
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10828 $as_echo "neither works" >&6; }
10830 rm -f core conftest.err conftest.$ac_objext \
10831 conftest$ac_exeext conftest.$ac_ext
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 ac_c_werror_flag=$ac_xsave_c_werror_flag
10836 LIBS=$ac_xsave_LIBS
10839 # Check for system-dependent libraries X programs must link with.
10840 # Do this before checking for the system-independent R6 libraries
10841 # (-lICE), since we may need -lsocket or whatever for X linking.
10843 if test "$ISC" = yes; then
10844 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10845 else
10846 # Martyn Johnson says this is needed for Ultrix, if the X
10847 # libraries were built with DECnet support. And Karl Berry says
10848 # the Alpha needs dnet_stub (dnet does not exist).
10849 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char XOpenDisplay ();
10861 main ()
10863 return XOpenDisplay ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10870 else
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10872 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10873 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-ldnet $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char dnet_ntoa ();
10889 main ()
10891 return dnet_ntoa ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 ac_cv_lib_dnet_dnet_ntoa=yes
10898 else
10899 ac_cv_lib_dnet_dnet_ntoa=no
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10906 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10907 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10908 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10911 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10913 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10914 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-ldnet_stub $LIBS"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10925 #ifdef __cplusplus
10926 extern "C"
10927 #endif
10928 char dnet_ntoa ();
10930 main ()
10932 return dnet_ntoa ();
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10939 else
10940 ac_cv_lib_dnet_stub_dnet_ntoa=no
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_lib_save_LIBS
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10947 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10948 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS="$ac_xsave_LIBS"
10958 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10959 # to get the SysV transport functions.
10960 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10961 # needs -lnsl.
10962 # The nsl library prevents programs from opening the X display
10963 # on Irix 5.2, according to T.E. Dickey.
10964 # The functions gethostbyname, getservbyname, and inet_addr are
10965 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10966 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10967 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10971 if test $ac_cv_func_gethostbyname = no; then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10973 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10974 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lnsl $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char gethostbyname ();
10990 main ()
10992 return gethostbyname ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 ac_cv_lib_nsl_gethostbyname=yes
10999 else
11000 ac_cv_lib_nsl_gethostbyname=no
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11007 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11008 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11009 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11012 if test $ac_cv_lib_nsl_gethostbyname = no; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11014 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11015 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11016 $as_echo_n "(cached) " >&6
11017 else
11018 ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-lbsd $LIBS"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11026 #ifdef __cplusplus
11027 extern "C"
11028 #endif
11029 char gethostbyname ();
11031 main ()
11033 return gethostbyname ();
11035 return 0;
11037 _ACEOF
11038 if ac_fn_c_try_link "$LINENO"; then :
11039 ac_cv_lib_bsd_gethostbyname=yes
11040 else
11041 ac_cv_lib_bsd_gethostbyname=no
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 LIBS=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11048 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11049 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11056 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11057 # socket/setsockopt and other routines are undefined under SCO ODT
11058 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11059 # on later versions), says Simon Leinen: it contains gethostby*
11060 # variants that don't use the name server (or something). -lsocket
11061 # must be given before -lnsl if both are needed. We assume that
11062 # if connect needs -lnsl, so does gethostbyname.
11063 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11064 if test "x$ac_cv_func_connect" = xyes; then :
11068 if test $ac_cv_func_connect = no; then
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11070 $as_echo_n "checking for connect in -lsocket... " >&6; }
11071 if ${ac_cv_lib_socket_connect+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_lib_save_LIBS=$LIBS
11075 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char connect ();
11087 main ()
11089 return connect ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 ac_cv_lib_socket_connect=yes
11096 else
11097 ac_cv_lib_socket_connect=no
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11104 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11105 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11106 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11111 # Guillermo Gomez says -lposix is necessary on A/UX.
11112 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11113 if test "x$ac_cv_func_remove" = xyes; then :
11117 if test $ac_cv_func_remove = no; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11119 $as_echo_n "checking for remove in -lposix... " >&6; }
11120 if ${ac_cv_lib_posix_remove+:} false; then :
11121 $as_echo_n "(cached) " >&6
11122 else
11123 ac_check_lib_save_LIBS=$LIBS
11124 LIBS="-lposix $LIBS"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char remove ();
11136 main ()
11138 return remove ();
11140 return 0;
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 ac_cv_lib_posix_remove=yes
11145 else
11146 ac_cv_lib_posix_remove=no
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11153 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11154 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11160 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11161 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11162 if test "x$ac_cv_func_shmat" = xyes; then :
11166 if test $ac_cv_func_shmat = no; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11168 $as_echo_n "checking for shmat in -lipc... " >&6; }
11169 if ${ac_cv_lib_ipc_shmat+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-lipc $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char shmat ();
11185 main ()
11187 return shmat ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_ipc_shmat=yes
11194 else
11195 ac_cv_lib_ipc_shmat=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11202 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11203 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11210 # Check for libraries that X11R6 Xt/Xaw programs need.
11211 ac_save_LDFLAGS=$LDFLAGS
11212 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11213 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11214 # check for ICE first), but we must link in the order -lSM -lICE or
11215 # we get undefined symbols. So assume we have SM if we have ICE.
11216 # These have to be linked with before -lX11, unlike the other
11217 # libraries we check for below, so use a different variable.
11218 # John Interrante, Karl Berry
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11220 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11221 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11222 $as_echo_n "(cached) " >&6
11223 else
11224 ac_check_lib_save_LIBS=$LIBS
11225 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char IceConnectionNumber ();
11237 main ()
11239 return IceConnectionNumber ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_ICE_IceConnectionNumber=yes
11246 else
11247 ac_cv_lib_ICE_IceConnectionNumber=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11254 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11255 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11259 LDFLAGS=$ac_save_LDFLAGS
11264 if test "$have_x" = "yes"
11265 then
11266 ac_save_CPPFLAGS="$CPPFLAGS"
11267 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11270 $as_echo_n "checking for -lX11... " >&6; }
11271 if ${ac_cv_lib_soname_X11+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_soname_save_LIBS=$LIBS
11275 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char XCreateWindow ();
11287 main ()
11289 return XCreateWindow ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 case "$LIBEXT" in
11296 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11297 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'` ;;
11298 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11299 if ${ac_cv_lib_soname_X11:+false} :; then :
11300 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11301 fi ;;
11302 esac
11303 else
11304 ac_cv_lib_soname_X11=
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_soname_save_LIBS
11310 if ${ac_cv_lib_soname_X11:+false} :; then :
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11312 $as_echo "not found" >&6; }
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11316 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11318 cat >>confdefs.h <<_ACEOF
11319 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11320 _ACEOF
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11325 $as_echo_n "checking for -lXext... " >&6; }
11326 if ${ac_cv_lib_soname_Xext+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_soname_save_LIBS=$LIBS
11330 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char XextCreateExtension ();
11342 main ()
11344 return XextCreateExtension ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 case "$LIBEXT" in
11351 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11352 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'` ;;
11353 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11354 if ${ac_cv_lib_soname_Xext:+false} :; then :
11355 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11356 fi ;;
11357 esac
11358 else
11359 ac_cv_lib_soname_Xext=
11361 rm -f core conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_soname_save_LIBS
11365 if ${ac_cv_lib_soname_Xext:+false} :; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11367 $as_echo "not found" >&6; }
11369 else
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11371 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11373 cat >>confdefs.h <<_ACEOF
11374 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11375 _ACEOF
11377 X_LIBS="$X_LIBS -lXext"
11379 X_LIBS="$X_LIBS -lX11"
11381 for ac_header in X11/Xlib.h \
11382 X11/XKBlib.h \
11383 X11/Xutil.h \
11384 X11/Xcursor/Xcursor.h \
11385 X11/extensions/shape.h \
11386 X11/extensions/XInput.h \
11387 X11/extensions/XInput2.h \
11388 X11/extensions/XShm.h \
11389 X11/extensions/Xcomposite.h \
11390 X11/extensions/Xfixes.h \
11391 X11/extensions/Xinerama.h \
11392 X11/extensions/Xrandr.h \
11393 X11/extensions/Xrender.h \
11394 X11/extensions/xf86vmode.h \
11395 X11/extensions/xf86vmproto.h
11396 do :
11397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11399 # include <X11/Xlib.h>
11400 #endif
11401 #ifdef HAVE_X11_XUTIL_H
11402 # include <X11/Xutil.h>
11403 #endif
11405 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11406 cat >>confdefs.h <<_ACEOF
11407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11408 _ACEOF
11412 done
11415 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11416 then
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11418 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11419 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 ac_check_lib_save_LIBS=$LIBS
11423 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char XkbQueryExtension ();
11435 main ()
11437 return XkbQueryExtension ();
11439 return 0;
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 ac_cv_lib_X11_XkbQueryExtension=yes
11444 else
11445 ac_cv_lib_X11_XkbQueryExtension=no
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_lib_save_LIBS
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11452 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11453 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11455 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11461 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11462 then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11464 $as_echo_n "checking for -lXcursor... " >&6; }
11465 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11466 $as_echo_n "(cached) " >&6
11467 else
11468 ac_check_soname_save_LIBS=$LIBS
11469 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11476 #ifdef __cplusplus
11477 extern "C"
11478 #endif
11479 char XcursorImageLoadCursor ();
11481 main ()
11483 return XcursorImageLoadCursor ();
11485 return 0;
11487 _ACEOF
11488 if ac_fn_c_try_link "$LINENO"; then :
11489 case "$LIBEXT" in
11490 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11491 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'` ;;
11492 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11493 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11494 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11495 fi ;;
11496 esac
11497 else
11498 ac_cv_lib_soname_Xcursor=
11500 rm -f core conftest.err conftest.$ac_objext \
11501 conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_soname_save_LIBS
11504 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11506 $as_echo "not found" >&6; }
11508 else
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11510 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11512 cat >>confdefs.h <<_ACEOF
11513 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11514 _ACEOF
11519 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11520 case "x$with_xcursor" in
11521 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11522 xno) ;;
11523 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11524 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11525 esac
11529 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11530 then
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11532 $as_echo_n "checking for -lXi... " >&6; }
11533 if ${ac_cv_lib_soname_Xi+:} false; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 ac_check_soname_save_LIBS=$LIBS
11537 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11544 #ifdef __cplusplus
11545 extern "C"
11546 #endif
11547 char XOpenDevice ();
11549 main ()
11551 return XOpenDevice ();
11553 return 0;
11555 _ACEOF
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 case "$LIBEXT" in
11558 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11559 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'` ;;
11560 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11561 if ${ac_cv_lib_soname_Xi:+false} :; then :
11562 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11563 fi ;;
11564 esac
11565 else
11566 ac_cv_lib_soname_Xi=
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_Xi:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11576 else
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11578 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11580 cat >>confdefs.h <<_ACEOF
11581 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11582 _ACEOF
11587 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11588 case "x$with_xinput" in
11589 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11590 xno) ;;
11591 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11592 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11593 esac
11597 if test "x$ac_cv_lib_soname_Xi" != x
11598 then
11599 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11600 case "x$with_xinput2" in
11601 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11602 xno) ;;
11603 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11604 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11605 esac
11610 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11611 then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11613 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11614 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_lib_save_LIBS=$LIBS
11618 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char XShmQueryExtension ();
11630 main ()
11632 return XShmQueryExtension ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 ac_cv_lib_Xext_XShmQueryExtension=yes
11639 else
11640 ac_cv_lib_Xext_XShmQueryExtension=no
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11647 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11648 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11650 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11655 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11656 case "x$with_xshm" in
11657 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11658 xno) ;;
11659 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11660 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11661 esac
11665 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11666 then
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11668 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11669 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_lib_save_LIBS=$LIBS
11673 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char XShapeQueryExtension ();
11685 main ()
11687 return XShapeQueryExtension ();
11689 return 0;
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 ac_cv_lib_Xext_XShapeQueryExtension=yes
11694 else
11695 ac_cv_lib_Xext_XShapeQueryExtension=no
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11702 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11703 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11705 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11710 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11711 case "x$with_xshape" in
11712 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11713 xno) ;;
11714 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11715 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11716 esac
11720 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11721 then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11723 $as_echo_n "checking for -lXxf86vm... " >&6; }
11724 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11725 $as_echo_n "(cached) " >&6
11726 else
11727 ac_check_soname_save_LIBS=$LIBS
11728 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char XF86VidModeQueryExtension ();
11740 main ()
11742 return XF86VidModeQueryExtension ();
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 case "$LIBEXT" in
11749 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11750 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'` ;;
11751 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11752 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11753 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11754 fi ;;
11755 esac
11756 else
11757 ac_cv_lib_soname_Xxf86vm=
11759 rm -f core conftest.err conftest.$ac_objext \
11760 conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_soname_save_LIBS
11763 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11765 $as_echo "not found" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11769 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11771 cat >>confdefs.h <<_ACEOF
11772 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11773 _ACEOF
11778 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11779 case "x$with_xxf86vm" in
11780 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11781 xno) ;;
11782 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11783 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11784 esac
11788 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11789 then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11791 $as_echo_n "checking for -lXrender... " >&6; }
11792 if ${ac_cv_lib_soname_Xrender+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_check_soname_save_LIBS=$LIBS
11796 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char XRenderQueryExtension ();
11808 main ()
11810 return XRenderQueryExtension ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 case "$LIBEXT" in
11817 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11818 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'` ;;
11819 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11820 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11821 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11822 fi ;;
11823 esac
11824 else
11825 ac_cv_lib_soname_Xrender=
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11837 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11841 _ACEOF
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11844 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11845 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_lib_save_LIBS=$LIBS
11849 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char XRenderSetPictureTransform ();
11861 main ()
11863 return XRenderSetPictureTransform ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11870 else
11871 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11878 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11879 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11881 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11886 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11887 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_lib_save_LIBS=$LIBS
11891 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char XRenderCreateLinearGradient ();
11903 main ()
11905 return XRenderCreateLinearGradient ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11912 else
11913 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11915 rm -f core conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11920 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11921 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11923 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11930 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11931 case "x$with_xrender" in
11932 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11933 xno) ;;
11934 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11935 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11936 esac
11940 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11941 then
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #include <X11/Xlib.h>
11945 #include <X11/extensions/Xrandr.h>
11947 main ()
11949 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_compile "$LINENO"; then :
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11956 $as_echo_n "checking for -lXrandr... " >&6; }
11957 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 ac_check_soname_save_LIBS=$LIBS
11961 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char XRRQueryExtension ();
11973 main ()
11975 return XRRQueryExtension ();
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 case "$LIBEXT" in
11982 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11983 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'` ;;
11984 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11985 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11986 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11987 fi ;;
11988 esac
11989 else
11990 ac_cv_lib_soname_Xrandr=
11992 rm -f core conftest.err conftest.$ac_objext \
11993 conftest$ac_exeext conftest.$ac_ext
11994 LIBS=$ac_check_soname_save_LIBS
11996 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11998 $as_echo "not found" >&6; }
12000 else
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12002 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12004 cat >>confdefs.h <<_ACEOF
12005 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12006 _ACEOF
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 #include <X11/Xlib.h>
12011 #include <X11/extensions/Xrandr.h>
12013 main ()
12015 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_compile "$LINENO"; then :
12022 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <X11/Xlib.h>
12029 #include <X11/extensions/Xrandr.h>
12031 main ()
12033 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_compile "$LINENO"; then :
12040 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12042 else
12043 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12050 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12051 case "x$with_xrandr" in
12052 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12055 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12056 esac
12060 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12061 then
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12064 #include <X11/Xlib.h>
12065 #include <X11/extensions/Xfixes.h>
12067 main ()
12069 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_compile "$LINENO"; then :
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12076 $as_echo_n "checking for -lXfixes... " >&6; }
12077 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12078 $as_echo_n "(cached) " >&6
12079 else
12080 ac_check_soname_save_LIBS=$LIBS
12081 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 #ifdef __cplusplus
12089 extern "C"
12090 #endif
12091 char XFixesQueryVersion ();
12093 main ()
12095 return XFixesQueryVersion ();
12097 return 0;
12099 _ACEOF
12100 if ac_fn_c_try_link "$LINENO"; then :
12101 case "$LIBEXT" in
12102 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12103 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'` ;;
12104 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12105 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12106 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12107 fi ;;
12108 esac
12109 else
12110 ac_cv_lib_soname_Xfixes=
12112 rm -f core conftest.err conftest.$ac_objext \
12113 conftest$ac_exeext conftest.$ac_ext
12114 LIBS=$ac_check_soname_save_LIBS
12116 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12118 $as_echo "not found" >&6; }
12120 else
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12122 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12124 cat >>confdefs.h <<_ACEOF
12125 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12126 _ACEOF
12131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12133 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12134 case "x$with_xfixes" in
12135 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12136 xno) ;;
12137 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12138 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12139 esac
12143 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12144 then
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 #include <X11/Xlib.h>
12148 #include <X11/extensions/Xinerama.h>
12150 main ()
12152 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_compile "$LINENO"; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12159 $as_echo_n "checking for -lXinerama... " >&6; }
12160 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 ac_check_soname_save_LIBS=$LIBS
12164 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 #ifdef __cplusplus
12172 extern "C"
12173 #endif
12174 char XineramaQueryScreens ();
12176 main ()
12178 return XineramaQueryScreens ();
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_link "$LINENO"; then :
12184 case "$LIBEXT" in
12185 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12186 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'` ;;
12187 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12188 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12189 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12190 fi ;;
12191 esac
12192 else
12193 ac_cv_lib_soname_Xinerama=
12195 rm -f core conftest.err conftest.$ac_objext \
12196 conftest$ac_exeext conftest.$ac_ext
12197 LIBS=$ac_check_soname_save_LIBS
12199 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12201 $as_echo "not found" >&6; }
12203 else
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12205 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12207 cat >>confdefs.h <<_ACEOF
12208 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12209 _ACEOF
12214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12216 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12217 case "x$with_xinerama" in
12218 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12219 xno) ;;
12220 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12221 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12222 esac
12226 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12227 then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12229 $as_echo_n "checking for -lXcomposite... " >&6; }
12230 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 ac_check_soname_save_LIBS=$LIBS
12234 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12238 /* Override any GCC internal prototype to avoid an error.
12239 Use char because int might match the return type of a GCC
12240 builtin and then its argument prototype would still apply. */
12241 #ifdef __cplusplus
12242 extern "C"
12243 #endif
12244 char XCompositeRedirectWindow ();
12246 main ()
12248 return XCompositeRedirectWindow ();
12250 return 0;
12252 _ACEOF
12253 if ac_fn_c_try_link "$LINENO"; then :
12254 case "$LIBEXT" in
12255 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12256 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'` ;;
12257 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12258 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12259 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12260 fi ;;
12261 esac
12262 else
12263 ac_cv_lib_soname_Xcomposite=
12265 rm -f core conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12267 LIBS=$ac_check_soname_save_LIBS
12269 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12271 $as_echo "not found" >&6; }
12273 else
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12275 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12277 cat >>confdefs.h <<_ACEOF
12278 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12279 _ACEOF
12284 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12285 case "x$with_xcomposite" in
12286 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12287 xno) ;;
12288 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12289 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12290 esac
12294 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12295 #include <X11/Xlib.h>
12296 #endif
12298 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12300 cat >>confdefs.h <<_ACEOF
12301 #define HAVE_XICCALLBACK_CALLBACK 1
12302 _ACEOF
12306 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12307 #include <X11/Xlib.h>
12308 #endif
12310 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12312 cat >>confdefs.h <<_ACEOF
12313 #define HAVE_XEVENT_XCOOKIE 1
12314 _ACEOF
12321 opengl_msg=""
12322 if test "x$with_opengl" != "xno"
12323 then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12325 $as_echo_n "checking for -lGL... " >&6; }
12326 if ${ac_cv_lib_soname_GL+:} false; then :
12327 $as_echo_n "(cached) " >&6
12328 else
12329 ac_check_soname_save_LIBS=$LIBS
12330 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12334 /* Override any GCC internal prototype to avoid an error.
12335 Use char because int might match the return type of a GCC
12336 builtin and then its argument prototype would still apply. */
12337 #ifdef __cplusplus
12338 extern "C"
12339 #endif
12340 char glXCreateContext ();
12342 main ()
12344 return glXCreateContext ();
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_link "$LINENO"; then :
12350 case "$LIBEXT" in
12351 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12352 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'` ;;
12353 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12354 if ${ac_cv_lib_soname_GL:+false} :; then :
12355 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12356 fi ;;
12357 esac
12358 else
12359 ac_cv_lib_soname_GL=
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 LIBS=$ac_check_soname_save_LIBS
12365 if ${ac_cv_lib_soname_GL:+false} :; then :
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12367 $as_echo "not found" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12369 $as_echo_n "checking for -lGL... " >&6; }
12370 if ${ac_cv_lib_soname_GL+:} false; then :
12371 $as_echo_n "(cached) " >&6
12372 else
12373 ac_check_soname_save_LIBS=$LIBS
12374 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"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 /* Override any GCC internal prototype to avoid an error.
12379 Use char because int might match the return type of a GCC
12380 builtin and then its argument prototype would still apply. */
12381 #ifdef __cplusplus
12382 extern "C"
12383 #endif
12384 char glXCreateContext ();
12386 main ()
12388 return glXCreateContext ();
12390 return 0;
12392 _ACEOF
12393 if ac_fn_c_try_link "$LINENO"; then :
12394 case "$LIBEXT" in
12395 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12396 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'` ;;
12397 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12398 if ${ac_cv_lib_soname_GL:+false} :; then :
12399 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12400 fi ;;
12401 esac
12402 else
12403 ac_cv_lib_soname_GL=
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 LIBS=$ac_check_soname_save_LIBS
12409 if ${ac_cv_lib_soname_GL:+false} :; then :
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12411 $as_echo "not found" >&6; }
12412 if test -f /usr/X11R6/lib/libGL.a
12413 then
12414 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12415 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12416 else
12417 opengl_msg="No OpenGL library found on this system."
12419 else
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12421 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12423 cat >>confdefs.h <<_ACEOF
12424 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12425 _ACEOF
12427 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"
12429 else
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12431 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12433 cat >>confdefs.h <<_ACEOF
12434 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12435 _ACEOF
12437 OPENGL_LIBS="-lGL"
12439 if test "x$with_glu" != "xno"
12440 then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12442 $as_echo_n "checking for -lGLU... " >&6; }
12443 if ${ac_cv_lib_soname_GLU+:} false; then :
12444 $as_echo_n "(cached) " >&6
12445 else
12446 ac_check_soname_save_LIBS=$LIBS
12447 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 #ifdef __cplusplus
12455 extern "C"
12456 #endif
12457 char gluLookAt ();
12459 main ()
12461 return gluLookAt ();
12463 return 0;
12465 _ACEOF
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 case "$LIBEXT" in
12468 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12469 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'` ;;
12470 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12471 if ${ac_cv_lib_soname_GLU:+false} :; then :
12472 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12473 fi ;;
12474 esac
12475 else
12476 ac_cv_lib_soname_GLU=
12478 rm -f core conftest.err conftest.$ac_objext \
12479 conftest$ac_exeext conftest.$ac_ext
12480 LIBS=$ac_check_soname_save_LIBS
12482 if ${ac_cv_lib_soname_GLU:+false} :; then :
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12484 $as_echo "not found" >&6; }
12486 else
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12488 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12490 cat >>confdefs.h <<_ACEOF
12491 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12492 _ACEOF
12496 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12497 case "x$with_glu" in
12498 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12499 xno) ;;
12500 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12501 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12502 esac
12507 if test "x$with_osmesa" != "xno"
12508 then
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12510 $as_echo_n "checking for -lOSMesa... " >&6; }
12511 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 ac_check_soname_save_LIBS=$LIBS
12515 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12522 #ifdef __cplusplus
12523 extern "C"
12524 #endif
12525 char OSMesaGetProcAddress ();
12527 main ()
12529 return OSMesaGetProcAddress ();
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_link "$LINENO"; then :
12535 case "$LIBEXT" in
12536 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12537 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'` ;;
12538 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12539 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12540 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12541 fi ;;
12542 esac
12543 else
12544 ac_cv_lib_soname_OSMesa=
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 LIBS=$ac_check_soname_save_LIBS
12550 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12552 $as_echo "not found" >&6; }
12554 else
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12556 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12558 cat >>confdefs.h <<_ACEOF
12559 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12560 _ACEOF
12564 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12565 case "x$with_osmesa" in
12566 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12567 xno) ;;
12568 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12569 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12570 esac
12575 if test -n "$opengl_msg"; then :
12576 case "x$with_opengl" in
12577 x) as_fn_append wine_warnings "|$opengl_msg
12578 OpenGL and Direct3D won't be supported." ;;
12579 xno) ;;
12580 *) as_fn_error $? "$opengl_msg
12581 OpenGL and Direct3D won't be supported.
12582 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12583 esac
12587 CPPFLAGS="$ac_save_CPPFLAGS"
12588 else
12589 X_CFLAGS=""
12590 X_LIBS=""
12593 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12594 then
12595 if test "x$X_LIBS" = "x"; then :
12596 case "x$with_x" in
12597 xno) ;;
12598 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12599 without X support, which probably isn't what you want. You will need
12600 to install ${notice_platform}development packages of Xlib at the very least.
12601 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12602 esac
12603 enable_winex11_drv=${enable_winex11_drv:-no}
12605 else
12606 if test "x$X_LIBS" = "x"; then :
12607 case "x$with_x" in
12608 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12609 xno) ;;
12610 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12611 This is an error since --with-x was requested." "$LINENO" 5 ;;
12612 esac
12613 enable_winex11_drv=${enable_winex11_drv:-no}
12617 if test "$ac_cv_header_CL_cl_h" = "yes"
12618 then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12620 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12621 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12622 $as_echo_n "(cached) " >&6
12623 else
12624 ac_check_lib_save_LIBS=$LIBS
12625 LIBS="-lOpenCL $LIBS"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12632 #ifdef __cplusplus
12633 extern "C"
12634 #endif
12635 char clGetPlatformInfo ();
12637 main ()
12639 return clGetPlatformInfo ();
12641 return 0;
12643 _ACEOF
12644 if ac_fn_c_try_link "$LINENO"; then :
12645 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12646 else
12647 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12649 rm -f core conftest.err conftest.$ac_objext \
12650 conftest$ac_exeext conftest.$ac_ext
12651 LIBS=$ac_check_lib_save_LIBS
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12654 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12655 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12656 OPENCL_LIBS="-lOpenCL"
12661 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12662 case "x$with_opencl" in
12663 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12664 xno) ;;
12665 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12666 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12667 esac
12668 enable_opencl=${enable_opencl:-no}
12671 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12672 then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12674 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12675 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_check_lib_save_LIBS=$LIBS
12679 LIBS="-lpcap $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 char pcap_create ();
12691 main ()
12693 return pcap_create ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 ac_cv_lib_pcap_pcap_create=yes
12700 else
12701 ac_cv_lib_pcap_pcap_create=no
12703 rm -f core conftest.err conftest.$ac_objext \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_lib_save_LIBS
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12708 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12709 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12710 PCAP_LIBS="-lpcap"
12715 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12716 case "x$with_pcap" in
12717 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12718 xno) ;;
12719 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12720 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12721 esac
12722 enable_wpcap=${enable_wpcap:-no}
12726 if test "x$with_xml" != "xno"
12727 then
12728 if ${XML2_CFLAGS:+false} :; then :
12729 if ${PKG_CONFIG+:} false; then :
12730 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12733 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12734 if ${XML2_LIBS:+false} :; then :
12735 if ${PKG_CONFIG+:} false; then :
12736 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12739 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12740 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12741 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12742 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12743 ac_save_CPPFLAGS=$CPPFLAGS
12744 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12745 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12746 do :
12747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12748 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12750 cat >>confdefs.h <<_ACEOF
12751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12752 _ACEOF
12756 done
12758 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"
12759 then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12761 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12762 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12763 $as_echo_n "(cached) " >&6
12764 else
12765 ac_check_lib_save_LIBS=$LIBS
12766 LIBS="-lxml2 $XML2_LIBS $LIBS"
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12770 /* Override any GCC internal prototype to avoid an error.
12771 Use char because int might match the return type of a GCC
12772 builtin and then its argument prototype would still apply. */
12773 #ifdef __cplusplus
12774 extern "C"
12775 #endif
12776 char xmlParseMemory ();
12778 main ()
12780 return xmlParseMemory ();
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_link "$LINENO"; then :
12786 ac_cv_lib_xml2_xmlParseMemory=yes
12787 else
12788 ac_cv_lib_xml2_xmlParseMemory=no
12790 rm -f core conftest.err conftest.$ac_objext \
12791 conftest$ac_exeext conftest.$ac_ext
12792 LIBS=$ac_check_lib_save_LIBS
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12795 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12796 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12798 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12800 else
12801 XML2_LIBS=""
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12805 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12806 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12807 $as_echo_n "(cached) " >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lxml2 $XML2_LIBS $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 char xmlReadMemory ();
12822 main ()
12824 return xmlReadMemory ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_xml2_xmlReadMemory=yes
12831 else
12832 ac_cv_lib_xml2_xmlReadMemory=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12839 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12840 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12842 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12847 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12848 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12849 $as_echo_n "(cached) " >&6
12850 else
12851 ac_check_lib_save_LIBS=$LIBS
12852 LIBS="-lxml2 $XML2_LIBS $LIBS"
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12859 #ifdef __cplusplus
12860 extern "C"
12861 #endif
12862 char xmlNewDocPI ();
12864 main ()
12866 return xmlNewDocPI ();
12868 return 0;
12870 _ACEOF
12871 if ac_fn_c_try_link "$LINENO"; then :
12872 ac_cv_lib_xml2_xmlNewDocPI=yes
12873 else
12874 ac_cv_lib_xml2_xmlNewDocPI=no
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_lib_save_LIBS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12881 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12882 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12884 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12889 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12890 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 ac_check_lib_save_LIBS=$LIBS
12894 LIBS="-lxml2 $XML2_LIBS $LIBS"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 char xmlSchemaSetParserStructuredErrors ();
12906 main ()
12908 return xmlSchemaSetParserStructuredErrors ();
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12915 else
12916 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12923 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12924 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12926 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12931 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12932 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12933 $as_echo_n "(cached) " >&6
12934 else
12935 ac_check_lib_save_LIBS=$LIBS
12936 LIBS="-lxml2 $XML2_LIBS $LIBS"
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12943 #ifdef __cplusplus
12944 extern "C"
12945 #endif
12946 char xmlSchemaSetValidStructuredErrors ();
12948 main ()
12950 return xmlSchemaSetValidStructuredErrors ();
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12957 else
12958 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12965 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12966 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12968 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12973 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12974 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
12977 ac_check_lib_save_LIBS=$LIBS
12978 LIBS="-lxml2 $XML2_LIBS $LIBS"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12982 /* Override any GCC internal prototype to avoid an error.
12983 Use char because int might match the return type of a GCC
12984 builtin and then its argument prototype would still apply. */
12985 #ifdef __cplusplus
12986 extern "C"
12987 #endif
12988 char xmlFirstElementChild ();
12990 main ()
12992 return xmlFirstElementChild ();
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_link "$LINENO"; then :
12998 ac_cv_lib_xml2_xmlFirstElementChild=yes
12999 else
13000 ac_cv_lib_xml2_xmlFirstElementChild=no
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_lib_save_LIBS
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13007 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13008 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13010 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13014 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13016 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13018 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13022 else
13023 XML2_CFLAGS=""
13024 XML2_LIBS=""
13026 CPPFLAGS=$ac_save_CPPFLAGS
13027 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13028 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13031 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13032 case "x$with_xml" in
13033 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13034 xno) ;;
13035 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13036 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13037 esac
13041 if test "x$with_xslt" != "xno"
13042 then
13043 if ${XSLT_CFLAGS:+false} :; then :
13044 if ${PKG_CONFIG+:} false; then :
13045 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13048 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13049 if ${XSLT_LIBS:+false} :; then :
13050 if ${PKG_CONFIG+:} false; then :
13051 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13054 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13055 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13056 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13057 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13058 ac_save_CPPFLAGS=$CPPFLAGS
13059 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13060 for ac_header in libxslt/pattern.h libxslt/transform.h
13061 do :
13062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13064 # include <libxslt/pattern.h>
13065 #endif
13067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13068 cat >>confdefs.h <<_ACEOF
13069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13070 _ACEOF
13074 done
13076 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13077 then
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13079 $as_echo_n "checking for -lxslt... " >&6; }
13080 if ${ac_cv_lib_soname_xslt+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_soname_save_LIBS=$LIBS
13084 LIBS="-lxslt $XSLT_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char xsltCompilePattern ();
13096 main ()
13098 return xsltCompilePattern ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 case "$LIBEXT" in
13105 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13106 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'` ;;
13107 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13108 if ${ac_cv_lib_soname_xslt:+false} :; then :
13109 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13110 fi ;;
13111 esac
13112 else
13113 ac_cv_lib_soname_xslt=
13115 rm -f core conftest.err conftest.$ac_objext \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_soname_save_LIBS
13119 if ${ac_cv_lib_soname_xslt:+false} :; then :
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13121 $as_echo "not found" >&6; }
13123 else
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13125 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13127 cat >>confdefs.h <<_ACEOF
13128 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13129 _ACEOF
13133 else
13134 XSLT_CFLAGS=""
13136 CPPFLAGS=$ac_save_CPPFLAGS
13137 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13142 case "x$with_xslt" in
13143 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13144 xno) ;;
13145 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13146 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13147 esac
13151 if test "x$with_inotify" != "xno"
13152 then
13153 if ${INOTIFY_CFLAGS:+false} :; then :
13154 if ${PKG_CONFIG+:} false; then :
13155 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13159 if ${INOTIFY_LIBS:+false} :; then :
13160 if ${PKG_CONFIG+:} false; then :
13161 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13167 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13168 ac_save_CPPFLAGS=$CPPFLAGS
13169 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13170 for ac_header in sys/inotify.h
13171 do :
13172 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13173 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13174 cat >>confdefs.h <<_ACEOF
13175 #define HAVE_SYS_INOTIFY_H 1
13176 _ACEOF
13180 done
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13183 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13184 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13185 $as_echo_n "(cached) " >&6
13186 else
13187 ac_check_lib_save_LIBS=$LIBS
13188 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13195 #ifdef __cplusplus
13196 extern "C"
13197 #endif
13198 char inotify_add_watch ();
13200 main ()
13202 return inotify_add_watch ();
13204 return 0;
13206 _ACEOF
13207 if ac_fn_c_try_link "$LINENO"; then :
13208 ac_cv_lib_inotify_inotify_add_watch=yes
13209 else
13210 ac_cv_lib_inotify_inotify_add_watch=no
13212 rm -f core conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214 LIBS=$ac_check_lib_save_LIBS
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13217 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13218 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13220 else
13221 INOTIFY_LIBS=""
13224 CPPFLAGS=$ac_save_CPPFLAGS
13225 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13226 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13229 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13230 case "x$with_inotify" in
13231 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13232 xno) ;;
13233 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13234 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13235 esac
13239 if test "x$with_dbus" != "xno"
13240 then
13241 if ${DBUS_CFLAGS:+false} :; then :
13242 if ${PKG_CONFIG+:} false; then :
13243 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13247 if ${DBUS_LIBS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13254 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13255 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13256 ac_save_CPPFLAGS=$CPPFLAGS
13257 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13258 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13259 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13261 $as_echo_n "checking for -ldbus-1... " >&6; }
13262 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13263 $as_echo_n "(cached) " >&6
13264 else
13265 ac_check_soname_save_LIBS=$LIBS
13266 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13273 #ifdef __cplusplus
13274 extern "C"
13275 #endif
13276 char dbus_connection_close ();
13278 main ()
13280 return dbus_connection_close ();
13282 return 0;
13284 _ACEOF
13285 if ac_fn_c_try_link "$LINENO"; then :
13286 case "$LIBEXT" in
13287 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13288 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'` ;;
13289 *) 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'`
13290 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13291 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13292 fi ;;
13293 esac
13294 else
13295 ac_cv_lib_soname_dbus_1=
13297 rm -f core conftest.err conftest.$ac_objext \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_soname_save_LIBS
13301 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13303 $as_echo "not found" >&6; }
13304 DBUS_CFLAGS=""
13305 else
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13307 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13309 cat >>confdefs.h <<_ACEOF
13310 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13311 _ACEOF
13315 else
13316 DBUS_CFLAGS=""
13320 CPPFLAGS=$ac_save_CPPFLAGS
13321 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13322 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13325 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13326 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13327 case "x$with_dbus" in
13328 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13329 xno) ;;
13330 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13331 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13332 esac
13336 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13337 then
13338 if ${HAL_CFLAGS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13344 if ${HAL_LIBS:+false} :; then :
13345 if ${PKG_CONFIG+:} false; then :
13346 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13350 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13351 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13352 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13353 ac_save_CPPFLAGS=$CPPFLAGS
13354 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13355 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13356 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13358 $as_echo_n "checking for -lhal... " >&6; }
13359 if ${ac_cv_lib_soname_hal+:} false; then :
13360 $as_echo_n "(cached) " >&6
13361 else
13362 ac_check_soname_save_LIBS=$LIBS
13363 LIBS="-lhal $HAL_LIBS $LIBS"
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13367 /* Override any GCC internal prototype to avoid an error.
13368 Use char because int might match the return type of a GCC
13369 builtin and then its argument prototype would still apply. */
13370 #ifdef __cplusplus
13371 extern "C"
13372 #endif
13373 char libhal_ctx_new ();
13375 main ()
13377 return libhal_ctx_new ();
13379 return 0;
13381 _ACEOF
13382 if ac_fn_c_try_link "$LINENO"; then :
13383 case "$LIBEXT" in
13384 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13385 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'` ;;
13386 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13387 if ${ac_cv_lib_soname_hal:+false} :; then :
13388 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13389 fi ;;
13390 esac
13391 else
13392 ac_cv_lib_soname_hal=
13394 rm -f core conftest.err conftest.$ac_objext \
13395 conftest$ac_exeext conftest.$ac_ext
13396 LIBS=$ac_check_soname_save_LIBS
13398 if ${ac_cv_lib_soname_hal:+false} :; then :
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13400 $as_echo "not found" >&6; }
13401 HAL_CFLAGS=""
13402 else
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13404 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13406 cat >>confdefs.h <<_ACEOF
13407 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13408 _ACEOF
13412 else
13413 HAL_CFLAGS=""
13417 CPPFLAGS=$ac_save_CPPFLAGS
13418 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13419 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13421 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13422 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13423 case "x$with_hal" in
13424 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13425 xno) ;;
13426 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13427 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13428 esac
13433 if test "x$with_gnutls" != "xno"
13434 then
13435 if ${GNUTLS_CFLAGS:+false} :; then :
13436 if ${PKG_CONFIG+:} false; then :
13437 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13441 if ${GNUTLS_LIBS:+false} :; then :
13442 if ${PKG_CONFIG+:} false; then :
13443 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13448 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13449 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13450 ac_save_CPPFLAGS=$CPPFLAGS
13451 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13452 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13453 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13456 #include <gnutls/gnutls.h>
13457 #include <gnutls/crypto.h>
13459 main ()
13461 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13463 return 0;
13465 _ACEOF
13466 if ac_fn_c_try_compile "$LINENO"; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13468 $as_echo_n "checking for -lgnutls... " >&6; }
13469 if ${ac_cv_lib_soname_gnutls+:} false; then :
13470 $as_echo_n "(cached) " >&6
13471 else
13472 ac_check_soname_save_LIBS=$LIBS
13473 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13480 #ifdef __cplusplus
13481 extern "C"
13482 #endif
13483 char gnutls_global_init ();
13485 main ()
13487 return gnutls_global_init ();
13489 return 0;
13491 _ACEOF
13492 if ac_fn_c_try_link "$LINENO"; then :
13493 case "$LIBEXT" in
13494 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13495 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'` ;;
13496 *) 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'`
13497 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13498 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'`
13499 fi ;;
13500 esac
13501 else
13502 ac_cv_lib_soname_gnutls=
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_soname_save_LIBS
13508 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13510 $as_echo "not found" >&6; }
13511 GNUTLS_CFLAGS=""
13512 else
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13514 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13516 cat >>confdefs.h <<_ACEOF
13517 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13518 _ACEOF
13522 ac_wine_check_funcs_save_LIBS="$LIBS"
13523 LIBS="$LIBS $GNUTLS_LIBS"
13524 for ac_func in gnutls_cipher_init
13525 do :
13526 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13527 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13528 cat >>confdefs.h <<_ACEOF
13529 #define HAVE_GNUTLS_CIPHER_INIT 1
13530 _ACEOF
13532 else
13533 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13535 done
13537 LIBS="$ac_wine_check_funcs_save_LIBS"
13539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13540 else
13541 GNUTLS_CFLAGS=""
13545 CPPFLAGS=$ac_save_CPPFLAGS
13546 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13547 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13550 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13551 case "x$with_gnutls" in
13552 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13553 xno) ;;
13554 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13555 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13556 esac
13560 CURSES_LIBS=""
13561 if test "$ac_cv_header_ncurses_h" = "yes"
13562 then
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13564 $as_echo_n "checking for -lncurses... " >&6; }
13565 if ${ac_cv_lib_soname_ncurses+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 ac_check_soname_save_LIBS=$LIBS
13569 LIBS="-lncurses $LIBS"
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13576 #ifdef __cplusplus
13577 extern "C"
13578 #endif
13579 char waddch ();
13581 main ()
13583 return waddch ();
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_link "$LINENO"; then :
13589 case "$LIBEXT" in
13590 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13591 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'` ;;
13592 *) 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'`
13593 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13594 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13595 fi ;;
13596 esac
13597 else
13598 ac_cv_lib_soname_ncurses=
13600 rm -f core conftest.err conftest.$ac_objext \
13601 conftest$ac_exeext conftest.$ac_ext
13602 LIBS=$ac_check_soname_save_LIBS
13604 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13606 $as_echo "not found" >&6; }
13608 else
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13610 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13612 cat >>confdefs.h <<_ACEOF
13613 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13614 _ACEOF
13616 CURSES_LIBS="-lncurses"
13618 elif test "$ac_cv_header_curses_h" = "yes"
13619 then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13621 $as_echo_n "checking for -lcurses... " >&6; }
13622 if ${ac_cv_lib_soname_curses+:} false; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 ac_check_soname_save_LIBS=$LIBS
13626 LIBS="-lcurses $LIBS"
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 /* Override any GCC internal prototype to avoid an error.
13631 Use char because int might match the return type of a GCC
13632 builtin and then its argument prototype would still apply. */
13633 #ifdef __cplusplus
13634 extern "C"
13635 #endif
13636 char waddch ();
13638 main ()
13640 return waddch ();
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"; then :
13646 case "$LIBEXT" in
13647 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13648 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'` ;;
13649 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13650 if ${ac_cv_lib_soname_curses:+false} :; then :
13651 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13652 fi ;;
13653 esac
13654 else
13655 ac_cv_lib_soname_curses=
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 LIBS=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_curses:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13665 else
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13667 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13669 cat >>confdefs.h <<_ACEOF
13670 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13671 _ACEOF
13673 CURSES_LIBS="-lcurses"
13676 ac_save_LIBS="$LIBS"
13677 LIBS="$LIBS $CURSES_LIBS"
13678 for ac_func in mousemask
13679 do :
13680 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13681 if test "x$ac_cv_func_mousemask" = xyes; then :
13682 cat >>confdefs.h <<_ACEOF
13683 #define HAVE_MOUSEMASK 1
13684 _ACEOF
13687 done
13689 LIBS="$ac_save_LIBS"
13690 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13691 case "x$with_curses" in
13692 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13693 xno) ;;
13694 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13695 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13696 esac
13700 if test "x$with_sane" != "xno"
13701 then
13702 if ${SANE_CFLAGS:+false} :; then :
13703 if ${PKG_CONFIG+:} false; then :
13704 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13707 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13708 if ${SANE_LIBS:+false} :; then :
13709 if ${PKG_CONFIG+:} false; then :
13710 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13713 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13715 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13716 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13717 ac_save_CPPFLAGS=$CPPFLAGS
13718 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13719 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13720 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13722 $as_echo_n "checking for -lsane... " >&6; }
13723 if ${ac_cv_lib_soname_sane+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_check_soname_save_LIBS=$LIBS
13727 LIBS="-lsane $SANE_LIBS $LIBS"
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13734 #ifdef __cplusplus
13735 extern "C"
13736 #endif
13737 char sane_init ();
13739 main ()
13741 return sane_init ();
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"; then :
13747 case "$LIBEXT" in
13748 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13749 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'` ;;
13750 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13751 if ${ac_cv_lib_soname_sane:+false} :; then :
13752 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13753 fi ;;
13754 esac
13755 else
13756 ac_cv_lib_soname_sane=
13758 rm -f core conftest.err conftest.$ac_objext \
13759 conftest$ac_exeext conftest.$ac_ext
13760 LIBS=$ac_check_soname_save_LIBS
13762 if ${ac_cv_lib_soname_sane:+false} :; then :
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13764 $as_echo "not found" >&6; }
13765 SANE_CFLAGS=""
13766 else
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13768 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13770 cat >>confdefs.h <<_ACEOF
13771 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13772 _ACEOF
13776 else
13777 SANE_CFLAGS=""
13781 CPPFLAGS=$ac_save_CPPFLAGS
13782 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13783 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13786 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13787 case "x$with_sane" in
13788 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13789 xno) ;;
13790 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13791 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13792 esac
13796 if test "x$with_v4l2" != "xno"
13797 then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13799 $as_echo_n "checking for -lv4l2... " >&6; }
13800 if ${ac_cv_lib_soname_v4l2+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_check_soname_save_LIBS=$LIBS
13804 LIBS="-lv4l2 $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 #ifdef __cplusplus
13812 extern "C"
13813 #endif
13814 char v4l2_open ();
13816 main ()
13818 return v4l2_open ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 case "$LIBEXT" in
13825 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13826 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'` ;;
13827 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13828 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13829 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13830 fi ;;
13831 esac
13832 else
13833 ac_cv_lib_soname_v4l2=
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LIBS=$ac_check_soname_save_LIBS
13839 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13841 $as_echo "not found" >&6; }
13843 else
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13845 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13847 cat >>confdefs.h <<_ACEOF
13848 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13849 _ACEOF
13854 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13855 case "x$with_v4l2" in
13856 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13857 xno) ;;
13858 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13859 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13860 esac
13864 if test "x$with_gphoto" != "xno"
13865 then
13866 if ${GPHOTO2_CFLAGS:+false} :; then :
13867 if ${PKG_CONFIG+:} false; then :
13868 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13871 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13872 if ${GPHOTO2_LIBS:+false} :; then :
13873 if ${PKG_CONFIG+:} false; then :
13874 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13877 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13878 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13879 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13880 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13881 ac_save_CPPFLAGS=$CPPFLAGS
13882 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13883 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13884 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13886 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13887 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 ac_check_lib_save_LIBS=$LIBS
13891 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13898 #ifdef __cplusplus
13899 extern "C"
13900 #endif
13901 char gp_camera_new ();
13903 main ()
13905 return gp_camera_new ();
13907 return 0;
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"; then :
13911 ac_cv_lib_gphoto2_gp_camera_new=yes
13912 else
13913 ac_cv_lib_gphoto2_gp_camera_new=no
13915 rm -f core conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_lib_save_LIBS
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13920 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13921 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13923 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13925 else
13926 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13929 else
13930 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13934 CPPFLAGS=$ac_save_CPPFLAGS
13935 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13936 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13938 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13939 if ${PKG_CONFIG+:} false; then :
13940 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13943 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13944 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13945 if ${PKG_CONFIG+:} false; then :
13946 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13949 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13950 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13951 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13952 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13953 ac_save_CPPFLAGS=$CPPFLAGS
13954 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13955 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13956 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13958 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13959 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13960 $as_echo_n "(cached) " >&6
13961 else
13962 ac_check_lib_save_LIBS=$LIBS
13963 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13967 /* Override any GCC internal prototype to avoid an error.
13968 Use char because int might match the return type of a GCC
13969 builtin and then its argument prototype would still apply. */
13970 #ifdef __cplusplus
13971 extern "C"
13972 #endif
13973 char gp_port_info_list_new ();
13975 main ()
13977 return gp_port_info_list_new ();
13979 return 0;
13981 _ACEOF
13982 if ac_fn_c_try_link "$LINENO"; then :
13983 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13984 else
13985 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13987 rm -f core conftest.err conftest.$ac_objext \
13988 conftest$ac_exeext conftest.$ac_ext
13989 LIBS=$ac_check_lib_save_LIBS
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13992 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13993 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13995 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13997 else
13998 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14001 else
14002 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14006 CPPFLAGS=$ac_save_CPPFLAGS
14007 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14008 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14011 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14012 case "x$with_gphoto" in
14013 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14014 xno) ;;
14015 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14016 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14017 esac
14020 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14021 case "x$with_gphoto" in
14022 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14023 xno) ;;
14024 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14025 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14026 esac
14031 if test "$ac_cv_header_resolv_h" = "yes"
14032 then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14034 $as_echo_n "checking for resolver library... " >&6; }
14035 if ${ac_cv_have_resolv+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 ac_save_LIBS="$LIBS"
14039 for lib in '' -lresolv
14041 LIBS="$lib $ac_save_LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 #ifdef HAVE_NETINET_IN_H
14045 #include <netinet/in.h>
14046 #endif
14047 #include <resolv.h>
14049 main ()
14051 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14053 return 0;
14055 _ACEOF
14056 if ac_fn_c_try_link "$LINENO"; then :
14057 ac_cv_have_resolv=${lib:-"none required"}
14058 else
14059 ac_cv_have_resolv="not found"
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 test "x$ac_cv_have_resolv" = "xnot found" || break
14064 done
14065 LIBS="$ac_save_LIBS"
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14068 $as_echo "$ac_cv_have_resolv" >&6; }
14070 case "$ac_cv_have_resolv" in
14071 "not found") ;;
14072 "none required")
14074 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14077 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14079 RESOLV_LIBS=$ac_cv_have_resolv
14081 esac
14084 if test "x$with_cms" != "xno"
14085 then
14086 if ${LCMS2_CFLAGS:+false} :; then :
14087 if ${PKG_CONFIG+:} false; then :
14088 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14092 if ${LCMS2_LIBS:+false} :; then :
14093 if ${PKG_CONFIG+:} false; then :
14094 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14098 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14099 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14100 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14101 ac_save_CPPFLAGS=$CPPFLAGS
14102 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14103 for ac_header in lcms2.h
14104 do :
14105 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14106 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14107 cat >>confdefs.h <<_ACEOF
14108 #define HAVE_LCMS2_H 1
14109 _ACEOF
14113 done
14115 if test "$ac_cv_header_lcms2_h" = "yes"
14116 then
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14118 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14119 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 ac_check_lib_save_LIBS=$LIBS
14123 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 #ifdef __cplusplus
14131 extern "C"
14132 #endif
14133 char cmsOpenProfileFromFile ();
14135 main ()
14137 return cmsOpenProfileFromFile ();
14139 return 0;
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14144 else
14145 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 LIBS=$ac_check_lib_save_LIBS
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14152 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14153 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14155 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14157 else
14158 LCMS2_LIBS=""
14161 else
14162 LCMS2_CFLAGS=""
14163 LCMS2_LIBS=""
14165 CPPFLAGS=$ac_save_CPPFLAGS
14166 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14167 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14170 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14171 case "x$with_cms" in
14172 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14173 xno) ;;
14174 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14175 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14176 esac
14180 if test "x$with_freetype" != "xno"
14181 then
14182 if ${FREETYPE_CFLAGS:+false} :; then :
14183 if ${PKG_CONFIG+:} false; then :
14184 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14187 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14188 if ${FREETYPE_LIBS:+false} :; then :
14189 if ${PKG_CONFIG+:} false; then :
14190 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14193 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14194 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14195 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14196 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14197 ac_save_CPPFLAGS=$CPPFLAGS
14198 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14199 for ac_header in ft2build.h
14200 do :
14201 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14202 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14203 cat >>confdefs.h <<_ACEOF
14204 #define HAVE_FT2BUILD_H 1
14205 _ACEOF
14209 done
14211 if test "$ac_cv_header_ft2build_h" = "yes"
14212 then
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14214 $as_echo_n "checking for -lfreetype... " >&6; }
14215 if ${ac_cv_lib_soname_freetype+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 ac_check_soname_save_LIBS=$LIBS
14219 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14223 /* Override any GCC internal prototype to avoid an error.
14224 Use char because int might match the return type of a GCC
14225 builtin and then its argument prototype would still apply. */
14226 #ifdef __cplusplus
14227 extern "C"
14228 #endif
14229 char FT_Init_FreeType ();
14231 main ()
14233 return FT_Init_FreeType ();
14235 return 0;
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 case "$LIBEXT" in
14240 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14241 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'` ;;
14242 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14243 if ${ac_cv_lib_soname_freetype:+false} :; then :
14244 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14245 fi ;;
14246 esac
14247 else
14248 ac_cv_lib_soname_freetype=
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14252 LIBS=$ac_check_soname_save_LIBS
14254 if ${ac_cv_lib_soname_freetype:+false} :; then :
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14256 $as_echo "not found" >&6; }
14257 FREETYPE_LIBS=""
14258 else
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14260 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14262 cat >>confdefs.h <<_ACEOF
14263 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14264 _ACEOF
14267 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14269 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14270 #include FT_MODULE_H
14272 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14274 cat >>confdefs.h <<_ACEOF
14275 #define HAVE_FT_TRUETYPEENGINETYPE 1
14276 _ACEOF
14282 else
14283 FREETYPE_CFLAGS=""
14284 FREETYPE_LIBS=""
14286 CPPFLAGS=$ac_save_CPPFLAGS
14287 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14288 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14291 if test "x$ac_cv_lib_soname_freetype" = x; then :
14292 case "x$with_freetype" in
14293 xno) ;;
14294 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14295 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14296 esac
14297 enable_fonts=${enable_fonts:-no}
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14301 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14302 if ${ac_cv_c_ppdev+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14307 #ifdef HAVE_SYS_IOCTL_H
14308 # include <sys/ioctl.h>
14309 #endif
14310 #include <linux/ppdev.h>
14312 main ()
14314 ioctl (1,PPCLAIM,0)
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_compile "$LINENO"; then :
14320 ac_cv_c_ppdev="yes"
14321 else
14322 ac_cv_c_ppdev="no"
14324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14327 $as_echo "$ac_cv_c_ppdev" >&6; }
14328 if test "$ac_cv_c_ppdev" = "yes"
14329 then
14331 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14335 ac_wine_check_funcs_save_LIBS="$LIBS"
14336 LIBS="$LIBS $PTHREAD_LIBS"
14337 for ac_func in \
14338 pthread_getthreadid_np
14339 do :
14340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14343 cat >>confdefs.h <<_ACEOF
14344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14345 _ACEOF
14348 done
14350 LIBS="$ac_wine_check_funcs_save_LIBS"
14352 if test "x$with_zlib" != "xno"
14353 then
14354 if ${Z_CFLAGS:+false} :; then :
14355 if ${PKG_CONFIG+:} false; then :
14356 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14360 if ${Z_LIBS:+false} :; then :
14361 if ${PKG_CONFIG+:} false; then :
14362 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14366 Z_LIBS=${Z_LIBS:-"-lz"}
14367 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14368 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14369 ac_save_CPPFLAGS=$CPPFLAGS
14370 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14371 for ac_header in zlib.h
14372 do :
14373 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14374 if test "x$ac_cv_header_zlib_h" = xyes; then :
14375 cat >>confdefs.h <<_ACEOF
14376 #define HAVE_ZLIB_H 1
14377 _ACEOF
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14379 $as_echo_n "checking for inflate in -lz... " >&6; }
14380 if ${ac_cv_lib_z_inflate+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_check_lib_save_LIBS=$LIBS
14384 LIBS="-lz $Z_LIBS $LIBS"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14388 /* Override any GCC internal prototype to avoid an error.
14389 Use char because int might match the return type of a GCC
14390 builtin and then its argument prototype would still apply. */
14391 #ifdef __cplusplus
14392 extern "C"
14393 #endif
14394 char inflate ();
14396 main ()
14398 return inflate ();
14400 return 0;
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_lib_z_inflate=yes
14405 else
14406 ac_cv_lib_z_inflate=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 LIBS=$ac_check_lib_save_LIBS
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14413 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14414 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14416 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14418 else
14419 Z_LIBS=""
14422 else
14423 Z_LIBS=""
14426 done
14428 CPPFLAGS=$ac_save_CPPFLAGS
14429 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14430 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14433 if test "x$Z_LIBS" = "x"; then :
14434 case "x$with_zlib" in
14435 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14436 xno) ;;
14437 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14438 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14439 esac
14443 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14444 then
14445 if test "$ac_cv_header_gettext_po_h" = "yes"
14446 then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14448 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14449 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 ac_check_lib_save_LIBS=$LIBS
14453 LIBS="-lgettextpo $LIBS"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 #ifdef __cplusplus
14461 extern "C"
14462 #endif
14463 char po_message_msgctxt ();
14465 main ()
14467 return po_message_msgctxt ();
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"; then :
14473 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14474 else
14475 ac_cv_lib_gettextpo_po_message_msgctxt=no
14477 rm -f core conftest.err conftest.$ac_objext \
14478 conftest$ac_exeext conftest.$ac_ext
14479 LIBS=$ac_check_lib_save_LIBS
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14482 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14483 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14485 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14487 GETTEXTPO_LIBS="-lgettextpo"
14492 if test "x$GETTEXTPO_LIBS" = "x"; then :
14493 case "x$with_gettextpo" in
14494 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14495 xno) ;;
14496 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14497 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14498 esac
14501 if test "$srcdir" != .; then :
14502 case "x$with_gettextpo" in
14503 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14504 xno) ;;
14505 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14506 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14507 esac
14512 if test "x$with_pulse" != "xno";
14513 then
14514 if ${PULSE_CFLAGS:+false} :; then :
14515 if ${PKG_CONFIG+:} false; then :
14516 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14520 if ${PULSE_LIBS:+false} :; then :
14521 if ${PKG_CONFIG+:} false; then :
14522 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14527 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14528 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14529 ac_save_CPPFLAGS=$CPPFLAGS
14530 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14531 for ac_header in pulse/pulseaudio.h
14532 do :
14533 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14534 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14535 cat >>confdefs.h <<_ACEOF
14536 #define HAVE_PULSE_PULSEAUDIO_H 1
14537 _ACEOF
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14539 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14540 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_check_lib_save_LIBS=$LIBS
14544 LIBS="-lpulse $PULSE_LIBS $LIBS"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14551 #ifdef __cplusplus
14552 extern "C"
14553 #endif
14554 char pa_stream_is_corked ();
14556 main ()
14558 return pa_stream_is_corked ();
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_link "$LINENO"; then :
14564 ac_cv_lib_pulse_pa_stream_is_corked=yes
14565 else
14566 ac_cv_lib_pulse_pa_stream_is_corked=no
14568 rm -f core conftest.err conftest.$ac_objext \
14569 conftest$ac_exeext conftest.$ac_ext
14570 LIBS=$ac_check_lib_save_LIBS
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14573 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14574 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14576 else
14577 PULSE_LIBS=""
14580 else
14581 PULSE_LIBS=""
14584 done
14586 CPPFLAGS=$ac_save_CPPFLAGS
14587 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14588 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14591 if test -z "$PULSE_LIBS"; then :
14592 case "x$with_pulse" in
14593 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14594 xno) ;;
14595 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14596 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14597 esac
14598 enable_winepulse_drv=${enable_winepulse_drv:-no}
14601 if test "x$with_gstreamer" != "xno"
14602 then
14603 if ${GSTREAMER_CFLAGS:+false} :; then :
14604 if ${PKG_CONFIG+:} false; then :
14605 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14609 if ${GSTREAMER_LIBS:+false} :; then :
14610 if ${PKG_CONFIG+:} false; then :
14611 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14617 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14618 ac_save_CPPFLAGS=$CPPFLAGS
14619 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14620 ac_gst_incl=""
14621 for i in $GSTREAMER_CFLAGS
14623 case "$i" in
14624 -I*) ac_gst_incl="$ac_gst_incl $i";;
14625 esac
14626 done
14627 GSTREAMER_CFLAGS=$ac_gst_incl
14628 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14629 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14630 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14632 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 #include <gst/gst.h>
14637 main ()
14639 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14641 return 0;
14643 _ACEOF
14644 if ac_fn_c_try_compile "$LINENO"; then :
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14646 $as_echo "yes" >&6; }
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14648 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14649 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14660 #ifdef __cplusplus
14661 extern "C"
14662 #endif
14663 char gst_pad_new ();
14665 main ()
14667 return gst_pad_new ();
14669 return 0;
14671 _ACEOF
14672 if ac_fn_c_try_link "$LINENO"; then :
14673 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14674 else
14675 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14677 rm -f core conftest.err conftest.$ac_objext \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_check_lib_save_LIBS
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14682 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14683 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14687 else
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14689 $as_echo "no" >&6; }
14690 ac_glib2_broken=yes
14691 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14697 CPPFLAGS=$ac_save_CPPFLAGS
14698 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14699 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14702 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 :
14703 case "x$with_gstreamer" in
14704 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14705 xno) ;;
14706 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14707 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14708 esac
14711 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14713 ALSA_LIBS=""
14715 if test "x$with_alsa" != "xno"
14716 then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14718 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14719 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_check_lib_save_LIBS=$LIBS
14723 LIBS="-lasound $LIBS"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14730 #ifdef __cplusplus
14731 extern "C"
14732 #endif
14733 char snd_pcm_hw_params_get_access_mask ();
14735 main ()
14737 return snd_pcm_hw_params_get_access_mask ();
14739 return 0;
14741 _ACEOF
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14744 else
14745 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14747 rm -f core conftest.err conftest.$ac_objext \
14748 conftest$ac_exeext conftest.$ac_ext
14749 LIBS=$ac_check_lib_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14752 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14753 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14756 #include <alsa/asoundlib.h>
14758 main ()
14760 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_compile "$LINENO"; then :
14766 ALSA_LIBS="-lasound"
14768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14772 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14774 if test "x$with_oss" != xno
14775 then
14776 ac_save_CPPFLAGS="$CPPFLAGS"
14777 if test -f /etc/oss.conf
14778 then
14779 . /etc/oss.conf
14781 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14782 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14783 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14784 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14785 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14787 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14789 cat >>confdefs.h <<_ACEOF
14790 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14791 _ACEOF
14793 OSS4_CFLAGS="$ac_oss_incl"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14796 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14797 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lossaudio $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 #ifdef __cplusplus
14809 extern "C"
14810 #endif
14811 char _oss_ioctl ();
14813 main ()
14815 return _oss_ioctl ();
14817 return 0;
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_lib_ossaudio__oss_ioctl=yes
14822 else
14823 ac_cv_lib_ossaudio__oss_ioctl=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14830 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14831 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14832 OSS4_LIBS="-lossaudio"
14841 CPPFLAGS="$ac_save_CPPFLAGS"
14843 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14844 case "x$with_oss" in
14845 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14846 xno) ;;
14847 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14848 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14849 esac
14850 enable_wineoss_drv=${enable_wineoss_drv:-no}
14853 if test "x$with_udev" != "xno"
14854 then
14855 if ${UDEV_CFLAGS:+false} :; then :
14856 if ${PKG_CONFIG+:} false; then :
14857 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14861 if ${UDEV_LIBS:+false} :; then :
14862 if ${PKG_CONFIG+:} false; then :
14863 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14867 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14868 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14869 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14870 ac_save_CPPFLAGS=$CPPFLAGS
14871 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14872 for ac_header in libudev.h
14873 do :
14874 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14875 if test "x$ac_cv_header_libudev_h" = xyes; then :
14876 cat >>confdefs.h <<_ACEOF
14877 #define HAVE_LIBUDEV_H 1
14878 _ACEOF
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14880 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14881 if ${ac_cv_lib_udev_udev_new+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 ac_check_lib_save_LIBS=$LIBS
14885 LIBS="-ludev $UDEV_LIBS $LIBS"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 /* Override any GCC internal prototype to avoid an error.
14890 Use char because int might match the return type of a GCC
14891 builtin and then its argument prototype would still apply. */
14892 #ifdef __cplusplus
14893 extern "C"
14894 #endif
14895 char udev_new ();
14897 main ()
14899 return udev_new ();
14901 return 0;
14903 _ACEOF
14904 if ac_fn_c_try_link "$LINENO"; then :
14905 ac_cv_lib_udev_udev_new=yes
14906 else
14907 ac_cv_lib_udev_udev_new=no
14909 rm -f core conftest.err conftest.$ac_objext \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_lib_save_LIBS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14914 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14915 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14917 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14919 else
14920 UDEV_LIBS=""
14923 else
14924 UDEV_LIBS=""
14927 done
14929 CPPFLAGS=$ac_save_CPPFLAGS
14930 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14931 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14934 if test "x$UDEV_LIBS" = "x"; then :
14935 case "x$with_udev" in
14936 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14937 xno) ;;
14938 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14939 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14940 esac
14944 if test "x$with_unwind" != xno
14945 then
14946 if ${UNWIND_CFLAGS:+false} :; then :
14947 if ${PKG_CONFIG+:} false; then :
14948 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14952 if ${UNWIND_LIBS:+false} :; then :
14953 if ${PKG_CONFIG+:} false; then :
14954 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14958 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14959 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14960 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14961 ac_save_CPPFLAGS=$CPPFLAGS
14962 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14964 $as_echo_n "checking for unw_step... " >&6; }
14965 if ${wine_cv_have_unw_step+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #define UNW_LOCAL_ONLY
14971 #include <libunwind.h>
14973 main ()
14975 unw_cursor_t cursor; unw_step( &cursor );
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 wine_cv_have_unw_step="yes"
14982 else
14983 wine_cv_have_unw_step="no"
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14989 $as_echo "$wine_cv_have_unw_step" >&6; }
14990 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14991 then
14992 save_libs=$LIBS
14993 LIBS="$UNWIND_LIBS $LIBS"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14995 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14996 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15001 #define UNW_LOCAL_ONLY
15002 #include <libunwind.h>
15004 main ()
15006 unw_cursor_t cursor; unw_step( &cursor );
15008 return 0;
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 wine_cv_have_libunwind_unw_step="yes"
15013 else
15014 wine_cv_have_libunwind_unw_step="no"
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15020 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15021 LIBS=$save_libs
15023 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15024 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15025 then
15027 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15030 CPPFLAGS=$ac_save_CPPFLAGS
15031 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15032 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15035 case $host in
15036 aarch64*|*-darwin*)
15037 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15038 case "x$with_unwind" in
15039 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15040 xno) ;;
15041 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15042 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15043 esac
15045 fi ;;
15046 esac
15048 if test "x$with_sdl" != "xno"
15049 then
15050 if ${SDL2_CFLAGS:+false} :; then :
15051 if ${PKG_CONFIG+:} false; then :
15052 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15056 if ${SDL2_LIBS:+false} :; then :
15057 if ${PKG_CONFIG+:} false; then :
15058 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15062 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15063 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15064 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15065 ac_save_CPPFLAGS=$CPPFLAGS
15066 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15067 for ac_header in SDL2/SDL.h
15068 do :
15069 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15070 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15071 cat >>confdefs.h <<_ACEOF
15072 #define HAVE_SDL2_SDL_H 1
15073 _ACEOF
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15075 $as_echo_n "checking for -lSDL2... " >&6; }
15076 if ${ac_cv_lib_soname_SDL2+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_check_soname_save_LIBS=$LIBS
15080 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 #ifdef __cplusplus
15088 extern "C"
15089 #endif
15090 char SDL_Init ();
15092 main ()
15094 return SDL_Init ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"; then :
15100 case "$LIBEXT" in
15101 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15102 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'` ;;
15103 *) 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'`
15104 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15105 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15106 fi ;;
15107 esac
15108 else
15109 ac_cv_lib_soname_SDL2=
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15113 LIBS=$ac_check_soname_save_LIBS
15115 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15117 $as_echo "not found" >&6; }
15119 else
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15121 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15123 cat >>confdefs.h <<_ACEOF
15124 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15125 _ACEOF
15131 done
15133 CPPFLAGS=$ac_save_CPPFLAGS
15134 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15135 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15138 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15139 case "x$with_sdl" in
15140 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15141 xno) ;;
15142 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15143 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15144 esac
15148 if test "x$with_faudio" != "xno"
15149 then
15150 if ${FAUDIO_CFLAGS:+false} :; then :
15151 if ${PKG_CONFIG+:} false; then :
15152 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15156 if ${FAUDIO_LIBS:+false} :; then :
15157 if ${PKG_CONFIG+:} false; then :
15158 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15162 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15163 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15164 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15165 ac_save_CPPFLAGS=$CPPFLAGS
15166 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15167 for ac_header in FAudio.h
15168 do :
15169 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15170 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15171 cat >>confdefs.h <<_ACEOF
15172 #define HAVE_FAUDIO_H 1
15173 _ACEOF
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15175 $as_echo_n "checking for -lFAudio... " >&6; }
15176 if ${ac_cv_lib_soname_FAudio+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 ac_check_soname_save_LIBS=$LIBS
15180 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 #ifdef __cplusplus
15188 extern "C"
15189 #endif
15190 char FAudioCreate ();
15192 main ()
15194 return FAudioCreate ();
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 case "$LIBEXT" in
15201 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15202 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'` ;;
15203 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15204 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15205 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15206 fi ;;
15207 esac
15208 else
15209 ac_cv_lib_soname_FAudio=
15211 rm -f core conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext conftest.$ac_ext
15213 LIBS=$ac_check_soname_save_LIBS
15215 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15217 $as_echo "not found" >&6; }
15219 else
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15221 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15223 cat >>confdefs.h <<_ACEOF
15224 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15225 _ACEOF
15231 done
15233 ac_wine_check_funcs_save_LIBS="$LIBS"
15234 LIBS="$LIBS $FAUDIO_LIBS"
15235 for ac_func in FAudio_CommitOperationSet \
15236 F3DAudioInitialize8
15237 do :
15238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15241 cat >>confdefs.h <<_ACEOF
15242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15243 _ACEOF
15246 done
15248 LIBS="$ac_wine_check_funcs_save_LIBS"
15250 CPPFLAGS=$ac_save_CPPFLAGS
15251 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15252 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15255 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15256 case "x$with_faudio" in
15257 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15258 xno) ;;
15259 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15260 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15261 esac
15265 if test "x$with_capi" != "xno"
15266 then
15267 if ${CAPI20_CFLAGS:+false} :; then :
15268 if ${PKG_CONFIG+:} false; then :
15269 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15273 if ${CAPI20_LIBS:+false} :; then :
15274 if ${PKG_CONFIG+:} false; then :
15275 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15280 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15281 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15282 ac_save_CPPFLAGS=$CPPFLAGS
15283 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15284 for ac_header in capi20.h linux/capi.h
15285 do :
15286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15287 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15290 cat >>confdefs.h <<_ACEOF
15291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15292 _ACEOF
15296 done
15298 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15299 then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15301 $as_echo_n "checking for -lcapi20... " >&6; }
15302 if ${ac_cv_lib_soname_capi20+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 ac_check_soname_save_LIBS=$LIBS
15306 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char capi20_register ();
15318 main ()
15320 return capi20_register ();
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 case "$LIBEXT" in
15327 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15328 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'` ;;
15329 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15330 if ${ac_cv_lib_soname_capi20:+false} :; then :
15331 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15332 fi ;;
15333 esac
15334 else
15335 ac_cv_lib_soname_capi20=
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_soname_save_LIBS
15341 if ${ac_cv_lib_soname_capi20:+false} :; then :
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 $as_echo "not found" >&6; }
15345 else
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15347 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15349 cat >>confdefs.h <<_ACEOF
15350 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15351 _ACEOF
15356 CPPFLAGS=$ac_save_CPPFLAGS
15357 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15358 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15361 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15362 case "x$with_capi" in
15363 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15364 xno) ;;
15365 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15366 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15367 esac
15371 if test "x$with_cups" != "xno"
15372 then
15373 if ${CUPS_CFLAGS:+false} :; then :
15374 if ${PKG_CONFIG+:} false; then :
15375 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15378 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15379 if ${CUPS_LIBS:+false} :; then :
15380 if ${PKG_CONFIG+:} false; then :
15381 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15384 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15385 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15386 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15387 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15388 ac_save_CPPFLAGS=$CPPFLAGS
15389 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15390 for ac_header in cups/cups.h cups/ppd.h
15391 do :
15392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15397 _ACEOF
15401 done
15403 if test "$ac_cv_header_cups_cups_h" = "yes"
15404 then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15406 $as_echo_n "checking for -lcups... " >&6; }
15407 if ${ac_cv_lib_soname_cups+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_soname_save_LIBS=$LIBS
15411 LIBS="-lcups $CUPS_LIBS $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 #ifdef __cplusplus
15419 extern "C"
15420 #endif
15421 char cupsGetDefault ();
15423 main ()
15425 return cupsGetDefault ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 case "$LIBEXT" in
15432 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15433 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'` ;;
15434 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15435 if ${ac_cv_lib_soname_cups:+false} :; then :
15436 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15437 fi ;;
15438 esac
15439 else
15440 ac_cv_lib_soname_cups=
15442 rm -f core conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15444 LIBS=$ac_check_soname_save_LIBS
15446 if ${ac_cv_lib_soname_cups:+false} :; then :
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15448 $as_echo "not found" >&6; }
15449 CUPS_LIBS=""
15450 else
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15452 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15454 cat >>confdefs.h <<_ACEOF
15455 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15456 _ACEOF
15460 else
15461 CUPS_CFLAGS=""
15462 CUPS_LIBS=""
15464 CPPFLAGS=$ac_save_CPPFLAGS
15465 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15466 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15469 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15470 case "x$with_cups" in
15471 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15472 xno) ;;
15473 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15474 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15475 esac
15479 if test "x$with_fontconfig" != "xno"
15480 then
15481 if ${FONTCONFIG_CFLAGS:+false} :; then :
15482 if ${PKG_CONFIG+:} false; then :
15483 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15486 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15487 if ${FONTCONFIG_LIBS:+false} :; then :
15488 if ${PKG_CONFIG+:} false; then :
15489 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15492 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15494 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15495 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15496 ac_save_CPPFLAGS=$CPPFLAGS
15497 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15498 for ac_header in fontconfig/fontconfig.h
15499 do :
15500 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15501 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15502 cat >>confdefs.h <<_ACEOF
15503 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15504 _ACEOF
15508 done
15510 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15511 then
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15513 $as_echo_n "checking for -lfontconfig... " >&6; }
15514 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15515 $as_echo_n "(cached) " >&6
15516 else
15517 ac_check_soname_save_LIBS=$LIBS
15518 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 #ifdef __cplusplus
15526 extern "C"
15527 #endif
15528 char FcInit ();
15530 main ()
15532 return FcInit ();
15534 return 0;
15536 _ACEOF
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 case "$LIBEXT" in
15539 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15540 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'` ;;
15541 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15542 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15543 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15544 fi ;;
15545 esac
15546 else
15547 ac_cv_lib_soname_fontconfig=
15549 rm -f core conftest.err conftest.$ac_objext \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_check_soname_save_LIBS
15553 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15555 $as_echo "not found" >&6; }
15556 FONTCONFIG_CFLAGS=""
15557 else
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15559 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15561 cat >>confdefs.h <<_ACEOF
15562 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15563 _ACEOF
15567 else
15568 FONTCONFIG_CFLAGS=""
15570 CPPFLAGS=$ac_save_CPPFLAGS
15571 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15572 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15575 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15576 case "x$with_fontconfig" in
15577 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15578 xno) ;;
15579 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15580 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15581 esac
15585 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15586 then
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15588 $as_echo_n "checking for -lgsm... " >&6; }
15589 if ${ac_cv_lib_soname_gsm+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_check_soname_save_LIBS=$LIBS
15593 LIBS="-lgsm $LIBS"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 #ifdef __cplusplus
15601 extern "C"
15602 #endif
15603 char gsm_create ();
15605 main ()
15607 return gsm_create ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 case "$LIBEXT" in
15614 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15615 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'` ;;
15616 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15617 if ${ac_cv_lib_soname_gsm:+false} :; then :
15618 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15619 fi ;;
15620 esac
15621 else
15622 ac_cv_lib_soname_gsm=
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_check_soname_save_LIBS
15628 if ${ac_cv_lib_soname_gsm:+false} :; then :
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 $as_echo "not found" >&6; }
15632 else
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15634 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15636 cat >>confdefs.h <<_ACEOF
15637 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15638 _ACEOF
15643 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15644 case "x$with_gsm" in
15645 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15646 xno) ;;
15647 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15648 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15649 esac
15653 if test "x$with_krb5" != "xno"
15654 then
15655 if ${KRB5_CFLAGS:+false} :; then :
15656 if ${PKG_CONFIG+:} false; then :
15657 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15660 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15661 if ${KRB5_LIBS:+false} :; then :
15662 if ${PKG_CONFIG+:} false; then :
15663 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15666 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15668 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15669 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15670 ac_save_CPPFLAGS=$CPPFLAGS
15671 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15672 for ac_header in krb5/krb5.h
15673 do :
15674 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15675 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_KRB5_KRB5_H 1
15678 _ACEOF
15682 done
15684 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15685 then
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15687 $as_echo_n "checking for -lkrb5... " >&6; }
15688 if ${ac_cv_lib_soname_krb5+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 ac_check_soname_save_LIBS=$LIBS
15692 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15699 #ifdef __cplusplus
15700 extern "C"
15701 #endif
15702 char krb5_is_config_principal ();
15704 main ()
15706 return krb5_is_config_principal ();
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 case "$LIBEXT" in
15713 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15714 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'` ;;
15715 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15716 if ${ac_cv_lib_soname_krb5:+false} :; then :
15717 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15718 fi ;;
15719 esac
15720 else
15721 ac_cv_lib_soname_krb5=
15723 rm -f core conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_soname_save_LIBS
15727 if ${ac_cv_lib_soname_krb5:+false} :; then :
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15729 $as_echo "not found" >&6; }
15730 KRB5_CFLAGS=""
15731 else
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15733 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15735 cat >>confdefs.h <<_ACEOF
15736 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15737 _ACEOF
15741 else
15742 KRB5_CFLAGS=""
15744 CPPFLAGS=$ac_save_CPPFLAGS
15745 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15746 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15749 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15750 case "x$with_krb5" in
15751 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15752 xno) ;;
15753 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15754 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15755 esac
15758 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15760 if test "x$with_gssapi" != "xno"
15761 then
15762 if ${GSSAPI_CFLAGS:+false} :; then :
15763 if ${PKG_CONFIG+:} false; then :
15764 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15767 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15768 if ${GSSAPI_LIBS:+false} :; then :
15769 if ${PKG_CONFIG+:} false; then :
15770 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15773 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15775 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15776 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15777 ac_save_CPPFLAGS=$CPPFLAGS
15778 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15779 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15780 do :
15781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15782 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15786 _ACEOF
15790 done
15792 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15793 then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15795 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15796 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15797 $as_echo_n "(cached) " >&6
15798 else
15799 ac_check_soname_save_LIBS=$LIBS
15800 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 char gss_init_sec_context ();
15812 main ()
15814 return gss_init_sec_context ();
15816 return 0;
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 case "$LIBEXT" in
15821 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15822 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'` ;;
15823 *) 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'`
15824 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15825 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15826 fi ;;
15827 esac
15828 else
15829 ac_cv_lib_soname_gssapi_krb5=
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_soname_save_LIBS
15835 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15837 $as_echo "not found" >&6; }
15838 GSSAPI_CFLAGS=""
15839 else
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15841 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15843 cat >>confdefs.h <<_ACEOF
15844 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15845 _ACEOF
15849 else
15850 GSSAPI_CFLAGS=""
15852 CPPFLAGS=$ac_save_CPPFLAGS
15853 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15854 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15857 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15858 case "x$with_gssapi" in
15859 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15860 xno) ;;
15861 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15862 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15863 esac
15867 if test "x$with_jpeg" != "xno"
15868 then
15869 if ${JPEG_CFLAGS:+false} :; then :
15870 if ${PKG_CONFIG+:} false; then :
15871 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15875 if ${JPEG_LIBS:+false} :; then :
15876 if ${PKG_CONFIG+:} false; then :
15877 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15882 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15883 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15884 ac_save_CPPFLAGS=$CPPFLAGS
15885 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15886 for ac_header in jpeglib.h
15887 do :
15888 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15889 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_JPEGLIB_H 1
15892 _ACEOF
15896 done
15898 if test "$ac_cv_header_jpeglib_h" = "yes"
15899 then
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15901 $as_echo_n "checking for -ljpeg... " >&6; }
15902 if ${ac_cv_lib_soname_jpeg+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 ac_check_soname_save_LIBS=$LIBS
15906 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15913 #ifdef __cplusplus
15914 extern "C"
15915 #endif
15916 char jpeg_start_decompress ();
15918 main ()
15920 return jpeg_start_decompress ();
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_link "$LINENO"; then :
15926 case "$LIBEXT" in
15927 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15928 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'` ;;
15929 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15930 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15931 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15932 fi ;;
15933 esac
15934 else
15935 ac_cv_lib_soname_jpeg=
15937 rm -f core conftest.err conftest.$ac_objext \
15938 conftest$ac_exeext conftest.$ac_ext
15939 LIBS=$ac_check_soname_save_LIBS
15941 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15943 $as_echo "not found" >&6; }
15944 JPEG_CFLAGS=""
15945 else
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15947 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15949 cat >>confdefs.h <<_ACEOF
15950 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15951 _ACEOF
15955 else
15956 JPEG_CFLAGS=""
15958 CPPFLAGS=$ac_save_CPPFLAGS
15959 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15960 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15963 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15964 case "x$with_jpeg" in
15965 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15966 xno) ;;
15967 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15968 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15969 esac
15973 if test "x$with_png" != "xno"
15974 then
15975 if ${PNG_CFLAGS:+false} :; then :
15976 if ${PKG_CONFIG+:} false; then :
15977 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15980 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15981 if ${PNG_LIBS:+false} :; then :
15982 if ${PKG_CONFIG+:} false; then :
15983 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15986 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15988 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15989 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15990 ac_save_CPPFLAGS=$CPPFLAGS
15991 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15992 for ac_header in png.h
15993 do :
15994 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15995 if test "x$ac_cv_header_png_h" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_PNG_H 1
15998 _ACEOF
16002 done
16004 if test "$ac_cv_header_png_h" = "yes"
16005 then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16007 $as_echo_n "checking for -lpng... " >&6; }
16008 if ${ac_cv_lib_soname_png+:} false; then :
16009 $as_echo_n "(cached) " >&6
16010 else
16011 ac_check_soname_save_LIBS=$LIBS
16012 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16019 #ifdef __cplusplus
16020 extern "C"
16021 #endif
16022 char png_create_read_struct ();
16024 main ()
16026 return png_create_read_struct ();
16028 return 0;
16030 _ACEOF
16031 if ac_fn_c_try_link "$LINENO"; then :
16032 case "$LIBEXT" in
16033 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16034 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'` ;;
16035 *) 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'`
16036 if ${ac_cv_lib_soname_png:+false} :; then :
16037 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16038 fi ;;
16039 esac
16040 else
16041 ac_cv_lib_soname_png=
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_soname_save_LIBS
16047 if ${ac_cv_lib_soname_png:+false} :; then :
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16049 $as_echo "not found" >&6; }
16050 PNG_CFLAGS=""
16051 else
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16053 $as_echo "$ac_cv_lib_soname_png" >&6; }
16055 cat >>confdefs.h <<_ACEOF
16056 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16057 _ACEOF
16061 else
16062 PNG_CFLAGS=""
16064 CPPFLAGS=$ac_save_CPPFLAGS
16065 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16066 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16069 if test "x$ac_cv_lib_soname_png" = "x"; then :
16070 case "x$with_png" in
16071 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16072 xno) ;;
16073 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16074 This is an error since --with-png was requested." "$LINENO" 5 ;;
16075 esac
16079 if test "x$with_tiff" != "xno"
16080 then
16081 if ${TIFF_CFLAGS:+false} :; then :
16082 if ${PKG_CONFIG+:} false; then :
16083 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16087 if ${TIFF_LIBS:+false} :; then :
16088 if ${PKG_CONFIG+:} false; then :
16089 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16094 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16095 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16096 ac_save_CPPFLAGS=$CPPFLAGS
16097 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16098 for ac_header in tiffio.h
16099 do :
16100 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16101 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_TIFFIO_H 1
16104 _ACEOF
16108 done
16110 if test "$ac_cv_header_tiffio_h" = "yes"
16111 then
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16113 $as_echo_n "checking for -ltiff... " >&6; }
16114 if ${ac_cv_lib_soname_tiff+:} false; then :
16115 $as_echo_n "(cached) " >&6
16116 else
16117 ac_check_soname_save_LIBS=$LIBS
16118 LIBS="-ltiff $TIFF_LIBS $LIBS"
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16122 /* Override any GCC internal prototype to avoid an error.
16123 Use char because int might match the return type of a GCC
16124 builtin and then its argument prototype would still apply. */
16125 #ifdef __cplusplus
16126 extern "C"
16127 #endif
16128 char TIFFClientOpen ();
16130 main ()
16132 return TIFFClientOpen ();
16134 return 0;
16136 _ACEOF
16137 if ac_fn_c_try_link "$LINENO"; then :
16138 case "$LIBEXT" in
16139 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16140 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'` ;;
16141 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16142 if ${ac_cv_lib_soname_tiff:+false} :; then :
16143 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16144 fi ;;
16145 esac
16146 else
16147 ac_cv_lib_soname_tiff=
16149 rm -f core conftest.err conftest.$ac_objext \
16150 conftest$ac_exeext conftest.$ac_ext
16151 LIBS=$ac_check_soname_save_LIBS
16153 if ${ac_cv_lib_soname_tiff:+false} :; then :
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16155 $as_echo "not found" >&6; }
16157 else
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16159 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16161 cat >>confdefs.h <<_ACEOF
16162 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16163 _ACEOF
16168 CPPFLAGS=$ac_save_CPPFLAGS
16169 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16170 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16173 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16174 case "x$with_tiff" in
16175 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16176 xno) ;;
16177 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16178 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16179 esac
16183 if test "x$with_mpg123" != "xno"
16184 then
16185 if ${MPG123_CFLAGS:+false} :; then :
16186 if ${PKG_CONFIG+:} false; then :
16187 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16191 if ${MPG123_LIBS:+false} :; then :
16192 if ${PKG_CONFIG+:} false; then :
16193 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16197 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16198 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16199 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16200 ac_save_CPPFLAGS=$CPPFLAGS
16201 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16202 for ac_header in mpg123.h
16203 do :
16204 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16205 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_MPG123_H 1
16208 _ACEOF
16212 done
16214 if test "$ac_cv_header_mpg123_h" = "yes"
16215 then
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16217 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16218 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16219 $as_echo_n "(cached) " >&6
16220 else
16221 ac_check_lib_save_LIBS=$LIBS
16222 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16226 /* Override any GCC internal prototype to avoid an error.
16227 Use char because int might match the return type of a GCC
16228 builtin and then its argument prototype would still apply. */
16229 #ifdef __cplusplus
16230 extern "C"
16231 #endif
16232 char mpg123_feed ();
16234 main ()
16236 return mpg123_feed ();
16238 return 0;
16240 _ACEOF
16241 if ac_fn_c_try_link "$LINENO"; then :
16242 ac_cv_lib_mpg123_mpg123_feed=yes
16243 else
16244 ac_cv_lib_mpg123_mpg123_feed=no
16246 rm -f core conftest.err conftest.$ac_objext \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_lib_save_LIBS
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16251 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16252 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16254 else
16255 MPG123_LIBS=""
16258 else
16259 MPG123_CFLAGS=""
16260 MPG123_LIBS=""
16262 CPPFLAGS=$ac_save_CPPFLAGS
16263 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16264 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16267 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16268 case "x$with_mpg123" in
16269 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16270 xno) ;;
16271 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16272 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16273 esac
16274 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16276 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16278 if test "$ac_cv_header_AL_al_h" = "yes"
16279 then
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16281 $as_echo_n "checking for -lopenal... " >&6; }
16282 if ${ac_cv_lib_soname_openal+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 ac_check_soname_save_LIBS=$LIBS
16286 LIBS="-lopenal $LIBS"
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16290 /* Override any GCC internal prototype to avoid an error.
16291 Use char because int might match the return type of a GCC
16292 builtin and then its argument prototype would still apply. */
16293 #ifdef __cplusplus
16294 extern "C"
16295 #endif
16296 char alGetSource3i ();
16298 main ()
16300 return alGetSource3i ();
16302 return 0;
16304 _ACEOF
16305 if ac_fn_c_try_link "$LINENO"; then :
16306 case "$LIBEXT" in
16307 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16308 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'` ;;
16309 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16310 if ${ac_cv_lib_soname_openal:+false} :; then :
16311 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16312 fi ;;
16313 esac
16314 else
16315 ac_cv_lib_soname_openal=
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319 LIBS=$ac_check_soname_save_LIBS
16321 if ${ac_cv_lib_soname_openal:+false} :; then :
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16323 $as_echo "not found" >&6; }
16325 else
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16327 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16329 cat >>confdefs.h <<_ACEOF
16330 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16331 _ACEOF
16333 OPENAL_LIBS="-lopenal"
16335 ac_cv_lib_openal=yes
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_OPENAL 1
16339 _ACEOF
16343 if test "x$ac_cv_lib_openal" != xyes; then :
16344 case "x$with_openal" in
16345 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16346 xno) ;;
16347 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16348 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16349 esac
16350 enable_openal32=${enable_openal32:-no}
16353 if test "x$ac_cv_lib_soname_FAudio" = "x"
16354 then
16355 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16356 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16357 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16358 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16359 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16360 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16361 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16362 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16363 enable_xapofx1_1=${enable_xapofx1_1:-no}
16364 enable_xapofx1_2=${enable_xapofx1_2:-no}
16365 enable_xapofx1_3=${enable_xapofx1_3:-no}
16366 enable_xapofx1_4=${enable_xapofx1_4:-no}
16367 enable_xapofx1_5=${enable_xapofx1_5:-no}
16368 enable_xaudio2_0=${enable_xaudio2_0:-no}
16369 enable_xaudio2_1=${enable_xaudio2_1:-no}
16370 enable_xaudio2_2=${enable_xaudio2_2:-no}
16371 enable_xaudio2_3=${enable_xaudio2_3:-no}
16372 enable_xaudio2_4=${enable_xaudio2_4:-no}
16373 enable_xaudio2_5=${enable_xaudio2_5:-no}
16374 enable_xaudio2_6=${enable_xaudio2_6:-no}
16375 enable_xaudio2_7=${enable_xaudio2_7:-no}
16376 enable_xaudio2_8=${enable_xaudio2_8:-no}
16377 enable_xaudio2_9=${enable_xaudio2_9:-no}
16380 if test "$ac_cv_header_kstat_h" = "yes"
16381 then
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16383 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16384 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 ac_check_lib_save_LIBS=$LIBS
16388 LIBS="-lkstat $LIBS"
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16395 #ifdef __cplusplus
16396 extern "C"
16397 #endif
16398 char kstat_open ();
16400 main ()
16402 return kstat_open ();
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 ac_cv_lib_kstat_kstat_open=yes
16409 else
16410 ac_cv_lib_kstat_kstat_open=no
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_lib_save_LIBS
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16417 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16418 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16420 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16422 KSTAT_LIBS="-lkstat"
16428 if test "$ac_cv_header_libprocstat_h" = "yes"
16429 then
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16431 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16432 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 ac_check_lib_save_LIBS=$LIBS
16436 LIBS="-lprocstat $LIBS"
16437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16440 /* Override any GCC internal prototype to avoid an error.
16441 Use char because int might match the return type of a GCC
16442 builtin and then its argument prototype would still apply. */
16443 #ifdef __cplusplus
16444 extern "C"
16445 #endif
16446 char procstat_open_sysctl ();
16448 main ()
16450 return procstat_open_sysctl ();
16452 return 0;
16454 _ACEOF
16455 if ac_fn_c_try_link "$LINENO"; then :
16456 ac_cv_lib_procstat_procstat_open_sysctl=yes
16457 else
16458 ac_cv_lib_procstat_procstat_open_sysctl=no
16460 rm -f core conftest.err conftest.$ac_objext \
16461 conftest$ac_exeext conftest.$ac_ext
16462 LIBS=$ac_check_lib_save_LIBS
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16465 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16466 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16468 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16470 PROCSTAT_LIBS="-lprocstat"
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16477 $as_echo_n "checking for -lodbc... " >&6; }
16478 if ${ac_cv_lib_soname_odbc+:} false; then :
16479 $as_echo_n "(cached) " >&6
16480 else
16481 ac_check_soname_save_LIBS=$LIBS
16482 LIBS="-lodbc $LIBS"
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16486 /* Override any GCC internal prototype to avoid an error.
16487 Use char because int might match the return type of a GCC
16488 builtin and then its argument prototype would still apply. */
16489 #ifdef __cplusplus
16490 extern "C"
16491 #endif
16492 char SQLConnect ();
16494 main ()
16496 return SQLConnect ();
16498 return 0;
16500 _ACEOF
16501 if ac_fn_c_try_link "$LINENO"; then :
16502 case "$LIBEXT" in
16503 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16504 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'` ;;
16505 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16506 if ${ac_cv_lib_soname_odbc:+false} :; then :
16507 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16508 fi ;;
16509 esac
16510 else
16511 ac_cv_lib_soname_odbc=
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16515 LIBS=$ac_check_soname_save_LIBS
16517 if ${ac_cv_lib_soname_odbc:+false} :; then :
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16519 $as_echo "not found" >&6; }
16520 cat >>confdefs.h <<_ACEOF
16521 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16522 _ACEOF
16524 else
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16526 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16528 cat >>confdefs.h <<_ACEOF
16529 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16530 _ACEOF
16535 if test "x$with_netapi" != "xno"
16536 then
16537 if ${NETAPI_CFLAGS:+false} :; then :
16538 if ${PKG_CONFIG+:} false; then :
16539 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16543 if ${NETAPI_LIBS:+false} :; then :
16544 if ${PKG_CONFIG+:} false; then :
16545 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16550 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16551 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16552 ac_save_CPPFLAGS=$CPPFLAGS
16553 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16555 $as_echo_n "checking for -lnetapi... " >&6; }
16556 if ${ac_cv_lib_soname_netapi+:} false; then :
16557 $as_echo_n "(cached) " >&6
16558 else
16559 ac_check_soname_save_LIBS=$LIBS
16560 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16564 /* Override any GCC internal prototype to avoid an error.
16565 Use char because int might match the return type of a GCC
16566 builtin and then its argument prototype would still apply. */
16567 #ifdef __cplusplus
16568 extern "C"
16569 #endif
16570 char libnetapi_init ();
16572 main ()
16574 return libnetapi_init ();
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_link "$LINENO"; then :
16580 case "$LIBEXT" in
16581 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16582 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'` ;;
16583 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16584 if ${ac_cv_lib_soname_netapi:+false} :; then :
16585 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16586 fi ;;
16587 esac
16588 else
16589 ac_cv_lib_soname_netapi=
16591 rm -f core conftest.err conftest.$ac_objext \
16592 conftest$ac_exeext conftest.$ac_ext
16593 LIBS=$ac_check_soname_save_LIBS
16595 if ${ac_cv_lib_soname_netapi:+false} :; then :
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16597 $as_echo "not found" >&6; }
16598 cat >>confdefs.h <<_ACEOF
16599 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16600 _ACEOF
16602 else
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16604 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16606 cat >>confdefs.h <<_ACEOF
16607 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16608 _ACEOF
16612 CPPFLAGS=$ac_save_CPPFLAGS
16613 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16614 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16618 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16619 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16620 then
16621 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16624 if test "x$with_vulkan" != "xno"
16625 then
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16627 $as_echo_n "checking for -lvulkan... " >&6; }
16628 if ${ac_cv_lib_soname_vulkan+:} false; then :
16629 $as_echo_n "(cached) " >&6
16630 else
16631 ac_check_soname_save_LIBS=$LIBS
16632 LIBS="-lvulkan $LIBS"
16633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16636 /* Override any GCC internal prototype to avoid an error.
16637 Use char because int might match the return type of a GCC
16638 builtin and then its argument prototype would still apply. */
16639 #ifdef __cplusplus
16640 extern "C"
16641 #endif
16642 char vkGetInstanceProcAddr ();
16644 main ()
16646 return vkGetInstanceProcAddr ();
16648 return 0;
16650 _ACEOF
16651 if ac_fn_c_try_link "$LINENO"; then :
16652 case "$LIBEXT" in
16653 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16654 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'` ;;
16655 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16656 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16657 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16658 fi ;;
16659 esac
16660 else
16661 ac_cv_lib_soname_vulkan=
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16665 LIBS=$ac_check_soname_save_LIBS
16667 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16669 $as_echo "not found" >&6; }
16671 else
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16673 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16675 cat >>confdefs.h <<_ACEOF
16676 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16677 _ACEOF
16681 if test "x$ac_cv_lib_soname_vulkan" = "x"
16682 then
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16684 $as_echo_n "checking for -lMoltenVK... " >&6; }
16685 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16686 $as_echo_n "(cached) " >&6
16687 else
16688 ac_check_soname_save_LIBS=$LIBS
16689 LIBS="-lMoltenVK $LIBS"
16690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16693 /* Override any GCC internal prototype to avoid an error.
16694 Use char because int might match the return type of a GCC
16695 builtin and then its argument prototype would still apply. */
16696 #ifdef __cplusplus
16697 extern "C"
16698 #endif
16699 char vkGetInstanceProcAddr ();
16701 main ()
16703 return vkGetInstanceProcAddr ();
16705 return 0;
16707 _ACEOF
16708 if ac_fn_c_try_link "$LINENO"; then :
16709 case "$LIBEXT" in
16710 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16711 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'` ;;
16712 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16713 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16714 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16715 fi ;;
16716 esac
16717 else
16718 ac_cv_lib_soname_MoltenVK=
16720 rm -f core conftest.err conftest.$ac_objext \
16721 conftest$ac_exeext conftest.$ac_ext
16722 LIBS=$ac_check_soname_save_LIBS
16724 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16726 $as_echo "not found" >&6; }
16728 else
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16730 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16732 cat >>confdefs.h <<_ACEOF
16733 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16734 _ACEOF
16740 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16741 case "x$with_vulkan" in
16742 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16743 xno) ;;
16744 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16745 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16746 esac
16750 if test "x$with_vkd3d" != "xno"
16751 then
16752 if ${VKD3D_CFLAGS:+false} :; then :
16753 if ${PKG_CONFIG+:} false; then :
16754 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16758 if ${VKD3D_LIBS:+false} :; then :
16759 if ${PKG_CONFIG+:} false; then :
16760 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16765 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16766 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16767 ac_save_CPPFLAGS=$CPPFLAGS
16768 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16770 $as_echo_n "checking for -lvkd3d... " >&6; }
16771 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16772 $as_echo_n "(cached) " >&6
16773 else
16774 ac_check_soname_save_LIBS=$LIBS
16775 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16779 /* Override any GCC internal prototype to avoid an error.
16780 Use char because int might match the return type of a GCC
16781 builtin and then its argument prototype would still apply. */
16782 #ifdef __cplusplus
16783 extern "C"
16784 #endif
16785 char vkd3d_get_dxgi_format ();
16787 main ()
16789 return vkd3d_get_dxgi_format ();
16791 return 0;
16793 _ACEOF
16794 if ac_fn_c_try_link "$LINENO"; then :
16795 case "$LIBEXT" in
16796 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16797 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'` ;;
16798 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16799 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16800 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16801 fi ;;
16802 esac
16803 else
16804 ac_cv_lib_soname_vkd3d=
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_soname_save_LIBS
16810 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16812 $as_echo "not found" >&6; }
16814 else
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16816 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16818 cat >>confdefs.h <<_ACEOF
16819 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16820 _ACEOF
16824 CPPFLAGS=$ac_save_CPPFLAGS
16825 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16826 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16829 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16830 case "x$with_vkd3d" in
16831 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16832 xno) ;;
16833 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16834 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16835 esac
16838 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16841 EXTRACFLAGS=""
16843 if test "x${GCC}" = "xyes"
16844 then
16845 EXTRACFLAGS="-Wall -pipe"
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16848 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16849 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16850 $as_echo_n "(cached) " >&6
16851 else
16852 ac_wine_try_cflags_saved=$CFLAGS
16853 CFLAGS="$CFLAGS -fcf-protection=none"
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 int main(int argc, char **argv) { return 0; }
16857 _ACEOF
16858 if ac_fn_c_try_link "$LINENO"; then :
16859 ac_cv_cflags__fcf_protection_none=yes
16860 else
16861 ac_cv_cflags__fcf_protection_none=no
16863 rm -f core conftest.err conftest.$ac_objext \
16864 conftest$ac_exeext conftest.$ac_ext
16865 CFLAGS=$ac_wine_try_cflags_saved
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16868 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16869 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16870 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16873 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16874 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16875 $as_echo_n "(cached) " >&6
16876 else
16877 ac_wine_try_cflags_saved=$CFLAGS
16878 CFLAGS="$CFLAGS -fno-stack-protector"
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16881 int main(int argc, char **argv) { return 0; }
16882 _ACEOF
16883 if ac_fn_c_try_link "$LINENO"; then :
16884 ac_cv_cflags__fno_stack_protector=yes
16885 else
16886 ac_cv_cflags__fno_stack_protector=no
16888 rm -f core conftest.err conftest.$ac_objext \
16889 conftest$ac_exeext conftest.$ac_ext
16890 CFLAGS=$ac_wine_try_cflags_saved
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16893 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16894 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16895 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16898 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16899 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 ac_wine_try_cflags_saved=$CFLAGS
16903 CFLAGS="$CFLAGS -fno-strict-aliasing"
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 int main(int argc, char **argv) { return 0; }
16907 _ACEOF
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_cflags__fno_strict_aliasing=yes
16910 else
16911 ac_cv_cflags__fno_strict_aliasing=no
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 CFLAGS=$ac_wine_try_cflags_saved
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16918 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16919 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16920 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16923 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16924 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16927 ac_wine_try_cflags_saved=$CFLAGS
16928 CFLAGS="$CFLAGS -fexcess-precision=standard"
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 int main(int argc, char **argv) { return 0; }
16932 _ACEOF
16933 if ac_fn_c_try_link "$LINENO"; then :
16934 ac_cv_cflags__fexcess_precision_standard=yes
16935 else
16936 ac_cv_cflags__fexcess_precision_standard=no
16938 rm -f core conftest.err conftest.$ac_objext \
16939 conftest$ac_exeext conftest.$ac_ext
16940 CFLAGS=$ac_wine_try_cflags_saved
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16943 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16944 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16945 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16948 saved_CFLAGS=$CFLAGS
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16950 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16951 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 ac_wine_try_cflags_saved=$CFLAGS
16955 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 int main(int argc, char **argv) { return 0; }
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 ac_cv_cflags__Werror_unknown_warning_option=yes
16962 else
16963 ac_cv_cflags__Werror_unknown_warning_option=no
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 CFLAGS=$ac_wine_try_cflags_saved
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16970 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16971 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16972 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16975 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16976 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979 ac_wine_try_cflags_saved=$CFLAGS
16980 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 int main(int argc, char **argv) { return 0; }
16984 _ACEOF
16985 if ac_fn_c_try_link "$LINENO"; then :
16986 ac_cv_cflags__Werror_unused_command_line_argument=yes
16987 else
16988 ac_cv_cflags__Werror_unused_command_line_argument=no
16990 rm -f core conftest.err conftest.$ac_objext \
16991 conftest$ac_exeext conftest.$ac_ext
16992 CFLAGS=$ac_wine_try_cflags_saved
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16995 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16996 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16997 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17000 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17001 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 ac_wine_try_cflags_saved=$CFLAGS
17005 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 int main(int argc, char **argv) { return 0; }
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 ac_cv_cflags__Wdeclaration_after_statement=yes
17012 else
17013 ac_cv_cflags__Wdeclaration_after_statement=no
17015 rm -f core conftest.err conftest.$ac_objext \
17016 conftest$ac_exeext conftest.$ac_ext
17017 CFLAGS=$ac_wine_try_cflags_saved
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17020 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17021 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17022 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17025 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17026 if ${ac_cv_cflags__Wempty_body+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_wine_try_cflags_saved=$CFLAGS
17030 CFLAGS="$CFLAGS -Wempty-body"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 int main(int argc, char **argv) { return 0; }
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 ac_cv_cflags__Wempty_body=yes
17037 else
17038 ac_cv_cflags__Wempty_body=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17042 CFLAGS=$ac_wine_try_cflags_saved
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17045 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17046 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17047 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17050 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17051 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 ac_wine_try_cflags_saved=$CFLAGS
17055 CFLAGS="$CFLAGS -Wignored-qualifiers"
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 int main(int argc, char **argv) { return 0; }
17059 _ACEOF
17060 if ac_fn_c_try_link "$LINENO"; then :
17061 ac_cv_cflags__Wignored_qualifiers=yes
17062 else
17063 ac_cv_cflags__Wignored_qualifiers=no
17065 rm -f core conftest.err conftest.$ac_objext \
17066 conftest$ac_exeext conftest.$ac_ext
17067 CFLAGS=$ac_wine_try_cflags_saved
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17070 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17071 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17072 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17075 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17076 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17077 $as_echo_n "(cached) " >&6
17078 else
17079 ac_wine_try_cflags_saved=$CFLAGS
17080 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083 int main(int argc, char **argv) { return 0; }
17084 _ACEOF
17085 if ac_fn_c_try_link "$LINENO"; then :
17086 ac_cv_cflags__Wpacked_not_aligned=yes
17087 else
17088 ac_cv_cflags__Wpacked_not_aligned=no
17090 rm -f core conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17092 CFLAGS=$ac_wine_try_cflags_saved
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17095 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17096 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17097 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17100 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17101 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 ac_wine_try_cflags_saved=$CFLAGS
17105 CFLAGS="$CFLAGS -Wpragma-pack"
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 int main(int argc, char **argv) { return 0; }
17109 _ACEOF
17110 if ac_fn_c_try_link "$LINENO"; then :
17111 ac_cv_cflags__Wpragma_pack=yes
17112 else
17113 ac_cv_cflags__Wpragma_pack=no
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17117 CFLAGS=$ac_wine_try_cflags_saved
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17120 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17121 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17122 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17125 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17126 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 ac_wine_try_cflags_saved=$CFLAGS
17130 CFLAGS="$CFLAGS -Wshift-overflow=2"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 int main(int argc, char **argv) { return 0; }
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_cflags__Wshift_overflow_2=yes
17137 else
17138 ac_cv_cflags__Wshift_overflow_2=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 CFLAGS=$ac_wine_try_cflags_saved
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17145 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17146 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17147 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17150 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17151 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 ac_wine_try_cflags_saved=$CFLAGS
17155 CFLAGS="$CFLAGS -Wstrict-prototypes"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 int main(int argc, char **argv) { return 0; }
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_cflags__Wstrict_prototypes=yes
17162 else
17163 ac_cv_cflags__Wstrict_prototypes=no
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17167 CFLAGS=$ac_wine_try_cflags_saved
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17170 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17171 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17172 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17175 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17176 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17177 $as_echo_n "(cached) " >&6
17178 else
17179 ac_wine_try_cflags_saved=$CFLAGS
17180 CFLAGS="$CFLAGS -Wtype-limits"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 int main(int argc, char **argv) { return 0; }
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_cflags__Wtype_limits=yes
17187 else
17188 ac_cv_cflags__Wtype_limits=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 CFLAGS=$ac_wine_try_cflags_saved
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17195 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17196 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17197 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17200 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17201 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 ac_wine_try_cflags_saved=$CFLAGS
17205 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 int main(int argc, char **argv) { return 0; }
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_cflags__Wunused_but_set_parameter=yes
17212 else
17213 ac_cv_cflags__Wunused_but_set_parameter=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17217 CFLAGS=$ac_wine_try_cflags_saved
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17220 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17221 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17222 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17225 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17226 if ${ac_cv_cflags__Wvla+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_wine_try_cflags_saved=$CFLAGS
17230 CFLAGS="$CFLAGS -Wvla"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 int main(int argc, char **argv) { return 0; }
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 ac_cv_cflags__Wvla=yes
17237 else
17238 ac_cv_cflags__Wvla=no
17240 rm -f core conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17242 CFLAGS=$ac_wine_try_cflags_saved
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17245 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17246 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17247 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17250 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17251 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 ac_wine_try_cflags_saved=$CFLAGS
17255 CFLAGS="$CFLAGS -Wwrite-strings"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 int main(int argc, char **argv) { return 0; }
17259 _ACEOF
17260 if ac_fn_c_try_link "$LINENO"; then :
17261 ac_cv_cflags__Wwrite_strings=yes
17262 else
17263 ac_cv_cflags__Wwrite_strings=no
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 CFLAGS=$ac_wine_try_cflags_saved
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17270 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17271 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17272 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17276 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17277 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wpointer-arith"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wpointer_arith=yes
17288 else
17289 ac_cv_cflags__Wpointer_arith=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17296 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17297 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17298 saved_string_h_CFLAGS=$CFLAGS
17299 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17301 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17302 if ${ac_cv_c_string_h_warnings+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #include <string.h>
17309 main ()
17313 return 0;
17315 _ACEOF
17316 if ac_fn_c_try_compile "$LINENO"; then :
17317 ac_cv_c_string_h_warnings=no
17318 else
17319 ac_cv_c_string_h_warnings=yes
17321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17324 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17325 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17326 CFLAGS=$saved_string_h_CFLAGS
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17330 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17331 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 ac_wine_try_cflags_saved=$CFLAGS
17335 CFLAGS="$CFLAGS -Wlogical-op"
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 int main(int argc, char **argv) { return 0; }
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"; then :
17341 ac_cv_cflags__Wlogical_op=yes
17342 else
17343 ac_cv_cflags__Wlogical_op=no
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17347 CFLAGS=$ac_wine_try_cflags_saved
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17350 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17351 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17352 saved_string_h_CFLAGS=$CFLAGS
17353 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17355 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17356 if ${ac_cv_c_logicalop_noisy+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #include <string.h>
17362 char*f(const char *h,char n) {return strchr(h,n);}
17364 main ()
17368 return 0;
17370 _ACEOF
17371 if ac_fn_c_try_compile "$LINENO"; then :
17372 ac_cv_c_logicalop_noisy=no
17373 else
17374 ac_cv_c_logicalop_noisy=yes
17376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17379 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17380 CFLAGS=$saved_string_h_CFLAGS
17381 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17384 for ac_flag in $CFLAGS; do
17385 case $ac_flag in
17386 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17387 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17388 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17389 $as_echo_n "(cached) " >&6
17390 else
17391 ac_wine_try_cflags_saved=$CFLAGS
17392 CFLAGS="$CFLAGS -gdwarf-2"
17393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17394 /* end confdefs.h. */
17395 int main(int argc, char **argv) { return 0; }
17396 _ACEOF
17397 if ac_fn_c_try_link "$LINENO"; then :
17398 ac_cv_cflags__gdwarf_2=yes
17399 else
17400 ac_cv_cflags__gdwarf_2=no
17402 rm -f core conftest.err conftest.$ac_objext \
17403 conftest$ac_exeext conftest.$ac_ext
17404 CFLAGS=$ac_wine_try_cflags_saved
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17407 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17408 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17409 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17412 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17413 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17414 $as_echo_n "(cached) " >&6
17415 else
17416 ac_wine_try_cflags_saved=$CFLAGS
17417 CFLAGS="$CFLAGS -gstrict-dwarf"
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 int main(int argc, char **argv) { return 0; }
17421 _ACEOF
17422 if ac_fn_c_try_link "$LINENO"; then :
17423 ac_cv_cflags__gstrict_dwarf=yes
17424 else
17425 ac_cv_cflags__gstrict_dwarf=no
17427 rm -f core conftest.err conftest.$ac_objext \
17428 conftest$ac_exeext conftest.$ac_ext
17429 CFLAGS=$ac_wine_try_cflags_saved
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17432 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17433 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17434 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17435 fi ;;
17436 esac
17437 done
17439 MSVCRTFLAGS=""
17441 case $host_os in
17442 mingw32*) ;;
17443 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17444 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17445 if ${ac_cv_cflags__fno_builtin+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 ac_wine_try_cflags_saved=$CFLAGS
17449 CFLAGS="$CFLAGS -fno-builtin"
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 int main(int argc, char **argv) { return 0; }
17453 _ACEOF
17454 if ac_fn_c_try_link "$LINENO"; then :
17455 ac_cv_cflags__fno_builtin=yes
17456 else
17457 ac_cv_cflags__fno_builtin=no
17459 rm -f core conftest.err conftest.$ac_objext \
17460 conftest$ac_exeext conftest.$ac_ext
17461 CFLAGS=$ac_wine_try_cflags_saved
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17464 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17465 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17466 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17469 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17470 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473 ac_wine_try_cflags_saved=$CFLAGS
17474 CFLAGS="$CFLAGS -fshort-wchar"
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17477 int main(int argc, char **argv) { return 0; }
17478 _ACEOF
17479 if ac_fn_c_try_link "$LINENO"; then :
17480 ac_cv_cflags__fshort_wchar=yes
17481 else
17482 ac_cv_cflags__fshort_wchar=no
17484 rm -f core conftest.err conftest.$ac_objext \
17485 conftest$ac_exeext conftest.$ac_ext
17486 CFLAGS=$ac_wine_try_cflags_saved
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17489 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17490 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17491 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17492 fi ;;
17493 esac
17495 case $host_cpu in
17496 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17497 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17498 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17499 $as_echo_n "(cached) " >&6
17500 else
17501 ac_wine_try_cflags_saved=$CFLAGS
17502 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 int main(int argc, char **argv) { return 0; }
17506 _ACEOF
17507 if ac_fn_c_try_link "$LINENO"; then :
17508 ac_cv_cflags__fno_omit_frame_pointer=yes
17509 else
17510 ac_cv_cflags__fno_omit_frame_pointer=no
17512 rm -f core conftest.err conftest.$ac_objext \
17513 conftest$ac_exeext conftest.$ac_ext
17514 CFLAGS=$ac_wine_try_cflags_saved
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17517 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17518 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17519 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17520 fi ;;
17521 *x86_64*)
17522 case $host_os in
17523 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17524 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17525 if ${ac_cv_cflags__Wno_format+:} false; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528 ac_wine_try_cflags_saved=$CFLAGS
17529 CFLAGS="$CFLAGS -Wno-format"
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 int main(int argc, char **argv) { return 0; }
17533 _ACEOF
17534 if ac_fn_c_try_link "$LINENO"; then :
17535 ac_cv_cflags__Wno_format=yes
17536 else
17537 ac_cv_cflags__Wno_format=no
17539 rm -f core conftest.err conftest.$ac_objext \
17540 conftest$ac_exeext conftest.$ac_ext
17541 CFLAGS=$ac_wine_try_cflags_saved
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17544 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17545 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17546 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17547 fi ;;
17548 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17549 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17550 if ${ac_cv_cflags__mabi_ms+:} false; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553 ac_wine_try_cflags_saved=$CFLAGS
17554 CFLAGS="$CFLAGS -mabi=ms"
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17557 int main(int argc, char **argv) { return 0; }
17558 _ACEOF
17559 if ac_fn_c_try_link "$LINENO"; then :
17560 ac_cv_cflags__mabi_ms=yes
17561 else
17562 ac_cv_cflags__mabi_ms=no
17564 rm -f core conftest.err conftest.$ac_objext \
17565 conftest$ac_exeext conftest.$ac_ext
17566 CFLAGS=$ac_wine_try_cflags_saved
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17569 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17570 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17571 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17572 fi ;;
17573 esac ;;
17574 esac
17576 CFLAGS=$saved_CFLAGS
17578 if test "x$enable_maintainer_mode" = "xyes"
17579 then
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17581 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17582 if ${ac_cv_cflags__Werror+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 ac_wine_try_cflags_saved=$CFLAGS
17586 CFLAGS="$CFLAGS -Werror"
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 int main(int argc, char **argv) { return 0; }
17590 _ACEOF
17591 if ac_fn_c_try_link "$LINENO"; then :
17592 ac_cv_cflags__Werror=yes
17593 else
17594 ac_cv_cflags__Werror=no
17596 rm -f core conftest.err conftest.$ac_objext \
17597 conftest$ac_exeext conftest.$ac_ext
17598 CFLAGS=$ac_wine_try_cflags_saved
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17601 $as_echo "$ac_cv_cflags__Werror" >&6; }
17602 if test "x$ac_cv_cflags__Werror" = xyes; then :
17603 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17610 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17611 if ${ac_cv_c_fortify_enabled+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <string.h>
17618 main ()
17620 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17621 #error Fortify enabled
17622 #endif
17624 return 0;
17626 _ACEOF
17627 if ac_fn_c_try_compile "$LINENO"; then :
17628 ac_cv_c_fortify_enabled=no
17629 else
17630 ac_cv_c_fortify_enabled=yes
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17635 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17636 if test "$ac_cv_c_fortify_enabled" = yes
17637 then
17638 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17643 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17644 if ${ac_cv_c_cfi_support+:} false; then :
17645 $as_echo_n "(cached) " >&6
17646 else
17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17649 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17651 main ()
17655 return 0;
17657 _ACEOF
17658 if ac_fn_c_try_compile "$LINENO"; then :
17659 ac_cv_c_cfi_support="yes"
17660 else
17661 ac_cv_c_cfi_support="no"
17663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17666 $as_echo "$ac_cv_c_cfi_support" >&6; }
17667 if test "$ac_cv_c_cfi_support" = "yes"
17668 then
17669 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17670 else
17671 if test "x$enable_win64" = "xyes"
17672 then
17673 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17678 case $build_os in
17679 cygwin*|mingw32*) TOOLSEXT=".exe"
17681 esac
17683 case $host_os in
17684 linux*)
17685 case $host_cpu in
17686 *i[3456789]86*|x86_64*|*aarch64*)
17687 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17688 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17690 esac
17692 esac
17695 ac_save_CFLAGS="$CFLAGS"
17696 CFLAGS="$CFLAGS $BUILTINFLAG"
17697 for ac_func in \
17698 __res_get_state \
17699 __res_getservers \
17700 _spawnvp \
17701 dlopen \
17702 epoll_create \
17703 ffs \
17704 finitef \
17705 fnmatch \
17706 fork \
17707 fpclass \
17708 fstatfs \
17709 fstatvfs \
17710 futimens \
17711 futimes \
17712 futimesat \
17713 getattrlist \
17714 getauxval \
17715 getifaddrs \
17716 getopt_long_only \
17717 kqueue \
17718 lstat \
17719 mach_continuous_time \
17720 pipe2 \
17721 poll \
17722 port_create \
17723 prctl \
17724 pread \
17725 proc_pidinfo \
17726 pwrite \
17727 readdir \
17728 readlink \
17729 sched_yield \
17730 select \
17731 setproctitle \
17732 setprogname \
17733 settimeofday \
17734 sigprocmask \
17735 statfs \
17736 statvfs \
17737 strnlen \
17738 strtold \
17739 symlink \
17740 sysinfo \
17741 tcdrain \
17742 thr_kill2 \
17743 timegm \
17744 usleep
17746 do :
17747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17749 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17750 cat >>confdefs.h <<_ACEOF
17751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17752 _ACEOF
17755 done
17757 CFLAGS="$ac_save_CFLAGS"
17759 if test "$ac_cv_func_dlopen" = no
17760 then
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17762 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17763 if ${ac_cv_lib_dl_dlopen+:} false; then :
17764 $as_echo_n "(cached) " >&6
17765 else
17766 ac_check_lib_save_LIBS=$LIBS
17767 LIBS="-ldl $LIBS"
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17771 /* Override any GCC internal prototype to avoid an error.
17772 Use char because int might match the return type of a GCC
17773 builtin and then its argument prototype would still apply. */
17774 #ifdef __cplusplus
17775 extern "C"
17776 #endif
17777 char dlopen ();
17779 main ()
17781 return dlopen ();
17783 return 0;
17785 _ACEOF
17786 if ac_fn_c_try_link "$LINENO"; then :
17787 ac_cv_lib_dl_dlopen=yes
17788 else
17789 ac_cv_lib_dl_dlopen=no
17791 rm -f core conftest.err conftest.$ac_objext \
17792 conftest$ac_exeext conftest.$ac_ext
17793 LIBS=$ac_check_lib_save_LIBS
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17796 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17797 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17798 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17799 DL_LIBS="-ldl"
17804 ac_wine_check_funcs_save_LIBS="$LIBS"
17805 LIBS="$LIBS $DL_LIBS"
17806 for ac_func in dladdr
17807 do :
17808 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17809 if test "x$ac_cv_func_dladdr" = xyes; then :
17810 cat >>confdefs.h <<_ACEOF
17811 #define HAVE_DLADDR 1
17812 _ACEOF
17815 done
17817 LIBS="$ac_wine_check_funcs_save_LIBS"
17819 if test "$ac_cv_func_poll" = no
17820 then
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17822 $as_echo_n "checking for poll in -lpoll... " >&6; }
17823 if ${ac_cv_lib_poll_poll+:} false; then :
17824 $as_echo_n "(cached) " >&6
17825 else
17826 ac_check_lib_save_LIBS=$LIBS
17827 LIBS="-lpoll $LIBS"
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17831 /* Override any GCC internal prototype to avoid an error.
17832 Use char because int might match the return type of a GCC
17833 builtin and then its argument prototype would still apply. */
17834 #ifdef __cplusplus
17835 extern "C"
17836 #endif
17837 char poll ();
17839 main ()
17841 return poll ();
17843 return 0;
17845 _ACEOF
17846 if ac_fn_c_try_link "$LINENO"; then :
17847 ac_cv_lib_poll_poll=yes
17848 else
17849 ac_cv_lib_poll_poll=no
17851 rm -f core conftest.err conftest.$ac_objext \
17852 conftest$ac_exeext conftest.$ac_ext
17853 LIBS=$ac_check_lib_save_LIBS
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17856 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17857 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17858 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17859 POLL_LIBS="-lpoll"
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17866 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17867 if ${ac_cv_search_gethostbyname+:} false; then :
17868 $as_echo_n "(cached) " >&6
17869 else
17870 ac_func_search_save_LIBS=$LIBS
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 /* Override any GCC internal prototype to avoid an error.
17875 Use char because int might match the return type of a GCC
17876 builtin and then its argument prototype would still apply. */
17877 #ifdef __cplusplus
17878 extern "C"
17879 #endif
17880 char gethostbyname ();
17882 main ()
17884 return gethostbyname ();
17886 return 0;
17888 _ACEOF
17889 for ac_lib in '' nsl; do
17890 if test -z "$ac_lib"; then
17891 ac_res="none required"
17892 else
17893 ac_res=-l$ac_lib
17894 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17896 if ac_fn_c_try_link "$LINENO"; then :
17897 ac_cv_search_gethostbyname=$ac_res
17899 rm -f core conftest.err conftest.$ac_objext \
17900 conftest$ac_exeext
17901 if ${ac_cv_search_gethostbyname+:} false; then :
17902 break
17904 done
17905 if ${ac_cv_search_gethostbyname+:} false; then :
17907 else
17908 ac_cv_search_gethostbyname=no
17910 rm conftest.$ac_ext
17911 LIBS=$ac_func_search_save_LIBS
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17914 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17915 ac_res=$ac_cv_search_gethostbyname
17916 if test "$ac_res" != no; then :
17917 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17923 $as_echo_n "checking for library containing connect... " >&6; }
17924 if ${ac_cv_search_connect+:} false; then :
17925 $as_echo_n "(cached) " >&6
17926 else
17927 ac_func_search_save_LIBS=$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 connect ();
17939 main ()
17941 return connect ();
17943 return 0;
17945 _ACEOF
17946 for ac_lib in '' socket; do
17947 if test -z "$ac_lib"; then
17948 ac_res="none required"
17949 else
17950 ac_res=-l$ac_lib
17951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17953 if ac_fn_c_try_link "$LINENO"; then :
17954 ac_cv_search_connect=$ac_res
17956 rm -f core conftest.err conftest.$ac_objext \
17957 conftest$ac_exeext
17958 if ${ac_cv_search_connect+:} false; then :
17959 break
17961 done
17962 if ${ac_cv_search_connect+:} false; then :
17964 else
17965 ac_cv_search_connect=no
17967 rm conftest.$ac_ext
17968 LIBS=$ac_func_search_save_LIBS
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17971 $as_echo "$ac_cv_search_connect" >&6; }
17972 ac_res=$ac_cv_search_connect
17973 if test "$ac_res" != no; then :
17974 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17980 $as_echo_n "checking for library containing inet_aton... " >&6; }
17981 if ${ac_cv_search_inet_aton+:} false; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17984 ac_func_search_save_LIBS=$LIBS
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17991 #ifdef __cplusplus
17992 extern "C"
17993 #endif
17994 char inet_aton ();
17996 main ()
17998 return inet_aton ();
18000 return 0;
18002 _ACEOF
18003 for ac_lib in '' resolv; do
18004 if test -z "$ac_lib"; then
18005 ac_res="none required"
18006 else
18007 ac_res=-l$ac_lib
18008 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18010 if ac_fn_c_try_link "$LINENO"; then :
18011 ac_cv_search_inet_aton=$ac_res
18013 rm -f core conftest.err conftest.$ac_objext \
18014 conftest$ac_exeext
18015 if ${ac_cv_search_inet_aton+:} false; then :
18016 break
18018 done
18019 if ${ac_cv_search_inet_aton+:} false; then :
18021 else
18022 ac_cv_search_inet_aton=no
18024 rm conftest.$ac_ext
18025 LIBS=$ac_func_search_save_LIBS
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18028 $as_echo "$ac_cv_search_inet_aton" >&6; }
18029 ac_res=$ac_cv_search_inet_aton
18030 if test "$ac_res" != no; then :
18031 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18036 for ac_func in \
18037 getaddrinfo \
18038 getnameinfo \
18039 getnetbyname \
18040 getprotobyname \
18041 getprotobynumber \
18042 getservbyport \
18043 inet_addr \
18044 inet_network \
18045 inet_ntop \
18046 inet_pton \
18048 do :
18049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18052 cat >>confdefs.h <<_ACEOF
18053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18054 _ACEOF
18057 done
18060 case $host_os in
18061 darwin*|macosx*) ;;
18062 *) ac_save_LIBS=$LIBS
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18064 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18065 if ${ac_cv_search_clock_gettime+:} false; then :
18066 $as_echo_n "(cached) " >&6
18067 else
18068 ac_func_search_save_LIBS=$LIBS
18069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h. */
18072 /* Override any GCC internal prototype to avoid an error.
18073 Use char because int might match the return type of a GCC
18074 builtin and then its argument prototype would still apply. */
18075 #ifdef __cplusplus
18076 extern "C"
18077 #endif
18078 char clock_gettime ();
18080 main ()
18082 return clock_gettime ();
18084 return 0;
18086 _ACEOF
18087 for ac_lib in '' rt; do
18088 if test -z "$ac_lib"; then
18089 ac_res="none required"
18090 else
18091 ac_res=-l$ac_lib
18092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18094 if ac_fn_c_try_link "$LINENO"; then :
18095 ac_cv_search_clock_gettime=$ac_res
18097 rm -f core conftest.err conftest.$ac_objext \
18098 conftest$ac_exeext
18099 if ${ac_cv_search_clock_gettime+:} false; then :
18100 break
18102 done
18103 if ${ac_cv_search_clock_gettime+:} false; then :
18105 else
18106 ac_cv_search_clock_gettime=no
18108 rm conftest.$ac_ext
18109 LIBS=$ac_func_search_save_LIBS
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18112 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18113 ac_res=$ac_cv_search_clock_gettime
18114 if test "$ac_res" != no; then :
18115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18117 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18119 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18123 LIBS=$ac_save_LIBS
18125 esac
18127 if test "x$with_ldap" != "xno"
18128 then
18129 if ${LDAP_CFLAGS:+false} :; then :
18130 if ${PKG_CONFIG+:} false; then :
18131 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18135 if ${LDAP_LIBS:+false} :; then :
18136 if ${PKG_CONFIG+:} false; then :
18137 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18141 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18142 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18143 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18144 ac_save_CPPFLAGS=$CPPFLAGS
18145 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18146 for ac_header in ldap.h lber.h
18147 do :
18148 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18149 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18150 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18151 cat >>confdefs.h <<_ACEOF
18152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18153 _ACEOF
18157 done
18159 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18160 then
18161 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18163 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18165 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18166 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18167 $as_echo_n "(cached) " >&6
18168 else
18169 ac_check_lib_save_LIBS=$LIBS
18170 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 #ifdef __cplusplus
18178 extern "C"
18179 #endif
18180 char ldap_initialize ();
18182 main ()
18184 return ldap_initialize ();
18186 return 0;
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"; then :
18190 ac_cv_lib_ldap_r_ldap_initialize=yes
18191 else
18192 ac_cv_lib_ldap_r_ldap_initialize=no
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18196 LIBS=$ac_check_lib_save_LIBS
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18199 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18200 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18202 $as_echo_n "checking for ber_init in -llber... " >&6; }
18203 if ${ac_cv_lib_lber_ber_init+:} false; then :
18204 $as_echo_n "(cached) " >&6
18205 else
18206 ac_check_lib_save_LIBS=$LIBS
18207 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18209 /* end confdefs.h. */
18211 /* Override any GCC internal prototype to avoid an error.
18212 Use char because int might match the return type of a GCC
18213 builtin and then its argument prototype would still apply. */
18214 #ifdef __cplusplus
18215 extern "C"
18216 #endif
18217 char ber_init ();
18219 main ()
18221 return ber_init ();
18223 return 0;
18225 _ACEOF
18226 if ac_fn_c_try_link "$LINENO"; then :
18227 ac_cv_lib_lber_ber_init=yes
18228 else
18229 ac_cv_lib_lber_ber_init=no
18231 rm -f core conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext conftest.$ac_ext
18233 LIBS=$ac_check_lib_save_LIBS
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18236 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18237 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18239 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18241 else
18242 LDAP_LIBS=""
18245 else
18246 LDAP_LIBS=""
18249 else
18250 LDAP_LIBS=""
18253 ac_wine_check_funcs_save_LIBS="$LIBS"
18254 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18255 for ac_func in \
18256 ldap_count_references \
18257 ldap_first_reference \
18258 ldap_next_reference \
18259 ldap_parse_reference \
18260 ldap_parse_sort_control \
18261 ldap_parse_sortresponse_control \
18262 ldap_parse_vlv_control \
18263 ldap_parse_vlvresponse_control
18264 do :
18265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18267 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18268 cat >>confdefs.h <<_ACEOF
18269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18270 _ACEOF
18273 done
18275 LIBS="$ac_wine_check_funcs_save_LIBS"
18276 else
18277 LDAP_LIBS=""
18279 CPPFLAGS=$ac_save_CPPFLAGS
18280 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18281 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18284 if test "x$LDAP_LIBS" = "x"; then :
18285 case "x$with_ldap" in
18286 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18287 xno) ;;
18288 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18289 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18290 esac
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18295 $as_echo_n "checking for sched_setaffinity... " >&6; }
18296 if ${wine_cv_have_sched_setaffinity+:} false; then :
18297 $as_echo_n "(cached) " >&6
18298 else
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18301 #define _GNU_SOURCE
18302 #include <sched.h>
18304 main ()
18306 sched_setaffinity(0, 0, 0);
18308 return 0;
18310 _ACEOF
18311 if ac_fn_c_try_link "$LINENO"; then :
18312 wine_cv_have_sched_setaffinity=yes
18313 else
18314 wine_cv_have_sched_setaffinity=no
18316 rm -f core conftest.err conftest.$ac_objext \
18317 conftest$ac_exeext conftest.$ac_ext
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18320 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18321 if test "$wine_cv_have_sched_setaffinity" = "yes"
18322 then
18324 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18329 $as_echo_n "checking for fallocate... " >&6; }
18330 if ${wine_cv_have_fallocate+:} false; then :
18331 $as_echo_n "(cached) " >&6
18332 else
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18335 #define _GNU_SOURCE
18336 #include <fcntl.h>
18338 main ()
18340 fallocate(-1, 0, 0, 0);
18342 return 0;
18344 _ACEOF
18345 if ac_fn_c_try_link "$LINENO"; then :
18346 wine_cv_have_fallocate=yes
18347 else
18348 wine_cv_have_fallocate=no
18350 rm -f core conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18354 $as_echo "$wine_cv_have_fallocate" >&6; }
18355 if test "$wine_cv_have_fallocate" = "yes"
18356 then
18358 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18364 $as_echo_n "checking for inline... " >&6; }
18365 if ${ac_cv_c_inline+:} false; then :
18366 $as_echo_n "(cached) " >&6
18367 else
18368 ac_cv_c_inline=no
18369 for ac_kw in inline __inline__ __inline; do
18370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18372 #ifndef __cplusplus
18373 typedef int foo_t;
18374 static $ac_kw foo_t static_foo () {return 0; }
18375 $ac_kw foo_t foo () {return 0; }
18376 #endif
18378 _ACEOF
18379 if ac_fn_c_try_compile "$LINENO"; then :
18380 ac_cv_c_inline=$ac_kw
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 test "$ac_cv_c_inline" != no && break
18384 done
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18388 $as_echo "$ac_cv_c_inline" >&6; }
18390 case $ac_cv_c_inline in
18391 inline | yes) ;;
18393 case $ac_cv_c_inline in
18394 no) ac_val=;;
18395 *) ac_val=$ac_cv_c_inline;;
18396 esac
18397 cat >>confdefs.h <<_ACEOF
18398 #ifndef __cplusplus
18399 #define inline $ac_val
18400 #endif
18401 _ACEOF
18403 esac
18405 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18406 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18408 cat >>confdefs.h <<_ACEOF
18409 #define HAVE_FSBLKCNT_T 1
18410 _ACEOF
18414 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18415 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18417 cat >>confdefs.h <<_ACEOF
18418 #define HAVE_FSFILCNT_T 1
18419 _ACEOF
18424 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18425 #include <signal.h>
18427 if test "x$ac_cv_type_sigset_t" = xyes; then :
18429 cat >>confdefs.h <<_ACEOF
18430 #define HAVE_SIGSET_T 1
18431 _ACEOF
18436 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18438 if test "x$ac_cv_type_request_sense" = xyes; then :
18440 cat >>confdefs.h <<_ACEOF
18441 #define HAVE_REQUEST_SENSE 1
18442 _ACEOF
18448 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18449 #ifdef HAVE_SYS_SOCKET_H
18450 #include <sys/socket.h>
18451 #endif
18452 #ifdef HAVE_SYS_SOCKETVAR_H
18453 #include <sys/socketvar.h>
18454 #endif
18455 #ifdef HAVE_NET_ROUTE_H
18456 #include <net/route.h>
18457 #endif
18458 #ifdef HAVE_NETINET_IN_H
18459 #include <netinet/in.h>
18460 #endif
18461 #ifdef HAVE_NETINET_IN_SYSTM_H
18462 #include <netinet/in_systm.h>
18463 #endif
18464 #ifdef HAVE_NETINET_IP_H
18465 #include <netinet/ip.h>
18466 #endif
18467 #ifdef HAVE_NETINET_IN_PCB_H
18468 #include <netinet/in_pcb.h>
18469 #endif
18471 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18473 cat >>confdefs.h <<_ACEOF
18474 #define HAVE_STRUCT_XINPGEN 1
18475 _ACEOF
18481 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18482 #include <link.h>
18483 #endif
18484 #ifdef HAVE_SYS_LINK_H
18485 #include <sys/link.h>
18486 #endif
18488 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18490 cat >>confdefs.h <<_ACEOF
18491 #define HAVE_STRUCT_R_DEBUG 1
18492 _ACEOF
18496 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18497 #include <link.h>
18498 #endif
18499 #ifdef HAVE_SYS_LINK_H
18500 #include <sys/link.h>
18501 #endif
18503 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18505 cat >>confdefs.h <<_ACEOF
18506 #define HAVE_STRUCT_LINK_MAP 1
18507 _ACEOF
18513 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18514 #include <linux/input.h>
18515 #endif
18517 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18519 cat >>confdefs.h <<_ACEOF
18520 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18521 _ACEOF
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18528 $as_echo_n "checking for if_nameindex... " >&6; }
18529 if ${wine_cv_have_if_nameindex+:} false; then :
18530 $as_echo_n "(cached) " >&6
18531 else
18532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18534 #ifdef HAVE_SYS_TYPES_H
18535 #include <sys/types.h>
18536 #endif
18537 #ifdef HAVE_SYS_SOCKET_H
18538 #include <sys/socket.h>
18539 #endif
18540 #ifdef HAVE_NET_IF_H
18541 # include <net/if.h>
18542 #endif
18544 main ()
18546 struct if_nameindex *p = if_nameindex(); return p->if_index;
18548 return 0;
18550 _ACEOF
18551 if ac_fn_c_try_link "$LINENO"; then :
18552 wine_cv_have_if_nameindex=yes
18553 else
18554 wine_cv_have_if_nameindex=no
18556 rm -f core conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18560 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18561 if test "$wine_cv_have_if_nameindex" = "yes"
18562 then
18564 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18569 $as_echo_n "checking for sigaddset... " >&6; }
18570 if ${wine_cv_have_sigaddset+:} false; then :
18571 $as_echo_n "(cached) " >&6
18572 else
18573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18574 /* end confdefs.h. */
18575 #include <signal.h>
18577 main ()
18579 sigset_t set; sigaddset(&set,SIGTERM);
18581 return 0;
18583 _ACEOF
18584 if ac_fn_c_try_link "$LINENO"; then :
18585 wine_cv_have_sigaddset=yes
18586 else
18587 wine_cv_have_sigaddset=no
18589 rm -f core conftest.err conftest.$ac_objext \
18590 conftest$ac_exeext conftest.$ac_ext
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18593 $as_echo "$wine_cv_have_sigaddset" >&6; }
18594 if test "$wine_cv_have_sigaddset" = "yes"
18595 then
18597 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18603 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18604 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18605 $as_echo_n "(cached) " >&6
18606 else
18607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18609 #include <netdb.h>
18611 main ()
18614 char *name=0;
18615 struct hostent he;
18616 struct hostent *result;
18617 char *buf=0;
18618 int bufsize=0;
18619 int errnr;
18620 char *addr=0;
18621 int addrlen=0;
18622 int addrtype=0;
18623 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18624 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"; then :
18631 wine_cv_linux_gethostbyname_r_6=yes
18632 else
18633 wine_cv_linux_gethostbyname_r_6=no
18636 rm -f core conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18641 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18642 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18643 then
18645 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18649 if test "$ac_cv_header_linux_joystick_h" = "yes"
18650 then
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18652 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18653 if ${wine_cv_linux_joystick_22_api+:} false; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18659 #include <sys/ioctl.h>
18660 #include <sys/types.h>
18661 #include <linux/joystick.h>
18663 struct js_event blub;
18664 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18665 #error "no 2.2 header"
18666 #endif
18669 main ()
18671 /*empty*/
18673 return 0;
18675 _ACEOF
18676 if ac_fn_c_try_compile "$LINENO"; then :
18677 wine_cv_linux_joystick_22_api=yes
18678 else
18679 wine_cv_linux_joystick_22_api=no
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18685 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18686 if test "$wine_cv_linux_joystick_22_api" = "yes"
18687 then
18689 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18695 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18696 #ifdef HAVE_SYS_PARAM_H
18697 # include <sys/param.h>
18698 #endif
18699 #ifdef HAVE_SYS_MOUNT_H
18700 # include <sys/mount.h>
18701 #endif
18702 #ifdef HAVE_SYS_VFS_H
18703 # include <sys/vfs.h>
18704 #endif
18705 #ifdef HAVE_SYS_STATFS_H
18706 # include <sys/statfs.h>
18707 #endif
18709 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18711 cat >>confdefs.h <<_ACEOF
18712 #define HAVE_STRUCT_STATFS_F_BFREE 1
18713 _ACEOF
18717 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18718 #ifdef HAVE_SYS_PARAM_H
18719 # include <sys/param.h>
18720 #endif
18721 #ifdef HAVE_SYS_MOUNT_H
18722 # include <sys/mount.h>
18723 #endif
18724 #ifdef HAVE_SYS_VFS_H
18725 # include <sys/vfs.h>
18726 #endif
18727 #ifdef HAVE_SYS_STATFS_H
18728 # include <sys/statfs.h>
18729 #endif
18731 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18733 cat >>confdefs.h <<_ACEOF
18734 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18735 _ACEOF
18739 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18740 #ifdef HAVE_SYS_PARAM_H
18741 # include <sys/param.h>
18742 #endif
18743 #ifdef HAVE_SYS_MOUNT_H
18744 # include <sys/mount.h>
18745 #endif
18746 #ifdef HAVE_SYS_VFS_H
18747 # include <sys/vfs.h>
18748 #endif
18749 #ifdef HAVE_SYS_STATFS_H
18750 # include <sys/statfs.h>
18751 #endif
18753 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18755 cat >>confdefs.h <<_ACEOF
18756 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18757 _ACEOF
18761 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18762 #ifdef HAVE_SYS_PARAM_H
18763 # include <sys/param.h>
18764 #endif
18765 #ifdef HAVE_SYS_MOUNT_H
18766 # include <sys/mount.h>
18767 #endif
18768 #ifdef HAVE_SYS_VFS_H
18769 # include <sys/vfs.h>
18770 #endif
18771 #ifdef HAVE_SYS_STATFS_H
18772 # include <sys/statfs.h>
18773 #endif
18775 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_STRUCT_STATFS_F_FFREE 1
18779 _ACEOF
18783 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18784 #ifdef HAVE_SYS_PARAM_H
18785 # include <sys/param.h>
18786 #endif
18787 #ifdef HAVE_SYS_MOUNT_H
18788 # include <sys/mount.h>
18789 #endif
18790 #ifdef HAVE_SYS_VFS_H
18791 # include <sys/vfs.h>
18792 #endif
18793 #ifdef HAVE_SYS_STATFS_H
18794 # include <sys/statfs.h>
18795 #endif
18797 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18801 _ACEOF
18805 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18806 #ifdef HAVE_SYS_PARAM_H
18807 # include <sys/param.h>
18808 #endif
18809 #ifdef HAVE_SYS_MOUNT_H
18810 # include <sys/mount.h>
18811 #endif
18812 #ifdef HAVE_SYS_VFS_H
18813 # include <sys/vfs.h>
18814 #endif
18815 #ifdef HAVE_SYS_STATFS_H
18816 # include <sys/statfs.h>
18817 #endif
18819 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18821 cat >>confdefs.h <<_ACEOF
18822 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18823 _ACEOF
18829 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18830 #include <sys/statvfs.h>
18831 #endif
18833 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18835 cat >>confdefs.h <<_ACEOF
18836 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18837 _ACEOF
18843 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18844 #include <dirent.h>
18845 #endif
18847 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18851 _ACEOF
18857 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18858 #ifdef HAVE_SYS_SOCKET_H
18859 # include <sys/socket.h>
18860 #endif
18861 #ifdef HAVE_SYS_UN_H
18862 # include <sys/un.h>
18863 #endif
18865 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18867 cat >>confdefs.h <<_ACEOF
18868 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18869 _ACEOF
18873 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18874 #ifdef HAVE_SYS_SOCKET_H
18875 # include <sys/socket.h>
18876 #endif
18877 #ifdef HAVE_SYS_UN_H
18878 # include <sys/un.h>
18879 #endif
18881 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18883 cat >>confdefs.h <<_ACEOF
18884 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18885 _ACEOF
18889 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18890 #ifdef HAVE_SYS_SOCKET_H
18891 # include <sys/socket.h>
18892 #endif
18893 #ifdef HAVE_SYS_UN_H
18894 # include <sys/un.h>
18895 #endif
18897 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18899 cat >>confdefs.h <<_ACEOF
18900 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18901 _ACEOF
18907 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18908 #ifdef HAVE_SCSI_SG_H
18909 #include <scsi/sg.h>
18910 #endif
18912 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18914 cat >>confdefs.h <<_ACEOF
18915 #define HAVE_SCSIREQ_T_CMD 1
18916 _ACEOF
18920 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>
18921 #ifdef HAVE_SCSI_SG_H
18922 #include <scsi/sg.h>
18923 #endif
18925 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18929 _ACEOF
18935 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18937 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_SIGINFO_T_SI_FD 1
18941 _ACEOF
18947 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18948 #ifdef HAVE_SYS_MTIO_H
18949 #include <sys/mtio.h>
18950 #endif
18952 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18954 cat >>confdefs.h <<_ACEOF
18955 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18956 _ACEOF
18960 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18961 #ifdef HAVE_SYS_MTIO_H
18962 #include <sys/mtio.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_MTIO_H
18975 #include <sys/mtio.h>
18976 #endif
18978 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18982 _ACEOF
18988 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18989 #include <getopt.h>
18990 #endif
18992 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18994 cat >>confdefs.h <<_ACEOF
18995 #define HAVE_STRUCT_OPTION_NAME 1
18996 _ACEOF
19002 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19003 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19007 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19012 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_STRUCT_STAT_ST_MTIM 1
19016 _ACEOF
19020 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19021 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19023 cat >>confdefs.h <<_ACEOF
19024 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19025 _ACEOF
19029 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19030 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_STRUCT_STAT_ST_CTIM 1
19034 _ACEOF
19038 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19039 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19043 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19048 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19050 cat >>confdefs.h <<_ACEOF
19051 #define HAVE_STRUCT_STAT_ST_ATIM 1
19052 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19057 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19059 cat >>confdefs.h <<_ACEOF
19060 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19061 _ACEOF
19065 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19066 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19070 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19075 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19079 _ACEOF
19083 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19084 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19088 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19093 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19097 _ACEOF
19101 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19102 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19104 cat >>confdefs.h <<_ACEOF
19105 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19106 _ACEOF
19112 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
19113 #include <sys/types.h>
19114 #endif
19115 #ifdef HAVE_NETINET_IN_H
19116 #include <netinet/in.h>
19117 #endif
19119 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19123 _ACEOF
19129 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19130 #include <sys/types.h>
19131 #endif
19132 #ifdef HAVE_NETINET_IN_H
19133 #include <netinet/in.h>
19134 #endif
19135 #ifdef HAVE_RESOLV_H
19136 #include <resolv.h>
19137 #endif
19139 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT___RES_STATE 1
19143 _ACEOF
19149 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
19150 #include <resolv.h>
19151 #endif
19153 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19157 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19164 #include <sys/types.h>
19165 #endif
19166 #ifdef HAVE_NETINET_IN_H
19167 # include <netinet/in.h>
19168 #endif
19169 #ifdef HAVE_ARPA_NAMESER_H
19170 # include <arpa/nameser.h>
19171 #endif
19173 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_NS_MSG__MSG_PTR 1
19177 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19184 #include <sys/types.h>
19185 #endif
19186 #ifdef HAVE_NETINET_IN_H
19187 #include <netinet/in.h>
19188 #endif
19189 #ifdef HAVE_NETINET_IP_H
19190 #include <netinet/ip.h>
19191 #endif
19192 #ifdef HAVE_NETINET_IP_ICMP_H
19193 #include <netinet/ip_icmp.h>
19194 #endif
19195 #ifdef HAVE_NETINET_ICMP_VAR_H
19196 #include <netinet/icmp_var.h>
19197 #endif
19199 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19203 _ACEOF
19209 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19210 #include <sys/types.h>
19211 #endif
19212 #ifdef HAVE_ALIAS_H
19213 #include <alias.h>
19214 #endif
19215 #ifdef HAVE_SYS_SOCKET_H
19216 #include <sys/socket.h>
19217 #endif
19218 #ifdef HAVE_SYS_SOCKETVAR_H
19219 #include <sys/socketvar.h>
19220 #endif
19221 #ifdef HAVE_SYS_TIMEOUT_H
19222 #include <sys/timeout.h>
19223 #endif
19224 #ifdef HAVE_NETINET_IN_H
19225 #include <netinet/in.h>
19226 #endif
19227 #ifdef HAVE_NETINET_IN_SYSTM_H
19228 #include <netinet/in_systm.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IP_H
19231 #include <netinet/ip.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_VAR_H
19234 #include <netinet/ip_var.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IP_ICMP_H
19237 #include <netinet/ip_icmp.h>
19238 #endif
19239 #ifdef HAVE_NETINET_ICMP_VAR_H
19240 #include <netinet/icmp_var.h>
19241 #endif
19243 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19247 _ACEOF
19253 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19254 #include <sys/types.h>
19255 #endif
19256 #ifdef HAVE_SYS_SOCKETVAR_H
19257 #include <sys/socketvar.h>
19258 #endif
19259 #ifdef HAVE_NETINET_IN_H
19260 #include <netinet/in.h>
19261 #endif
19262 #ifdef HAVE_NETINET_IP_VAR_H
19263 #include <netinet/ip_var.h>
19264 #endif
19266 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19270 _ACEOF
19276 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
19277 #include <netinet/ip_var.h>
19278 #endif
19280 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19282 cat >>confdefs.h <<_ACEOF
19283 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19284 _ACEOF
19290 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19291 #include <sys/types.h>
19292 #endif
19293 #ifdef HAVE_SYS_SOCKETVAR_H
19294 #include <sys/socketvar.h>
19295 #endif
19296 #ifdef HAVE_NETINET_IN_H
19297 #include <netinet/in.h>
19298 #endif
19299 #ifdef HAVE_NETINET_TCP_H
19300 #include <netinet/tcp.h>
19301 #endif
19302 #ifdef HAVE_NETINET_TCP_VAR_H
19303 #include <netinet/tcp_var.h>
19304 #endif
19306 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19310 _ACEOF
19316 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
19317 #include <netinet/tcp_var.h>
19318 #endif
19320 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19322 cat >>confdefs.h <<_ACEOF
19323 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19324 _ACEOF
19330 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19331 #include <sys/types.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IN_H
19334 #include <netinet/in.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_VAR_H
19337 #include <netinet/ip_var.h>
19338 #endif
19339 #ifdef HAVE_NETINET_UDP_H
19340 #include <netinet/udp.h>
19341 #endif
19342 #ifdef HAVE_NETINET_UDP_VAR_H
19343 #include <netinet/udp_var.h>
19344 #endif
19346 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19350 _ACEOF
19356 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19357 #include <sys/types.h>
19358 #endif
19359 #ifdef HAVE_NET_IF_H
19360 # include <net/if.h>
19361 #endif
19363 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19365 cat >>confdefs.h <<_ACEOF
19366 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19367 _ACEOF
19373 ac_save_LIBS="$LIBS"
19374 LIBS="$LIBS -lm"
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19376 $as_echo_n "checking for isfinite... " >&6; }
19377 if ${ac_cv_have_isfinite+:} false; then :
19378 $as_echo_n "(cached) " >&6
19379 else
19380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19382 #define _GNU_SOURCE
19383 #include <math.h>
19385 main ()
19387 float f = 0.0; return isfinite(f)
19389 return 0;
19391 _ACEOF
19392 if ac_fn_c_try_link "$LINENO"; then :
19393 ac_cv_have_isfinite="yes"
19394 else
19395 ac_cv_have_isfinite="no"
19397 rm -f core conftest.err conftest.$ac_objext \
19398 conftest$ac_exeext conftest.$ac_ext
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19401 $as_echo "$ac_cv_have_isfinite" >&6; }
19402 if test "$ac_cv_have_isfinite" = "yes"
19403 then
19405 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19410 $as_echo_n "checking for isinf... " >&6; }
19411 if ${ac_cv_have_isinf+:} false; then :
19412 $as_echo_n "(cached) " >&6
19413 else
19414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19415 /* end confdefs.h. */
19416 #include <math.h>
19418 main ()
19420 float f = 0.0; return isinf(f)
19422 return 0;
19424 _ACEOF
19425 if ac_fn_c_try_link "$LINENO"; then :
19426 ac_cv_have_isinf="yes"
19427 else
19428 ac_cv_have_isinf="no"
19430 rm -f core conftest.err conftest.$ac_objext \
19431 conftest$ac_exeext conftest.$ac_ext
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19434 $as_echo "$ac_cv_have_isinf" >&6; }
19435 if test "$ac_cv_have_isinf" = "yes"
19436 then
19438 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19443 $as_echo_n "checking for isnan... " >&6; }
19444 if ${ac_cv_have_isnan+:} false; then :
19445 $as_echo_n "(cached) " >&6
19446 else
19447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h. */
19449 #include <math.h>
19451 main ()
19453 float f = 0.0; return isnan(f)
19455 return 0;
19457 _ACEOF
19458 if ac_fn_c_try_link "$LINENO"; then :
19459 ac_cv_have_isnan="yes"
19460 else
19461 ac_cv_have_isnan="no"
19463 rm -f core conftest.err conftest.$ac_objext \
19464 conftest$ac_exeext conftest.$ac_ext
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19467 $as_echo "$ac_cv_have_isnan" >&6; }
19468 if test "$ac_cv_have_isnan" = "yes"
19469 then
19471 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19475 for ac_func in \
19476 acosh \
19477 acoshf \
19478 asinh \
19479 asinhf \
19480 atanh \
19481 atanhf \
19482 cbrt \
19483 cbrtf \
19484 erf \
19485 erfc \
19486 erfcf \
19487 erff \
19488 exp2 \
19489 exp2f \
19490 expm1 \
19491 expm1f \
19492 fma \
19493 fmaf \
19494 ilogb \
19495 ilogbf \
19496 j0 \
19497 j1 \
19498 jn \
19499 lgamma \
19500 lgammaf \
19501 llrint \
19502 llrintf \
19503 llround \
19504 llroundf \
19505 log1p \
19506 log1pf \
19507 log2 \
19508 log2f \
19509 lrint \
19510 lrintf \
19511 lround \
19512 lroundf \
19513 nearbyint \
19514 nearbyintf \
19515 nexttoward \
19516 nexttowardf \
19517 powl \
19518 remainder \
19519 remainderf \
19520 remquo \
19521 remquof \
19522 rint \
19523 rintf \
19524 round \
19525 roundf \
19526 tgamma \
19527 tgammaf \
19528 trunc \
19529 truncf \
19530 y0 \
19531 y1 \
19534 do :
19535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19537 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19538 cat >>confdefs.h <<_ACEOF
19539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19540 _ACEOF
19543 done
19545 LIBS="$ac_save_LIBS"
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19548 $as_echo_n "checking for __builtin_popcount... " >&6; }
19549 if ${ac_cv_have___builtin_popcount+:} false; then :
19550 $as_echo_n "(cached) " >&6
19551 else
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19556 main ()
19558 return __builtin_popcount(1)
19560 return 0;
19562 _ACEOF
19563 if ac_fn_c_try_link "$LINENO"; then :
19564 ac_cv_have___builtin_popcount="yes"
19565 else
19566 ac_cv_have___builtin_popcount="no"
19568 rm -f core conftest.err conftest.$ac_objext \
19569 conftest$ac_exeext conftest.$ac_ext
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19572 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19573 if test "$ac_cv_have___builtin_popcount" = "yes"
19574 then
19576 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19581 $as_echo_n "checking for __clear_cache... " >&6; }
19582 if ${ac_cv_have___clear_cache+:} false; then :
19583 $as_echo_n "(cached) " >&6
19584 else
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19589 main ()
19591 __clear_cache((void*)0, (void*)0); return 0;
19593 return 0;
19595 _ACEOF
19596 if ac_fn_c_try_link "$LINENO"; then :
19597 ac_cv_have___clear_cache="yes"
19598 else
19599 ac_cv_have___clear_cache="no"
19601 rm -f core conftest.err conftest.$ac_objext \
19602 conftest$ac_exeext conftest.$ac_ext
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19605 $as_echo "$ac_cv_have___clear_cache" >&6; }
19606 if test "$ac_cv_have___clear_cache" = "yes"
19607 then
19609 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19614 case $host_cpu in
19615 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19616 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19617 if ${ac_cv_cpp_def___i386__+:} false; then :
19618 $as_echo_n "(cached) " >&6
19619 else
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #ifndef __i386__
19624 #endif
19625 _ACEOF
19626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19627 $EGREP "yes" >/dev/null 2>&1; then :
19628 ac_cv_cpp_def___i386__=yes
19629 else
19630 ac_cv_cpp_def___i386__=no
19632 rm -f conftest*
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19636 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19637 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19638 CFLAGS="$CFLAGS -D__i386__"
19639 LINTFLAGS="$LINTFLAGS -D__i386__"
19640 fi ;;
19641 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19642 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19643 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19644 $as_echo_n "(cached) " >&6
19645 else
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #ifndef __x86_64__
19650 #endif
19651 _ACEOF
19652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19653 $EGREP "yes" >/dev/null 2>&1; then :
19654 ac_cv_cpp_def___x86_64__=yes
19655 else
19656 ac_cv_cpp_def___x86_64__=no
19658 rm -f conftest*
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19662 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19663 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19664 CFLAGS="$CFLAGS -D__x86_64__"
19665 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19666 fi ;;
19667 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19668 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19669 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #ifndef __sparc64__
19676 #endif
19677 _ACEOF
19678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19679 $EGREP "yes" >/dev/null 2>&1; then :
19680 ac_cv_cpp_def___sparc64__=yes
19681 else
19682 ac_cv_cpp_def___sparc64__=no
19684 rm -f conftest*
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19688 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19689 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19690 CFLAGS="$CFLAGS -D__sparc64__"
19691 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19692 fi ;;
19693 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19694 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19695 if ${ac_cv_cpp_def___sparc__+:} false; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #ifndef __sparc__
19702 #endif
19703 _ACEOF
19704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19705 $EGREP "yes" >/dev/null 2>&1; then :
19706 ac_cv_cpp_def___sparc__=yes
19707 else
19708 ac_cv_cpp_def___sparc__=no
19710 rm -f conftest*
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19714 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19715 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19716 CFLAGS="$CFLAGS -D__sparc__"
19717 LINTFLAGS="$LINTFLAGS -D__sparc__"
19718 fi ;;
19719 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19720 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19721 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19722 $as_echo_n "(cached) " >&6
19723 else
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 #ifndef __powerpc64__
19728 #endif
19729 _ACEOF
19730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19731 $EGREP "yes" >/dev/null 2>&1; then :
19732 ac_cv_cpp_def___powerpc64__=yes
19733 else
19734 ac_cv_cpp_def___powerpc64__=no
19736 rm -f conftest*
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19740 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19741 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19742 CFLAGS="$CFLAGS -D__powerpc64__"
19743 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19744 fi ;;
19745 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19746 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19747 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19748 $as_echo_n "(cached) " >&6
19749 else
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 #ifndef __powerpc__
19754 #endif
19755 _ACEOF
19756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19757 $EGREP "yes" >/dev/null 2>&1; then :
19758 ac_cv_cpp_def___powerpc__=yes
19759 else
19760 ac_cv_cpp_def___powerpc__=no
19762 rm -f conftest*
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19766 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19767 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19768 CFLAGS="$CFLAGS -D__powerpc__"
19769 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19770 fi ;;
19771 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19772 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19773 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19777 /* end confdefs.h. */
19778 #ifndef __aarch64__
19780 #endif
19781 _ACEOF
19782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19783 $EGREP "yes" >/dev/null 2>&1; then :
19784 ac_cv_cpp_def___aarch64__=yes
19785 else
19786 ac_cv_cpp_def___aarch64__=no
19788 rm -f conftest*
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19792 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19793 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19794 CFLAGS="$CFLAGS -D__aarch64__"
19795 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19796 fi ;;
19797 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19798 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19799 if ${ac_cv_cpp_def___arm__+:} false; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19804 #ifndef __arm__
19806 #endif
19807 _ACEOF
19808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19809 $EGREP "yes" >/dev/null 2>&1; then :
19810 ac_cv_cpp_def___arm__=yes
19811 else
19812 ac_cv_cpp_def___arm__=no
19814 rm -f conftest*
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19818 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19819 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19820 CFLAGS="$CFLAGS -D__arm__"
19821 LINTFLAGS="$LINTFLAGS -D__arm__"
19822 fi ;;
19823 esac
19825 case $host_vendor in
19826 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19827 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19828 if ${ac_cv_cpp_def___sun__+:} false; then :
19829 $as_echo_n "(cached) " >&6
19830 else
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833 #ifndef __sun__
19835 #endif
19836 _ACEOF
19837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19838 $EGREP "yes" >/dev/null 2>&1; then :
19839 ac_cv_cpp_def___sun__=yes
19840 else
19841 ac_cv_cpp_def___sun__=no
19843 rm -f conftest*
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19847 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19848 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19849 CFLAGS="$CFLAGS -D__sun__"
19850 LINTFLAGS="$LINTFLAGS -D__sun__"
19851 fi ;;
19852 esac
19858 ac_config_commands="$ac_config_commands include/stamp-h"
19860 $as_echo_n "creating Makefile rules..." >&6
19862 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19863 OPENGL_LIBS = $OPENGL_LIBS
19864 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19865 IOKIT_LIBS = $IOKIT_LIBS
19866 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19867 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19868 CORESERVICES_LIBS = $CORESERVICES_LIBS
19869 APPKIT_LIBS = $APPKIT_LIBS
19870 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19871 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19872 SECURITY_LIBS = $SECURITY_LIBS
19873 COREAUDIO_LIBS = $COREAUDIO_LIBS
19874 OPENAL_LIBS = $OPENAL_LIBS
19875 OPENCL_LIBS = $OPENCL_LIBS
19876 QUICKTIME_LIBS = $QUICKTIME_LIBS
19877 CARBON_LIBS = $CARBON_LIBS
19878 METAL_LIBS = $METAL_LIBS
19879 PTHREAD_LIBS = $PTHREAD_LIBS
19880 X_CFLAGS = $X_CFLAGS
19881 X_PRE_LIBS = $X_PRE_LIBS
19882 X_LIBS = $X_LIBS
19883 X_EXTRA_LIBS = $X_EXTRA_LIBS
19884 PCAP_LIBS = $PCAP_LIBS
19885 XML2_CFLAGS = $XML2_CFLAGS
19886 XML2_LIBS = $XML2_LIBS
19887 XSLT_CFLAGS = $XSLT_CFLAGS
19888 XSLT_LIBS = $XSLT_LIBS
19889 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19890 INOTIFY_LIBS = $INOTIFY_LIBS
19891 DBUS_CFLAGS = $DBUS_CFLAGS
19892 DBUS_LIBS = $DBUS_LIBS
19893 HAL_CFLAGS = $HAL_CFLAGS
19894 HAL_LIBS = $HAL_LIBS
19895 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19896 GNUTLS_LIBS = $GNUTLS_LIBS
19897 SANE_CFLAGS = $SANE_CFLAGS
19898 SANE_LIBS = $SANE_LIBS
19899 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19900 GPHOTO2_LIBS = $GPHOTO2_LIBS
19901 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19902 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19903 RESOLV_LIBS = $RESOLV_LIBS
19904 LCMS2_CFLAGS = $LCMS2_CFLAGS
19905 LCMS2_LIBS = $LCMS2_LIBS
19906 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19907 FREETYPE_LIBS = $FREETYPE_LIBS
19908 Z_CFLAGS = $Z_CFLAGS
19909 Z_LIBS = $Z_LIBS
19910 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19911 PULSE_CFLAGS = $PULSE_CFLAGS
19912 PULSE_LIBS = $PULSE_LIBS
19913 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19914 GSTREAMER_LIBS = $GSTREAMER_LIBS
19915 ALSA_LIBS = $ALSA_LIBS
19916 OSS4_CFLAGS = $OSS4_CFLAGS
19917 OSS4_LIBS = $OSS4_LIBS
19918 UDEV_CFLAGS = $UDEV_CFLAGS
19919 UDEV_LIBS = $UDEV_LIBS
19920 UNWIND_CFLAGS = $UNWIND_CFLAGS
19921 UNWIND_LIBS = $UNWIND_LIBS
19922 SDL2_CFLAGS = $SDL2_CFLAGS
19923 SDL2_LIBS = $SDL2_LIBS
19924 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19925 FAUDIO_LIBS = $FAUDIO_LIBS
19926 CAPI20_CFLAGS = $CAPI20_CFLAGS
19927 CAPI20_LIBS = $CAPI20_LIBS
19928 CUPS_CFLAGS = $CUPS_CFLAGS
19929 CUPS_LIBS = $CUPS_LIBS
19930 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19931 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19932 KRB5_CFLAGS = $KRB5_CFLAGS
19933 KRB5_LIBS = $KRB5_LIBS
19934 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19935 GSSAPI_LIBS = $GSSAPI_LIBS
19936 JPEG_CFLAGS = $JPEG_CFLAGS
19937 JPEG_LIBS = $JPEG_LIBS
19938 PNG_CFLAGS = $PNG_CFLAGS
19939 PNG_LIBS = $PNG_LIBS
19940 TIFF_CFLAGS = $TIFF_CFLAGS
19941 TIFF_LIBS = $TIFF_LIBS
19942 MPG123_CFLAGS = $MPG123_CFLAGS
19943 MPG123_LIBS = $MPG123_LIBS
19944 KSTAT_LIBS = $KSTAT_LIBS
19945 PROCSTAT_LIBS = $PROCSTAT_LIBS
19946 NETAPI_CFLAGS = $NETAPI_CFLAGS
19947 NETAPI_LIBS = $NETAPI_LIBS
19948 VKD3D_CFLAGS = $VKD3D_CFLAGS
19949 VKD3D_LIBS = $VKD3D_LIBS
19950 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19951 DL_LIBS = $DL_LIBS
19952 POLL_LIBS = $POLL_LIBS
19953 RT_LIBS = $RT_LIBS
19954 LDAP_CFLAGS = $LDAP_CFLAGS
19955 LDAP_LIBS = $LDAP_LIBS
19960 wine_fn_append_rule "
19961 # Rules automatically generated by configure
19963 .INIT: Makefile
19964 .MAKEFILEDEPS:
19965 all: Makefile
19966 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19967 @./config.status Make.tmp Makefile
19968 depend: \$(MAKEDEP) dummy
19969 \$(MAKEDEP)"
19971 ac_config_links="$ac_config_links wine:tools/winewrapper"
19972 wine_fn_config_symlink wine
19973 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19974 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19975 wine_fn_config_symlink wine64
19978 wine_fn_config_makefile dlls/acledit enable_acledit
19979 wine_fn_config_makefile dlls/aclui enable_aclui
19980 wine_fn_config_makefile dlls/activeds enable_activeds
19981 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19982 wine_fn_config_makefile dlls/adsiid enable_adsiid
19983 wine_fn_config_makefile dlls/adsldp enable_adsldp
19984 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19985 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19986 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19987 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19988 wine_fn_config_makefile dlls/advpack enable_advpack
19989 wine_fn_config_makefile dlls/advpack/tests enable_tests
19990 wine_fn_config_makefile dlls/amsi enable_amsi
19991 wine_fn_config_makefile dlls/amstream enable_amstream
19992 wine_fn_config_makefile dlls/amstream/tests enable_tests
19993 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19995 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19996 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20003 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20011 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20013 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20015 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20019 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20021 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20028 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20037 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20048 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20059 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20060 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20073 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20112 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20179 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20189 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20202 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20208 wine_fn_config_makefile dlls/apphelp enable_apphelp
20209 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20210 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20211 wine_fn_config_makefile dlls/atl enable_atl
20212 wine_fn_config_makefile dlls/atl/tests enable_tests
20213 wine_fn_config_makefile dlls/atl100 enable_atl100
20214 wine_fn_config_makefile dlls/atl100/tests enable_tests
20215 wine_fn_config_makefile dlls/atl110 enable_atl110
20216 wine_fn_config_makefile dlls/atl80 enable_atl80
20217 wine_fn_config_makefile dlls/atl80/tests enable_tests
20218 wine_fn_config_makefile dlls/atl90 enable_atl90
20219 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20220 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20221 wine_fn_config_makefile dlls/atmlib enable_atmlib
20222 wine_fn_config_makefile dlls/authz enable_authz
20223 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20224 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20225 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20226 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20227 wine_fn_config_makefile dlls/avrt enable_avrt
20228 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20229 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20230 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20231 wine_fn_config_makefile dlls/browseui enable_browseui
20232 wine_fn_config_makefile dlls/browseui/tests enable_tests
20233 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20234 wine_fn_config_makefile dlls/cabinet enable_cabinet
20235 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20236 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20237 wine_fn_config_makefile dlls/cards enable_cards
20238 wine_fn_config_makefile dlls/cdosys enable_cdosys
20239 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20240 wine_fn_config_makefile dlls/clusapi enable_clusapi
20241 wine_fn_config_makefile dlls/combase enable_combase
20242 wine_fn_config_makefile dlls/combase/tests enable_tests
20243 wine_fn_config_makefile dlls/comcat enable_comcat
20244 wine_fn_config_makefile dlls/comcat/tests enable_tests
20245 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20246 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20247 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20248 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20249 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20250 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20251 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20252 wine_fn_config_makefile dlls/compstui enable_compstui
20253 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20254 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20255 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20256 wine_fn_config_makefile dlls/connect enable_connect
20257 wine_fn_config_makefile dlls/credui enable_credui
20258 wine_fn_config_makefile dlls/credui/tests enable_tests
20259 wine_fn_config_makefile dlls/crtdll enable_crtdll
20260 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20261 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20262 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20263 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20264 wine_fn_config_makefile dlls/cryptext enable_cryptext
20265 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20266 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20267 wine_fn_config_makefile dlls/cryptui enable_cryptui
20268 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20269 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20270 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20271 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20272 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20273 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20274 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20275 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20276 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20277 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20278 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20279 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20280 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20281 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20282 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20283 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20284 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20285 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20286 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20287 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20288 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20289 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20290 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20291 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20292 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20293 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20294 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20295 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20296 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20297 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20298 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20299 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20300 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20301 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20302 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20303 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20304 wine_fn_config_makefile dlls/d3dim enable_d3dim
20305 wine_fn_config_makefile dlls/d3drm enable_d3drm
20306 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20307 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20308 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20309 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20310 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20311 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20312 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20313 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20314 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20315 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20316 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20317 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20318 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20319 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20320 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20321 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20322 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20323 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20324 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20325 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20326 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20327 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20328 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20329 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20330 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20331 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20332 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20333 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20334 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20335 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20336 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20337 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20338 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20339 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20340 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20341 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20342 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20343 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20344 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20345 wine_fn_config_makefile dlls/davclnt enable_davclnt
20346 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20347 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20348 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20349 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20350 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20351 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20352 wine_fn_config_makefile dlls/ddraw enable_ddraw
20353 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20354 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20355 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20356 wine_fn_config_makefile dlls/devenum enable_devenum
20357 wine_fn_config_makefile dlls/devenum/tests enable_tests
20358 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20359 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20360 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20361 wine_fn_config_makefile dlls/difxapi enable_difxapi
20362 wine_fn_config_makefile dlls/dinput enable_dinput
20363 wine_fn_config_makefile dlls/dinput/tests enable_tests
20364 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20365 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20366 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20367 wine_fn_config_makefile dlls/dispex enable_dispex
20368 wine_fn_config_makefile dlls/dispex/tests enable_tests
20369 wine_fn_config_makefile dlls/display.drv16 enable_win16
20370 wine_fn_config_makefile dlls/dmband enable_dmband
20371 wine_fn_config_makefile dlls/dmband/tests enable_tests
20372 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20373 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20374 wine_fn_config_makefile dlls/dmime enable_dmime
20375 wine_fn_config_makefile dlls/dmime/tests enable_tests
20376 wine_fn_config_makefile dlls/dmloader enable_dmloader
20377 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20378 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20379 wine_fn_config_makefile dlls/dmscript enable_dmscript
20380 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20381 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20382 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20383 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20384 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20385 wine_fn_config_makefile dlls/dmusic enable_dmusic
20386 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20387 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20388 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20389 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20390 wine_fn_config_makefile dlls/dplay enable_dplay
20391 wine_fn_config_makefile dlls/dplayx enable_dplayx
20392 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20393 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20394 wine_fn_config_makefile dlls/dpnet enable_dpnet
20395 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20396 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20397 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20398 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20399 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20400 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20401 wine_fn_config_makefile dlls/drmclien enable_drmclien
20402 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20403 wine_fn_config_makefile dlls/dsound enable_dsound
20404 wine_fn_config_makefile dlls/dsound/tests enable_tests
20405 wine_fn_config_makefile dlls/dsquery enable_dsquery
20406 wine_fn_config_makefile dlls/dssenh enable_dssenh
20407 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20408 wine_fn_config_makefile dlls/dswave enable_dswave
20409 wine_fn_config_makefile dlls/dswave/tests enable_tests
20410 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20411 wine_fn_config_makefile dlls/dwrite enable_dwrite
20412 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20413 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20414 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20415 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20416 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20417 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20418 wine_fn_config_makefile dlls/dxgi enable_dxgi
20419 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20420 wine_fn_config_makefile dlls/dxguid enable_dxguid
20421 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20422 wine_fn_config_makefile dlls/esent enable_esent
20423 wine_fn_config_makefile dlls/evr enable_evr
20424 wine_fn_config_makefile dlls/evr/tests enable_tests
20425 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20426 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20427 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20432 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20436 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20438 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20461 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20467 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
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20470 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20478 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20479 wine_fn_config_makefile dlls/faultrep enable_faultrep
20480 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20481 wine_fn_config_makefile dlls/feclient enable_feclient
20482 wine_fn_config_makefile dlls/fltlib enable_fltlib
20483 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20484 wine_fn_config_makefile dlls/fntcache enable_fntcache
20485 wine_fn_config_makefile dlls/fontsub enable_fontsub
20486 wine_fn_config_makefile dlls/fusion enable_fusion
20487 wine_fn_config_makefile dlls/fusion/tests enable_tests
20488 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20489 wine_fn_config_makefile dlls/gameux enable_gameux
20490 wine_fn_config_makefile dlls/gameux/tests enable_tests
20491 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20492 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20493 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20494 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20495 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20496 wine_fn_config_makefile dlls/glu32 enable_glu32
20497 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20498 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20499 wine_fn_config_makefile dlls/hal enable_hal
20500 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20501 wine_fn_config_makefile dlls/hid enable_hid
20502 wine_fn_config_makefile dlls/hid/tests enable_tests
20503 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20504 wine_fn_config_makefile dlls/hlink enable_hlink
20505 wine_fn_config_makefile dlls/hlink/tests enable_tests
20506 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20507 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20508 wine_fn_config_makefile dlls/http.sys enable_http_sys
20509 wine_fn_config_makefile dlls/httpapi enable_httpapi
20510 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20511 wine_fn_config_makefile dlls/iccvid enable_iccvid
20512 wine_fn_config_makefile dlls/icmp enable_icmp
20513 wine_fn_config_makefile dlls/ieframe enable_ieframe
20514 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20515 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20516 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20517 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20518 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20519 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20520 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20521 wine_fn_config_makefile dlls/imm32 enable_imm32
20522 wine_fn_config_makefile dlls/imm32/tests enable_tests
20523 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20524 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20525 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20526 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20527 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20528 wine_fn_config_makefile dlls/infosoft enable_infosoft
20529 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20530 wine_fn_config_makefile dlls/initpki enable_initpki
20531 wine_fn_config_makefile dlls/inkobj enable_inkobj
20532 wine_fn_config_makefile dlls/inseng enable_inseng
20533 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20534 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20535 wine_fn_config_makefile dlls/iprop enable_iprop
20536 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20537 wine_fn_config_makefile dlls/itircl enable_itircl
20538 wine_fn_config_makefile dlls/itss enable_itss
20539 wine_fn_config_makefile dlls/itss/tests enable_tests
20540 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20541 wine_fn_config_makefile dlls/jscript enable_jscript
20542 wine_fn_config_makefile dlls/jscript/tests enable_tests
20543 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20544 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20545 wine_fn_config_makefile dlls/kerberos enable_kerberos
20546 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20547 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20548 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20549 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20550 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20551 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20552 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20553 wine_fn_config_makefile dlls/ksuser enable_ksuser
20554 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20555 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20556 wine_fn_config_makefile dlls/loadperf enable_loadperf
20557 wine_fn_config_makefile dlls/localspl enable_localspl
20558 wine_fn_config_makefile dlls/localspl/tests enable_tests
20559 wine_fn_config_makefile dlls/localui enable_localui
20560 wine_fn_config_makefile dlls/localui/tests enable_tests
20561 wine_fn_config_makefile dlls/lz32 enable_lz32
20562 wine_fn_config_makefile dlls/lz32/tests enable_tests
20563 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20564 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20565 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20566 wine_fn_config_makefile dlls/mapistub enable_mapistub
20567 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20568 wine_fn_config_makefile dlls/mcicda enable_mcicda
20569 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20570 wine_fn_config_makefile dlls/mciseq enable_mciseq
20571 wine_fn_config_makefile dlls/mciwave enable_mciwave
20572 wine_fn_config_makefile dlls/mf enable_mf
20573 wine_fn_config_makefile dlls/mf/tests enable_tests
20574 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20575 wine_fn_config_makefile dlls/mferror enable_mferror
20576 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20577 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20578 wine_fn_config_makefile dlls/mfplat enable_mfplat
20579 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20580 wine_fn_config_makefile dlls/mfplay enable_mfplay
20581 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20582 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20583 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20584 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20585 wine_fn_config_makefile dlls/midimap enable_midimap
20586 wine_fn_config_makefile dlls/mlang enable_mlang
20587 wine_fn_config_makefile dlls/mlang/tests enable_tests
20588 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20589 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20590 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20591 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20592 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20593 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20594 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20595 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20596 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20597 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20598 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20599 wine_fn_config_makefile dlls/mpr enable_mpr
20600 wine_fn_config_makefile dlls/mpr/tests enable_tests
20601 wine_fn_config_makefile dlls/mprapi enable_mprapi
20602 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20603 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20604 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20605 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20606 wine_fn_config_makefile dlls/msado15 enable_msado15
20607 wine_fn_config_makefile dlls/msado15/tests enable_tests
20608 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20609 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20610 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20611 wine_fn_config_makefile dlls/mscms enable_mscms
20612 wine_fn_config_makefile dlls/mscms/tests enable_tests
20613 wine_fn_config_makefile dlls/mscoree enable_mscoree
20614 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20615 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20616 wine_fn_config_makefile dlls/msctf enable_msctf
20617 wine_fn_config_makefile dlls/msctf/tests enable_tests
20618 wine_fn_config_makefile dlls/msctfp enable_msctfp
20619 wine_fn_config_makefile dlls/msdaps enable_msdaps
20620 wine_fn_config_makefile dlls/msdelta enable_msdelta
20621 wine_fn_config_makefile dlls/msdmo enable_msdmo
20622 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20623 wine_fn_config_makefile dlls/msdrm enable_msdrm
20624 wine_fn_config_makefile dlls/msftedit enable_msftedit
20625 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20626 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20627 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20628 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20629 wine_fn_config_makefile dlls/mshtml enable_mshtml
20630 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20631 wine_fn_config_makefile dlls/msi enable_msi
20632 wine_fn_config_makefile dlls/msi/tests enable_tests
20633 wine_fn_config_makefile dlls/msident enable_msident
20634 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20635 wine_fn_config_makefile dlls/msimsg enable_msimsg
20636 wine_fn_config_makefile dlls/msimtf enable_msimtf
20637 wine_fn_config_makefile dlls/msisip enable_msisip
20638 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20639 wine_fn_config_makefile dlls/msls31 enable_msls31
20640 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20641 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20642 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20643 wine_fn_config_makefile dlls/msports enable_msports
20644 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20645 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20646 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20647 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20648 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20649 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20650 wine_fn_config_makefile dlls/mstask enable_mstask
20651 wine_fn_config_makefile dlls/mstask/tests enable_tests
20652 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20653 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20654 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20655 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20656 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20657 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20659 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20660 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20661 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20662 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20663 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20664 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20665 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20666 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20667 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20668 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20669 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20670 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20671 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20672 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20673 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20674 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20675 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20676 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20677 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20678 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20679 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20680 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20681 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20682 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20683 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20684 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20685 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20686 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20687 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20688 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20689 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20690 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20691 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20692 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20693 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20694 wine_fn_config_makefile dlls/mswsock enable_mswsock
20695 wine_fn_config_makefile dlls/msxml enable_msxml
20696 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20697 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20698 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20699 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20700 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20701 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20702 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20703 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20704 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20705 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20706 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20707 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20708 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20709 wine_fn_config_makefile dlls/netprofm enable_netprofm
20710 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20711 wine_fn_config_makefile dlls/newdev enable_newdev
20712 wine_fn_config_makefile dlls/ninput enable_ninput
20713 wine_fn_config_makefile dlls/ninput/tests enable_tests
20714 wine_fn_config_makefile dlls/normaliz enable_normaliz
20715 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20716 wine_fn_config_makefile dlls/npptools enable_npptools
20717 wine_fn_config_makefile dlls/ntdll enable_ntdll
20718 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20719 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20720 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20721 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20722 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20723 wine_fn_config_makefile dlls/ntprint enable_ntprint
20724 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20725 wine_fn_config_makefile dlls/objsel enable_objsel
20726 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20727 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20728 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20729 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20730 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20731 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20732 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20733 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20734 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20735 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20737 wine_fn_config_makefile dlls/ole32 enable_ole32
20738 wine_fn_config_makefile dlls/ole32/tests enable_tests
20739 wine_fn_config_makefile dlls/oleacc enable_oleacc
20740 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20741 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20742 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20743 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20744 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20745 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20746 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20747 wine_fn_config_makefile dlls/oledlg enable_oledlg
20748 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20749 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20750 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20751 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20752 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20753 wine_fn_config_makefile dlls/opcservices enable_opcservices
20754 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20755 wine_fn_config_makefile dlls/openal32 enable_openal32
20756 wine_fn_config_makefile dlls/opencl enable_opencl
20757 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20758 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20759 wine_fn_config_makefile dlls/packager enable_packager
20760 wine_fn_config_makefile dlls/packager/tests enable_tests
20761 wine_fn_config_makefile dlls/pdh enable_pdh
20762 wine_fn_config_makefile dlls/pdh/tests enable_tests
20763 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20764 wine_fn_config_makefile dlls/pidgen enable_pidgen
20765 wine_fn_config_makefile dlls/powrprof enable_powrprof
20766 wine_fn_config_makefile dlls/printui enable_printui
20767 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20768 wine_fn_config_makefile dlls/propsys enable_propsys
20769 wine_fn_config_makefile dlls/propsys/tests enable_tests
20770 wine_fn_config_makefile dlls/psapi enable_psapi
20771 wine_fn_config_makefile dlls/psapi/tests enable_tests
20772 wine_fn_config_makefile dlls/pstorec enable_pstorec
20773 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20774 wine_fn_config_makefile dlls/qcap enable_qcap
20775 wine_fn_config_makefile dlls/qcap/tests enable_tests
20776 wine_fn_config_makefile dlls/qedit enable_qedit
20777 wine_fn_config_makefile dlls/qedit/tests enable_tests
20778 wine_fn_config_makefile dlls/qmgr enable_qmgr
20779 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20780 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20781 wine_fn_config_makefile dlls/quartz enable_quartz
20782 wine_fn_config_makefile dlls/quartz/tests enable_tests
20783 wine_fn_config_makefile dlls/query enable_query
20784 wine_fn_config_makefile dlls/qwave enable_qwave
20785 wine_fn_config_makefile dlls/qwave/tests enable_tests
20786 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20787 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20788 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20789 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20790 wine_fn_config_makefile dlls/regapi enable_regapi
20791 wine_fn_config_makefile dlls/resutils enable_resutils
20792 wine_fn_config_makefile dlls/riched20 enable_riched20
20793 wine_fn_config_makefile dlls/riched20/tests enable_tests
20794 wine_fn_config_makefile dlls/riched32 enable_riched32
20795 wine_fn_config_makefile dlls/riched32/tests enable_tests
20796 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20797 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20798 wine_fn_config_makefile dlls/rsabase enable_rsabase
20799 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20800 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20801 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20802 wine_fn_config_makefile dlls/rtutils enable_rtutils
20803 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20804 wine_fn_config_makefile dlls/samlib enable_samlib
20805 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20806 wine_fn_config_makefile dlls/sapi enable_sapi
20807 wine_fn_config_makefile dlls/sapi/tests enable_tests
20808 wine_fn_config_makefile dlls/sas enable_sas
20809 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20810 wine_fn_config_makefile dlls/sccbase enable_sccbase
20811 wine_fn_config_makefile dlls/schannel enable_schannel
20812 wine_fn_config_makefile dlls/schannel/tests enable_tests
20813 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20814 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20815 wine_fn_config_makefile dlls/scrobj enable_scrobj
20816 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20817 wine_fn_config_makefile dlls/scrrun enable_scrrun
20818 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20819 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20820 wine_fn_config_makefile dlls/secur32 enable_secur32
20821 wine_fn_config_makefile dlls/secur32/tests enable_tests
20822 wine_fn_config_makefile dlls/security enable_security
20823 wine_fn_config_makefile dlls/sensapi enable_sensapi
20824 wine_fn_config_makefile dlls/serialui enable_serialui
20825 wine_fn_config_makefile dlls/serialui/tests enable_tests
20826 wine_fn_config_makefile dlls/setupapi enable_setupapi
20827 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20828 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20829 wine_fn_config_makefile dlls/sfc enable_sfc
20830 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20831 wine_fn_config_makefile dlls/shcore enable_shcore
20832 wine_fn_config_makefile dlls/shcore/tests enable_tests
20833 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20834 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20835 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20836 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20837 wine_fn_config_makefile dlls/shell32 enable_shell32
20838 wine_fn_config_makefile dlls/shell32/tests enable_tests
20839 wine_fn_config_makefile dlls/shfolder enable_shfolder
20840 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20841 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20842 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20843 wine_fn_config_makefile dlls/slc enable_slc
20844 wine_fn_config_makefile dlls/slc/tests enable_tests
20845 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20846 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20847 wine_fn_config_makefile dlls/softpub enable_softpub
20848 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20849 wine_fn_config_makefile dlls/spoolss enable_spoolss
20850 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20851 wine_fn_config_makefile dlls/srclient enable_srclient
20852 wine_fn_config_makefile dlls/sspicli enable_sspicli
20853 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20854 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20855 wine_fn_config_makefile dlls/sti enable_sti
20856 wine_fn_config_makefile dlls/sti/tests enable_tests
20857 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20858 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20859 wine_fn_config_makefile dlls/strmbase enable_strmbase
20860 wine_fn_config_makefile dlls/strmdll enable_strmdll
20861 wine_fn_config_makefile dlls/strmiids enable_strmiids
20862 wine_fn_config_makefile dlls/svrapi enable_svrapi
20863 wine_fn_config_makefile dlls/sxs enable_sxs
20864 wine_fn_config_makefile dlls/sxs/tests enable_tests
20865 wine_fn_config_makefile dlls/system.drv16 enable_win16
20866 wine_fn_config_makefile dlls/t2embed enable_t2embed
20867 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20868 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20869 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20870 wine_fn_config_makefile dlls/taskschd enable_taskschd
20871 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20872 wine_fn_config_makefile dlls/tdh enable_tdh
20873 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20874 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20875 wine_fn_config_makefile dlls/traffic enable_traffic
20876 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20877 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20878 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20879 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20880 wine_fn_config_makefile dlls/tzres enable_tzres
20881 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20882 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20883 wine_fn_config_makefile dlls/uianimation enable_uianimation
20884 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20885 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20886 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20887 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20888 wine_fn_config_makefile dlls/unicows enable_unicows
20889 wine_fn_config_makefile dlls/updspapi enable_updspapi
20890 wine_fn_config_makefile dlls/url enable_url
20891 wine_fn_config_makefile dlls/urlmon enable_urlmon
20892 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20893 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20894 wine_fn_config_makefile dlls/user.exe16 enable_win16
20895 wine_fn_config_makefile dlls/user32 enable_user32
20896 wine_fn_config_makefile dlls/user32/tests enable_tests
20897 wine_fn_config_makefile dlls/userenv enable_userenv
20898 wine_fn_config_makefile dlls/userenv/tests enable_tests
20899 wine_fn_config_makefile dlls/usp10 enable_usp10
20900 wine_fn_config_makefile dlls/usp10/tests enable_tests
20901 wine_fn_config_makefile dlls/utildll enable_utildll
20902 wine_fn_config_makefile dlls/uuid enable_uuid
20903 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20904 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20905 wine_fn_config_makefile dlls/vbscript enable_vbscript
20906 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20907 wine_fn_config_makefile dlls/vcomp enable_vcomp
20908 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20909 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20910 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20911 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20912 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20913 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20914 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20915 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20916 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20917 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20918 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20919 wine_fn_config_makefile dlls/version enable_version
20920 wine_fn_config_makefile dlls/version/tests enable_tests
20921 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20922 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20923 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20924 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20925 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20926 wine_fn_config_makefile dlls/vssapi enable_vssapi
20927 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20928 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20929 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20930 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20931 wine_fn_config_makefile dlls/w32skrnl enable_win16
20932 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20933 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20934 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20935 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20936 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20937 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20938 wine_fn_config_makefile dlls/wdscore enable_wdscore
20939 wine_fn_config_makefile dlls/webservices enable_webservices
20940 wine_fn_config_makefile dlls/webservices/tests enable_tests
20941 wine_fn_config_makefile dlls/wer enable_wer
20942 wine_fn_config_makefile dlls/wer/tests enable_tests
20943 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20944 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20945 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20946 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20947 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20948 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20949 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20950 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20951 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20952 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20953 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20954 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20955 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20956 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20957 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20958 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20959 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20960 wine_fn_config_makefile dlls/wined3d enable_wined3d
20961 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20962 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20963 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20964 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20965 wine_fn_config_makefile dlls/winemapi enable_winemapi
20966 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20967 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20968 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20969 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20970 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20971 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20972 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20973 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20974 wine_fn_config_makefile dlls/wing32 enable_wing32
20975 wine_fn_config_makefile dlls/winhttp enable_winhttp
20976 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20977 wine_fn_config_makefile dlls/wininet enable_wininet
20978 wine_fn_config_makefile dlls/wininet/tests enable_tests
20979 wine_fn_config_makefile dlls/winmm enable_winmm
20980 wine_fn_config_makefile dlls/winmm/tests enable_tests
20981 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20982 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20983 wine_fn_config_makefile dlls/winscard enable_winscard
20984 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20985 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20986 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20987 wine_fn_config_makefile dlls/winsta enable_winsta
20988 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20989 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20990 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20991 wine_fn_config_makefile dlls/wintrust enable_wintrust
20992 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20993 wine_fn_config_makefile dlls/winusb enable_winusb
20994 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20995 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20996 wine_fn_config_makefile dlls/wlanui enable_wlanui
20997 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20998 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20999 wine_fn_config_makefile dlls/wmasf enable_wmasf
21000 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21001 wine_fn_config_makefile dlls/wmi enable_wmi
21002 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21003 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21004 wine_fn_config_makefile dlls/wmp enable_wmp
21005 wine_fn_config_makefile dlls/wmp/tests enable_tests
21006 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21007 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21008 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21009 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21010 wine_fn_config_makefile dlls/wow32 enable_win16
21011 wine_fn_config_makefile dlls/wpc enable_wpc
21012 wine_fn_config_makefile dlls/wpc/tests enable_tests
21013 wine_fn_config_makefile dlls/wpcap enable_wpcap
21014 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21015 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21016 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21017 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21018 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21019 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21020 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21021 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21022 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21023 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21024 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21025 wine_fn_config_makefile dlls/wuapi enable_wuapi
21026 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21027 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21028 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21029 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21030 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21031 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21032 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21033 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21034 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21035 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21036 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21037 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21038 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21039 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21040 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21041 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21042 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21043 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21044 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21045 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21046 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21047 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21048 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21049 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21050 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21051 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21052 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21053 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21054 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21055 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21056 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21057 wine_fn_config_makefile dlls/xmllite enable_xmllite
21058 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21059 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21060 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21061 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21062 wine_fn_config_makefile fonts enable_fonts
21063 wine_fn_config_makefile include enable_include
21064 wine_fn_config_makefile libs/port enable_port
21065 wine_fn_config_makefile libs/wine enable_wine
21066 wine_fn_config_makefile libs/wpp enable_wpp
21067 wine_fn_config_makefile loader enable_loader
21068 wine_fn_config_makefile nls enable_nls
21069 wine_fn_config_makefile po enable_po
21070 wine_fn_config_makefile programs/arp enable_arp
21071 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21072 wine_fn_config_makefile programs/attrib enable_attrib
21073 wine_fn_config_makefile programs/cabarc enable_cabarc
21074 wine_fn_config_makefile programs/cacls enable_cacls
21075 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21076 wine_fn_config_makefile programs/clock enable_clock
21077 wine_fn_config_makefile programs/cmd enable_cmd
21078 wine_fn_config_makefile programs/cmd/tests enable_tests
21079 wine_fn_config_makefile programs/conhost enable_conhost
21080 wine_fn_config_makefile programs/control enable_control
21081 wine_fn_config_makefile programs/cscript enable_cscript
21082 wine_fn_config_makefile programs/dism enable_dism
21083 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21084 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21085 wine_fn_config_makefile programs/eject enable_eject
21086 wine_fn_config_makefile programs/expand enable_expand
21087 wine_fn_config_makefile programs/explorer enable_explorer
21088 wine_fn_config_makefile programs/extrac32 enable_extrac32
21089 wine_fn_config_makefile programs/fc enable_fc
21090 wine_fn_config_makefile programs/find enable_find
21091 wine_fn_config_makefile programs/find/tests enable_tests
21092 wine_fn_config_makefile programs/findstr enable_findstr
21093 wine_fn_config_makefile programs/fsutil enable_fsutil
21094 wine_fn_config_makefile programs/hh enable_hh
21095 wine_fn_config_makefile programs/hostname enable_hostname
21096 wine_fn_config_makefile programs/icacls enable_icacls
21097 wine_fn_config_makefile programs/icinfo enable_icinfo
21098 wine_fn_config_makefile programs/iexplore enable_iexplore
21099 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21100 wine_fn_config_makefile programs/lodctr enable_lodctr
21101 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21102 wine_fn_config_makefile programs/mshta enable_mshta
21103 wine_fn_config_makefile programs/msidb enable_msidb
21104 wine_fn_config_makefile programs/msiexec enable_msiexec
21105 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21106 wine_fn_config_makefile programs/net enable_net
21107 wine_fn_config_makefile programs/netsh enable_netsh
21108 wine_fn_config_makefile programs/netstat enable_netstat
21109 wine_fn_config_makefile programs/ngen enable_ngen
21110 wine_fn_config_makefile programs/notepad enable_notepad
21111 wine_fn_config_makefile programs/oleview enable_oleview
21112 wine_fn_config_makefile programs/ping enable_ping
21113 wine_fn_config_makefile programs/plugplay enable_plugplay
21114 wine_fn_config_makefile programs/powershell enable_powershell
21115 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21116 wine_fn_config_makefile programs/progman enable_progman
21117 wine_fn_config_makefile programs/reg enable_reg
21118 wine_fn_config_makefile programs/reg/tests enable_tests
21119 wine_fn_config_makefile programs/regasm enable_regasm
21120 wine_fn_config_makefile programs/regedit enable_regedit
21121 wine_fn_config_makefile programs/regedit/tests enable_tests
21122 wine_fn_config_makefile programs/regini enable_regini
21123 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21124 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21125 wine_fn_config_makefile programs/rpcss enable_rpcss
21126 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21127 wine_fn_config_makefile programs/rundll32 enable_rundll32
21128 wine_fn_config_makefile programs/sc enable_sc
21129 wine_fn_config_makefile programs/schtasks enable_schtasks
21130 wine_fn_config_makefile programs/schtasks/tests enable_tests
21131 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21132 wine_fn_config_makefile programs/secedit enable_secedit
21133 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21134 wine_fn_config_makefile programs/services enable_services
21135 wine_fn_config_makefile programs/services/tests enable_tests
21136 wine_fn_config_makefile programs/shutdown enable_shutdown
21137 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21138 wine_fn_config_makefile programs/start enable_start
21139 wine_fn_config_makefile programs/subst enable_subst
21140 wine_fn_config_makefile programs/svchost enable_svchost
21141 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21142 wine_fn_config_makefile programs/taskkill enable_taskkill
21143 wine_fn_config_makefile programs/tasklist enable_tasklist
21144 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21145 wine_fn_config_makefile programs/termsv enable_termsv
21146 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21147 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21148 wine_fn_config_makefile programs/view enable_view
21149 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21150 wine_fn_config_makefile programs/wineboot enable_wineboot
21151 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21152 wine_fn_config_makefile programs/winecfg enable_winecfg
21153 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21154 wine_fn_config_makefile programs/winedbg enable_winedbg
21155 wine_fn_config_makefile programs/winedevice enable_winedevice
21156 wine_fn_config_makefile programs/winefile enable_winefile
21157 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21158 wine_fn_config_makefile programs/winemine enable_winemine
21159 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21160 wine_fn_config_makefile programs/winepath enable_winepath
21161 wine_fn_config_makefile programs/winetest enable_winetest
21162 wine_fn_config_makefile programs/winevdm enable_win16
21163 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21164 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21165 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21166 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21167 wine_fn_config_makefile programs/winver enable_winver
21168 wine_fn_config_makefile programs/wmic enable_wmic
21169 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21170 wine_fn_config_makefile programs/wordpad enable_wordpad
21171 wine_fn_config_makefile programs/write enable_write
21172 wine_fn_config_makefile programs/wscript enable_wscript
21173 wine_fn_config_makefile programs/wscript/tests enable_tests
21174 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21175 wine_fn_config_makefile programs/wusa enable_wusa
21176 wine_fn_config_makefile programs/xcopy enable_xcopy
21177 wine_fn_config_makefile programs/xcopy/tests enable_tests
21178 wine_fn_config_makefile server enable_server
21179 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21180 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21181 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21182 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21183 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21184 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21185 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21186 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21187 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21190 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21191 wine_fn_append_file CONFIGURE_TARGETS "tags"
21192 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21193 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21194 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21195 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21196 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21197 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21199 if test "x$enable_tools" != xno
21200 then
21201 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21202 ac_config_commands="$ac_config_commands tools/makedep"
21206 ac_config_commands="$ac_config_commands Makefile"
21209 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21213 if test "x$enable_maintainer_mode" = xyes
21214 then
21215 wine_fn_append_rule "configure: configure.ac aclocal.m4
21216 autoconf --warnings=all
21217 include/config.h.in: include/stamp-h.in
21218 include/stamp-h.in: configure.ac aclocal.m4
21219 autoheader --warnings=all
21220 @echo timestamp > \$@"
21223 if test "x$enable_tools" != xno
21224 then
21225 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21226 @./config.status tools/makedep
21227 Makefile: tools/makedep$ac_exeext
21228 fonts: tools/sfnt2fon
21229 include: tools tools/widl"
21230 else
21231 wine_fn_append_rule "\$(MAKEDEP):
21232 @echo \"You need to run make in $TOOLSDIR first\" && false"
21235 if test -n "$with_wine64"
21236 then
21237 case "$with_wine64" in
21238 /*) reldir="" ;;
21239 *) reldir="../" ;;
21240 esac
21241 rm -f fonts server 2>/dev/null
21242 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21243 loader/wine64 loader/wine64-preloader:
21244 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21245 $with_wine64/loader/wine:
21246 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21247 $with_wine64/loader/wine-preloader:
21248 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21249 clean::
21250 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21251 else
21252 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21253 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21254 fonts \
21255 loader/wine.inf \
21256 loader/winebus.inf \
21257 loader/winehid.inf \
21258 nls \
21259 programs/msidb/msidb \
21260 programs/msiexec/msiexec \
21261 programs/notepad/notepad \
21262 programs/regedit/regedit \
21263 programs/regsvr32/regsvr32 \
21264 programs/wineboot/wineboot \
21265 programs/winecfg/winecfg \
21266 programs/wineconsole/wineconsole \
21267 programs/winedbg/winedbg \
21268 programs/winefile/winefile \
21269 programs/winemine/winemine \
21270 programs/winepath/winepath \
21271 server/wineserver"
21273 case $host_os in
21274 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21275 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21276 esac
21279 $as_echo " done" >&6
21280 cat >confcache <<\_ACEOF
21281 # This file is a shell script that caches the results of configure
21282 # tests run on this system so they can be shared between configure
21283 # scripts and configure runs, see configure's option --config-cache.
21284 # It is not useful on other systems. If it contains results you don't
21285 # want to keep, you may remove or edit it.
21287 # config.status only pays attention to the cache file if you give it
21288 # the --recheck option to rerun configure.
21290 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21291 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21292 # following values.
21294 _ACEOF
21296 # The following way of writing the cache mishandles newlines in values,
21297 # but we know of no workaround that is simple, portable, and efficient.
21298 # So, we kill variables containing newlines.
21299 # Ultrix sh set writes to stderr and can't be redirected directly,
21300 # and sets the high bit in the cache file unless we assign to the vars.
21302 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21303 eval ac_val=\$$ac_var
21304 case $ac_val in #(
21305 *${as_nl}*)
21306 case $ac_var in #(
21307 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21308 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21309 esac
21310 case $ac_var in #(
21311 _ | IFS | as_nl) ;; #(
21312 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21313 *) { eval $ac_var=; unset $ac_var;} ;;
21314 esac ;;
21315 esac
21316 done
21318 (set) 2>&1 |
21319 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21320 *${as_nl}ac_space=\ *)
21321 # `set' does not quote correctly, so add quotes: double-quote
21322 # substitution turns \\\\ into \\, and sed turns \\ into \.
21323 sed -n \
21324 "s/'/'\\\\''/g;
21325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21326 ;; #(
21328 # `set' quotes correctly as required by POSIX, so do not add quotes.
21329 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21331 esac |
21332 sort
21334 sed '
21335 /^ac_cv_env_/b end
21336 t clear
21337 :clear
21338 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21339 t end
21340 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21341 :end' >>confcache
21342 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21343 if test -w "$cache_file"; then
21344 if test "x$cache_file" != "x/dev/null"; then
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21346 $as_echo "$as_me: updating cache $cache_file" >&6;}
21347 if test ! -f "$cache_file" || test -h "$cache_file"; then
21348 cat confcache >"$cache_file"
21349 else
21350 case $cache_file in #(
21351 */* | ?:*)
21352 mv -f confcache "$cache_file"$$ &&
21353 mv -f "$cache_file"$$ "$cache_file" ;; #(
21355 mv -f confcache "$cache_file" ;;
21356 esac
21359 else
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21361 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21364 rm -f confcache
21366 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21367 # Let make expand exec_prefix.
21368 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21370 DEFS=-DHAVE_CONFIG_H
21372 ac_libobjs=
21373 ac_ltlibobjs=
21375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21376 # 1. Remove the extension, and $U if already installed.
21377 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21378 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21379 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21380 # will be set to the directory where LIBOBJS objects are built.
21381 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21382 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21383 done
21384 LIBOBJS=$ac_libobjs
21386 LTLIBOBJS=$ac_ltlibobjs
21390 : "${CONFIG_STATUS=./config.status}"
21391 ac_write_fail=0
21392 ac_clean_files_save=$ac_clean_files
21393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21396 as_write_fail=0
21397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21398 #! $SHELL
21399 # Generated by $as_me.
21400 # Run this file to recreate the current configuration.
21401 # Compiler output produced by configure, useful for debugging
21402 # configure, is in config.log if it exists.
21404 debug=false
21405 ac_cs_recheck=false
21406 ac_cs_silent=false
21408 SHELL=\${CONFIG_SHELL-$SHELL}
21409 export SHELL
21410 _ASEOF
21411 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21412 ## -------------------- ##
21413 ## M4sh Initialization. ##
21414 ## -------------------- ##
21416 # Be more Bourne compatible
21417 DUALCASE=1; export DUALCASE # for MKS sh
21418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21419 emulate sh
21420 NULLCMD=:
21421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21422 # is contrary to our usage. Disable this feature.
21423 alias -g '${1+"$@"}'='"$@"'
21424 setopt NO_GLOB_SUBST
21425 else
21426 case `(set -o) 2>/dev/null` in #(
21427 *posix*) :
21428 set -o posix ;; #(
21429 *) :
21431 esac
21435 as_nl='
21437 export as_nl
21438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21439 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21442 # Prefer a ksh shell builtin over an external printf program on Solaris,
21443 # but without wasting forks for bash or zsh.
21444 if test -z "$BASH_VERSION$ZSH_VERSION" \
21445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21446 as_echo='print -r --'
21447 as_echo_n='print -rn --'
21448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21449 as_echo='printf %s\n'
21450 as_echo_n='printf %s'
21451 else
21452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21453 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21454 as_echo_n='/usr/ucb/echo -n'
21455 else
21456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21457 as_echo_n_body='eval
21458 arg=$1;
21459 case $arg in #(
21460 *"$as_nl"*)
21461 expr "X$arg" : "X\\(.*\\)$as_nl";
21462 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21463 esac;
21464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21466 export as_echo_n_body
21467 as_echo_n='sh -c $as_echo_n_body as_echo'
21469 export as_echo_body
21470 as_echo='sh -c $as_echo_body as_echo'
21473 # The user is always right.
21474 if test "${PATH_SEPARATOR+set}" != set; then
21475 PATH_SEPARATOR=:
21476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21477 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21478 PATH_SEPARATOR=';'
21483 # IFS
21484 # We need space, tab and new line, in precisely that order. Quoting is
21485 # there to prevent editors from complaining about space-tab.
21486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21487 # splitting by setting IFS to empty value.)
21488 IFS=" "" $as_nl"
21490 # Find who we are. Look in the path if we contain no directory separator.
21491 as_myself=
21492 case $0 in #((
21493 *[\\/]* ) as_myself=$0 ;;
21494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21495 for as_dir in $PATH
21497 IFS=$as_save_IFS
21498 test -z "$as_dir" && as_dir=.
21499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21500 done
21501 IFS=$as_save_IFS
21504 esac
21505 # We did not find ourselves, most probably we were run as `sh COMMAND'
21506 # in which case we are not to be found in the path.
21507 if test "x$as_myself" = x; then
21508 as_myself=$0
21510 if test ! -f "$as_myself"; then
21511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21512 exit 1
21515 # Unset variables that we do not need and which cause bugs (e.g. in
21516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21517 # suppresses any "Segmentation fault" message there. '((' could
21518 # trigger a bug in pdksh 5.2.14.
21519 for as_var in BASH_ENV ENV MAIL MAILPATH
21520 do eval test x\${$as_var+set} = xset \
21521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21522 done
21523 PS1='$ '
21524 PS2='> '
21525 PS4='+ '
21527 # NLS nuisances.
21528 LC_ALL=C
21529 export LC_ALL
21530 LANGUAGE=C
21531 export LANGUAGE
21533 # CDPATH.
21534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21538 # ----------------------------------------
21539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21541 # script with STATUS, using 1 if that was 0.
21542 as_fn_error ()
21544 as_status=$1; test $as_status -eq 0 && as_status=1
21545 if test "$4"; then
21546 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21549 $as_echo "$as_me: error: $2" >&2
21550 as_fn_exit $as_status
21551 } # as_fn_error
21554 # as_fn_set_status STATUS
21555 # -----------------------
21556 # Set $? to STATUS, without forking.
21557 as_fn_set_status ()
21559 return $1
21560 } # as_fn_set_status
21562 # as_fn_exit STATUS
21563 # -----------------
21564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21565 as_fn_exit ()
21567 set +e
21568 as_fn_set_status $1
21569 exit $1
21570 } # as_fn_exit
21572 # as_fn_unset VAR
21573 # ---------------
21574 # Portably unset VAR.
21575 as_fn_unset ()
21577 { eval $1=; unset $1;}
21579 as_unset=as_fn_unset
21580 # as_fn_append VAR VALUE
21581 # ----------------------
21582 # Append the text in VALUE to the end of the definition contained in VAR. Take
21583 # advantage of any shell optimizations that allow amortized linear growth over
21584 # repeated appends, instead of the typical quadratic growth present in naive
21585 # implementations.
21586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21587 eval 'as_fn_append ()
21589 eval $1+=\$2
21591 else
21592 as_fn_append ()
21594 eval $1=\$$1\$2
21596 fi # as_fn_append
21598 # as_fn_arith ARG...
21599 # ------------------
21600 # Perform arithmetic evaluation on the ARGs, and store the result in the
21601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21602 # must be portable across $(()) and expr.
21603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21604 eval 'as_fn_arith ()
21606 as_val=$(( $* ))
21608 else
21609 as_fn_arith ()
21611 as_val=`expr "$@" || test $? -eq 1`
21613 fi # as_fn_arith
21616 if expr a : '\(a\)' >/dev/null 2>&1 &&
21617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21618 as_expr=expr
21619 else
21620 as_expr=false
21623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21624 as_basename=basename
21625 else
21626 as_basename=false
21629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21630 as_dirname=dirname
21631 else
21632 as_dirname=false
21635 as_me=`$as_basename -- "$0" ||
21636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21637 X"$0" : 'X\(//\)$' \| \
21638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21639 $as_echo X/"$0" |
21640 sed '/^.*\/\([^/][^/]*\)\/*$/{
21641 s//\1/
21644 /^X\/\(\/\/\)$/{
21645 s//\1/
21648 /^X\/\(\/\).*/{
21649 s//\1/
21652 s/.*/./; q'`
21654 # Avoid depending upon Character Ranges.
21655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21658 as_cr_digits='0123456789'
21659 as_cr_alnum=$as_cr_Letters$as_cr_digits
21661 ECHO_C= ECHO_N= ECHO_T=
21662 case `echo -n x` in #(((((
21663 -n*)
21664 case `echo 'xy\c'` in
21665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21666 xy) ECHO_C='\c';;
21667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21668 ECHO_T=' ';;
21669 esac;;
21671 ECHO_N='-n';;
21672 esac
21674 rm -f conf$$ conf$$.exe conf$$.file
21675 if test -d conf$$.dir; then
21676 rm -f conf$$.dir/conf$$.file
21677 else
21678 rm -f conf$$.dir
21679 mkdir conf$$.dir 2>/dev/null
21681 if (echo >conf$$.file) 2>/dev/null; then
21682 if ln -s conf$$.file conf$$ 2>/dev/null; then
21683 as_ln_s='ln -s'
21684 # ... but there are two gotchas:
21685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21687 # In both cases, we have to default to `cp -pR'.
21688 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21689 as_ln_s='cp -pR'
21690 elif ln conf$$.file conf$$ 2>/dev/null; then
21691 as_ln_s=ln
21692 else
21693 as_ln_s='cp -pR'
21695 else
21696 as_ln_s='cp -pR'
21698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21699 rmdir conf$$.dir 2>/dev/null
21702 # as_fn_mkdir_p
21703 # -------------
21704 # Create "$as_dir" as a directory, including parents if necessary.
21705 as_fn_mkdir_p ()
21708 case $as_dir in #(
21709 -*) as_dir=./$as_dir;;
21710 esac
21711 test -d "$as_dir" || eval $as_mkdir_p || {
21712 as_dirs=
21713 while :; do
21714 case $as_dir in #(
21715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21716 *) as_qdir=$as_dir;;
21717 esac
21718 as_dirs="'$as_qdir' $as_dirs"
21719 as_dir=`$as_dirname -- "$as_dir" ||
21720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21721 X"$as_dir" : 'X\(//\)[^/]' \| \
21722 X"$as_dir" : 'X\(//\)$' \| \
21723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21724 $as_echo X"$as_dir" |
21725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21726 s//\1/
21729 /^X\(\/\/\)[^/].*/{
21730 s//\1/
21733 /^X\(\/\/\)$/{
21734 s//\1/
21737 /^X\(\/\).*/{
21738 s//\1/
21741 s/.*/./; q'`
21742 test -d "$as_dir" && break
21743 done
21744 test -z "$as_dirs" || eval "mkdir $as_dirs"
21745 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21748 } # as_fn_mkdir_p
21749 if mkdir -p . 2>/dev/null; then
21750 as_mkdir_p='mkdir -p "$as_dir"'
21751 else
21752 test -d ./-p && rmdir ./-p
21753 as_mkdir_p=false
21757 # as_fn_executable_p FILE
21758 # -----------------------
21759 # Test if FILE is an executable regular file.
21760 as_fn_executable_p ()
21762 test -f "$1" && test -x "$1"
21763 } # as_fn_executable_p
21764 as_test_x='test -x'
21765 as_executable_p=as_fn_executable_p
21767 # Sed expression to map a string onto a valid CPP name.
21768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21770 # Sed expression to map a string onto a valid variable name.
21771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21774 exec 6>&1
21775 ## ----------------------------------- ##
21776 ## Main body of $CONFIG_STATUS script. ##
21777 ## ----------------------------------- ##
21778 _ASEOF
21779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21782 # Save the log message, to keep $0 and so on meaningful, and to
21783 # report actual input values of CONFIG_FILES etc. instead of their
21784 # values after options handling.
21785 ac_log="
21786 This file was extended by Wine $as_me 5.1, which was
21787 generated by GNU Autoconf 2.69. Invocation command line was
21789 CONFIG_FILES = $CONFIG_FILES
21790 CONFIG_HEADERS = $CONFIG_HEADERS
21791 CONFIG_LINKS = $CONFIG_LINKS
21792 CONFIG_COMMANDS = $CONFIG_COMMANDS
21793 $ $0 $@
21795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21798 _ACEOF
21800 case $ac_config_files in *"
21801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21802 esac
21804 case $ac_config_headers in *"
21805 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21806 esac
21809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21810 # Files that config.status was made for.
21811 config_files="$ac_config_files"
21812 config_headers="$ac_config_headers"
21813 config_links="$ac_config_links"
21814 config_commands="$ac_config_commands"
21816 _ACEOF
21818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21819 ac_cs_usage="\
21820 \`$as_me' instantiates files and other configuration actions
21821 from templates according to the current configuration. Unless the files
21822 and actions are specified as TAGs, all are instantiated by default.
21824 Usage: $0 [OPTION]... [TAG]...
21826 -h, --help print this help, then exit
21827 -V, --version print version number and configuration settings, then exit
21828 --config print configuration, then exit
21829 -q, --quiet, --silent
21830 do not print progress messages
21831 -d, --debug don't remove temporary files
21832 --recheck update $as_me by reconfiguring in the same conditions
21833 --file=FILE[:TEMPLATE]
21834 instantiate the configuration file FILE
21835 --header=FILE[:TEMPLATE]
21836 instantiate the configuration header FILE
21838 Configuration files:
21839 $config_files
21841 Configuration headers:
21842 $config_headers
21844 Configuration links:
21845 $config_links
21847 Configuration commands:
21848 $config_commands
21850 Report bugs to <wine-devel@winehq.org>.
21851 Wine home page: <https://www.winehq.org>."
21853 _ACEOF
21854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21856 ac_cs_version="\\
21857 Wine config.status 5.1
21858 configured by $0, generated by GNU Autoconf 2.69,
21859 with options \\"\$ac_cs_config\\"
21861 Copyright (C) 2012 Free Software Foundation, Inc.
21862 This config.status script is free software; the Free Software Foundation
21863 gives unlimited permission to copy, distribute and modify it."
21865 ac_pwd='$ac_pwd'
21866 srcdir='$srcdir'
21867 test -n "\$AWK" || AWK=awk
21868 _ACEOF
21870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21871 # The default lists apply if the user does not specify any file.
21872 ac_need_defaults=:
21873 while test $# != 0
21875 case $1 in
21876 --*=?*)
21877 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21878 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21879 ac_shift=:
21881 --*=)
21882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21883 ac_optarg=
21884 ac_shift=:
21887 ac_option=$1
21888 ac_optarg=$2
21889 ac_shift=shift
21891 esac
21893 case $ac_option in
21894 # Handling of the options.
21895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21896 ac_cs_recheck=: ;;
21897 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21898 $as_echo "$ac_cs_version"; exit ;;
21899 --config | --confi | --conf | --con | --co | --c )
21900 $as_echo "$ac_cs_config"; exit ;;
21901 --debug | --debu | --deb | --de | --d | -d )
21902 debug=: ;;
21903 --file | --fil | --fi | --f )
21904 $ac_shift
21905 case $ac_optarg in
21906 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21907 '') as_fn_error $? "missing file argument" ;;
21908 esac
21909 as_fn_append CONFIG_FILES " '$ac_optarg'"
21910 ac_need_defaults=false;;
21911 --header | --heade | --head | --hea )
21912 $ac_shift
21913 case $ac_optarg in
21914 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21915 esac
21916 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21917 ac_need_defaults=false;;
21918 --he | --h)
21919 # Conflict between --help and --header
21920 as_fn_error $? "ambiguous option: \`$1'
21921 Try \`$0 --help' for more information.";;
21922 --help | --hel | -h )
21923 $as_echo "$ac_cs_usage"; exit ;;
21924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21925 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21926 ac_cs_silent=: ;;
21928 # This is an error.
21929 -*) as_fn_error $? "unrecognized option: \`$1'
21930 Try \`$0 --help' for more information." ;;
21932 *) as_fn_append ac_config_targets " $1"
21933 ac_need_defaults=false ;;
21935 esac
21936 shift
21937 done
21939 ac_configure_extra_args=
21941 if $ac_cs_silent; then
21942 exec 6>/dev/null
21943 ac_configure_extra_args="$ac_configure_extra_args --silent"
21946 _ACEOF
21947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21948 if \$ac_cs_recheck; then
21949 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21950 shift
21951 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21952 CONFIG_SHELL='$SHELL'
21953 export CONFIG_SHELL
21954 exec "\$@"
21957 _ACEOF
21958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21959 exec 5>>config.log
21961 echo
21962 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21963 ## Running $as_me. ##
21964 _ASBOX
21965 $as_echo "$ac_log"
21966 } >&5
21968 _ACEOF
21969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21971 # INIT-COMMANDS
21973 wine_fn_output_makedep ()
21975 as_dir=tools; as_fn_mkdir_p
21976 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21978 wine_fn_output_makefile ()
21980 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21981 `cat $wine_rules_file`
21982 _WINE_EOF
21983 as_fn_error $? "could not create Makefile" "$LINENO" 5
21986 _ACEOF
21988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21990 # Handling of arguments.
21991 for ac_config_target in $ac_config_targets
21993 case $ac_config_target in
21994 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21995 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21996 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21997 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21998 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21999 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22000 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22002 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22003 esac
22004 done
22007 # If the user did not use the arguments to specify the items to instantiate,
22008 # then the envvar interface is used. Set only those that are not.
22009 # We use the long form for the default assignment because of an extremely
22010 # bizarre bug on SunOS 4.1.3.
22011 if $ac_need_defaults; then
22012 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22013 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22014 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22015 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22018 # Have a temporary directory for convenience. Make it in the build tree
22019 # simply because there is no reason against having it here, and in addition,
22020 # creating and moving files from /tmp can sometimes cause problems.
22021 # Hook for its removal unless debugging.
22022 # Note that there is a small window in which the directory will not be cleaned:
22023 # after its creation but before its name has been assigned to `$tmp'.
22024 $debug ||
22026 tmp= ac_tmp=
22027 trap 'exit_status=$?
22028 : "${ac_tmp:=$tmp}"
22029 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22031 trap 'as_fn_exit 1' 1 2 13 15
22033 # Create a (secure) tmp directory for tmp files.
22036 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22037 test -d "$tmp"
22038 } ||
22040 tmp=./conf$$-$RANDOM
22041 (umask 077 && mkdir "$tmp")
22042 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22043 ac_tmp=$tmp
22045 # Set up the scripts for CONFIG_FILES section.
22046 # No need to generate them if there are no CONFIG_FILES.
22047 # This happens for instance with `./config.status config.h'.
22048 if test -n "$CONFIG_FILES"; then
22051 ac_cr=`echo X | tr X '\015'`
22052 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22053 # But we know of no other shell where ac_cr would be empty at this
22054 # point, so we can use a bashism as a fallback.
22055 if test "x$ac_cr" = x; then
22056 eval ac_cr=\$\'\\r\'
22058 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22060 ac_cs_awk_cr='\\r'
22061 else
22062 ac_cs_awk_cr=$ac_cr
22065 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22066 _ACEOF
22070 echo "cat >conf$$subs.awk <<_ACEOF" &&
22071 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22072 echo "_ACEOF"
22073 } >conf$$subs.sh ||
22074 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22075 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22076 ac_delim='%!_!# '
22077 for ac_last_try in false false false false false :; do
22078 . ./conf$$subs.sh ||
22079 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22081 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22082 if test $ac_delim_n = $ac_delim_num; then
22083 break
22084 elif $ac_last_try; then
22085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22086 else
22087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22089 done
22090 rm -f conf$$subs.sh
22092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22093 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22094 _ACEOF
22095 sed -n '
22097 s/^/S["/; s/!.*/"]=/
22100 s/^[^!]*!//
22101 :repl
22102 t repl
22103 s/'"$ac_delim"'$//
22104 t delim
22107 s/\(.\{148\}\)..*/\1/
22108 t more1
22109 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22112 b repl
22113 :more1
22114 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22117 s/.\{148\}//
22118 t nl
22119 :delim
22121 s/\(.\{148\}\)..*/\1/
22122 t more2
22123 s/["\\]/\\&/g; s/^/"/; s/$/"/
22126 :more2
22127 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22130 s/.\{148\}//
22131 t delim
22132 ' <conf$$subs.awk | sed '
22133 /^[^""]/{
22135 s/\n//
22137 ' >>$CONFIG_STATUS || ac_write_fail=1
22138 rm -f conf$$subs.awk
22139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22140 _ACAWK
22141 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22142 for (key in S) S_is_set[key] = 1
22143 FS = "\a"
22147 line = $ 0
22148 nfields = split(line, field, "@")
22149 substed = 0
22150 len = length(field[1])
22151 for (i = 2; i < nfields; i++) {
22152 key = field[i]
22153 keylen = length(key)
22154 if (S_is_set[key]) {
22155 value = S[key]
22156 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22157 len += length(value) + length(field[++i])
22158 substed = 1
22159 } else
22160 len += 1 + keylen
22163 print line
22166 _ACAWK
22167 _ACEOF
22168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22169 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22170 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22171 else
22173 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22174 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22175 _ACEOF
22177 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22178 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22179 # trailing colons and then remove the whole line if VPATH becomes empty
22180 # (actually we leave an empty line to preserve line numbers).
22181 if test "x$srcdir" = x.; then
22182 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22184 s///
22185 s/^/:/
22186 s/[ ]*$/:/
22187 s/:\$(srcdir):/:/g
22188 s/:\${srcdir}:/:/g
22189 s/:@srcdir@:/:/g
22190 s/^:*//
22191 s/:*$//
22193 s/\(=[ ]*\).*/\1/
22195 s/\n//
22196 s/^[^=]*=[ ]*$//
22200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22201 fi # test -n "$CONFIG_FILES"
22203 # Set up the scripts for CONFIG_HEADERS section.
22204 # No need to generate them if there are no CONFIG_HEADERS.
22205 # This happens for instance with `./config.status Makefile'.
22206 if test -n "$CONFIG_HEADERS"; then
22207 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22208 BEGIN {
22209 _ACEOF
22211 # Transform confdefs.h into an awk script `defines.awk', embedded as
22212 # here-document in config.status, that substitutes the proper values into
22213 # config.h.in to produce config.h.
22215 # Create a delimiter string that does not exist in confdefs.h, to ease
22216 # handling of long lines.
22217 ac_delim='%!_!# '
22218 for ac_last_try in false false :; do
22219 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22220 if test -z "$ac_tt"; then
22221 break
22222 elif $ac_last_try; then
22223 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22224 else
22225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22227 done
22229 # For the awk script, D is an array of macro values keyed by name,
22230 # likewise P contains macro parameters if any. Preserve backslash
22231 # newline sequences.
22233 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22234 sed -n '
22235 s/.\{148\}/&'"$ac_delim"'/g
22236 t rset
22237 :rset
22238 s/^[ ]*#[ ]*define[ ][ ]*/ /
22239 t def
22241 :def
22242 s/\\$//
22243 t bsnl
22244 s/["\\]/\\&/g
22245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22246 D["\1"]=" \3"/p
22247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22249 :bsnl
22250 s/["\\]/\\&/g
22251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22252 D["\1"]=" \3\\\\\\n"\\/p
22253 t cont
22254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22255 t cont
22257 :cont
22259 s/.\{148\}/&'"$ac_delim"'/g
22260 t clear
22261 :clear
22262 s/\\$//
22263 t bsnlc
22264 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22266 :bsnlc
22267 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22268 b cont
22269 ' <confdefs.h | sed '
22270 s/'"$ac_delim"'/"\\\
22271 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22274 for (key in D) D_is_set[key] = 1
22275 FS = "\a"
22277 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22278 line = \$ 0
22279 split(line, arg, " ")
22280 if (arg[1] == "#") {
22281 defundef = arg[2]
22282 mac1 = arg[3]
22283 } else {
22284 defundef = substr(arg[1], 2)
22285 mac1 = arg[2]
22287 split(mac1, mac2, "(") #)
22288 macro = mac2[1]
22289 prefix = substr(line, 1, index(line, defundef) - 1)
22290 if (D_is_set[macro]) {
22291 # Preserve the white space surrounding the "#".
22292 print prefix "define", macro P[macro] D[macro]
22293 next
22294 } else {
22295 # Replace #undef with comments. This is necessary, for example,
22296 # in the case of _POSIX_SOURCE, which is predefined and required
22297 # on some systems where configure will not decide to define it.
22298 if (defundef == "undef") {
22299 print "/*", prefix defundef, macro, "*/"
22300 next
22304 { print }
22305 _ACAWK
22306 _ACEOF
22307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22308 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22309 fi # test -n "$CONFIG_HEADERS"
22312 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22313 shift
22314 for ac_tag
22316 case $ac_tag in
22317 :[FHLC]) ac_mode=$ac_tag; continue;;
22318 esac
22319 case $ac_mode$ac_tag in
22320 :[FHL]*:*);;
22321 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22322 :[FH]-) ac_tag=-:-;;
22323 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22324 esac
22325 ac_save_IFS=$IFS
22326 IFS=:
22327 set x $ac_tag
22328 IFS=$ac_save_IFS
22329 shift
22330 ac_file=$1
22331 shift
22333 case $ac_mode in
22334 :L) ac_source=$1;;
22335 :[FH])
22336 ac_file_inputs=
22337 for ac_f
22339 case $ac_f in
22340 -) ac_f="$ac_tmp/stdin";;
22341 *) # Look for the file first in the build tree, then in the source tree
22342 # (if the path is not absolute). The absolute path cannot be DOS-style,
22343 # because $ac_f cannot contain `:'.
22344 test -f "$ac_f" ||
22345 case $ac_f in
22346 [\\/$]*) false;;
22347 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22348 esac ||
22349 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22350 esac
22351 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22352 as_fn_append ac_file_inputs " '$ac_f'"
22353 done
22355 # Let's still pretend it is `configure' which instantiates (i.e., don't
22356 # use $as_me), people would be surprised to read:
22357 # /* config.h. Generated by config.status. */
22358 configure_input='Generated from '`
22359 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22360 `' by configure.'
22361 if test x"$ac_file" != x-; then
22362 configure_input="$ac_file. $configure_input"
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22364 $as_echo "$as_me: creating $ac_file" >&6;}
22366 # Neutralize special characters interpreted by sed in replacement strings.
22367 case $configure_input in #(
22368 *\&* | *\|* | *\\* )
22369 ac_sed_conf_input=`$as_echo "$configure_input" |
22370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22371 *) ac_sed_conf_input=$configure_input;;
22372 esac
22374 case $ac_tag in
22375 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22377 esac
22379 esac
22381 ac_dir=`$as_dirname -- "$ac_file" ||
22382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22383 X"$ac_file" : 'X\(//\)[^/]' \| \
22384 X"$ac_file" : 'X\(//\)$' \| \
22385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22386 $as_echo X"$ac_file" |
22387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22388 s//\1/
22391 /^X\(\/\/\)[^/].*/{
22392 s//\1/
22395 /^X\(\/\/\)$/{
22396 s//\1/
22399 /^X\(\/\).*/{
22400 s//\1/
22403 s/.*/./; q'`
22404 as_dir="$ac_dir"; as_fn_mkdir_p
22405 ac_builddir=.
22407 case "$ac_dir" in
22408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22411 # A ".." for each directory in $ac_dir_suffix.
22412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22413 case $ac_top_builddir_sub in
22414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22416 esac ;;
22417 esac
22418 ac_abs_top_builddir=$ac_pwd
22419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22420 # for backward compatibility:
22421 ac_top_builddir=$ac_top_build_prefix
22423 case $srcdir in
22424 .) # We are building in place.
22425 ac_srcdir=.
22426 ac_top_srcdir=$ac_top_builddir_sub
22427 ac_abs_top_srcdir=$ac_pwd ;;
22428 [\\/]* | ?:[\\/]* ) # Absolute name.
22429 ac_srcdir=$srcdir$ac_dir_suffix;
22430 ac_top_srcdir=$srcdir
22431 ac_abs_top_srcdir=$srcdir ;;
22432 *) # Relative name.
22433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22434 ac_top_srcdir=$ac_top_build_prefix$srcdir
22435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22436 esac
22437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22440 case $ac_mode in
22443 # CONFIG_FILE
22446 _ACEOF
22448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22449 # If the template does not know about datarootdir, expand it.
22450 # FIXME: This hack should be removed a few years after 2.60.
22451 ac_datarootdir_hack=; ac_datarootdir_seen=
22452 ac_sed_dataroot='
22453 /datarootdir/ {
22457 /@datadir@/p
22458 /@docdir@/p
22459 /@infodir@/p
22460 /@localedir@/p
22461 /@mandir@/p'
22462 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22463 *datarootdir*) ac_datarootdir_seen=yes;;
22464 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22466 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22467 _ACEOF
22468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22469 ac_datarootdir_hack='
22470 s&@datadir@&$datadir&g
22471 s&@docdir@&$docdir&g
22472 s&@infodir@&$infodir&g
22473 s&@localedir@&$localedir&g
22474 s&@mandir@&$mandir&g
22475 s&\\\${datarootdir}&$datarootdir&g' ;;
22476 esac
22477 _ACEOF
22479 # Neutralize VPATH when `$srcdir' = `.'.
22480 # Shell code in configure.ac might set extrasub.
22481 # FIXME: do we really want to maintain this feature?
22482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22483 ac_sed_extra="$ac_vpsub
22484 $extrasub
22485 _ACEOF
22486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22489 s|@configure_input@|$ac_sed_conf_input|;t t
22490 s&@top_builddir@&$ac_top_builddir_sub&;t t
22491 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22492 s&@srcdir@&$ac_srcdir&;t t
22493 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22494 s&@top_srcdir@&$ac_top_srcdir&;t t
22495 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22496 s&@builddir@&$ac_builddir&;t t
22497 s&@abs_builddir@&$ac_abs_builddir&;t t
22498 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22499 $ac_datarootdir_hack
22501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22502 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22505 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22506 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22507 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22509 which seems to be undefined. Please make sure it is defined" >&5
22510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22511 which seems to be undefined. Please make sure it is defined" >&2;}
22513 rm -f "$ac_tmp/stdin"
22514 case $ac_file in
22515 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22516 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22517 esac \
22518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22522 # CONFIG_HEADER
22524 if test x"$ac_file" != x-; then
22526 $as_echo "/* $configure_input */" \
22527 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22528 } >"$ac_tmp/config.h" \
22529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22530 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22533 else
22534 rm -f "$ac_file"
22535 mv "$ac_tmp/config.h" "$ac_file" \
22536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22538 else
22539 $as_echo "/* $configure_input */" \
22540 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22541 || as_fn_error $? "could not create -" "$LINENO" 5
22546 # CONFIG_LINK
22549 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22551 else
22552 # Prefer the file from the source tree if names are identical.
22553 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22554 ac_source=$srcdir/$ac_source
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22558 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22560 if test ! -r "$ac_source"; then
22561 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22563 rm -f "$ac_file"
22565 # Try a relative symlink, then a hard link, then a copy.
22566 case $ac_source in
22567 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22568 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22569 esac
22570 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22571 ln "$ac_source" "$ac_file" 2>/dev/null ||
22572 cp -p "$ac_source" "$ac_file" ||
22573 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22576 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22577 $as_echo "$as_me: executing $ac_file commands" >&6;}
22579 esac
22582 case $ac_file$ac_mode in
22583 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22584 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22585 "Makefile":C) wine_fn_output_makefile Makefile ;;
22587 esac
22588 done # for ac_tag
22591 as_fn_exit 0
22592 _ACEOF
22593 ac_clean_files=$ac_clean_files_save
22595 test $ac_write_fail = 0 ||
22596 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22599 # configure is writing to config.log, and then calls config.status.
22600 # config.status does its own redirection, appending to config.log.
22601 # Unfortunately, on DOS this fails, as config.log is still kept open
22602 # by configure, so config.status won't be able to write to it; its
22603 # output is simply discarded. So we exec the FD to /dev/null,
22604 # effectively closing config.log, so it can be properly (re)opened and
22605 # appended to by config.status. When coming back to configure, we
22606 # need to make the FD available again.
22607 if test "$no_create" != yes; then
22608 ac_cs_success=:
22609 ac_config_status_args=
22610 test "$silent" = yes &&
22611 ac_config_status_args="$ac_config_status_args --quiet"
22612 exec 5>/dev/null
22613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22614 exec 5>>config.log
22615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22616 # would make configure fail if this is the last instruction.
22617 $ac_cs_success || as_fn_exit 1
22619 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22621 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22625 if test "$no_create" = "yes"
22626 then
22627 exit 0
22630 ac_save_IFS="$IFS"
22631 if test "x$wine_notices" != x; then
22632 echo >&6
22633 IFS="|"
22634 for msg in $wine_notices; do
22635 IFS="$ac_save_IFS"
22636 if ${msg:+false} :; then :
22638 else
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22640 $as_echo "$as_me: $msg" >&6;}
22642 done
22644 IFS="|"
22645 for msg in $wine_warnings; do
22646 IFS="$ac_save_IFS"
22647 if ${msg:+false} :; then :
22649 else
22650 echo >&2
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22652 $as_echo "$as_me: WARNING: $msg" >&2;}
22654 done
22655 IFS="$ac_save_IFS"
22657 $as_echo "
22658 $as_me: Finished. Do '${ac_make}' to compile Wine.
22659 " >&6