msscript.ocx: Add the ScriptError stub implementation.
[wine.git] / configure
blob7fb356797ed472d9cd9e5aa923a69f2f60909bdd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.15.
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.15'
584 PACKAGE_STRING='Wine 5.15'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_quicktime
882 with_sane
883 with_sdl
884 with_tiff
885 with_udev
886 with_unwind
887 with_usb
888 with_v4l2
889 with_vkd3d
890 with_vulkan
891 with_xcomposite
892 with_xcursor
893 with_xfixes
894 with_xinerama
895 with_xinput
896 with_xinput2
897 with_xml
898 with_xrandr
899 with_xrender
900 with_xshape
901 with_xshm
902 with_xslt
903 with_xxf86vm
904 with_wine_tools
905 with_wine64
906 enable_largefile
907 with_x
908 enable_acledit
909 enable_aclui
910 enable_activeds_tlb
911 enable_activeds
912 enable_actxprxy
913 enable_adsiid
914 enable_adsldp
915 enable_adsldpc
916 enable_advapi32
917 enable_advpack
918 enable_amsi
919 enable_amstream
920 enable_api_ms_win_appmodel_identity_l1_1_0
921 enable_api_ms_win_appmodel_runtime_l1_1_1
922 enable_api_ms_win_appmodel_runtime_l1_1_2
923 enable_api_ms_win_core_apiquery_l1_1_0
924 enable_api_ms_win_core_appcompat_l1_1_1
925 enable_api_ms_win_core_appinit_l1_1_0
926 enable_api_ms_win_core_atoms_l1_1_0
927 enable_api_ms_win_core_bem_l1_1_0
928 enable_api_ms_win_core_com_l1_1_0
929 enable_api_ms_win_core_com_l1_1_1
930 enable_api_ms_win_core_com_private_l1_1_0
931 enable_api_ms_win_core_comm_l1_1_0
932 enable_api_ms_win_core_console_l1_1_0
933 enable_api_ms_win_core_console_l2_1_0
934 enable_api_ms_win_core_crt_l1_1_0
935 enable_api_ms_win_core_crt_l2_1_0
936 enable_api_ms_win_core_datetime_l1_1_0
937 enable_api_ms_win_core_datetime_l1_1_1
938 enable_api_ms_win_core_debug_l1_1_0
939 enable_api_ms_win_core_debug_l1_1_1
940 enable_api_ms_win_core_delayload_l1_1_0
941 enable_api_ms_win_core_delayload_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_0
943 enable_api_ms_win_core_errorhandling_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_2
945 enable_api_ms_win_core_errorhandling_l1_1_3
946 enable_api_ms_win_core_fibers_l1_1_0
947 enable_api_ms_win_core_fibers_l1_1_1
948 enable_api_ms_win_core_file_ansi_l2_1_0
949 enable_api_ms_win_core_file_fromapp_l1_1_0
950 enable_api_ms_win_core_file_l1_1_0
951 enable_api_ms_win_core_file_l1_2_0
952 enable_api_ms_win_core_file_l1_2_1
953 enable_api_ms_win_core_file_l1_2_2
954 enable_api_ms_win_core_file_l2_1_0
955 enable_api_ms_win_core_file_l2_1_1
956 enable_api_ms_win_core_file_l2_1_2
957 enable_api_ms_win_core_handle_l1_1_0
958 enable_api_ms_win_core_heap_l1_1_0
959 enable_api_ms_win_core_heap_l1_2_0
960 enable_api_ms_win_core_heap_l2_1_0
961 enable_api_ms_win_core_heap_obsolete_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_1_0
963 enable_api_ms_win_core_interlocked_l1_2_0
964 enable_api_ms_win_core_io_l1_1_0
965 enable_api_ms_win_core_io_l1_1_1
966 enable_api_ms_win_core_job_l1_1_0
967 enable_api_ms_win_core_job_l2_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_0
969 enable_api_ms_win_core_kernel32_legacy_l1_1_1
970 enable_api_ms_win_core_kernel32_private_l1_1_1
971 enable_api_ms_win_core_largeinteger_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_0
973 enable_api_ms_win_core_libraryloader_l1_1_1
974 enable_api_ms_win_core_libraryloader_l1_2_0
975 enable_api_ms_win_core_libraryloader_l1_2_1
976 enable_api_ms_win_core_libraryloader_l1_2_2
977 enable_api_ms_win_core_libraryloader_l2_1_0
978 enable_api_ms_win_core_localization_l1_1_0
979 enable_api_ms_win_core_localization_l1_2_0
980 enable_api_ms_win_core_localization_l1_2_1
981 enable_api_ms_win_core_localization_l1_2_2
982 enable_api_ms_win_core_localization_l2_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_1_0
984 enable_api_ms_win_core_localization_obsolete_l1_2_0
985 enable_api_ms_win_core_localization_obsolete_l1_3_0
986 enable_api_ms_win_core_localization_private_l1_1_0
987 enable_api_ms_win_core_localregistry_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_0
989 enable_api_ms_win_core_memory_l1_1_1
990 enable_api_ms_win_core_memory_l1_1_2
991 enable_api_ms_win_core_memory_l1_1_3
992 enable_api_ms_win_core_memory_l1_1_4
993 enable_api_ms_win_core_misc_l1_1_0
994 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_1_0
996 enable_api_ms_win_core_namedpipe_l1_2_0
997 enable_api_ms_win_core_namespace_l1_1_0
998 enable_api_ms_win_core_normalization_l1_1_0
999 enable_api_ms_win_core_path_l1_1_0
1000 enable_api_ms_win_core_privateprofile_l1_1_1
1001 enable_api_ms_win_core_processenvironment_l1_1_0
1002 enable_api_ms_win_core_processenvironment_l1_2_0
1003 enable_api_ms_win_core_processthreads_l1_1_0
1004 enable_api_ms_win_core_processthreads_l1_1_1
1005 enable_api_ms_win_core_processthreads_l1_1_2
1006 enable_api_ms_win_core_processthreads_l1_1_3
1007 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1008 enable_api_ms_win_core_profile_l1_1_0
1009 enable_api_ms_win_core_psapi_ansi_l1_1_0
1010 enable_api_ms_win_core_psapi_l1_1_0
1011 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1012 enable_api_ms_win_core_quirks_l1_1_0
1013 enable_api_ms_win_core_realtime_l1_1_0
1014 enable_api_ms_win_core_registry_l1_1_0
1015 enable_api_ms_win_core_registry_l2_1_0
1016 enable_api_ms_win_core_registry_l2_2_0
1017 enable_api_ms_win_core_registryuserspecific_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_1_0
1019 enable_api_ms_win_core_rtlsupport_l1_2_0
1020 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1022 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1023 enable_api_ms_win_core_shutdown_l1_1_0
1024 enable_api_ms_win_core_sidebyside_l1_1_0
1025 enable_api_ms_win_core_string_l1_1_0
1026 enable_api_ms_win_core_string_l2_1_0
1027 enable_api_ms_win_core_string_obsolete_l1_1_0
1028 enable_api_ms_win_core_stringansi_l1_1_0
1029 enable_api_ms_win_core_stringloader_l1_1_1
1030 enable_api_ms_win_core_synch_ansi_l1_1_0
1031 enable_api_ms_win_core_synch_l1_1_0
1032 enable_api_ms_win_core_synch_l1_2_0
1033 enable_api_ms_win_core_synch_l1_2_1
1034 enable_api_ms_win_core_sysinfo_l1_1_0
1035 enable_api_ms_win_core_sysinfo_l1_2_0
1036 enable_api_ms_win_core_sysinfo_l1_2_1
1037 enable_api_ms_win_core_systemtopology_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_1_0
1039 enable_api_ms_win_core_threadpool_l1_2_0
1040 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1041 enable_api_ms_win_core_threadpool_private_l1_1_0
1042 enable_api_ms_win_core_timezone_l1_1_0
1043 enable_api_ms_win_core_toolhelp_l1_1_0
1044 enable_api_ms_win_core_url_l1_1_0
1045 enable_api_ms_win_core_util_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_0
1047 enable_api_ms_win_core_version_l1_1_1
1048 enable_api_ms_win_core_version_private_l1_1_0
1049 enable_api_ms_win_core_versionansi_l1_1_0
1050 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_0
1052 enable_api_ms_win_core_winrt_error_l1_1_1
1053 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1054 enable_api_ms_win_core_winrt_l1_1_0
1055 enable_api_ms_win_core_winrt_registration_l1_1_0
1056 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_0
1058 enable_api_ms_win_core_winrt_string_l1_1_1
1059 enable_api_ms_win_core_wow64_l1_1_0
1060 enable_api_ms_win_core_wow64_l1_1_1
1061 enable_api_ms_win_core_xstate_l1_1_0
1062 enable_api_ms_win_core_xstate_l2_1_0
1063 enable_api_ms_win_crt_conio_l1_1_0
1064 enable_api_ms_win_crt_convert_l1_1_0
1065 enable_api_ms_win_crt_environment_l1_1_0
1066 enable_api_ms_win_crt_filesystem_l1_1_0
1067 enable_api_ms_win_crt_heap_l1_1_0
1068 enable_api_ms_win_crt_locale_l1_1_0
1069 enable_api_ms_win_crt_math_l1_1_0
1070 enable_api_ms_win_crt_multibyte_l1_1_0
1071 enable_api_ms_win_crt_private_l1_1_0
1072 enable_api_ms_win_crt_process_l1_1_0
1073 enable_api_ms_win_crt_runtime_l1_1_0
1074 enable_api_ms_win_crt_stdio_l1_1_0
1075 enable_api_ms_win_crt_string_l1_1_0
1076 enable_api_ms_win_crt_time_l1_1_0
1077 enable_api_ms_win_crt_utility_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_0
1079 enable_api_ms_win_devices_config_l1_1_1
1080 enable_api_ms_win_devices_query_l1_1_1
1081 enable_api_ms_win_downlevel_advapi32_l1_1_0
1082 enable_api_ms_win_downlevel_advapi32_l2_1_0
1083 enable_api_ms_win_downlevel_kernel32_l2_1_0
1084 enable_api_ms_win_downlevel_normaliz_l1_1_0
1085 enable_api_ms_win_downlevel_ole32_l1_1_0
1086 enable_api_ms_win_downlevel_shell32_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1088 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1089 enable_api_ms_win_downlevel_user32_l1_1_0
1090 enable_api_ms_win_downlevel_version_l1_1_0
1091 enable_api_ms_win_dx_d3dkmt_l1_1_0
1092 enable_api_ms_win_eventing_classicprovider_l1_1_0
1093 enable_api_ms_win_eventing_consumer_l1_1_0
1094 enable_api_ms_win_eventing_controller_l1_1_0
1095 enable_api_ms_win_eventing_legacy_l1_1_0
1096 enable_api_ms_win_eventing_provider_l1_1_0
1097 enable_api_ms_win_eventlog_legacy_l1_1_0
1098 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1099 enable_api_ms_win_mm_joystick_l1_1_0
1100 enable_api_ms_win_mm_misc_l1_1_1
1101 enable_api_ms_win_mm_mme_l1_1_0
1102 enable_api_ms_win_mm_time_l1_1_0
1103 enable_api_ms_win_ntuser_dc_access_l1_1_0
1104 enable_api_ms_win_ntuser_rectangle_l1_1_0
1105 enable_api_ms_win_ntuser_sysparams_l1_1_0
1106 enable_api_ms_win_perf_legacy_l1_1_0
1107 enable_api_ms_win_power_base_l1_1_0
1108 enable_api_ms_win_power_setting_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1112 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1116 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1117 enable_api_ms_win_security_audit_l1_1_1
1118 enable_api_ms_win_security_base_l1_1_0
1119 enable_api_ms_win_security_base_l1_2_0
1120 enable_api_ms_win_security_base_private_l1_1_1
1121 enable_api_ms_win_security_credentials_l1_1_0
1122 enable_api_ms_win_security_cryptoapi_l1_1_0
1123 enable_api_ms_win_security_grouppolicy_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_0
1125 enable_api_ms_win_security_lsalookup_l1_1_1
1126 enable_api_ms_win_security_lsalookup_l2_1_0
1127 enable_api_ms_win_security_lsalookup_l2_1_1
1128 enable_api_ms_win_security_lsapolicy_l1_1_0
1129 enable_api_ms_win_security_provider_l1_1_0
1130 enable_api_ms_win_security_sddl_l1_1_0
1131 enable_api_ms_win_security_systemfunctions_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_0
1133 enable_api_ms_win_service_core_l1_1_1
1134 enable_api_ms_win_service_management_l1_1_0
1135 enable_api_ms_win_service_management_l2_1_0
1136 enable_api_ms_win_service_private_l1_1_1
1137 enable_api_ms_win_service_winsvc_l1_1_0
1138 enable_api_ms_win_service_winsvc_l1_2_0
1139 enable_api_ms_win_shcore_obsolete_l1_1_0
1140 enable_api_ms_win_shcore_scaling_l1_1_1
1141 enable_api_ms_win_shcore_stream_l1_1_0
1142 enable_api_ms_win_shcore_thread_l1_1_0
1143 enable_api_ms_win_shell_shellcom_l1_1_0
1144 enable_api_ms_win_shell_shellfolders_l1_1_0
1145 enable_apphelp
1146 enable_appwiz_cpl
1147 enable_atl
1148 enable_atl100
1149 enable_atl110
1150 enable_atl80
1151 enable_atl90
1152 enable_atlthunk
1153 enable_atmlib
1154 enable_authz
1155 enable_avicap32
1156 enable_avifil32
1157 enable_avrt
1158 enable_bcrypt
1159 enable_bluetoothapis
1160 enable_browseui
1161 enable_bthprops_cpl
1162 enable_cabinet
1163 enable_capi2032
1164 enable_cards
1165 enable_cdosys
1166 enable_cfgmgr32
1167 enable_clusapi
1168 enable_combase
1169 enable_comcat
1170 enable_comctl32
1171 enable_comdlg32
1172 enable_compstui
1173 enable_comsvcs
1174 enable_concrt140
1175 enable_connect
1176 enable_credui
1177 enable_crtdll
1178 enable_crypt32
1179 enable_cryptdlg
1180 enable_cryptdll
1181 enable_cryptext
1182 enable_cryptnet
1183 enable_cryptui
1184 enable_ctapi32
1185 enable_ctl3d32
1186 enable_d2d1
1187 enable_d3d10
1188 enable_d3d10_1
1189 enable_d3d10core
1190 enable_d3d11
1191 enable_d3d12
1192 enable_d3d8
1193 enable_d3d9
1194 enable_d3dcompiler_33
1195 enable_d3dcompiler_34
1196 enable_d3dcompiler_35
1197 enable_d3dcompiler_36
1198 enable_d3dcompiler_37
1199 enable_d3dcompiler_38
1200 enable_d3dcompiler_39
1201 enable_d3dcompiler_40
1202 enable_d3dcompiler_41
1203 enable_d3dcompiler_42
1204 enable_d3dcompiler_43
1205 enable_d3dcompiler_46
1206 enable_d3dcompiler_47
1207 enable_d3dim
1208 enable_d3drm
1209 enable_d3dx10_33
1210 enable_d3dx10_34
1211 enable_d3dx10_35
1212 enable_d3dx10_36
1213 enable_d3dx10_37
1214 enable_d3dx10_38
1215 enable_d3dx10_39
1216 enable_d3dx10_40
1217 enable_d3dx10_41
1218 enable_d3dx10_42
1219 enable_d3dx10_43
1220 enable_d3dx11_42
1221 enable_d3dx11_43
1222 enable_d3dx9_24
1223 enable_d3dx9_25
1224 enable_d3dx9_26
1225 enable_d3dx9_27
1226 enable_d3dx9_28
1227 enable_d3dx9_29
1228 enable_d3dx9_30
1229 enable_d3dx9_31
1230 enable_d3dx9_32
1231 enable_d3dx9_33
1232 enable_d3dx9_34
1233 enable_d3dx9_35
1234 enable_d3dx9_36
1235 enable_d3dx9_37
1236 enable_d3dx9_38
1237 enable_d3dx9_39
1238 enable_d3dx9_40
1239 enable_d3dx9_41
1240 enable_d3dx9_42
1241 enable_d3dx9_43
1242 enable_d3dxof
1243 enable_davclnt
1244 enable_dbgeng
1245 enable_dbghelp
1246 enable_dciman32
1247 enable_ddraw
1248 enable_ddrawex
1249 enable_devenum
1250 enable_dhcpcsvc
1251 enable_dhtmled_ocx
1252 enable_difxapi
1253 enable_dinput
1254 enable_dinput8
1255 enable_directmanipulation
1256 enable_dispex
1257 enable_dmband
1258 enable_dmcompos
1259 enable_dmime
1260 enable_dmloader
1261 enable_dmoguids
1262 enable_dmscript
1263 enable_dmstyle
1264 enable_dmsynth
1265 enable_dmusic
1266 enable_dmusic32
1267 enable_dnsapi
1268 enable_dplay
1269 enable_dplayx
1270 enable_dpnaddr
1271 enable_dpnet
1272 enable_dpnhpast
1273 enable_dpnlobby
1274 enable_dpvoice
1275 enable_dpwsockx
1276 enable_drmclien
1277 enable_dsdmo
1278 enable_dsound
1279 enable_dsquery
1280 enable_dssenh
1281 enable_dsuiext
1282 enable_dswave
1283 enable_dwmapi
1284 enable_dwrite
1285 enable_dx8vb
1286 enable_dxdiagn
1287 enable_dxerr8
1288 enable_dxerr9
1289 enable_dxgi
1290 enable_dxguid
1291 enable_dxva2
1292 enable_esent
1293 enable_evr
1294 enable_explorerframe
1295 enable_ext_ms_win_authz_context_l1_1_0
1296 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1297 enable_ext_ms_win_dwmapi_ext_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_0
1299 enable_ext_ms_win_gdi_dc_create_l1_1_1
1300 enable_ext_ms_win_gdi_dc_l1_2_0
1301 enable_ext_ms_win_gdi_devcaps_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_0
1303 enable_ext_ms_win_gdi_draw_l1_1_1
1304 enable_ext_ms_win_gdi_font_l1_1_0
1305 enable_ext_ms_win_gdi_font_l1_1_1
1306 enable_ext_ms_win_gdi_render_l1_1_0
1307 enable_ext_ms_win_kernel32_package_current_l1_1_0
1308 enable_ext_ms_win_kernel32_package_l1_1_1
1309 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1310 enable_ext_ms_win_ntuser_draw_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_1_0
1312 enable_ext_ms_win_ntuser_gui_l1_3_0
1313 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1314 enable_ext_ms_win_ntuser_message_l1_1_0
1315 enable_ext_ms_win_ntuser_message_l1_1_1
1316 enable_ext_ms_win_ntuser_misc_l1_1_0
1317 enable_ext_ms_win_ntuser_misc_l1_2_0
1318 enable_ext_ms_win_ntuser_misc_l1_5_1
1319 enable_ext_ms_win_ntuser_mouse_l1_1_0
1320 enable_ext_ms_win_ntuser_private_l1_1_1
1321 enable_ext_ms_win_ntuser_private_l1_3_1
1322 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_0
1325 enable_ext_ms_win_ntuser_window_l1_1_1
1326 enable_ext_ms_win_ntuser_window_l1_1_4
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1328 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1329 enable_ext_ms_win_oleacc_l1_1_0
1330 enable_ext_ms_win_ras_rasapi32_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1338 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1341 enable_ext_ms_win_security_credui_l1_1_0
1342 enable_ext_ms_win_security_cryptui_l1_1_0
1343 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1344 enable_ext_ms_win_shell_comdlg32_l1_1_0
1345 enable_ext_ms_win_shell_shell32_l1_2_0
1346 enable_ext_ms_win_uxtheme_themes_l1_1_0
1347 enable_faultrep
1348 enable_feclient
1349 enable_fltlib
1350 enable_fltmgr_sys
1351 enable_fntcache
1352 enable_fontsub
1353 enable_fusion
1354 enable_fwpuclnt
1355 enable_gameux
1356 enable_gdi32
1357 enable_gdiplus
1358 enable_glu32
1359 enable_gphoto2_ds
1360 enable_gpkcsp
1361 enable_hal
1362 enable_hhctrl_ocx
1363 enable_hid
1364 enable_hidclass_sys
1365 enable_hlink
1366 enable_hnetcfg
1367 enable_http_sys
1368 enable_httpapi
1369 enable_iccvid
1370 enable_icmp
1371 enable_ieframe
1372 enable_ieproxy
1373 enable_imaadp32_acm
1374 enable_imagehlp
1375 enable_imm32
1376 enable_inetcomm
1377 enable_inetcpl_cpl
1378 enable_inetmib1
1379 enable_infosoft
1380 enable_initpki
1381 enable_inkobj
1382 enable_inseng
1383 enable_iphlpapi
1384 enable_iprop
1385 enable_irprops_cpl
1386 enable_itircl
1387 enable_itss
1388 enable_joy_cpl
1389 enable_jscript
1390 enable_jsproxy
1391 enable_kerberos
1392 enable_kernel32
1393 enable_kernelbase
1394 enable_ksecdd_sys
1395 enable_ksproxy_ax
1396 enable_ksuser
1397 enable_ktmw32
1398 enable_l3codeca_acm
1399 enable_loadperf
1400 enable_localspl
1401 enable_localui
1402 enable_lz32
1403 enable_mapi32
1404 enable_mapistub
1405 enable_mciavi32
1406 enable_mcicda
1407 enable_mciqtz32
1408 enable_mciseq
1409 enable_mciwave
1410 enable_mf
1411 enable_mf3216
1412 enable_mferror
1413 enable_mfmediaengine
1414 enable_mfplat
1415 enable_mfplay
1416 enable_mfreadwrite
1417 enable_mfuuid
1418 enable_mgmtapi
1419 enable_midimap
1420 enable_mlang
1421 enable_mmcndmgr
1422 enable_mmdevapi
1423 enable_mountmgr_sys
1424 enable_mp3dmod
1425 enable_mpr
1426 enable_mprapi
1427 enable_msacm32_drv
1428 enable_msacm32
1429 enable_msado15
1430 enable_msadp32_acm
1431 enable_msasn1
1432 enable_mscat32
1433 enable_mscms
1434 enable_mscoree
1435 enable_mscorwks
1436 enable_msctf
1437 enable_msctfp
1438 enable_msdaps
1439 enable_msdelta
1440 enable_msdmo
1441 enable_msdrm
1442 enable_msftedit
1443 enable_msg711_acm
1444 enable_msgsm32_acm
1445 enable_mshtml_tlb
1446 enable_mshtml
1447 enable_msi
1448 enable_msident
1449 enable_msimg32
1450 enable_msimsg
1451 enable_msimtf
1452 enable_msisip
1453 enable_msisys_ocx
1454 enable_msls31
1455 enable_msnet32
1456 enable_mspatcha
1457 enable_msports
1458 enable_msrle32
1459 enable_msscript_ocx
1460 enable_mssign32
1461 enable_mssip32
1462 enable_mstask
1463 enable_msvcirt
1464 enable_msvcm80
1465 enable_msvcm90
1466 enable_msvcp100
1467 enable_msvcp110
1468 enable_msvcp120
1469 enable_msvcp120_app
1470 enable_msvcp140
1471 enable_msvcp140_1
1472 enable_msvcp60
1473 enable_msvcp70
1474 enable_msvcp71
1475 enable_msvcp80
1476 enable_msvcp90
1477 enable_msvcr100
1478 enable_msvcr110
1479 enable_msvcr120
1480 enable_msvcr120_app
1481 enable_msvcr70
1482 enable_msvcr71
1483 enable_msvcr80
1484 enable_msvcr90
1485 enable_msvcrt
1486 enable_msvcrt20
1487 enable_msvcrt40
1488 enable_msvcrtd
1489 enable_msvfw32
1490 enable_msvidc32
1491 enable_mswsock
1492 enable_msxml
1493 enable_msxml2
1494 enable_msxml3
1495 enable_msxml4
1496 enable_msxml6
1497 enable_mtxdm
1498 enable_ncrypt
1499 enable_nddeapi
1500 enable_ndis_sys
1501 enable_netapi32
1502 enable_netcfgx
1503 enable_netio_sys
1504 enable_netprofm
1505 enable_newdev
1506 enable_ninput
1507 enable_normaliz
1508 enable_npmshtml
1509 enable_npptools
1510 enable_ntdll
1511 enable_ntdsapi
1512 enable_ntoskrnl_exe
1513 enable_ntprint
1514 enable_objsel
1515 enable_odbc32
1516 enable_odbcbcp
1517 enable_odbccp32
1518 enable_odbccu32
1519 enable_ole32
1520 enable_oleacc
1521 enable_oleaut32
1522 enable_olecli32
1523 enable_oledb32
1524 enable_oledlg
1525 enable_olepro32
1526 enable_olesvr32
1527 enable_olethk32
1528 enable_opcservices
1529 enable_openal32
1530 enable_opencl
1531 enable_opengl32
1532 enable_packager
1533 enable_pdh
1534 enable_photometadatahandler
1535 enable_pidgen
1536 enable_powrprof
1537 enable_printui
1538 enable_prntvpt
1539 enable_propsys
1540 enable_psapi
1541 enable_pstorec
1542 enable_pwrshplugin
1543 enable_qasf
1544 enable_qcap
1545 enable_qdvd
1546 enable_qedit
1547 enable_qmgr
1548 enable_qmgrprxy
1549 enable_quartz
1550 enable_query
1551 enable_qwave
1552 enable_rasapi32
1553 enable_rasdlg
1554 enable_regapi
1555 enable_resutils
1556 enable_riched20
1557 enable_riched32
1558 enable_rpcrt4
1559 enable_rsabase
1560 enable_rsaenh
1561 enable_rstrtmgr
1562 enable_rtutils
1563 enable_rtworkq
1564 enable_samlib
1565 enable_sane_ds
1566 enable_sapi
1567 enable_sas
1568 enable_scarddlg
1569 enable_sccbase
1570 enable_schannel
1571 enable_schedsvc
1572 enable_scrobj
1573 enable_scrrun
1574 enable_scsiport_sys
1575 enable_sechost
1576 enable_secur32
1577 enable_security
1578 enable_sensapi
1579 enable_serialui
1580 enable_setupapi
1581 enable_sfc
1582 enable_sfc_os
1583 enable_shcore
1584 enable_shdoclc
1585 enable_shdocvw
1586 enable_shell32
1587 enable_shfolder
1588 enable_shlwapi
1589 enable_slbcsp
1590 enable_slc
1591 enable_snmpapi
1592 enable_softpub
1593 enable_spoolss
1594 enable_srclient
1595 enable_sspicli
1596 enable_stdole2_tlb
1597 enable_stdole32_tlb
1598 enable_sti
1599 enable_strmbase
1600 enable_strmdll
1601 enable_strmiids
1602 enable_svrapi
1603 enable_sxs
1604 enable_t2embed
1605 enable_tapi32
1606 enable_taskschd
1607 enable_tdh
1608 enable_tdi_sys
1609 enable_traffic
1610 enable_twain_32
1611 enable_tzres
1612 enable_ucrtbase
1613 enable_uianimation
1614 enable_uiautomationcore
1615 enable_uiribbon
1616 enable_unicows
1617 enable_updspapi
1618 enable_url
1619 enable_urlmon
1620 enable_usbd_sys
1621 enable_user32
1622 enable_userenv
1623 enable_usp10
1624 enable_utildll
1625 enable_uuid
1626 enable_uxtheme
1627 enable_vbscript
1628 enable_vcomp
1629 enable_vcomp100
1630 enable_vcomp110
1631 enable_vcomp120
1632 enable_vcomp140
1633 enable_vcomp90
1634 enable_vcruntime140
1635 enable_vcruntime140_1
1636 enable_vdmdbg
1637 enable_version
1638 enable_vga
1639 enable_virtdisk
1640 enable_vssapi
1641 enable_vulkan_1
1642 enable_wbemdisp
1643 enable_wbemprox
1644 enable_wbemuuid
1645 enable_wdscore
1646 enable_webservices
1647 enable_wer
1648 enable_wevtapi
1649 enable_wiaservc
1650 enable_wimgapi
1651 enable_windowscodecs
1652 enable_windowscodecsext
1653 enable_winealsa_drv
1654 enable_wineandroid_drv
1655 enable_winebus_sys
1656 enable_winecoreaudio_drv
1657 enable_winecrt0
1658 enable_wined3d
1659 enable_winegstreamer
1660 enable_winehid_sys
1661 enable_winejoystick_drv
1662 enable_winemac_drv
1663 enable_winemapi
1664 enable_wineoss_drv
1665 enable_wineps_drv
1666 enable_winepulse_drv
1667 enable_wineqtdecoder
1668 enable_wineusb_sys
1669 enable_winevulkan
1670 enable_winex11_drv
1671 enable_wing32
1672 enable_winhttp
1673 enable_wininet
1674 enable_winmm
1675 enable_winnls32
1676 enable_winscard
1677 enable_winspool_drv
1678 enable_winsta
1679 enable_wintab32
1680 enable_wintrust
1681 enable_winusb
1682 enable_wlanapi
1683 enable_wlanui
1684 enable_wldap32
1685 enable_wmasf
1686 enable_wmcodecdspuuid
1687 enable_wmi
1688 enable_wmiutils
1689 enable_wmp
1690 enable_wmphoto
1691 enable_wmvcore
1692 enable_wnaspi32
1693 enable_wpc
1694 enable_wpcap
1695 enable_ws2_32
1696 enable_wsdapi
1697 enable_wshom_ocx
1698 enable_wsnmp32
1699 enable_wsock32
1700 enable_wtsapi32
1701 enable_wuapi
1702 enable_wuaueng
1703 enable_x3daudio1_0
1704 enable_x3daudio1_1
1705 enable_x3daudio1_2
1706 enable_x3daudio1_3
1707 enable_x3daudio1_4
1708 enable_x3daudio1_5
1709 enable_x3daudio1_6
1710 enable_x3daudio1_7
1711 enable_xactengine3_0
1712 enable_xactengine3_1
1713 enable_xactengine3_2
1714 enable_xactengine3_3
1715 enable_xactengine3_4
1716 enable_xactengine3_5
1717 enable_xactengine3_6
1718 enable_xactengine3_7
1719 enable_xapofx1_1
1720 enable_xapofx1_2
1721 enable_xapofx1_3
1722 enable_xapofx1_4
1723 enable_xapofx1_5
1724 enable_xaudio2_0
1725 enable_xaudio2_1
1726 enable_xaudio2_2
1727 enable_xaudio2_3
1728 enable_xaudio2_4
1729 enable_xaudio2_5
1730 enable_xaudio2_6
1731 enable_xaudio2_7
1732 enable_xaudio2_8
1733 enable_xaudio2_9
1734 enable_xinput1_1
1735 enable_xinput1_2
1736 enable_xinput1_3
1737 enable_xinput1_4
1738 enable_xinput9_1_0
1739 enable_xmllite
1740 enable_xolehlp
1741 enable_xpsprint
1742 enable_xpssvcs
1743 enable_fonts
1744 enable_include
1745 enable_port
1746 enable_wine
1747 enable_wpp
1748 enable_loader
1749 enable_nls
1750 enable_po
1751 enable_arp
1752 enable_aspnet_regiis
1753 enable_attrib
1754 enable_cabarc
1755 enable_cacls
1756 enable_chcp_com
1757 enable_clock
1758 enable_cmd
1759 enable_conhost
1760 enable_control
1761 enable_cscript
1762 enable_dism
1763 enable_dpnsvr
1764 enable_dxdiag
1765 enable_eject
1766 enable_expand
1767 enable_explorer
1768 enable_extrac32
1769 enable_fc
1770 enable_find
1771 enable_findstr
1772 enable_fsutil
1773 enable_hh
1774 enable_hostname
1775 enable_icacls
1776 enable_icinfo
1777 enable_iexplore
1778 enable_ipconfig
1779 enable_lodctr
1780 enable_mofcomp
1781 enable_mshta
1782 enable_msidb
1783 enable_msiexec
1784 enable_msinfo32
1785 enable_net
1786 enable_netsh
1787 enable_netstat
1788 enable_ngen
1789 enable_notepad
1790 enable_oleview
1791 enable_ping
1792 enable_plugplay
1793 enable_powershell
1794 enable_presentationfontcache
1795 enable_progman
1796 enable_reg
1797 enable_regasm
1798 enable_regedit
1799 enable_regini
1800 enable_regsvcs
1801 enable_regsvr32
1802 enable_rpcss
1803 enable_rundll32
1804 enable_sc
1805 enable_schtasks
1806 enable_sdbinst
1807 enable_secedit
1808 enable_servicemodelreg
1809 enable_services
1810 enable_shutdown
1811 enable_spoolsv
1812 enable_start
1813 enable_subst
1814 enable_svchost
1815 enable_systeminfo
1816 enable_taskkill
1817 enable_tasklist
1818 enable_taskmgr
1819 enable_termsv
1820 enable_uninstaller
1821 enable_unlodctr
1822 enable_view
1823 enable_wevtutil
1824 enable_where
1825 enable_whoami
1826 enable_wineboot
1827 enable_winebrowser
1828 enable_winecfg
1829 enable_wineconsole
1830 enable_winedbg
1831 enable_winedevice
1832 enable_winefile
1833 enable_winemenubuilder
1834 enable_winemine
1835 enable_winemsibuilder
1836 enable_winepath
1837 enable_winetest
1838 enable_winhlp32
1839 enable_winmgmt
1840 enable_winver
1841 enable_wmic
1842 enable_wmplayer
1843 enable_wordpad
1844 enable_write
1845 enable_wscript
1846 enable_wuauserv
1847 enable_wusa
1848 enable_xcopy
1849 enable_server
1850 enable_tools
1851 enable_sfnt2fon
1852 enable_widl
1853 enable_winebuild
1854 enable_winedump
1855 enable_winegcc
1856 enable_winemaker
1857 enable_wmc
1858 enable_wrc
1860 ac_precious_vars='build_alias
1861 host_alias
1862 target_alias
1864 CFLAGS
1865 LDFLAGS
1866 LIBS
1867 CPPFLAGS
1869 CXXFLAGS
1872 OBJC
1873 OBJCFLAGS
1874 OBJCPP
1875 XMKMF
1876 XML2_CFLAGS
1877 XML2_LIBS
1878 XSLT_CFLAGS
1879 XSLT_LIBS
1880 INOTIFY_CFLAGS
1881 INOTIFY_LIBS
1882 DBUS_CFLAGS
1883 DBUS_LIBS
1884 HAL_CFLAGS
1885 HAL_LIBS
1886 GNUTLS_CFLAGS
1887 GNUTLS_LIBS
1888 SANE_CFLAGS
1889 SANE_LIBS
1890 USB_CFLAGS
1891 USB_LIBS
1892 GPHOTO2_CFLAGS
1893 GPHOTO2_LIBS
1894 GPHOTO2_PORT_CFLAGS
1895 GPHOTO2_PORT_LIBS
1896 LCMS2_CFLAGS
1897 LCMS2_LIBS
1898 FREETYPE_CFLAGS
1899 FREETYPE_LIBS
1900 PULSE_CFLAGS
1901 PULSE_LIBS
1902 GSTREAMER_CFLAGS
1903 GSTREAMER_LIBS
1904 UDEV_CFLAGS
1905 UDEV_LIBS
1906 UNWIND_CFLAGS
1907 UNWIND_LIBS
1908 SDL2_CFLAGS
1909 SDL2_LIBS
1910 FAUDIO_CFLAGS
1911 FAUDIO_LIBS
1912 CAPI20_CFLAGS
1913 CAPI20_LIBS
1914 CUPS_CFLAGS
1915 CUPS_LIBS
1916 FONTCONFIG_CFLAGS
1917 FONTCONFIG_LIBS
1918 KRB5_CFLAGS
1919 KRB5_LIBS
1920 GSSAPI_CFLAGS
1921 GSSAPI_LIBS
1922 JPEG_CFLAGS
1923 JPEG_LIBS
1924 PNG_CFLAGS
1925 PNG_LIBS
1926 TIFF_CFLAGS
1927 TIFF_LIBS
1928 MPG123_CFLAGS
1929 MPG123_LIBS
1930 NETAPI_CFLAGS
1931 NETAPI_LIBS
1932 VKD3D_CFLAGS
1933 VKD3D_LIBS
1934 LDAP_CFLAGS
1935 LDAP_LIBS'
1938 # Initialize some variables set by options.
1939 ac_init_help=
1940 ac_init_version=false
1941 ac_unrecognized_opts=
1942 ac_unrecognized_sep=
1943 # The variables have the same names as the options, with
1944 # dashes changed to underlines.
1945 cache_file=/dev/null
1946 exec_prefix=NONE
1947 no_create=
1948 no_recursion=
1949 prefix=NONE
1950 program_prefix=NONE
1951 program_suffix=NONE
1952 program_transform_name=s,x,x,
1953 silent=
1954 site=
1955 srcdir=
1956 verbose=
1957 x_includes=NONE
1958 x_libraries=NONE
1960 # Installation directory options.
1961 # These are left unexpanded so users can "make install exec_prefix=/foo"
1962 # and all the variables that are supposed to be based on exec_prefix
1963 # by default will actually change.
1964 # Use braces instead of parens because sh, perl, etc. also accept them.
1965 # (The list follows the same order as the GNU Coding Standards.)
1966 bindir='${exec_prefix}/bin'
1967 sbindir='${exec_prefix}/sbin'
1968 libexecdir='${exec_prefix}/libexec'
1969 datarootdir='${prefix}/share'
1970 datadir='${datarootdir}'
1971 sysconfdir='${prefix}/etc'
1972 sharedstatedir='${prefix}/com'
1973 localstatedir='${prefix}/var'
1974 runstatedir='${localstatedir}/run'
1975 includedir='${prefix}/include'
1976 oldincludedir='/usr/include'
1977 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1978 infodir='${datarootdir}/info'
1979 htmldir='${docdir}'
1980 dvidir='${docdir}'
1981 pdfdir='${docdir}'
1982 psdir='${docdir}'
1983 libdir='${exec_prefix}/lib'
1984 localedir='${datarootdir}/locale'
1985 mandir='${datarootdir}/man'
1987 ac_prev=
1988 ac_dashdash=
1989 for ac_option
1991 # If the previous option needs an argument, assign it.
1992 if test -n "$ac_prev"; then
1993 eval $ac_prev=\$ac_option
1994 ac_prev=
1995 continue
1998 case $ac_option in
1999 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2000 *=) ac_optarg= ;;
2001 *) ac_optarg=yes ;;
2002 esac
2004 # Accept the important Cygnus configure options, so we can diagnose typos.
2006 case $ac_dashdash$ac_option in
2008 ac_dashdash=yes ;;
2010 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2011 ac_prev=bindir ;;
2012 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2013 bindir=$ac_optarg ;;
2015 -build | --build | --buil | --bui | --bu)
2016 ac_prev=build_alias ;;
2017 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2018 build_alias=$ac_optarg ;;
2020 -cache-file | --cache-file | --cache-fil | --cache-fi \
2021 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2022 ac_prev=cache_file ;;
2023 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2024 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2025 cache_file=$ac_optarg ;;
2027 --config-cache | -C)
2028 cache_file=config.cache ;;
2030 -datadir | --datadir | --datadi | --datad)
2031 ac_prev=datadir ;;
2032 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2033 datadir=$ac_optarg ;;
2035 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2036 | --dataroo | --dataro | --datar)
2037 ac_prev=datarootdir ;;
2038 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2039 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2040 datarootdir=$ac_optarg ;;
2042 -disable-* | --disable-*)
2043 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2044 # Reject names that are not valid shell variable names.
2045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2046 as_fn_error $? "invalid feature name: $ac_useropt"
2047 ac_useropt_orig=$ac_useropt
2048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2049 case $ac_user_opts in
2051 "enable_$ac_useropt"
2052 "*) ;;
2053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2054 ac_unrecognized_sep=', ';;
2055 esac
2056 eval enable_$ac_useropt=no ;;
2058 -docdir | --docdir | --docdi | --doc | --do)
2059 ac_prev=docdir ;;
2060 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2061 docdir=$ac_optarg ;;
2063 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2064 ac_prev=dvidir ;;
2065 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2066 dvidir=$ac_optarg ;;
2068 -enable-* | --enable-*)
2069 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2070 # Reject names that are not valid shell variable names.
2071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2072 as_fn_error $? "invalid feature name: $ac_useropt"
2073 ac_useropt_orig=$ac_useropt
2074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2075 case $ac_user_opts in
2077 "enable_$ac_useropt"
2078 "*) ;;
2079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2080 ac_unrecognized_sep=', ';;
2081 esac
2082 eval enable_$ac_useropt=\$ac_optarg ;;
2084 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2085 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2086 | --exec | --exe | --ex)
2087 ac_prev=exec_prefix ;;
2088 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2089 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2090 | --exec=* | --exe=* | --ex=*)
2091 exec_prefix=$ac_optarg ;;
2093 -gas | --gas | --ga | --g)
2094 # Obsolete; use --with-gas.
2095 with_gas=yes ;;
2097 -help | --help | --hel | --he | -h)
2098 ac_init_help=long ;;
2099 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2100 ac_init_help=recursive ;;
2101 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2102 ac_init_help=short ;;
2104 -host | --host | --hos | --ho)
2105 ac_prev=host_alias ;;
2106 -host=* | --host=* | --hos=* | --ho=*)
2107 host_alias=$ac_optarg ;;
2109 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2110 ac_prev=htmldir ;;
2111 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2112 | --ht=*)
2113 htmldir=$ac_optarg ;;
2115 -includedir | --includedir | --includedi | --included | --include \
2116 | --includ | --inclu | --incl | --inc)
2117 ac_prev=includedir ;;
2118 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2119 | --includ=* | --inclu=* | --incl=* | --inc=*)
2120 includedir=$ac_optarg ;;
2122 -infodir | --infodir | --infodi | --infod | --info | --inf)
2123 ac_prev=infodir ;;
2124 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2125 infodir=$ac_optarg ;;
2127 -libdir | --libdir | --libdi | --libd)
2128 ac_prev=libdir ;;
2129 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2130 libdir=$ac_optarg ;;
2132 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2133 | --libexe | --libex | --libe)
2134 ac_prev=libexecdir ;;
2135 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2136 | --libexe=* | --libex=* | --libe=*)
2137 libexecdir=$ac_optarg ;;
2139 -localedir | --localedir | --localedi | --localed | --locale)
2140 ac_prev=localedir ;;
2141 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2142 localedir=$ac_optarg ;;
2144 -localstatedir | --localstatedir | --localstatedi | --localstated \
2145 | --localstate | --localstat | --localsta | --localst | --locals)
2146 ac_prev=localstatedir ;;
2147 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2148 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2149 localstatedir=$ac_optarg ;;
2151 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2152 ac_prev=mandir ;;
2153 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2154 mandir=$ac_optarg ;;
2156 -nfp | --nfp | --nf)
2157 # Obsolete; use --without-fp.
2158 with_fp=no ;;
2160 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2161 | --no-cr | --no-c | -n)
2162 no_create=yes ;;
2164 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2165 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2166 no_recursion=yes ;;
2168 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2169 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2170 | --oldin | --oldi | --old | --ol | --o)
2171 ac_prev=oldincludedir ;;
2172 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2173 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2174 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2175 oldincludedir=$ac_optarg ;;
2177 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2178 ac_prev=prefix ;;
2179 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2180 prefix=$ac_optarg ;;
2182 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2183 | --program-pre | --program-pr | --program-p)
2184 ac_prev=program_prefix ;;
2185 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2186 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2187 program_prefix=$ac_optarg ;;
2189 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2190 | --program-suf | --program-su | --program-s)
2191 ac_prev=program_suffix ;;
2192 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2193 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2194 program_suffix=$ac_optarg ;;
2196 -program-transform-name | --program-transform-name \
2197 | --program-transform-nam | --program-transform-na \
2198 | --program-transform-n | --program-transform- \
2199 | --program-transform | --program-transfor \
2200 | --program-transfo | --program-transf \
2201 | --program-trans | --program-tran \
2202 | --progr-tra | --program-tr | --program-t)
2203 ac_prev=program_transform_name ;;
2204 -program-transform-name=* | --program-transform-name=* \
2205 | --program-transform-nam=* | --program-transform-na=* \
2206 | --program-transform-n=* | --program-transform-=* \
2207 | --program-transform=* | --program-transfor=* \
2208 | --program-transfo=* | --program-transf=* \
2209 | --program-trans=* | --program-tran=* \
2210 | --progr-tra=* | --program-tr=* | --program-t=*)
2211 program_transform_name=$ac_optarg ;;
2213 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2214 ac_prev=pdfdir ;;
2215 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2216 pdfdir=$ac_optarg ;;
2218 -psdir | --psdir | --psdi | --psd | --ps)
2219 ac_prev=psdir ;;
2220 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2221 psdir=$ac_optarg ;;
2223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2224 | -silent | --silent | --silen | --sile | --sil)
2225 silent=yes ;;
2227 -runstatedir | --runstatedir | --runstatedi | --runstated \
2228 | --runstate | --runstat | --runsta | --runst | --runs \
2229 | --run | --ru | --r)
2230 ac_prev=runstatedir ;;
2231 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2232 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2233 | --run=* | --ru=* | --r=*)
2234 runstatedir=$ac_optarg ;;
2236 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2237 ac_prev=sbindir ;;
2238 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2239 | --sbi=* | --sb=*)
2240 sbindir=$ac_optarg ;;
2242 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2243 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2244 | --sharedst | --shareds | --shared | --share | --shar \
2245 | --sha | --sh)
2246 ac_prev=sharedstatedir ;;
2247 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2248 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2249 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2250 | --sha=* | --sh=*)
2251 sharedstatedir=$ac_optarg ;;
2253 -site | --site | --sit)
2254 ac_prev=site ;;
2255 -site=* | --site=* | --sit=*)
2256 site=$ac_optarg ;;
2258 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2259 ac_prev=srcdir ;;
2260 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2261 srcdir=$ac_optarg ;;
2263 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2264 | --syscon | --sysco | --sysc | --sys | --sy)
2265 ac_prev=sysconfdir ;;
2266 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2267 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2268 sysconfdir=$ac_optarg ;;
2270 -target | --target | --targe | --targ | --tar | --ta | --t)
2271 ac_prev=target_alias ;;
2272 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2273 target_alias=$ac_optarg ;;
2275 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2276 verbose=yes ;;
2278 -version | --version | --versio | --versi | --vers | -V)
2279 ac_init_version=: ;;
2281 -with-* | --with-*)
2282 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2283 # Reject names that are not valid shell variable names.
2284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2285 as_fn_error $? "invalid package name: $ac_useropt"
2286 ac_useropt_orig=$ac_useropt
2287 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2288 case $ac_user_opts in
2290 "with_$ac_useropt"
2291 "*) ;;
2292 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2293 ac_unrecognized_sep=', ';;
2294 esac
2295 eval with_$ac_useropt=\$ac_optarg ;;
2297 -without-* | --without-*)
2298 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2299 # Reject names that are not valid shell variable names.
2300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2301 as_fn_error $? "invalid package name: $ac_useropt"
2302 ac_useropt_orig=$ac_useropt
2303 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2304 case $ac_user_opts in
2306 "with_$ac_useropt"
2307 "*) ;;
2308 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2309 ac_unrecognized_sep=', ';;
2310 esac
2311 eval with_$ac_useropt=no ;;
2313 --x)
2314 # Obsolete; use --with-x.
2315 with_x=yes ;;
2317 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2318 | --x-incl | --x-inc | --x-in | --x-i)
2319 ac_prev=x_includes ;;
2320 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2321 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2322 x_includes=$ac_optarg ;;
2324 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2325 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2326 ac_prev=x_libraries ;;
2327 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2328 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2329 x_libraries=$ac_optarg ;;
2331 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2332 Try \`$0 --help' for more information"
2335 *=*)
2336 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2337 # Reject names that are not valid shell variable names.
2338 case $ac_envvar in #(
2339 '' | [0-9]* | *[!_$as_cr_alnum]* )
2340 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2341 esac
2342 eval $ac_envvar=\$ac_optarg
2343 export $ac_envvar ;;
2346 # FIXME: should be removed in autoconf 3.0.
2347 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2348 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2349 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2350 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2353 esac
2354 done
2356 if test -n "$ac_prev"; then
2357 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2358 as_fn_error $? "missing argument to $ac_option"
2361 if test -n "$ac_unrecognized_opts"; then
2362 case $enable_option_checking in
2363 no) ;;
2364 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2365 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2366 esac
2369 # Check all directory arguments for consistency.
2370 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2371 datadir sysconfdir sharedstatedir localstatedir includedir \
2372 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2373 libdir localedir mandir runstatedir
2375 eval ac_val=\$$ac_var
2376 # Remove trailing slashes.
2377 case $ac_val in
2378 */ )
2379 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2380 eval $ac_var=\$ac_val;;
2381 esac
2382 # Be sure to have absolute directory names.
2383 case $ac_val in
2384 [\\/$]* | ?:[\\/]* ) continue;;
2385 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2386 esac
2387 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2388 done
2390 # There might be people who depend on the old broken behavior: `$host'
2391 # used to hold the argument of --host etc.
2392 # FIXME: To remove some day.
2393 build=$build_alias
2394 host=$host_alias
2395 target=$target_alias
2397 # FIXME: To remove some day.
2398 if test "x$host_alias" != x; then
2399 if test "x$build_alias" = x; then
2400 cross_compiling=maybe
2401 elif test "x$build_alias" != "x$host_alias"; then
2402 cross_compiling=yes
2406 ac_tool_prefix=
2407 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2409 test "$silent" = yes && exec 6>/dev/null
2412 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2413 ac_ls_di=`ls -di .` &&
2414 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2415 as_fn_error $? "working directory cannot be determined"
2416 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2417 as_fn_error $? "pwd does not report name of working directory"
2420 # Find the source files, if location was not specified.
2421 if test -z "$srcdir"; then
2422 ac_srcdir_defaulted=yes
2423 # Try the directory containing this script, then the parent directory.
2424 ac_confdir=`$as_dirname -- "$as_myself" ||
2425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2426 X"$as_myself" : 'X\(//\)[^/]' \| \
2427 X"$as_myself" : 'X\(//\)$' \| \
2428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2429 $as_echo X"$as_myself" |
2430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2431 s//\1/
2434 /^X\(\/\/\)[^/].*/{
2435 s//\1/
2438 /^X\(\/\/\)$/{
2439 s//\1/
2442 /^X\(\/\).*/{
2443 s//\1/
2446 s/.*/./; q'`
2447 srcdir=$ac_confdir
2448 if test ! -r "$srcdir/$ac_unique_file"; then
2449 srcdir=..
2451 else
2452 ac_srcdir_defaulted=no
2454 if test ! -r "$srcdir/$ac_unique_file"; then
2455 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2456 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2458 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2459 ac_abs_confdir=`(
2460 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2461 pwd)`
2462 # When building in place, set srcdir=.
2463 if test "$ac_abs_confdir" = "$ac_pwd"; then
2464 srcdir=.
2466 # Remove unnecessary trailing slashes from srcdir.
2467 # Double slashes in file names in object file debugging info
2468 # mess up M-x gdb in Emacs.
2469 case $srcdir in
2470 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2471 esac
2472 for ac_var in $ac_precious_vars; do
2473 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2474 eval ac_env_${ac_var}_value=\$${ac_var}
2475 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2476 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2477 done
2480 # Report the --help message.
2482 if test "$ac_init_help" = "long"; then
2483 # Omit some internal or obsolete options to make the list less imposing.
2484 # This message is too long to be a string in the A/UX 3.1 sh.
2485 cat <<_ACEOF
2486 \`configure' configures Wine 5.15 to adapt to many kinds of systems.
2488 Usage: $0 [OPTION]... [VAR=VALUE]...
2490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2491 VAR=VALUE. See below for descriptions of some of the useful variables.
2493 Defaults for the options are specified in brackets.
2495 Configuration:
2496 -h, --help display this help and exit
2497 --help=short display options specific to this package
2498 --help=recursive display the short help of all the included packages
2499 -V, --version display version information and exit
2500 -q, --quiet, --silent do not print \`checking ...' messages
2501 --cache-file=FILE cache test results in FILE [disabled]
2502 -C, --config-cache alias for \`--cache-file=config.cache'
2503 -n, --no-create do not create output files
2504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2506 Installation directories:
2507 --prefix=PREFIX install architecture-independent files in PREFIX
2508 [$ac_default_prefix]
2509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2510 [PREFIX]
2512 By default, \`make install' will install all the files in
2513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2515 for instance \`--prefix=\$HOME'.
2517 For better control, use the options below.
2519 Fine tuning of the installation directories:
2520 --bindir=DIR user executables [EPREFIX/bin]
2521 --sbindir=DIR system admin executables [EPREFIX/sbin]
2522 --libexecdir=DIR program executables [EPREFIX/libexec]
2523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2526 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2527 --libdir=DIR object code libraries [EPREFIX/lib]
2528 --includedir=DIR C header files [PREFIX/include]
2529 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2530 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2531 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2532 --infodir=DIR info documentation [DATAROOTDIR/info]
2533 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2534 --mandir=DIR man documentation [DATAROOTDIR/man]
2535 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2536 --htmldir=DIR html documentation [DOCDIR]
2537 --dvidir=DIR dvi documentation [DOCDIR]
2538 --pdfdir=DIR pdf documentation [DOCDIR]
2539 --psdir=DIR ps documentation [DOCDIR]
2540 _ACEOF
2542 cat <<\_ACEOF
2544 X features:
2545 --x-includes=DIR X include files are in DIR
2546 --x-libraries=DIR X library files are in DIR
2548 System types:
2549 --build=BUILD configure for building on BUILD [guessed]
2550 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2551 _ACEOF
2554 if test -n "$ac_init_help"; then
2555 case $ac_init_help in
2556 short | recursive ) echo "Configuration of Wine 5.15:";;
2557 esac
2558 cat <<\_ACEOF
2560 Optional Features:
2561 --disable-option-checking ignore unrecognized --enable/--with options
2562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2564 --disable-win16 do not include Win16 support
2565 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2566 binaries)
2567 --disable-tests do not build the regression tests
2568 --enable-maintainer-mode
2569 enable maintainer-specific build rules
2570 --enable-werror treat compilation warnings as errors
2571 --disable-largefile omit support for large files
2573 Optional Packages:
2574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2576 --without-alsa do not use the Alsa sound support
2577 --without-capi do not use CAPI (ISDN support)
2578 --without-cms do not use CMS (color management support)
2579 --without-coreaudio do not use the CoreAudio sound support
2580 --without-cups do not use CUPS
2581 --without-curses do not use (n)curses
2582 --without-dbus do not use DBus (dynamic device support)
2583 --without-faudio do not use FAudio (XAudio2 support)
2584 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2585 --without-fontconfig do not use fontconfig
2586 --without-freetype do not use the FreeType library
2587 --without-gettext do not use gettext
2588 --with-gettextpo use the GetTextPO library to rebuild po files
2589 --without-gphoto do not use gphoto (Digital Camera support)
2590 --without-glu do not use the GLU library
2591 --without-gnutls do not use GnuTLS (schannel support)
2592 --without-gsm do not use libgsm (GSM 06.10 codec support)
2593 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2594 --without-gstreamer do not use GStreamer (codecs support)
2595 --without-hal do not use HAL (dynamic device support)
2596 --without-inotify do not use inotify (filesystem change notifications)
2597 --without-jpeg do not use JPEG
2598 --without-krb5 do not use krb5 (Kerberos)
2599 --without-ldap do not use LDAP
2600 --without-mingw do not use the MinGW cross-compiler
2601 --without-mpg123 do not use the mpg123 library
2602 --without-netapi do not use the Samba NetAPI library
2603 --without-openal do not use OpenAL
2604 --without-opencl do not use OpenCL
2605 --without-opengl do not use OpenGL
2606 --without-osmesa do not use the OSMesa library
2607 --without-oss do not use the OSS sound support
2608 --without-pcap do not use the Packet Capture library
2609 --without-png do not use PNG
2610 --without-pthread do not use the pthread library
2611 --without-pulse do not use PulseAudio sound support
2612 --without-quicktime do not use QuickTime support
2613 --without-sane do not use SANE (scanner support)
2614 --without-sdl do not use SDL
2615 --without-tiff do not use TIFF
2616 --without-udev do not use udev (plug and play support)
2617 --without-unwind do not use the libunwind library (exception
2618 handling)
2619 --without-usb do not use the libusb library
2620 --without-v4l2 do not use v4l2 (video capture)
2621 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2622 --without-vulkan do not use Vulkan
2623 --without-xcomposite do not use the Xcomposite extension
2624 --without-xcursor do not use the Xcursor extension
2625 --without-xfixes do not use Xfixes for clipboard change notifications
2626 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2627 --without-xinput do not use the Xinput extension
2628 --without-xinput2 do not use the Xinput 2 extension
2629 --without-xml do not use XML
2630 --without-xrandr do not use Xrandr (multi-monitor support)
2631 --without-xrender do not use the Xrender extension
2632 --without-xshape do not use the Xshape extension
2633 --without-xshm do not use XShm (shared memory extension)
2634 --without-xslt do not use XSLT
2635 --without-xxf86vm do not use XFree video mode extension
2636 --with-wine-tools=DIR use Wine tools from directory DIR
2637 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2638 --with-x use the X Window System
2640 Some influential environment variables:
2641 CC C compiler command
2642 CFLAGS C compiler flags
2643 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2644 nonstandard directory <lib dir>
2645 LIBS libraries to pass to the linker, e.g. -l<library>
2646 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2647 you have headers in a nonstandard directory <include dir>
2648 CXX C++ compiler command
2649 CXXFLAGS C++ compiler flags
2650 CPP C preprocessor
2651 OBJC Objective C compiler command
2652 OBJCFLAGS Objective C compiler flags
2653 OBJCPP Objective C preprocessor
2654 XMKMF Path to xmkmf, Makefile generator for X Window System
2655 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2656 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2657 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2658 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2659 INOTIFY_CFLAGS
2660 C compiler flags for libinotify, overriding pkg-config
2661 INOTIFY_LIBS
2662 Linker flags for libinotify, overriding pkg-config
2663 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2664 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2665 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2666 HAL_LIBS Linker flags for hal, overriding pkg-config
2667 GNUTLS_CFLAGS
2668 C compiler flags for gnutls, overriding pkg-config
2669 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2670 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2671 SANE_LIBS Linker flags for libsane, overriding pkg-config
2672 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2673 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2674 GPHOTO2_CFLAGS
2675 C compiler flags for libgphoto2, overriding pkg-config
2676 GPHOTO2_LIBS
2677 Linker flags for libgphoto2, overriding pkg-config
2678 GPHOTO2_PORT_CFLAGS
2679 C compiler flags for libgphoto2_port, overriding pkg-config
2680 GPHOTO2_PORT_LIBS
2681 Linker flags for libgphoto2_port, overriding pkg-config
2682 LCMS2_CFLAGS
2683 C compiler flags for lcms2, overriding pkg-config
2684 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2685 FREETYPE_CFLAGS
2686 C compiler flags for freetype2, overriding pkg-config
2687 FREETYPE_LIBS
2688 Linker flags for freetype2, overriding pkg-config
2689 PULSE_CFLAGS
2690 C compiler flags for libpulse, overriding pkg-config
2691 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2692 GSTREAMER_CFLAGS
2693 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2694 gstreamer-audio-1.0, overriding pkg-config
2695 GSTREAMER_LIBS
2696 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2697 gstreamer-audio-1.0, overriding pkg-config
2698 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2699 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2700 UNWIND_CFLAGS
2701 C compiler flags for libunwind, overriding pkg-config
2702 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2703 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2704 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2705 FAUDIO_CFLAGS
2706 C compiler flags for faudio, overriding pkg-config
2707 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2708 CAPI20_CFLAGS
2709 C compiler flags for capi20, overriding pkg-config
2710 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2711 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2712 CUPS_LIBS Linker flags for cups, overriding pkg-config
2713 FONTCONFIG_CFLAGS
2714 C compiler flags for fontconfig, overriding pkg-config
2715 FONTCONFIG_LIBS
2716 Linker flags for fontconfig, overriding pkg-config
2717 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2718 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2719 GSSAPI_CFLAGS
2720 C compiler flags for krb5-gssapi, overriding pkg-config
2721 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2722 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2723 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2724 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2725 PNG_LIBS Linker flags for libpng, overriding pkg-config
2726 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2727 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2728 MPG123_CFLAGS
2729 C compiler flags for libmpg123, overriding pkg-config
2730 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2731 NETAPI_CFLAGS
2732 C compiler flags for netapi, overriding pkg-config
2733 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2734 VKD3D_CFLAGS
2735 C compiler flags for libvkd3d, overriding pkg-config
2736 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2737 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2738 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2740 Use these variables to override the choices made by `configure' or to help
2741 it to find libraries and programs with nonstandard names/locations.
2743 Report bugs to <wine-devel@winehq.org>.
2744 Wine home page: <https://www.winehq.org>.
2745 _ACEOF
2746 ac_status=$?
2749 if test "$ac_init_help" = "recursive"; then
2750 # If there are subdirs, report their specific --help.
2751 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2752 test -d "$ac_dir" ||
2753 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2754 continue
2755 ac_builddir=.
2757 case "$ac_dir" in
2758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2760 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2761 # A ".." for each directory in $ac_dir_suffix.
2762 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2763 case $ac_top_builddir_sub in
2764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2766 esac ;;
2767 esac
2768 ac_abs_top_builddir=$ac_pwd
2769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2770 # for backward compatibility:
2771 ac_top_builddir=$ac_top_build_prefix
2773 case $srcdir in
2774 .) # We are building in place.
2775 ac_srcdir=.
2776 ac_top_srcdir=$ac_top_builddir_sub
2777 ac_abs_top_srcdir=$ac_pwd ;;
2778 [\\/]* | ?:[\\/]* ) # Absolute name.
2779 ac_srcdir=$srcdir$ac_dir_suffix;
2780 ac_top_srcdir=$srcdir
2781 ac_abs_top_srcdir=$srcdir ;;
2782 *) # Relative name.
2783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2784 ac_top_srcdir=$ac_top_build_prefix$srcdir
2785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2786 esac
2787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2789 cd "$ac_dir" || { ac_status=$?; continue; }
2790 # Check for guested configure.
2791 if test -f "$ac_srcdir/configure.gnu"; then
2792 echo &&
2793 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2794 elif test -f "$ac_srcdir/configure"; then
2795 echo &&
2796 $SHELL "$ac_srcdir/configure" --help=recursive
2797 else
2798 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2799 fi || ac_status=$?
2800 cd "$ac_pwd" || { ac_status=$?; break; }
2801 done
2804 test -n "$ac_init_help" && exit $ac_status
2805 if $ac_init_version; then
2806 cat <<\_ACEOF
2807 Wine configure 5.15
2808 generated by GNU Autoconf 2.69
2810 Copyright (C) 2012 Free Software Foundation, Inc.
2811 This configure script is free software; the Free Software Foundation
2812 gives unlimited permission to copy, distribute and modify it.
2813 _ACEOF
2814 exit
2817 ## ------------------------ ##
2818 ## Autoconf initialization. ##
2819 ## ------------------------ ##
2821 # ac_fn_c_try_compile LINENO
2822 # --------------------------
2823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2824 ac_fn_c_try_compile ()
2826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827 rm -f conftest.$ac_objext
2828 if { { ac_try="$ac_compile"
2829 case "(($ac_try" in
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2832 esac
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_compile") 2>conftest.err
2836 ac_status=$?
2837 if test -s conftest.err; then
2838 grep -v '^ *+' conftest.err >conftest.er1
2839 cat conftest.er1 >&5
2840 mv -f conftest.er1 conftest.err
2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843 test $ac_status = 0; } && {
2844 test -z "$ac_c_werror_flag" ||
2845 test ! -s conftest.err
2846 } && test -s conftest.$ac_objext; then :
2847 ac_retval=0
2848 else
2849 $as_echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2852 ac_retval=1
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_compile
2859 # ac_fn_cxx_try_compile LINENO
2860 # ----------------------------
2861 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2862 ac_fn_cxx_try_compile ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 rm -f conftest.$ac_objext
2866 if { { ac_try="$ac_compile"
2867 case "(($ac_try" in
2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2870 esac
2871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2872 $as_echo "$ac_try_echo"; } >&5
2873 (eval "$ac_compile") 2>conftest.err
2874 ac_status=$?
2875 if test -s conftest.err; then
2876 grep -v '^ *+' conftest.err >conftest.er1
2877 cat conftest.er1 >&5
2878 mv -f conftest.er1 conftest.err
2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2881 test $ac_status = 0; } && {
2882 test -z "$ac_cxx_werror_flag" ||
2883 test ! -s conftest.err
2884 } && test -s conftest.$ac_objext; then :
2885 ac_retval=0
2886 else
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 ac_retval=1
2892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2893 as_fn_set_status $ac_retval
2895 } # ac_fn_cxx_try_compile
2897 # ac_fn_c_try_link LINENO
2898 # -----------------------
2899 # Try to link conftest.$ac_ext, and return whether this succeeded.
2900 ac_fn_c_try_link ()
2902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2903 rm -f conftest.$ac_objext conftest$ac_exeext
2904 if { { ac_try="$ac_link"
2905 case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908 esac
2909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2910 $as_echo "$ac_try_echo"; } >&5
2911 (eval "$ac_link") 2>conftest.err
2912 ac_status=$?
2913 if test -s conftest.err; then
2914 grep -v '^ *+' conftest.err >conftest.er1
2915 cat conftest.er1 >&5
2916 mv -f conftest.er1 conftest.err
2918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2919 test $ac_status = 0; } && {
2920 test -z "$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 } && test -s conftest$ac_exeext && {
2923 test "$cross_compiling" = yes ||
2924 test -x conftest$ac_exeext
2925 }; then :
2926 ac_retval=0
2927 else
2928 $as_echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 ac_retval=1
2933 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2934 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2935 # interfere with the next link command; also delete a directory that is
2936 # left behind by Apple's compiler. We do this before executing the actions.
2937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 as_fn_set_status $ac_retval
2941 } # ac_fn_c_try_link
2943 # ac_fn_c_try_cpp LINENO
2944 # ----------------------
2945 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2946 ac_fn_c_try_cpp ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 if { { ac_try="$ac_cpp conftest.$ac_ext"
2950 case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953 esac
2954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2955 $as_echo "$ac_try_echo"; } >&5
2956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2957 ac_status=$?
2958 if test -s conftest.err; then
2959 grep -v '^ *+' conftest.err >conftest.er1
2960 cat conftest.er1 >&5
2961 mv -f conftest.er1 conftest.err
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; } > conftest.i && {
2965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2966 test ! -s conftest.err
2967 }; then :
2968 ac_retval=0
2969 else
2970 $as_echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 ac_retval=1
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 as_fn_set_status $ac_retval
2978 } # ac_fn_c_try_cpp
2980 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2981 # -------------------------------------------------------
2982 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2983 # the include files in INCLUDES and setting the cache variable VAR
2984 # accordingly.
2985 ac_fn_c_check_header_mongrel ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 if eval \${$3+:} false; then :
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2990 $as_echo_n "checking for $2... " >&6; }
2991 if eval \${$3+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 eval ac_res=\$$3
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2996 $as_echo "$ac_res" >&6; }
2997 else
2998 # Is the header compilable?
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3000 $as_echo_n "checking $2 usability... " >&6; }
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3004 #include <$2>
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"; then :
3007 ac_header_compiler=yes
3008 else
3009 ac_header_compiler=no
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3013 $as_echo "$ac_header_compiler" >&6; }
3015 # Is the header present?
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3017 $as_echo_n "checking $2 presence... " >&6; }
3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h. */
3020 #include <$2>
3021 _ACEOF
3022 if ac_fn_c_try_cpp "$LINENO"; then :
3023 ac_header_preproc=yes
3024 else
3025 ac_header_preproc=no
3027 rm -f conftest.err conftest.i conftest.$ac_ext
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3029 $as_echo "$ac_header_preproc" >&6; }
3031 # So? What about this header?
3032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3033 yes:no: )
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3035 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3037 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3039 no:yes:* )
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3041 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3043 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3045 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3047 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3049 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3050 ( $as_echo "## ------------------------------------ ##
3051 ## Report this to wine-devel@winehq.org ##
3052 ## ------------------------------------ ##"
3053 ) | sed "s/^/$as_me: WARNING: /" >&2
3055 esac
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3057 $as_echo_n "checking for $2... " >&6; }
3058 if eval \${$3+:} false; then :
3059 $as_echo_n "(cached) " >&6
3060 else
3061 eval "$3=\$ac_header_compiler"
3063 eval ac_res=\$$3
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 } # ac_fn_c_check_header_mongrel
3071 # ac_fn_c_try_run LINENO
3072 # ----------------------
3073 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3074 # that executables *can* be run.
3075 ac_fn_c_try_run ()
3077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3078 if { { ac_try="$ac_link"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_link") 2>&5
3086 ac_status=$?
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3089 { { case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_try") 2>&5
3096 ac_status=$?
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }; }; then :
3099 ac_retval=0
3100 else
3101 $as_echo "$as_me: program exited with status $ac_status" >&5
3102 $as_echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 ac_retval=$ac_status
3107 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3109 as_fn_set_status $ac_retval
3111 } # ac_fn_c_try_run
3113 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3114 # -------------------------------------------------------
3115 # Tests whether HEADER exists and can be compiled using the include files in
3116 # INCLUDES, setting the cache variable VAR accordingly.
3117 ac_fn_c_check_header_compile ()
3119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3121 $as_echo_n "checking for $2... " >&6; }
3122 if eval \${$3+:} false; then :
3123 $as_echo_n "(cached) " >&6
3124 else
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3128 #include <$2>
3129 _ACEOF
3130 if ac_fn_c_try_compile "$LINENO"; then :
3131 eval "$3=yes"
3132 else
3133 eval "$3=no"
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 eval ac_res=\$$3
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3139 $as_echo "$ac_res" >&6; }
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 } # ac_fn_c_check_header_compile
3144 # ac_fn_objc_try_compile LINENO
3145 # -----------------------------
3146 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3147 ac_fn_objc_try_compile ()
3149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3150 rm -f conftest.$ac_objext
3151 if { { ac_try="$ac_compile"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_compile") 2>conftest.err
3159 ac_status=$?
3160 if test -s conftest.err; then
3161 grep -v '^ *+' conftest.err >conftest.er1
3162 cat conftest.er1 >&5
3163 mv -f conftest.er1 conftest.err
3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166 test $ac_status = 0; } && {
3167 test -z "$ac_objc_werror_flag" ||
3168 test ! -s conftest.err
3169 } && test -s conftest.$ac_objext; then :
3170 ac_retval=0
3171 else
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 ac_retval=1
3177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3178 as_fn_set_status $ac_retval
3180 } # ac_fn_objc_try_compile
3182 # ac_fn_objc_try_cpp LINENO
3183 # -------------------------
3184 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3185 ac_fn_objc_try_cpp ()
3187 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3188 if { { ac_try="$ac_cpp conftest.$ac_ext"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3196 ac_status=$?
3197 if test -s conftest.err; then
3198 grep -v '^ *+' conftest.err >conftest.er1
3199 cat conftest.er1 >&5
3200 mv -f conftest.er1 conftest.err
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; } > conftest.i && {
3204 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3205 test ! -s conftest.err
3206 }; then :
3207 ac_retval=0
3208 else
3209 $as_echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 ac_retval=1
3214 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3215 as_fn_set_status $ac_retval
3217 } # ac_fn_objc_try_cpp
3219 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3220 # ----------------------------------------------------------
3221 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3222 # the include files in INCLUDES and setting the cache variable VAR
3223 # accordingly.
3224 ac_fn_objc_check_header_mongrel ()
3226 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3227 if eval \${$3+:} false; then :
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3229 $as_echo_n "checking for $2... " >&6; }
3230 if eval \${$3+:} false; then :
3231 $as_echo_n "(cached) " >&6
3233 eval ac_res=\$$3
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3235 $as_echo "$ac_res" >&6; }
3236 else
3237 # Is the header compilable?
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3239 $as_echo_n "checking $2 usability... " >&6; }
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3243 #include <$2>
3244 _ACEOF
3245 if ac_fn_objc_try_compile "$LINENO"; then :
3246 ac_header_compiler=yes
3247 else
3248 ac_header_compiler=no
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3252 $as_echo "$ac_header_compiler" >&6; }
3254 # Is the header present?
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3256 $as_echo_n "checking $2 presence... " >&6; }
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3259 #include <$2>
3260 _ACEOF
3261 if ac_fn_objc_try_cpp "$LINENO"; then :
3262 ac_header_preproc=yes
3263 else
3264 ac_header_preproc=no
3266 rm -f conftest.err conftest.i conftest.$ac_ext
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3268 $as_echo "$ac_header_preproc" >&6; }
3270 # So? What about this header?
3271 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3272 yes:no: )
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3274 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3276 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3278 no:yes:* )
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3280 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3282 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3284 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3286 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3288 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3289 ( $as_echo "## ------------------------------------ ##
3290 ## Report this to wine-devel@winehq.org ##
3291 ## ------------------------------------ ##"
3292 ) | sed "s/^/$as_me: WARNING: /" >&2
3294 esac
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3296 $as_echo_n "checking for $2... " >&6; }
3297 if eval \${$3+:} false; then :
3298 $as_echo_n "(cached) " >&6
3299 else
3300 eval "$3=\$ac_header_compiler"
3302 eval ac_res=\$$3
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3304 $as_echo "$ac_res" >&6; }
3306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3308 } # ac_fn_objc_check_header_mongrel
3310 # ac_fn_c_check_func LINENO FUNC VAR
3311 # ----------------------------------
3312 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3313 ac_fn_c_check_func ()
3315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3317 $as_echo_n "checking for $2... " >&6; }
3318 if eval \${$3+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3323 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3325 #define $2 innocuous_$2
3327 /* System header to define __stub macros and hopefully few prototypes,
3328 which can conflict with char $2 (); below.
3329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3330 <limits.h> exists even on freestanding compilers. */
3332 #ifdef __STDC__
3333 # include <limits.h>
3334 #else
3335 # include <assert.h>
3336 #endif
3338 #undef $2
3340 /* Override any GCC internal prototype to avoid an error.
3341 Use char because int might match the return type of a GCC
3342 builtin and then its argument prototype would still apply. */
3343 #ifdef __cplusplus
3344 extern "C"
3345 #endif
3346 char $2 ();
3347 /* The GNU C library defines this for functions which it implements
3348 to always fail with ENOSYS. Some functions are actually named
3349 something starting with __ and the normal name is an alias. */
3350 #if defined __stub_$2 || defined __stub___$2
3351 choke me
3352 #endif
3355 main ()
3357 return $2 ();
3359 return 0;
3361 _ACEOF
3362 if ac_fn_c_try_link "$LINENO"; then :
3363 eval "$3=yes"
3364 else
3365 eval "$3=no"
3367 rm -f core conftest.err conftest.$ac_objext \
3368 conftest$ac_exeext conftest.$ac_ext
3370 eval ac_res=\$$3
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3372 $as_echo "$ac_res" >&6; }
3373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3375 } # ac_fn_c_check_func
3377 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3378 # ----------------------------------------------------
3379 # Tries to find if the field MEMBER exists in type AGGR, after including
3380 # INCLUDES, setting cache variable VAR accordingly.
3381 ac_fn_c_check_member ()
3383 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3385 $as_echo_n "checking for $2.$3... " >&6; }
3386 if eval \${$4+:} false; then :
3387 $as_echo_n "(cached) " >&6
3388 else
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3393 main ()
3395 static $2 ac_aggr;
3396 if (ac_aggr.$3)
3397 return 0;
3399 return 0;
3401 _ACEOF
3402 if ac_fn_c_try_compile "$LINENO"; then :
3403 eval "$4=yes"
3404 else
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3409 main ()
3411 static $2 ac_aggr;
3412 if (sizeof ac_aggr.$3)
3413 return 0;
3415 return 0;
3417 _ACEOF
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 eval "$4=yes"
3420 else
3421 eval "$4=no"
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 eval ac_res=\$$4
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3429 $as_echo "$ac_res" >&6; }
3430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3432 } # ac_fn_c_check_member
3434 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3435 # -------------------------------------------
3436 # Tests whether TYPE exists after having included INCLUDES, setting cache
3437 # variable VAR accordingly.
3438 ac_fn_c_check_type ()
3440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3442 $as_echo_n "checking for $2... " >&6; }
3443 if eval \${$3+:} false; then :
3444 $as_echo_n "(cached) " >&6
3445 else
3446 eval "$3=no"
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3451 main ()
3453 if (sizeof ($2))
3454 return 0;
3456 return 0;
3458 _ACEOF
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3464 main ()
3466 if (sizeof (($2)))
3467 return 0;
3469 return 0;
3471 _ACEOF
3472 if ac_fn_c_try_compile "$LINENO"; then :
3474 else
3475 eval "$3=yes"
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 eval ac_res=\$$3
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3483 $as_echo "$ac_res" >&6; }
3484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3486 } # ac_fn_c_check_type
3487 cat >config.log <<_ACEOF
3488 This file contains any messages produced by compilers while
3489 running configure, to aid debugging if configure makes a mistake.
3491 It was created by Wine $as_me 5.15, which was
3492 generated by GNU Autoconf 2.69. Invocation command line was
3494 $ $0 $@
3496 _ACEOF
3497 exec 5>>config.log
3499 cat <<_ASUNAME
3500 ## --------- ##
3501 ## Platform. ##
3502 ## --------- ##
3504 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3505 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3506 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3507 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3508 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3510 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3511 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3513 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3514 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3515 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3516 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3517 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3518 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3519 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3521 _ASUNAME
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH
3526 IFS=$as_save_IFS
3527 test -z "$as_dir" && as_dir=.
3528 $as_echo "PATH: $as_dir"
3529 done
3530 IFS=$as_save_IFS
3532 } >&5
3534 cat >&5 <<_ACEOF
3537 ## ----------- ##
3538 ## Core tests. ##
3539 ## ----------- ##
3541 _ACEOF
3544 # Keep a trace of the command line.
3545 # Strip out --no-create and --no-recursion so they do not pile up.
3546 # Strip out --silent because we don't want to record it for future runs.
3547 # Also quote any args containing shell meta-characters.
3548 # Make two passes to allow for proper duplicate-argument suppression.
3549 ac_configure_args=
3550 ac_configure_args0=
3551 ac_configure_args1=
3552 ac_must_keep_next=false
3553 for ac_pass in 1 2
3555 for ac_arg
3557 case $ac_arg in
3558 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3559 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3560 | -silent | --silent | --silen | --sile | --sil)
3561 continue ;;
3562 *\'*)
3563 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3564 esac
3565 case $ac_pass in
3566 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3568 as_fn_append ac_configure_args1 " '$ac_arg'"
3569 if test $ac_must_keep_next = true; then
3570 ac_must_keep_next=false # Got value, back to normal.
3571 else
3572 case $ac_arg in
3573 *=* | --config-cache | -C | -disable-* | --disable-* \
3574 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3575 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3576 | -with-* | --with-* | -without-* | --without-* | --x)
3577 case "$ac_configure_args0 " in
3578 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3579 esac
3581 -* ) ac_must_keep_next=true ;;
3582 esac
3584 as_fn_append ac_configure_args " '$ac_arg'"
3586 esac
3587 done
3588 done
3589 { ac_configure_args0=; unset ac_configure_args0;}
3590 { ac_configure_args1=; unset ac_configure_args1;}
3592 # When interrupted or exit'd, cleanup temporary files, and complete
3593 # config.log. We remove comments because anyway the quotes in there
3594 # would cause problems or look ugly.
3595 # WARNING: Use '\'' to represent an apostrophe within the trap.
3596 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3597 trap 'exit_status=$?
3598 # Save into config.log some information that might help in debugging.
3600 echo
3602 $as_echo "## ---------------- ##
3603 ## Cache variables. ##
3604 ## ---------------- ##"
3605 echo
3606 # The following way of writing the cache mishandles newlines in values,
3608 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3609 eval ac_val=\$$ac_var
3610 case $ac_val in #(
3611 *${as_nl}*)
3612 case $ac_var in #(
3613 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3614 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3615 esac
3616 case $ac_var in #(
3617 _ | IFS | as_nl) ;; #(
3618 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3619 *) { eval $ac_var=; unset $ac_var;} ;;
3620 esac ;;
3621 esac
3622 done
3623 (set) 2>&1 |
3624 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3625 *${as_nl}ac_space=\ *)
3626 sed -n \
3627 "s/'\''/'\''\\\\'\'''\''/g;
3628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3629 ;; #(
3631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3633 esac |
3634 sort
3636 echo
3638 $as_echo "## ----------------- ##
3639 ## Output variables. ##
3640 ## ----------------- ##"
3641 echo
3642 for ac_var in $ac_subst_vars
3644 eval ac_val=\$$ac_var
3645 case $ac_val in
3646 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3647 esac
3648 $as_echo "$ac_var='\''$ac_val'\''"
3649 done | sort
3650 echo
3652 if test -n "$ac_subst_files"; then
3653 $as_echo "## ------------------- ##
3654 ## File substitutions. ##
3655 ## ------------------- ##"
3656 echo
3657 for ac_var in $ac_subst_files
3659 eval ac_val=\$$ac_var
3660 case $ac_val in
3661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3662 esac
3663 $as_echo "$ac_var='\''$ac_val'\''"
3664 done | sort
3665 echo
3668 if test -s confdefs.h; then
3669 $as_echo "## ----------- ##
3670 ## confdefs.h. ##
3671 ## ----------- ##"
3672 echo
3673 cat confdefs.h
3674 echo
3676 test "$ac_signal" != 0 &&
3677 $as_echo "$as_me: caught signal $ac_signal"
3678 $as_echo "$as_me: exit $exit_status"
3679 } >&5
3680 rm -f core *.core core.conftest.* &&
3681 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3682 exit $exit_status
3684 for ac_signal in 1 2 13 15; do
3685 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3686 done
3687 ac_signal=0
3689 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3690 rm -f -r conftest* confdefs.h
3692 $as_echo "/* confdefs.h */" > confdefs.h
3694 # Predefined preprocessor variables.
3696 cat >>confdefs.h <<_ACEOF
3697 #define PACKAGE_NAME "$PACKAGE_NAME"
3698 _ACEOF
3700 cat >>confdefs.h <<_ACEOF
3701 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3702 _ACEOF
3704 cat >>confdefs.h <<_ACEOF
3705 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3706 _ACEOF
3708 cat >>confdefs.h <<_ACEOF
3709 #define PACKAGE_STRING "$PACKAGE_STRING"
3710 _ACEOF
3712 cat >>confdefs.h <<_ACEOF
3713 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3714 _ACEOF
3716 cat >>confdefs.h <<_ACEOF
3717 #define PACKAGE_URL "$PACKAGE_URL"
3718 _ACEOF
3721 # Let the site file select an alternate cache file if it wants to.
3722 # Prefer an explicitly selected file to automatically selected ones.
3723 ac_site_file1=NONE
3724 ac_site_file2=NONE
3725 if test -n "$CONFIG_SITE"; then
3726 # We do not want a PATH search for config.site.
3727 case $CONFIG_SITE in #((
3728 -*) ac_site_file1=./$CONFIG_SITE;;
3729 */*) ac_site_file1=$CONFIG_SITE;;
3730 *) ac_site_file1=./$CONFIG_SITE;;
3731 esac
3732 elif test "x$prefix" != xNONE; then
3733 ac_site_file1=$prefix/share/config.site
3734 ac_site_file2=$prefix/etc/config.site
3735 else
3736 ac_site_file1=$ac_default_prefix/share/config.site
3737 ac_site_file2=$ac_default_prefix/etc/config.site
3739 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3741 test "x$ac_site_file" = xNONE && continue
3742 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3744 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3745 sed 's/^/| /' "$ac_site_file" >&5
3746 . "$ac_site_file" \
3747 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error $? "failed to load site script $ac_site_file
3750 See \`config.log' for more details" "$LINENO" 5; }
3752 done
3754 if test -r "$cache_file"; then
3755 # Some versions of bash will fail to source /dev/null (special files
3756 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3757 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3759 $as_echo "$as_me: loading cache $cache_file" >&6;}
3760 case $cache_file in
3761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3762 *) . "./$cache_file";;
3763 esac
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3767 $as_echo "$as_me: creating cache $cache_file" >&6;}
3768 >$cache_file
3771 # Check that the precious variables saved in the cache have kept the same
3772 # value.
3773 ac_cache_corrupted=false
3774 for ac_var in $ac_precious_vars; do
3775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3776 eval ac_new_set=\$ac_env_${ac_var}_set
3777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3778 eval ac_new_val=\$ac_env_${ac_var}_value
3779 case $ac_old_set,$ac_new_set in
3780 set,)
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3783 ac_cache_corrupted=: ;;
3784 ,set)
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3787 ac_cache_corrupted=: ;;
3788 ,);;
3790 if test "x$ac_old_val" != "x$ac_new_val"; then
3791 # differences in whitespace do not lead to failure.
3792 ac_old_val_w=`echo x $ac_old_val`
3793 ac_new_val_w=`echo x $ac_new_val`
3794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3797 ac_cache_corrupted=:
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3801 eval $ac_var=\$ac_old_val
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3807 fi;;
3808 esac
3809 # Pass precious variables to config.status.
3810 if test "$ac_new_set" = set; then
3811 case $ac_new_val in
3812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3813 *) ac_arg=$ac_var=$ac_new_val ;;
3814 esac
3815 case " $ac_configure_args " in
3816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3818 esac
3820 done
3821 if $ac_cache_corrupted; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3826 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3828 ## -------------------- ##
3829 ## Main body of script. ##
3830 ## -------------------- ##
3832 ac_ext=c
3833 ac_cpp='$CPP $CPPFLAGS'
3834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 ac_config_headers="$ac_config_headers include/config.h"
3842 ac_aux_dir=
3843 for ac_dir in tools "$srcdir"/tools; do
3844 if test -f "$ac_dir/install-sh"; then
3845 ac_aux_dir=$ac_dir
3846 ac_install_sh="$ac_aux_dir/install-sh -c"
3847 break
3848 elif test -f "$ac_dir/install.sh"; then
3849 ac_aux_dir=$ac_dir
3850 ac_install_sh="$ac_aux_dir/install.sh -c"
3851 break
3852 elif test -f "$ac_dir/shtool"; then
3853 ac_aux_dir=$ac_dir
3854 ac_install_sh="$ac_aux_dir/shtool install -c"
3855 break
3857 done
3858 if test -z "$ac_aux_dir"; then
3859 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3862 # These three variables are undocumented and unsupported,
3863 # and are intended to be withdrawn in a future Autoconf release.
3864 # They can cause serious problems if a builder's source tree is in a directory
3865 # whose full name contains unusual characters.
3866 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3867 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3868 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3872 libwine_version="1.0"
3876 # Check whether --enable-win16 was given.
3877 if test "${enable_win16+set}" = set; then :
3878 enableval=$enable_win16;
3881 # Check whether --enable-win64 was given.
3882 if test "${enable_win64+set}" = set; then :
3883 enableval=$enable_win64;
3886 # Check whether --enable-tests was given.
3887 if test "${enable_tests+set}" = set; then :
3888 enableval=$enable_tests;
3891 # Check whether --enable-maintainer-mode was given.
3892 if test "${enable_maintainer_mode+set}" = set; then :
3893 enableval=$enable_maintainer_mode;
3896 # Check whether --enable-werror was given.
3897 if test "${enable_werror+set}" = set; then :
3898 enableval=$enable_werror;
3903 # Check whether --with-alsa was given.
3904 if test "${with_alsa+set}" = set; then :
3905 withval=$with_alsa;
3909 # Check whether --with-capi was given.
3910 if test "${with_capi+set}" = set; then :
3911 withval=$with_capi;
3915 # Check whether --with-cms was given.
3916 if test "${with_cms+set}" = set; then :
3917 withval=$with_cms;
3921 # Check whether --with-coreaudio was given.
3922 if test "${with_coreaudio+set}" = set; then :
3923 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3927 # Check whether --with-cups was given.
3928 if test "${with_cups+set}" = set; then :
3929 withval=$with_cups;
3933 # Check whether --with-curses was given.
3934 if test "${with_curses+set}" = set; then :
3935 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3939 # Check whether --with-dbus was given.
3940 if test "${with_dbus+set}" = set; then :
3941 withval=$with_dbus;
3945 # Check whether --with-faudio was given.
3946 if test "${with_faudio+set}" = set; then :
3947 withval=$with_faudio;
3951 # Check whether --with-float-abi was given.
3952 if test "${with_float_abi+set}" = set; then :
3953 withval=$with_float_abi;
3957 # Check whether --with-fontconfig was given.
3958 if test "${with_fontconfig+set}" = set; then :
3959 withval=$with_fontconfig;
3963 # Check whether --with-freetype was given.
3964 if test "${with_freetype+set}" = set; then :
3965 withval=$with_freetype;
3969 # Check whether --with-gettext was given.
3970 if test "${with_gettext+set}" = set; then :
3971 withval=$with_gettext;
3975 # Check whether --with-gettextpo was given.
3976 if test "${with_gettextpo+set}" = set; then :
3977 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3981 # Check whether --with-gphoto was given.
3982 if test "${with_gphoto+set}" = set; then :
3983 withval=$with_gphoto;
3987 # Check whether --with-glu was given.
3988 if test "${with_glu+set}" = set; then :
3989 withval=$with_glu;
3993 # Check whether --with-gnutls was given.
3994 if test "${with_gnutls+set}" = set; then :
3995 withval=$with_gnutls;
3999 # Check whether --with-gsm was given.
4000 if test "${with_gsm+set}" = set; then :
4001 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4005 # Check whether --with-gssapi was given.
4006 if test "${with_gssapi+set}" = set; then :
4007 withval=$with_gssapi;
4011 # Check whether --with-gstreamer was given.
4012 if test "${with_gstreamer+set}" = set; then :
4013 withval=$with_gstreamer;
4017 # Check whether --with-hal was given.
4018 if test "${with_hal+set}" = set; then :
4019 withval=$with_hal;
4023 # Check whether --with-inotify was given.
4024 if test "${with_inotify+set}" = set; then :
4025 withval=$with_inotify;
4029 # Check whether --with-jpeg was given.
4030 if test "${with_jpeg+set}" = set; then :
4031 withval=$with_jpeg;
4035 # Check whether --with-krb5 was given.
4036 if test "${with_krb5+set}" = set; then :
4037 withval=$with_krb5;
4041 # Check whether --with-ldap was given.
4042 if test "${with_ldap+set}" = set; then :
4043 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4047 # Check whether --with-mingw was given.
4048 if test "${with_mingw+set}" = set; then :
4049 withval=$with_mingw;
4053 # Check whether --with-mpg123 was given.
4054 if test "${with_mpg123+set}" = set; then :
4055 withval=$with_mpg123;
4059 # Check whether --with-netapi was given.
4060 if test "${with_netapi+set}" = set; then :
4061 withval=$with_netapi;
4065 # Check whether --with-openal was given.
4066 if test "${with_openal+set}" = set; then :
4067 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4071 # Check whether --with-opencl was given.
4072 if test "${with_opencl+set}" = set; then :
4073 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4077 # Check whether --with-opengl was given.
4078 if test "${with_opengl+set}" = set; then :
4079 withval=$with_opengl;
4083 # Check whether --with-osmesa was given.
4084 if test "${with_osmesa+set}" = set; then :
4085 withval=$with_osmesa;
4089 # Check whether --with-oss was given.
4090 if test "${with_oss+set}" = set; then :
4091 withval=$with_oss;
4095 # Check whether --with-pcap was given.
4096 if test "${with_pcap+set}" = set; then :
4097 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4101 # Check whether --with-png was given.
4102 if test "${with_png+set}" = set; then :
4103 withval=$with_png;
4107 # Check whether --with-pthread was given.
4108 if test "${with_pthread+set}" = set; then :
4109 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4113 # Check whether --with-pulse was given.
4114 if test "${with_pulse+set}" = set; then :
4115 withval=$with_pulse;
4119 # Check whether --with-quicktime was given.
4120 if test "${with_quicktime+set}" = set; then :
4121 withval=$with_quicktime;
4125 # Check whether --with-sane was given.
4126 if test "${with_sane+set}" = set; then :
4127 withval=$with_sane;
4131 # Check whether --with-sdl was given.
4132 if test "${with_sdl+set}" = set; then :
4133 withval=$with_sdl;
4137 # Check whether --with-tiff was given.
4138 if test "${with_tiff+set}" = set; then :
4139 withval=$with_tiff;
4143 # Check whether --with-udev was given.
4144 if test "${with_udev+set}" = set; then :
4145 withval=$with_udev;
4149 # Check whether --with-unwind was given.
4150 if test "${with_unwind+set}" = set; then :
4151 withval=$with_unwind;
4155 # Check whether --with-usb was given.
4156 if test "${with_usb+set}" = set; then :
4157 withval=$with_usb;
4161 # Check whether --with-v4l2 was given.
4162 if test "${with_v4l2+set}" = set; then :
4163 withval=$with_v4l2;
4167 # Check whether --with-vkd3d was given.
4168 if test "${with_vkd3d+set}" = set; then :
4169 withval=$with_vkd3d;
4173 # Check whether --with-vulkan was given.
4174 if test "${with_vulkan+set}" = set; then :
4175 withval=$with_vulkan;
4179 # Check whether --with-xcomposite was given.
4180 if test "${with_xcomposite+set}" = set; then :
4181 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4185 # Check whether --with-xcursor was given.
4186 if test "${with_xcursor+set}" = set; then :
4187 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4191 # Check whether --with-xfixes was given.
4192 if test "${with_xfixes+set}" = set; then :
4193 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4197 # Check whether --with-xinerama was given.
4198 if test "${with_xinerama+set}" = set; then :
4199 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4203 # Check whether --with-xinput was given.
4204 if test "${with_xinput+set}" = set; then :
4205 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4209 # Check whether --with-xinput2 was given.
4210 if test "${with_xinput2+set}" = set; then :
4211 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4215 # Check whether --with-xml was given.
4216 if test "${with_xml+set}" = set; then :
4217 withval=$with_xml;
4221 # Check whether --with-xrandr was given.
4222 if test "${with_xrandr+set}" = set; then :
4223 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4227 # Check whether --with-xrender was given.
4228 if test "${with_xrender+set}" = set; then :
4229 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4233 # Check whether --with-xshape was given.
4234 if test "${with_xshape+set}" = set; then :
4235 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4239 # Check whether --with-xshm was given.
4240 if test "${with_xshm+set}" = set; then :
4241 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4245 # Check whether --with-xslt was given.
4246 if test "${with_xslt+set}" = set; then :
4247 withval=$with_xslt;
4251 # Check whether --with-xxf86vm was given.
4252 if test "${with_xxf86vm+set}" = set; then :
4253 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
4258 # Check whether --with-wine-tools was given.
4259 if test "${with_wine_tools+set}" = set; then :
4260 withval=$with_wine_tools;
4264 # Check whether --with-wine64 was given.
4265 if test "${with_wine64+set}" = set; then :
4266 withval=$with_wine64;
4270 # Make sure we can run config.sub.
4271 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4272 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4275 $as_echo_n "checking build system type... " >&6; }
4276 if ${ac_cv_build+:} false; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 ac_build_alias=$build_alias
4280 test "x$ac_build_alias" = x &&
4281 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4282 test "x$ac_build_alias" = x &&
4283 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4284 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4285 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4289 $as_echo "$ac_cv_build" >&6; }
4290 case $ac_cv_build in
4291 *-*-*) ;;
4292 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4293 esac
4294 build=$ac_cv_build
4295 ac_save_IFS=$IFS; IFS='-'
4296 set x $ac_cv_build
4297 shift
4298 build_cpu=$1
4299 build_vendor=$2
4300 shift; shift
4301 # Remember, the first character of IFS is used to create $*,
4302 # except with old shells:
4303 build_os=$*
4304 IFS=$ac_save_IFS
4305 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4309 $as_echo_n "checking host system type... " >&6; }
4310 if ${ac_cv_host+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 if test "x$host_alias" = x; then
4314 ac_cv_host=$ac_cv_build
4315 else
4316 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4317 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4322 $as_echo "$ac_cv_host" >&6; }
4323 case $ac_cv_host in
4324 *-*-*) ;;
4325 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4326 esac
4327 host=$ac_cv_host
4328 ac_save_IFS=$IFS; IFS='-'
4329 set x $ac_cv_host
4330 shift
4331 host_cpu=$1
4332 host_vendor=$2
4333 shift; shift
4334 # Remember, the first character of IFS is used to create $*,
4335 # except with old shells:
4336 host_os=$*
4337 IFS=$ac_save_IFS
4338 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4344 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4345 set x ${MAKE-make}
4346 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4347 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 cat >conftest.make <<\_ACEOF
4351 SHELL = /bin/sh
4352 all:
4353 @echo '@@@%%%=$(MAKE)=@@@%%%'
4354 _ACEOF
4355 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4356 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4357 *@@@%%%=?*=@@@%%%*)
4358 eval ac_cv_prog_make_${ac_make}_set=yes;;
4360 eval ac_cv_prog_make_${ac_make}_set=no;;
4361 esac
4362 rm -f conftest.make
4364 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4366 $as_echo "yes" >&6; }
4367 SET_MAKE=
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4371 SET_MAKE="MAKE=${MAKE-make}"
4374 ac_ext=c
4375 ac_cpp='$CPP $CPPFLAGS'
4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4379 if test -n "$ac_tool_prefix"; then
4380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4381 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_prog_CC+:} false; then :
4385 $as_echo_n "(cached) " >&6
4386 else
4387 if test -n "$CC"; then
4388 ac_cv_prog_CC="$CC" # Let the user override the test.
4389 else
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH
4393 IFS=$as_save_IFS
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 break 2
4401 done
4402 done
4403 IFS=$as_save_IFS
4407 CC=$ac_cv_prog_CC
4408 if test -n "$CC"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4410 $as_echo "$CC" >&6; }
4411 else
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4418 if test -z "$ac_cv_prog_CC"; then
4419 ac_ct_CC=$CC
4420 # Extract the first word of "gcc", so it can be a program name with args.
4421 set dummy gcc; ac_word=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4425 $as_echo_n "(cached) " >&6
4426 else
4427 if test -n "$ac_ct_CC"; then
4428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4429 else
4430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 for as_dir in $PATH
4433 IFS=$as_save_IFS
4434 test -z "$as_dir" && as_dir=.
4435 for ac_exec_ext in '' $ac_executable_extensions; do
4436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4437 ac_cv_prog_ac_ct_CC="gcc"
4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 break 2
4441 done
4442 done
4443 IFS=$as_save_IFS
4447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4448 if test -n "$ac_ct_CC"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4450 $as_echo "$ac_ct_CC" >&6; }
4451 else
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4456 if test "x$ac_ct_CC" = x; then
4457 CC=""
4458 else
4459 case $cross_compiling:$ac_tool_warned in
4460 yes:)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned=yes ;;
4464 esac
4465 CC=$ac_ct_CC
4467 else
4468 CC="$ac_cv_prog_CC"
4471 if test -z "$CC"; then
4472 if test -n "$ac_tool_prefix"; then
4473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4474 set dummy ${ac_tool_prefix}cc; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CC+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$CC"; then
4481 ac_cv_prog_CC="$CC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CC="${ac_tool_prefix}cc"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 CC=$ac_cv_prog_CC
4501 if test -n "$CC"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4503 $as_echo "$CC" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4512 if test -z "$CC"; then
4513 # Extract the first word of "cc", so it can be a program name with args.
4514 set dummy cc; ac_word=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if ${ac_cv_prog_CC+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 if test -n "$CC"; then
4521 ac_cv_prog_CC="$CC" # Let the user override the test.
4522 else
4523 ac_prog_rejected=no
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4532 ac_prog_rejected=yes
4533 continue
4535 ac_cv_prog_CC="cc"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 break 2
4539 done
4540 done
4541 IFS=$as_save_IFS
4543 if test $ac_prog_rejected = yes; then
4544 # We found a bogon in the path, so make sure we never use it.
4545 set dummy $ac_cv_prog_CC
4546 shift
4547 if test $# != 0; then
4548 # We chose a different compiler from the bogus one.
4549 # However, it has the same basename, so the bogon will be chosen
4550 # first if we set CC to just the basename; use the full file name.
4551 shift
4552 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4557 CC=$ac_cv_prog_CC
4558 if test -n "$CC"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4560 $as_echo "$CC" >&6; }
4561 else
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4568 if test -z "$CC"; then
4569 if test -n "$ac_tool_prefix"; then
4570 for ac_prog in cl.exe
4572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_CC+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 if test -n "$CC"; then
4580 ac_cv_prog_CC="$CC" # Let the user override the test.
4581 else
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4585 IFS=$as_save_IFS
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 break 2
4593 done
4594 done
4595 IFS=$as_save_IFS
4599 CC=$ac_cv_prog_CC
4600 if test -n "$CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4602 $as_echo "$CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$CC" && break
4610 done
4612 if test -z "$CC"; then
4613 ac_ct_CC=$CC
4614 for ac_prog in cl.exe
4616 # Extract the first word of "$ac_prog", so it can be a program name with args.
4617 set dummy $ac_prog; ac_word=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 if test -n "$ac_ct_CC"; then
4624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4625 else
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH
4629 IFS=$as_save_IFS
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633 ac_cv_prog_ac_ct_CC="$ac_prog"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 break 2
4637 done
4638 done
4639 IFS=$as_save_IFS
4643 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4644 if test -n "$ac_ct_CC"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4646 $as_echo "$ac_ct_CC" >&6; }
4647 else
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4653 test -n "$ac_ct_CC" && break
4654 done
4656 if test "x$ac_ct_CC" = x; then
4657 CC=""
4658 else
4659 case $cross_compiling:$ac_tool_warned in
4660 yes:)
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4663 ac_tool_warned=yes ;;
4664 esac
4665 CC=$ac_ct_CC
4672 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4674 as_fn_error $? "no acceptable C compiler found in \$PATH
4675 See \`config.log' for more details" "$LINENO" 5; }
4677 # Provide some information about the compiler.
4678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4679 set X $ac_compile
4680 ac_compiler=$2
4681 for ac_option in --version -v -V -qversion; do
4682 { { ac_try="$ac_compiler $ac_option >&5"
4683 case "(($ac_try" in
4684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685 *) ac_try_echo=$ac_try;;
4686 esac
4687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4688 $as_echo "$ac_try_echo"; } >&5
4689 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4690 ac_status=$?
4691 if test -s conftest.err; then
4692 sed '10a\
4693 ... rest of stderr output deleted ...
4694 10q' conftest.err >conftest.er1
4695 cat conftest.er1 >&5
4697 rm -f conftest.er1 conftest.err
4698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4699 test $ac_status = 0; }
4700 done
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4706 main ()
4710 return 0;
4712 _ACEOF
4713 ac_clean_files_save=$ac_clean_files
4714 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4715 # Try to create an executable without -o first, disregard a.out.
4716 # It will help us diagnose broken compilers, and finding out an intuition
4717 # of exeext.
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4719 $as_echo_n "checking whether the C compiler works... " >&6; }
4720 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4722 # The possible output files:
4723 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4725 ac_rmfiles=
4726 for ac_file in $ac_files
4728 case $ac_file in
4729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4730 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4731 esac
4732 done
4733 rm -f $ac_rmfiles
4735 if { { ac_try="$ac_link_default"
4736 case "(($ac_try" in
4737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738 *) ac_try_echo=$ac_try;;
4739 esac
4740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4741 $as_echo "$ac_try_echo"; } >&5
4742 (eval "$ac_link_default") 2>&5
4743 ac_status=$?
4744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4745 test $ac_status = 0; }; then :
4746 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4747 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4748 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4749 # so that the user can short-circuit this test for compilers unknown to
4750 # Autoconf.
4751 for ac_file in $ac_files ''
4753 test -f "$ac_file" || continue
4754 case $ac_file in
4755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4757 [ab].out )
4758 # We found the default executable, but exeext='' is most
4759 # certainly right.
4760 break;;
4761 *.* )
4762 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4763 then :; else
4764 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4766 # We set ac_cv_exeext here because the later test for it is not
4767 # safe: cross compilers may not add the suffix if given an `-o'
4768 # argument, so we may need to know it at that point already.
4769 # Even if this section looks crufty: it has the advantage of
4770 # actually working.
4771 break;;
4773 break;;
4774 esac
4775 done
4776 test "$ac_cv_exeext" = no && ac_cv_exeext=
4778 else
4779 ac_file=''
4781 if test -z "$ac_file"; then :
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4784 $as_echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4789 as_fn_error 77 "C compiler cannot create executables
4790 See \`config.log' for more details" "$LINENO" 5; }
4791 else
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4793 $as_echo "yes" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4796 $as_echo_n "checking for C compiler default output file name... " >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4798 $as_echo "$ac_file" >&6; }
4799 ac_exeext=$ac_cv_exeext
4801 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4802 ac_clean_files=$ac_clean_files_save
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4804 $as_echo_n "checking for suffix of executables... " >&6; }
4805 if { { ac_try="$ac_link"
4806 case "(($ac_try" in
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4809 esac
4810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4811 $as_echo "$ac_try_echo"; } >&5
4812 (eval "$ac_link") 2>&5
4813 ac_status=$?
4814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4815 test $ac_status = 0; }; then :
4816 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4817 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4818 # work properly (i.e., refer to `conftest.exe'), while it won't with
4819 # `rm'.
4820 for ac_file in conftest.exe conftest conftest.*; do
4821 test -f "$ac_file" || continue
4822 case $ac_file in
4823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4824 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4825 break;;
4826 * ) break;;
4827 esac
4828 done
4829 else
4830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4832 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4833 See \`config.log' for more details" "$LINENO" 5; }
4835 rm -f conftest conftest$ac_cv_exeext
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4837 $as_echo "$ac_cv_exeext" >&6; }
4839 rm -f conftest.$ac_ext
4840 EXEEXT=$ac_cv_exeext
4841 ac_exeext=$EXEEXT
4842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4844 #include <stdio.h>
4846 main ()
4848 FILE *f = fopen ("conftest.out", "w");
4849 return ferror (f) || fclose (f) != 0;
4852 return 0;
4854 _ACEOF
4855 ac_clean_files="$ac_clean_files conftest.out"
4856 # Check that the compiler produces executables we can run. If not, either
4857 # the compiler is broken, or we cross compile.
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4859 $as_echo_n "checking whether we are cross compiling... " >&6; }
4860 if test "$cross_compiling" != yes; then
4861 { { ac_try="$ac_link"
4862 case "(($ac_try" in
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4865 esac
4866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4867 $as_echo "$ac_try_echo"; } >&5
4868 (eval "$ac_link") 2>&5
4869 ac_status=$?
4870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4871 test $ac_status = 0; }
4872 if { ac_try='./conftest$ac_cv_exeext'
4873 { { case "(($ac_try" in
4874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4876 esac
4877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4878 $as_echo "$ac_try_echo"; } >&5
4879 (eval "$ac_try") 2>&5
4880 ac_status=$?
4881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882 test $ac_status = 0; }; }; then
4883 cross_compiling=no
4884 else
4885 if test "$cross_compiling" = maybe; then
4886 cross_compiling=yes
4887 else
4888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4890 as_fn_error $? "cannot run C compiled programs.
4891 If you meant to cross compile, use \`--host'.
4892 See \`config.log' for more details" "$LINENO" 5; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4897 $as_echo "$cross_compiling" >&6; }
4899 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4900 ac_clean_files=$ac_clean_files_save
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4902 $as_echo_n "checking for suffix of object files... " >&6; }
4903 if ${ac_cv_objext+:} false; then :
4904 $as_echo_n "(cached) " >&6
4905 else
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4910 main ()
4914 return 0;
4916 _ACEOF
4917 rm -f conftest.o conftest.obj
4918 if { { ac_try="$ac_compile"
4919 case "(($ac_try" in
4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921 *) ac_try_echo=$ac_try;;
4922 esac
4923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4924 $as_echo "$ac_try_echo"; } >&5
4925 (eval "$ac_compile") 2>&5
4926 ac_status=$?
4927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4928 test $ac_status = 0; }; then :
4929 for ac_file in conftest.o conftest.obj conftest.*; do
4930 test -f "$ac_file" || continue;
4931 case $ac_file in
4932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4933 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4934 break;;
4935 esac
4936 done
4937 else
4938 $as_echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4943 as_fn_error $? "cannot compute suffix of object files: cannot compile
4944 See \`config.log' for more details" "$LINENO" 5; }
4946 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4949 $as_echo "$ac_cv_objext" >&6; }
4950 OBJEXT=$ac_cv_objext
4951 ac_objext=$OBJEXT
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4953 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4954 if ${ac_cv_c_compiler_gnu+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4963 #ifndef __GNUC__
4964 choke me
4965 #endif
4968 return 0;
4970 _ACEOF
4971 if ac_fn_c_try_compile "$LINENO"; then :
4972 ac_compiler_gnu=yes
4973 else
4974 ac_compiler_gnu=no
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4981 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4982 if test $ac_compiler_gnu = yes; then
4983 GCC=yes
4984 else
4985 GCC=
4987 ac_test_CFLAGS=${CFLAGS+set}
4988 ac_save_CFLAGS=$CFLAGS
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4990 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4991 if ${ac_cv_prog_cc_g+:} false; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 ac_save_c_werror_flag=$ac_c_werror_flag
4995 ac_c_werror_flag=yes
4996 ac_cv_prog_cc_g=no
4997 CFLAGS="-g"
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5006 return 0;
5008 _ACEOF
5009 if ac_fn_c_try_compile "$LINENO"; then :
5010 ac_cv_prog_cc_g=yes
5011 else
5012 CFLAGS=""
5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5017 main ()
5021 return 0;
5023 _ACEOF
5024 if ac_fn_c_try_compile "$LINENO"; then :
5026 else
5027 ac_c_werror_flag=$ac_save_c_werror_flag
5028 CFLAGS="-g"
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5033 main ()
5037 return 0;
5039 _ACEOF
5040 if ac_fn_c_try_compile "$LINENO"; then :
5041 ac_cv_prog_cc_g=yes
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 ac_c_werror_flag=$ac_save_c_werror_flag
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5051 $as_echo "$ac_cv_prog_cc_g" >&6; }
5052 if test "$ac_test_CFLAGS" = set; then
5053 CFLAGS=$ac_save_CFLAGS
5054 elif test $ac_cv_prog_cc_g = yes; then
5055 if test "$GCC" = yes; then
5056 CFLAGS="-g -O2"
5057 else
5058 CFLAGS="-g"
5060 else
5061 if test "$GCC" = yes; then
5062 CFLAGS="-O2"
5063 else
5064 CFLAGS=
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5069 if ${ac_cv_prog_cc_c89+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 ac_cv_prog_cc_c89=no
5073 ac_save_CC=$CC
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5076 #include <stdarg.h>
5077 #include <stdio.h>
5078 struct stat;
5079 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5080 struct buf { int x; };
5081 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5082 static char *e (p, i)
5083 char **p;
5084 int i;
5086 return p[i];
5088 static char *f (char * (*g) (char **, int), char **p, ...)
5090 char *s;
5091 va_list v;
5092 va_start (v,p);
5093 s = g (p, va_arg (v,int));
5094 va_end (v);
5095 return s;
5098 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5099 function prototypes and stuff, but not '\xHH' hex character constants.
5100 These don't provoke an error unfortunately, instead are silently treated
5101 as 'x'. The following induces an error, until -std is added to get
5102 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5103 array size at least. It's necessary to write '\x00'==0 to get something
5104 that's true only with -std. */
5105 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5107 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5108 inside strings and character constants. */
5109 #define FOO(x) 'x'
5110 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5112 int test (int i, double x);
5113 struct s1 {int (*f) (int a);};
5114 struct s2 {int (*f) (double a);};
5115 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5116 int argc;
5117 char **argv;
5119 main ()
5121 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5123 return 0;
5125 _ACEOF
5126 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5127 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5129 CC="$ac_save_CC $ac_arg"
5130 if ac_fn_c_try_compile "$LINENO"; then :
5131 ac_cv_prog_cc_c89=$ac_arg
5133 rm -f core conftest.err conftest.$ac_objext
5134 test "x$ac_cv_prog_cc_c89" != "xno" && break
5135 done
5136 rm -f conftest.$ac_ext
5137 CC=$ac_save_CC
5140 # AC_CACHE_VAL
5141 case "x$ac_cv_prog_cc_c89" in
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5144 $as_echo "none needed" >&6; } ;;
5145 xno)
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5147 $as_echo "unsupported" >&6; } ;;
5149 CC="$CC $ac_cv_prog_cc_c89"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5151 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5152 esac
5153 if test "x$ac_cv_prog_cc_c89" != xno; then :
5157 ac_ext=c
5158 ac_cpp='$CPP $CPPFLAGS'
5159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5163 ac_ext=cpp
5164 ac_cpp='$CXXCPP $CPPFLAGS'
5165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5168 if test -z "$CXX"; then
5169 if test -n "$CCC"; then
5170 CXX=$CCC
5171 else
5172 if test -n "$ac_tool_prefix"; then
5173 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_CXX+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$CXX"; then
5183 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 CXX=$ac_cv_prog_CXX
5203 if test -n "$CXX"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5205 $as_echo "$CXX" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$CXX" && break
5213 done
5215 if test -z "$CXX"; then
5216 ac_ct_CXX=$CXX
5217 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5219 # Extract the first word of "$ac_prog", so it can be a program name with args.
5220 set dummy $ac_prog; ac_word=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5224 $as_echo_n "(cached) " >&6
5225 else
5226 if test -n "$ac_ct_CXX"; then
5227 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5228 else
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 for as_dir in $PATH
5232 IFS=$as_save_IFS
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_ac_ct_CXX="$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 break 2
5240 done
5241 done
5242 IFS=$as_save_IFS
5246 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5247 if test -n "$ac_ct_CXX"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5249 $as_echo "$ac_ct_CXX" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5256 test -n "$ac_ct_CXX" && break
5257 done
5259 if test "x$ac_ct_CXX" = x; then
5260 CXX="g++"
5261 else
5262 case $cross_compiling:$ac_tool_warned in
5263 yes:)
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5266 ac_tool_warned=yes ;;
5267 esac
5268 CXX=$ac_ct_CXX
5274 # Provide some information about the compiler.
5275 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5276 set X $ac_compile
5277 ac_compiler=$2
5278 for ac_option in --version -v -V -qversion; do
5279 { { ac_try="$ac_compiler $ac_option >&5"
5280 case "(($ac_try" in
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5283 esac
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 $as_echo "$ac_try_echo"; } >&5
5286 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5287 ac_status=$?
5288 if test -s conftest.err; then
5289 sed '10a\
5290 ... rest of stderr output deleted ...
5291 10q' conftest.err >conftest.er1
5292 cat conftest.er1 >&5
5294 rm -f conftest.er1 conftest.err
5295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }
5297 done
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5300 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5301 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5308 main ()
5310 #ifndef __GNUC__
5311 choke me
5312 #endif
5315 return 0;
5317 _ACEOF
5318 if ac_fn_cxx_try_compile "$LINENO"; then :
5319 ac_compiler_gnu=yes
5320 else
5321 ac_compiler_gnu=no
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5328 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5329 if test $ac_compiler_gnu = yes; then
5330 GXX=yes
5331 else
5332 GXX=
5334 ac_test_CXXFLAGS=${CXXFLAGS+set}
5335 ac_save_CXXFLAGS=$CXXFLAGS
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5337 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5338 if ${ac_cv_prog_cxx_g+:} false; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5342 ac_cxx_werror_flag=yes
5343 ac_cv_prog_cxx_g=no
5344 CXXFLAGS="-g"
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5349 main ()
5353 return 0;
5355 _ACEOF
5356 if ac_fn_cxx_try_compile "$LINENO"; then :
5357 ac_cv_prog_cxx_g=yes
5358 else
5359 CXXFLAGS=""
5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5364 main ()
5368 return 0;
5370 _ACEOF
5371 if ac_fn_cxx_try_compile "$LINENO"; then :
5373 else
5374 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5375 CXXFLAGS="-g"
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5380 main ()
5384 return 0;
5386 _ACEOF
5387 if ac_fn_cxx_try_compile "$LINENO"; then :
5388 ac_cv_prog_cxx_g=yes
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5398 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5399 if test "$ac_test_CXXFLAGS" = set; then
5400 CXXFLAGS=$ac_save_CXXFLAGS
5401 elif test $ac_cv_prog_cxx_g = yes; then
5402 if test "$GXX" = yes; then
5403 CXXFLAGS="-g -O2"
5404 else
5405 CXXFLAGS="-g"
5407 else
5408 if test "$GXX" = yes; then
5409 CXXFLAGS="-O2"
5410 else
5411 CXXFLAGS=
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5420 if test -n "$ac_tool_prefix"; then
5421 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5422 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if ${ac_cv_prog_CPPBIN+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if test -n "$CPPBIN"; then
5429 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5430 else
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH
5434 IFS=$as_save_IFS
5435 test -z "$as_dir" && as_dir=.
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 break 2
5442 done
5443 done
5444 IFS=$as_save_IFS
5448 CPPBIN=$ac_cv_prog_CPPBIN
5449 if test -n "$CPPBIN"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5451 $as_echo "$CPPBIN" >&6; }
5452 else
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5459 if test -z "$ac_cv_prog_CPPBIN"; then
5460 ac_ct_CPPBIN=$CPPBIN
5461 # Extract the first word of "cpp", so it can be a program name with args.
5462 set dummy cpp; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5466 $as_echo_n "(cached) " >&6
5467 else
5468 if test -n "$ac_ct_CPPBIN"; then
5469 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_ac_ct_CPPBIN="cpp"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5488 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5489 if test -n "$ac_ct_CPPBIN"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5491 $as_echo "$ac_ct_CPPBIN" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5497 if test "x$ac_ct_CPPBIN" = x; then
5498 CPPBIN="cpp"
5499 else
5500 case $cross_compiling:$ac_tool_warned in
5501 yes:)
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5504 ac_tool_warned=yes ;;
5505 esac
5506 CPPBIN=$ac_ct_CPPBIN
5508 else
5509 CPPBIN="$ac_cv_prog_CPPBIN"
5513 cat >>confdefs.h <<_ACEOF
5514 #define EXEEXT "$ac_exeext"
5515 _ACEOF
5517 if test -n "$ac_tool_prefix"; then
5518 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5519 set dummy ${ac_tool_prefix}ld; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_LD+:} false; then :
5523 $as_echo_n "(cached) " >&6
5524 else
5525 if test -n "$LD"; then
5526 ac_cv_prog_LD="$LD" # Let the user override the test.
5527 else
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH
5531 IFS=$as_save_IFS
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_LD="${ac_tool_prefix}ld"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 break 2
5539 done
5540 done
5541 IFS=$as_save_IFS
5545 LD=$ac_cv_prog_LD
5546 if test -n "$LD"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5548 $as_echo "$LD" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5556 if test -z "$ac_cv_prog_LD"; then
5557 ac_ct_LD=$LD
5558 # Extract the first word of "ld", so it can be a program name with args.
5559 set dummy ld; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -n "$ac_ct_LD"; then
5566 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_ac_ct_LD="ld"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5579 done
5580 done
5581 IFS=$as_save_IFS
5585 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5586 if test -n "$ac_ct_LD"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5588 $as_echo "$ac_ct_LD" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5594 if test "x$ac_ct_LD" = x; then
5595 LD=""
5596 else
5597 case $cross_compiling:$ac_tool_warned in
5598 yes:)
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5601 ac_tool_warned=yes ;;
5602 esac
5603 LD=$ac_ct_LD
5605 else
5606 LD="$ac_cv_prog_LD"
5610 case $host in
5611 *-darwin*)
5612 with_fontconfig=${with_fontconfig:-no}
5614 *-mingw32*|*-cygwin*)
5615 enable_win16=${enable_win16:-no}
5616 with_mingw=${with_mingw:-no}
5617 CFLAGS="$CFLAGS -D_WIN32"
5619 esac
5621 case $host in
5622 x86_64*|amd64*)
5623 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5624 then
5625 CC="$CC -m32"
5626 CXX="$CXX -m32"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5629 $as_echo_n "checking whether $CC works... " >&6; }
5630 if ${wine_cv_cc_m32+:} false; then :
5631 $as_echo_n "(cached) " >&6
5632 else
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5637 main ()
5641 return 0;
5643 _ACEOF
5644 if ac_fn_c_try_link "$LINENO"; then :
5645 wine_cv_cc_m32=yes
5646 else
5647 wine_cv_cc_m32=no
5649 rm -f core conftest.err conftest.$ac_objext \
5650 conftest$ac_exeext conftest.$ac_ext
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5653 $as_echo "$wine_cv_cc_m32" >&6; }
5654 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
5655 host_cpu="i386"
5656 notice_platform="32-bit "
5657 TARGETFLAGS="-m32"
5659 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5660 export PKG_CONFIG_PATH
5661 enable_win16=${enable_win16:-yes}
5662 with_unwind=${with_unwind:-no}
5663 else
5664 if test "x${GCC}" = "xyes"
5665 then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5667 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5668 if ${wine_cv_builtin_ms_va_list+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5673 #include <stdarg.h>
5675 main ()
5677 void func(__builtin_ms_va_list *args);
5679 return 0;
5681 _ACEOF
5682 if ac_fn_c_try_compile "$LINENO"; then :
5683 wine_cv_builtin_ms_va_list=yes
5684 else
5685 wine_cv_builtin_ms_va_list=no
5687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5690 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5691 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
5693 CC="$CC -m64"
5694 CXX="$CXX -m64"
5695 host_cpu="x86_64"
5696 notice_platform="64-bit "
5697 TARGETFLAGS="-m64"
5701 arm*)
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5703 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5704 if ${wine_cv_thumb+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5709 int ac_test(int i) { return i; }
5711 main ()
5713 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5715 return 0;
5717 _ACEOF
5718 if ac_fn_c_try_link "$LINENO"; then :
5719 wine_cv_thumb=yes
5720 else
5721 wine_cv_thumb=no
5723 rm -f core conftest.err conftest.$ac_objext \
5724 conftest$ac_exeext conftest.$ac_ext
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5727 $as_echo "$wine_cv_thumb" >&6; }
5728 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5729 case $with_float_abi in
5730 soft|softfp|hard)
5731 float_abi=$with_float_abi ;;
5733 case $host_os in
5734 *eabihf)
5735 float_abi=hard ;;
5737 float_abi=softfp
5738 saved_CFLAGS=$CFLAGS
5739 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5741 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5742 if ${wine_cv_float_abi+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5749 main ()
5751 asm("vmrs r2,fpscr");
5753 return 0;
5755 _ACEOF
5756 if ac_fn_c_try_link "$LINENO"; then :
5757 wine_cv_float_abi=yes
5758 else
5759 wine_cv_float_abi=no
5761 rm -f core conftest.err conftest.$ac_objext \
5762 conftest$ac_exeext conftest.$ac_ext
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5765 $as_echo "$wine_cv_float_abi" >&6; }
5766 if test $wine_cv_float_abi = no
5767 then
5768 float_abi=soft
5769 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5771 CFLAGS=$saved_CFLAGS
5772 esac
5774 esac
5775 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5776 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5779 aarch64*)
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5781 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5782 if ${wine_cv_builtin_ms_va_list+:} false; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h. */
5787 #include <stdarg.h>
5789 main ()
5791 void func(__builtin_ms_va_list *args);
5793 return 0;
5795 _ACEOF
5796 if ac_fn_c_try_compile "$LINENO"; then :
5797 wine_cv_builtin_ms_va_list=yes
5798 else
5799 wine_cv_builtin_ms_va_list=no
5801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5804 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5805 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5807 i[3456789]86*)
5808 enable_win16=${enable_win16:-yes}
5809 with_unwind=${with_unwind:-no}
5811 esac
5813 enable_win16=${enable_win16:-no}
5814 enable_win64=${enable_win64:-no}
5816 enable_winetest=${enable_winetest:-$enable_tests}
5818 if test "x$enable_win64" = "xyes"
5819 then
5820 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5821 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5822 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5826 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5827 if ${wine_cv_toolsdir+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 wine_cv_toolsdir="$with_wine_tools"
5831 if test -z "$with_wine_tools"; then
5832 if test "$cross_compiling" = "yes"; then
5833 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5834 elif test -n "$with_wine64"; then
5835 wine_cv_toolsdir="$with_wine64"
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5840 $as_echo "$wine_cv_toolsdir" >&6; }
5841 if test -z "$wine_cv_toolsdir"; then
5842 wine_makedep=tools/makedep
5843 TOOLSDIR="\$(top_builddir)"
5845 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5846 wine_makedep=$wine_cv_toolsdir/tools/makedep
5847 case "$wine_cv_toolsdir" in
5848 /*) TOOLSDIR=$wine_cv_toolsdir
5850 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5852 esac
5853 enable_tools=${enable_tools:-no}
5854 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5855 else
5856 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5858 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5859 then
5860 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5864 for ac_prog in flex
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_FLEX+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$FLEX"; then
5874 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_FLEX="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 FLEX=$ac_cv_prog_FLEX
5894 if test -n "$FLEX"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5896 $as_echo "$FLEX" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$FLEX" && break
5904 done
5905 test -n "$FLEX" || FLEX="none"
5907 if test "$FLEX" = "none"
5908 then
5909 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5912 $as_echo_n "checking whether flex is recent enough... " >&6; }
5913 if ${wine_cv_recent_flex+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 cat >conftest.l <<EOF
5917 %top{
5918 #include "prediluvian.h"
5922 if $FLEX -t conftest.l >/dev/null 2>&5
5923 then
5924 wine_cv_recent_flex=yes
5925 else
5926 wine_cv_recent_flex=no
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5930 $as_echo "$wine_cv_recent_flex" >&6; }
5931 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
5933 for ac_prog in bison
5935 # Extract the first word of "$ac_prog", so it can be a program name with args.
5936 set dummy $ac_prog; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if ${ac_cv_prog_BISON+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 if test -n "$BISON"; then
5943 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5944 else
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH
5948 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_BISON="$ac_prog"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 break 2
5956 done
5957 done
5958 IFS=$as_save_IFS
5962 BISON=$ac_cv_prog_BISON
5963 if test -n "$BISON"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5965 $as_echo "$BISON" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5972 test -n "$BISON" && break
5973 done
5974 test -n "$BISON" || BISON="none"
5976 if test "$BISON" = "none"
5977 then
5978 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5981 $as_echo_n "checking whether bison is recent enough... " >&6; }
5982 if ${wine_cv_recent_bison+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 cat >conftest.y <<EOF
5986 %define parse.error verbose
5988 empty: ;
5990 if $BISON conftest.y >/dev/null 2>&5
5991 then
5992 wine_cv_recent_bison=yes
5993 else
5994 wine_cv_recent_bison=no
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5998 $as_echo "$wine_cv_recent_bison" >&6; }
5999 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
6001 if test -n "$ac_tool_prefix"; then
6002 for ac_prog in ar gar
6004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_AR+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$AR"; then
6012 ac_cv_prog_AR="$AR" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 AR=$ac_cv_prog_AR
6032 if test -n "$AR"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6034 $as_echo "$AR" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$AR" && break
6042 done
6044 if test -z "$AR"; then
6045 ac_ct_AR=$AR
6046 for ac_prog in ar gar
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy $ac_prog; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 if test -n "$ac_ct_AR"; then
6056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_ac_ct_AR="$ac_prog"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6076 if test -n "$ac_ct_AR"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6078 $as_echo "$ac_ct_AR" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6085 test -n "$ac_ct_AR" && break
6086 done
6088 if test "x$ac_ct_AR" = x; then
6089 AR="ar"
6090 else
6091 case $cross_compiling:$ac_tool_warned in
6092 yes:)
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095 ac_tool_warned=yes ;;
6096 esac
6097 AR=$ac_ct_AR
6101 if test -n "$ac_tool_prefix"; then
6102 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}strip; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_STRIP+:} false; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 if test -n "$STRIP"; then
6110 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6115 IFS=$as_save_IFS
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 break 2
6123 done
6124 done
6125 IFS=$as_save_IFS
6129 STRIP=$ac_cv_prog_STRIP
6130 if test -n "$STRIP"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6132 $as_echo "$STRIP" >&6; }
6133 else
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 if test -z "$ac_cv_prog_STRIP"; then
6141 ac_ct_STRIP=$STRIP
6142 # Extract the first word of "strip", so it can be a program name with args.
6143 set dummy strip; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6147 $as_echo_n "(cached) " >&6
6148 else
6149 if test -n "$ac_ct_STRIP"; then
6150 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6155 IFS=$as_save_IFS
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_ac_ct_STRIP="strip"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 break 2
6163 done
6164 done
6165 IFS=$as_save_IFS
6169 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6170 if test -n "$ac_ct_STRIP"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6172 $as_echo "$ac_ct_STRIP" >&6; }
6173 else
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6178 if test "x$ac_ct_STRIP" = x; then
6179 STRIP="strip"
6180 else
6181 case $cross_compiling:$ac_tool_warned in
6182 yes:)
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185 ac_tool_warned=yes ;;
6186 esac
6187 STRIP=$ac_ct_STRIP
6189 else
6190 STRIP="$ac_cv_prog_STRIP"
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6195 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if ${ac_cv_prog_RANLIB+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 if test -n "$RANLIB"; then
6202 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6211 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 RANLIB=$ac_cv_prog_RANLIB
6222 if test -n "$RANLIB"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6224 $as_echo "$RANLIB" >&6; }
6225 else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6232 if test -z "$ac_cv_prog_RANLIB"; then
6233 ac_ct_RANLIB=$RANLIB
6234 # Extract the first word of "ranlib", so it can be a program name with args.
6235 set dummy ranlib; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 if test -n "$ac_ct_RANLIB"; then
6242 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6247 IFS=$as_save_IFS
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_ac_ct_RANLIB="ranlib"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 break 2
6255 done
6256 done
6257 IFS=$as_save_IFS
6261 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6262 if test -n "$ac_ct_RANLIB"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6264 $as_echo "$ac_ct_RANLIB" >&6; }
6265 else
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6270 if test "x$ac_ct_RANLIB" = x; then
6271 RANLIB=":"
6272 else
6273 case $cross_compiling:$ac_tool_warned in
6274 yes:)
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277 ac_tool_warned=yes ;;
6278 esac
6279 RANLIB=$ac_ct_RANLIB
6281 else
6282 RANLIB="$ac_cv_prog_RANLIB"
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6286 $as_echo_n "checking whether ln -s works... " >&6; }
6287 LN_S=$as_ln_s
6288 if test "$LN_S" = "ln -s"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6290 $as_echo "yes" >&6; }
6291 else
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6293 $as_echo "no, using $LN_S" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6297 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6298 if ${ac_cv_path_GREP+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 if test -z "$GREP"; then
6302 ac_path_GREP_found=false
6303 # Loop through the user's path and test for each of PROGNAME-LIST
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_prog in grep ggrep; do
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6312 as_fn_executable_p "$ac_path_GREP" || continue
6313 # Check for GNU ac_path_GREP and select it if it is found.
6314 # Check for GNU $ac_path_GREP
6315 case `"$ac_path_GREP" --version 2>&1` in
6316 *GNU*)
6317 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6319 ac_count=0
6320 $as_echo_n 0123456789 >"conftest.in"
6321 while :
6323 cat "conftest.in" "conftest.in" >"conftest.tmp"
6324 mv "conftest.tmp" "conftest.in"
6325 cp "conftest.in" "conftest.nl"
6326 $as_echo 'GREP' >> "conftest.nl"
6327 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6328 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6329 as_fn_arith $ac_count + 1 && ac_count=$as_val
6330 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6331 # Best one so far, save it but keep looking for a better one
6332 ac_cv_path_GREP="$ac_path_GREP"
6333 ac_path_GREP_max=$ac_count
6335 # 10*(2^10) chars as input seems more than enough
6336 test $ac_count -gt 10 && break
6337 done
6338 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6339 esac
6341 $ac_path_GREP_found && break 3
6342 done
6343 done
6344 done
6345 IFS=$as_save_IFS
6346 if test -z "$ac_cv_path_GREP"; then
6347 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6349 else
6350 ac_cv_path_GREP=$GREP
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6355 $as_echo "$ac_cv_path_GREP" >&6; }
6356 GREP="$ac_cv_path_GREP"
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6360 $as_echo_n "checking for egrep... " >&6; }
6361 if ${ac_cv_path_EGREP+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6365 then ac_cv_path_EGREP="$GREP -E"
6366 else
6367 if test -z "$EGREP"; then
6368 ac_path_EGREP_found=false
6369 # Loop through the user's path and test for each of PROGNAME-LIST
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6373 IFS=$as_save_IFS
6374 test -z "$as_dir" && as_dir=.
6375 for ac_prog in egrep; do
6376 for ac_exec_ext in '' $ac_executable_extensions; do
6377 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6378 as_fn_executable_p "$ac_path_EGREP" || continue
6379 # Check for GNU ac_path_EGREP and select it if it is found.
6380 # Check for GNU $ac_path_EGREP
6381 case `"$ac_path_EGREP" --version 2>&1` in
6382 *GNU*)
6383 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6385 ac_count=0
6386 $as_echo_n 0123456789 >"conftest.in"
6387 while :
6389 cat "conftest.in" "conftest.in" >"conftest.tmp"
6390 mv "conftest.tmp" "conftest.in"
6391 cp "conftest.in" "conftest.nl"
6392 $as_echo 'EGREP' >> "conftest.nl"
6393 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6395 as_fn_arith $ac_count + 1 && ac_count=$as_val
6396 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6397 # Best one so far, save it but keep looking for a better one
6398 ac_cv_path_EGREP="$ac_path_EGREP"
6399 ac_path_EGREP_max=$ac_count
6401 # 10*(2^10) chars as input seems more than enough
6402 test $ac_count -gt 10 && break
6403 done
6404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6405 esac
6407 $ac_path_EGREP_found && break 3
6408 done
6409 done
6410 done
6411 IFS=$as_save_IFS
6412 if test -z "$ac_cv_path_EGREP"; then
6413 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6415 else
6416 ac_cv_path_EGREP=$EGREP
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6422 $as_echo "$ac_cv_path_EGREP" >&6; }
6423 EGREP="$ac_cv_path_EGREP"
6426 # Extract the first word of "ldconfig", so it can be a program name with args.
6427 set dummy ldconfig; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_path_LDCONFIG+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 case $LDCONFIG in
6434 [\\/]* | ?:[\\/]*)
6435 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 for as_dir in /sbin /usr/sbin $PATH
6441 IFS=$as_save_IFS
6442 test -z "$as_dir" && as_dir=.
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6445 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6447 break 2
6449 done
6450 done
6451 IFS=$as_save_IFS
6453 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6455 esac
6457 LDCONFIG=$ac_cv_path_LDCONFIG
6458 if test -n "$LDCONFIG"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6460 $as_echo "$LDCONFIG" >&6; }
6461 else
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6467 for ac_prog in msgfmt
6469 # Extract the first word of "$ac_prog", so it can be a program name with args.
6470 set dummy $ac_prog; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_prog_MSGFMT+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 if test -n "$MSGFMT"; then
6477 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6478 else
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_MSGFMT="$ac_prog"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6496 MSGFMT=$ac_cv_prog_MSGFMT
6497 if test -n "$MSGFMT"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6499 $as_echo "$MSGFMT" >&6; }
6500 else
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6506 test -n "$MSGFMT" && break
6507 done
6508 test -n "$MSGFMT" || MSGFMT="false"
6510 if ${ac_tool_prefix+:} false; then :
6511 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$PKG_CONFIG"; then
6519 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6539 if test -n "$PKG_CONFIG"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6541 $as_echo "$PKG_CONFIG" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6550 if test "x$cross_compiling" = xyes; then :
6552 else
6553 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6554 # Extract the first word of "pkg-config", so it can be a program name with args.
6555 set dummy pkg-config; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$PKG_CONFIG"; then
6562 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_PKG_CONFIG="pkg-config"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6582 if test -n "$PKG_CONFIG"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6584 $as_echo "$PKG_CONFIG" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6592 else
6593 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6596 if test "x$enable_maintainer_mode" != "xyes"
6597 then
6598 FONTFORGE=""
6599 RSVG=""
6600 CONVERT=""
6601 ICOTOOL=""
6602 else
6603 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6604 for ac_prog in fontforge
6606 # Extract the first word of "$ac_prog", so it can be a program name with args.
6607 set dummy $ac_prog; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_FONTFORGE+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$FONTFORGE"; then
6614 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_FONTFORGE="$ac_prog"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 FONTFORGE=$ac_cv_prog_FONTFORGE
6634 if test -n "$FONTFORGE"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6636 $as_echo "$FONTFORGE" >&6; }
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6643 test -n "$FONTFORGE" && break
6644 done
6645 test -n "$FONTFORGE" || FONTFORGE="false"
6647 for ac_prog in rsvg-convert rsvg
6649 # Extract the first word of "$ac_prog", so it can be a program name with args.
6650 set dummy $ac_prog; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_RSVG+:} false; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$RSVG"; then
6657 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_RSVG="$ac_prog"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 RSVG=$ac_cv_prog_RSVG
6677 if test -n "$RSVG"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6679 $as_echo "$RSVG" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6686 test -n "$RSVG" && break
6687 done
6688 test -n "$RSVG" || RSVG="false"
6690 for ac_prog in convert
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_CONVERT+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 if test -n "$CONVERT"; then
6700 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6705 IFS=$as_save_IFS
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_CONVERT="$ac_prog"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 break 2
6713 done
6714 done
6715 IFS=$as_save_IFS
6719 CONVERT=$ac_cv_prog_CONVERT
6720 if test -n "$CONVERT"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6722 $as_echo "$CONVERT" >&6; }
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6729 test -n "$CONVERT" && break
6730 done
6731 test -n "$CONVERT" || CONVERT="false"
6733 for ac_prog in icotool
6735 # Extract the first word of "$ac_prog", so it can be a program name with args.
6736 set dummy $ac_prog; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_ICOTOOL+:} false; then :
6740 $as_echo_n "(cached) " >&6
6741 else
6742 if test -n "$ICOTOOL"; then
6743 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6748 IFS=$as_save_IFS
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_ICOTOOL="$ac_prog"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 ICOTOOL=$ac_cv_prog_ICOTOOL
6763 if test -n "$ICOTOOL"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6765 $as_echo "$ICOTOOL" >&6; }
6766 else
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6772 test -n "$ICOTOOL" && break
6773 done
6774 test -n "$ICOTOOL" || ICOTOOL="false"
6776 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6777 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6779 if test "$CONVERT" = false
6780 then
6781 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6784 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6785 convert_version=`convert --version | head -n1`
6786 if test "x$convert_version" != "x"
6787 then
6788 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6789 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6790 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6791 then
6792 CONVERT=false
6795 if test "$CONVERT" = false
6796 then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6798 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6799 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6800 else
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6802 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6806 if test "$ICOTOOL" = false
6807 then
6808 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6809 else
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6811 $as_echo_n "checking for recent enough icotool... " >&6; }
6812 icotool_version=`icotool --version | head -n1`
6813 if test "x$icotool_version" != "x"
6814 then
6815 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6816 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6817 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6818 then
6819 ICOTOOL=false
6820 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6823 if test "$ICOTOOL" = false
6824 then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6826 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6827 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6828 else
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6830 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6834 with_gettext=yes
6835 with_gettextpo=yes
6837 enable_werror=yes
6840 test "x$with_gettext" != xno || MSGFMT=false
6841 if test "$MSGFMT" != "false"
6842 then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6844 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6845 if ${wine_cv_msgfmt_contexts+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 cat >conftest.po <<EOF
6849 # comment
6850 msgctxt "ctxt"
6851 msgid "id"
6852 msgstr "str"
6854 if $MSGFMT -o /dev/null conftest.po 2>&5
6855 then
6856 wine_cv_msgfmt_contexts=yes
6857 else
6858 wine_cv_msgfmt_contexts=no
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6862 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6863 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6865 if test "$MSGFMT" = false; then :
6866 case "x$with_gettext" in
6867 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6868 xno) ;;
6869 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6870 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6871 esac
6872 enable_po=${enable_po:-no}
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6877 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6878 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6879 $as_echo_n "(cached) " >&6
6880 else
6881 ac_check_lib_save_LIBS=$LIBS
6882 LIBS="-li386 $LIBS"
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6886 /* Override any GCC internal prototype to avoid an error.
6887 Use char because int might match the return type of a GCC
6888 builtin and then its argument prototype would still apply. */
6889 #ifdef __cplusplus
6890 extern "C"
6891 #endif
6892 char i386_set_ldt ();
6894 main ()
6896 return i386_set_ldt ();
6898 return 0;
6900 _ACEOF
6901 if ac_fn_c_try_link "$LINENO"; then :
6902 ac_cv_lib_i386_i386_set_ldt=yes
6903 else
6904 ac_cv_lib_i386_i386_set_ldt=no
6906 rm -f core conftest.err conftest.$ac_objext \
6907 conftest$ac_exeext conftest.$ac_ext
6908 LIBS=$ac_check_lib_save_LIBS
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6911 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6912 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6913 I386_LIBS="-li386"
6918 OPENGL_LIBS=""
6922 # Check whether --enable-largefile was given.
6923 if test "${enable_largefile+set}" = set; then :
6924 enableval=$enable_largefile;
6927 if test "$enable_largefile" != no; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6930 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6931 if ${ac_cv_sys_largefile_CC+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 ac_cv_sys_largefile_CC=no
6935 if test "$GCC" != yes; then
6936 ac_save_CC=$CC
6937 while :; do
6938 # IRIX 6.2 and later do not support large files by default,
6939 # so use the C compiler's -n32 option if that helps.
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 break
6962 rm -f core conftest.err conftest.$ac_objext
6963 CC="$CC -n32"
6964 if ac_fn_c_try_compile "$LINENO"; then :
6965 ac_cv_sys_largefile_CC=' -n32'; break
6967 rm -f core conftest.err conftest.$ac_objext
6968 break
6969 done
6970 CC=$ac_save_CC
6971 rm -f conftest.$ac_ext
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6975 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6976 if test "$ac_cv_sys_largefile_CC" != no; then
6977 CC=$CC$ac_cv_sys_largefile_CC
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6981 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6982 if ${ac_cv_sys_file_offset_bits+:} false; then :
6983 $as_echo_n "(cached) " >&6
6984 else
6985 while :; do
6986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6987 /* end confdefs.h. */
6988 #include <sys/types.h>
6989 /* Check that off_t can represent 2**63 - 1 correctly.
6990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6991 since some C++ compilers masquerading as C compilers
6992 incorrectly reject 9223372036854775807. */
6993 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6995 && LARGE_OFF_T % 2147483647 == 1)
6996 ? 1 : -1];
6998 main ()
7002 return 0;
7004 _ACEOF
7005 if ac_fn_c_try_compile "$LINENO"; then :
7006 ac_cv_sys_file_offset_bits=no; break
7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #define _FILE_OFFSET_BITS 64
7012 #include <sys/types.h>
7013 /* Check that off_t can represent 2**63 - 1 correctly.
7014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7015 since some C++ compilers masquerading as C compilers
7016 incorrectly reject 9223372036854775807. */
7017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7019 && LARGE_OFF_T % 2147483647 == 1)
7020 ? 1 : -1];
7022 main ()
7026 return 0;
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_sys_file_offset_bits=64; break
7032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7033 ac_cv_sys_file_offset_bits=unknown
7034 break
7035 done
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7038 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7039 case $ac_cv_sys_file_offset_bits in #(
7040 no | unknown) ;;
7042 cat >>confdefs.h <<_ACEOF
7043 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7044 _ACEOF
7046 esac
7047 rm -rf conftest*
7048 if test $ac_cv_sys_file_offset_bits = unknown; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7050 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7051 if ${ac_cv_sys_large_files+:} false; then :
7052 $as_echo_n "(cached) " >&6
7053 else
7054 while :; do
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 #include <sys/types.h>
7058 /* Check that off_t can represent 2**63 - 1 correctly.
7059 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7060 since some C++ compilers masquerading as C compilers
7061 incorrectly reject 9223372036854775807. */
7062 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7063 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7064 && LARGE_OFF_T % 2147483647 == 1)
7065 ? 1 : -1];
7067 main ()
7071 return 0;
7073 _ACEOF
7074 if ac_fn_c_try_compile "$LINENO"; then :
7075 ac_cv_sys_large_files=no; break
7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7079 /* end confdefs.h. */
7080 #define _LARGE_FILES 1
7081 #include <sys/types.h>
7082 /* Check that off_t can represent 2**63 - 1 correctly.
7083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7084 since some C++ compilers masquerading as C compilers
7085 incorrectly reject 9223372036854775807. */
7086 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7088 && LARGE_OFF_T % 2147483647 == 1)
7089 ? 1 : -1];
7091 main ()
7095 return 0;
7097 _ACEOF
7098 if ac_fn_c_try_compile "$LINENO"; then :
7099 ac_cv_sys_large_files=1; break
7101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7102 ac_cv_sys_large_files=unknown
7103 break
7104 done
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7107 $as_echo "$ac_cv_sys_large_files" >&6; }
7108 case $ac_cv_sys_large_files in #(
7109 no | unknown) ;;
7111 cat >>confdefs.h <<_ACEOF
7112 #define _LARGE_FILES $ac_cv_sys_large_files
7113 _ACEOF
7115 esac
7116 rm -rf conftest*
7123 ac_ext=c
7124 ac_cpp='$CPP $CPPFLAGS'
7125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7129 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7130 # On Suns, sometimes $CPP names a directory.
7131 if test -n "$CPP" && test -d "$CPP"; then
7132 CPP=
7134 if test -z "$CPP"; then
7135 if ${ac_cv_prog_CPP+:} false; then :
7136 $as_echo_n "(cached) " >&6
7137 else
7138 # Double quotes because CPP needs to be expanded
7139 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7141 ac_preproc_ok=false
7142 for ac_c_preproc_warn_flag in '' yes
7144 # Use a header file that comes with gcc, so configuring glibc
7145 # with a fresh cross-compiler works.
7146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7147 # <limits.h> exists even on freestanding compilers.
7148 # On the NeXT, cc -E runs the code through the compiler's parser,
7149 # not just through cpp. "Syntax error" is here to catch this case.
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7151 /* end confdefs.h. */
7152 #ifdef __STDC__
7153 # include <limits.h>
7154 #else
7155 # include <assert.h>
7156 #endif
7157 Syntax error
7158 _ACEOF
7159 if ac_fn_c_try_cpp "$LINENO"; then :
7161 else
7162 # Broken: fails on valid input.
7163 continue
7165 rm -f conftest.err conftest.i conftest.$ac_ext
7167 # OK, works on sane cases. Now check whether nonexistent headers
7168 # can be detected and how.
7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h. */
7171 #include <ac_nonexistent.h>
7172 _ACEOF
7173 if ac_fn_c_try_cpp "$LINENO"; then :
7174 # Broken: success on invalid input.
7175 continue
7176 else
7177 # Passes both tests.
7178 ac_preproc_ok=:
7179 break
7181 rm -f conftest.err conftest.i conftest.$ac_ext
7183 done
7184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7185 rm -f conftest.i conftest.err conftest.$ac_ext
7186 if $ac_preproc_ok; then :
7187 break
7190 done
7191 ac_cv_prog_CPP=$CPP
7194 CPP=$ac_cv_prog_CPP
7195 else
7196 ac_cv_prog_CPP=$CPP
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7199 $as_echo "$CPP" >&6; }
7200 ac_preproc_ok=false
7201 for ac_c_preproc_warn_flag in '' yes
7203 # Use a header file that comes with gcc, so configuring glibc
7204 # with a fresh cross-compiler works.
7205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7206 # <limits.h> exists even on freestanding compilers.
7207 # On the NeXT, cc -E runs the code through the compiler's parser,
7208 # not just through cpp. "Syntax error" is here to catch this case.
7209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h. */
7211 #ifdef __STDC__
7212 # include <limits.h>
7213 #else
7214 # include <assert.h>
7215 #endif
7216 Syntax error
7217 _ACEOF
7218 if ac_fn_c_try_cpp "$LINENO"; then :
7220 else
7221 # Broken: fails on valid input.
7222 continue
7224 rm -f conftest.err conftest.i conftest.$ac_ext
7226 # OK, works on sane cases. Now check whether nonexistent headers
7227 # can be detected and how.
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 #include <ac_nonexistent.h>
7231 _ACEOF
7232 if ac_fn_c_try_cpp "$LINENO"; then :
7233 # Broken: success on invalid input.
7234 continue
7235 else
7236 # Passes both tests.
7237 ac_preproc_ok=:
7238 break
7240 rm -f conftest.err conftest.i conftest.$ac_ext
7242 done
7243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7244 rm -f conftest.i conftest.err conftest.$ac_ext
7245 if $ac_preproc_ok; then :
7247 else
7248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7250 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7251 See \`config.log' for more details" "$LINENO" 5; }
7254 ac_ext=c
7255 ac_cpp='$CPP $CPPFLAGS'
7256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7262 $as_echo_n "checking for ANSI C header files... " >&6; }
7263 if ${ac_cv_header_stdc+:} false; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h. */
7268 #include <stdlib.h>
7269 #include <stdarg.h>
7270 #include <string.h>
7271 #include <float.h>
7274 main ()
7278 return 0;
7280 _ACEOF
7281 if ac_fn_c_try_compile "$LINENO"; then :
7282 ac_cv_header_stdc=yes
7283 else
7284 ac_cv_header_stdc=no
7286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7288 if test $ac_cv_header_stdc = yes; then
7289 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7292 #include <string.h>
7294 _ACEOF
7295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7296 $EGREP "memchr" >/dev/null 2>&1; then :
7298 else
7299 ac_cv_header_stdc=no
7301 rm -f conftest*
7305 if test $ac_cv_header_stdc = yes; then
7306 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308 /* end confdefs.h. */
7309 #include <stdlib.h>
7311 _ACEOF
7312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7313 $EGREP "free" >/dev/null 2>&1; then :
7315 else
7316 ac_cv_header_stdc=no
7318 rm -f conftest*
7322 if test $ac_cv_header_stdc = yes; then
7323 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7324 if test "$cross_compiling" = yes; then :
7326 else
7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7329 #include <ctype.h>
7330 #include <stdlib.h>
7331 #if ((' ' & 0x0FF) == 0x020)
7332 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7333 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7334 #else
7335 # define ISLOWER(c) \
7336 (('a' <= (c) && (c) <= 'i') \
7337 || ('j' <= (c) && (c) <= 'r') \
7338 || ('s' <= (c) && (c) <= 'z'))
7339 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7340 #endif
7342 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7344 main ()
7346 int i;
7347 for (i = 0; i < 256; i++)
7348 if (XOR (islower (i), ISLOWER (i))
7349 || toupper (i) != TOUPPER (i))
7350 return 2;
7351 return 0;
7353 _ACEOF
7354 if ac_fn_c_try_run "$LINENO"; then :
7356 else
7357 ac_cv_header_stdc=no
7359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7360 conftest.$ac_objext conftest.beam conftest.$ac_ext
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7366 $as_echo "$ac_cv_header_stdc" >&6; }
7367 if test $ac_cv_header_stdc = yes; then
7369 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7373 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7374 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7375 inttypes.h stdint.h unistd.h
7376 do :
7377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7381 cat >>confdefs.h <<_ACEOF
7382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7383 _ACEOF
7387 done
7390 for ac_header in \
7391 AL/al.h \
7392 ApplicationServices/ApplicationServices.h \
7393 AudioToolbox/AudioConverter.h \
7394 AudioUnit/AudioUnit.h \
7395 AudioUnit/AudioComponent.h \
7396 CL/cl.h \
7397 Carbon/Carbon.h \
7398 CommonCrypto/CommonCryptor.h \
7399 CoreAudio/CoreAudio.h \
7400 CoreServices/CoreServices.h \
7401 DiskArbitration/DiskArbitration.h \
7402 EGL/egl.h \
7403 IOKit/IOKitLib.h \
7404 IOKit/hid/IOHIDLib.h \
7405 OpenAL/al.h \
7406 OpenCL/opencl.h \
7407 QuickTime/ImageCompression.h \
7408 Security/Security.h \
7409 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7410 SystemConfiguration/SCNetworkConfiguration.h \
7411 alias.h \
7412 arpa/inet.h \
7413 arpa/nameser.h \
7414 asm/types.h \
7415 asm/user.h \
7416 curses.h \
7417 dirent.h \
7418 dlfcn.h \
7419 elf.h \
7420 float.h \
7421 fnmatch.h \
7422 getopt.h \
7423 gettext-po.h \
7424 grp.h \
7425 gsm.h \
7426 gsm/gsm.h \
7427 ieeefp.h \
7428 inet/mib2.h \
7429 kstat.h \
7430 libproc.h \
7431 link.h \
7432 linux/cdrom.h \
7433 linux/compiler.h \
7434 linux/filter.h \
7435 linux/hdreg.h \
7436 linux/hidraw.h \
7437 linux/input.h \
7438 linux/ioctl.h \
7439 linux/joystick.h \
7440 linux/major.h \
7441 linux/param.h \
7442 linux/serial.h \
7443 linux/types.h \
7444 linux/ucdrom.h \
7445 lwp.h \
7446 mach-o/nlist.h \
7447 mach-o/loader.h \
7448 mach/mach.h \
7449 mach/machine.h \
7450 machine/cpu.h \
7451 machine/sysarch.h \
7452 mntent.h \
7453 ncurses.h \
7454 netdb.h \
7455 netinet/in.h \
7456 netinet/in_systm.h \
7457 netinet/tcp.h \
7458 netinet/tcp_fsm.h \
7459 pcap/pcap.h \
7460 poll.h \
7461 port.h \
7462 pthread.h \
7463 pwd.h \
7464 sasl/sasl.h \
7465 sched.h \
7466 scsi/scsi.h \
7467 scsi/scsi_ioctl.h \
7468 scsi/sg.h \
7469 stdbool.h \
7470 stdint.h \
7471 stropts.h \
7472 sys/attr.h \
7473 sys/auxv.h \
7474 sys/cdio.h \
7475 sys/epoll.h \
7476 sys/event.h \
7477 sys/filio.h \
7478 sys/ioctl.h \
7479 sys/ipc.h \
7480 sys/link.h \
7481 sys/mman.h \
7482 sys/modem.h \
7483 sys/msg.h \
7484 sys/mtio.h \
7485 sys/param.h \
7486 sys/poll.h \
7487 sys/prctl.h \
7488 sys/protosw.h \
7489 sys/ptrace.h \
7490 sys/queue.h \
7491 sys/resource.h \
7492 sys/scsiio.h \
7493 sys/shm.h \
7494 sys/signal.h \
7495 sys/socket.h \
7496 sys/socketvar.h \
7497 sys/sockio.h \
7498 sys/statvfs.h \
7499 sys/strtio.h \
7500 sys/syscall.h \
7501 sys/sysinfo.h \
7502 sys/tihdr.h \
7503 sys/time.h \
7504 sys/timeout.h \
7505 sys/times.h \
7506 sys/uio.h \
7507 sys/user.h \
7508 sys/utsname.h \
7509 sys/vnode.h \
7510 sys/wait.h \
7511 syscall.h \
7512 termios.h \
7513 unistd.h \
7514 utime.h \
7515 valgrind/memcheck.h \
7516 valgrind/valgrind.h
7518 do :
7519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7522 cat >>confdefs.h <<_ACEOF
7523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7524 _ACEOF
7528 done
7530 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7531 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7533 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7538 if test $ac_cv_header_sys_mkdev_h = no; then
7539 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7540 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7542 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7549 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7550 if ${ac_cv_header_stat_broken+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7555 #include <sys/types.h>
7556 #include <sys/stat.h>
7558 #if defined S_ISBLK && defined S_IFDIR
7559 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7560 #endif
7562 #if defined S_ISBLK && defined S_IFCHR
7563 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7564 #endif
7566 #if defined S_ISLNK && defined S_IFREG
7567 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7568 #endif
7570 #if defined S_ISSOCK && defined S_IFREG
7571 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7572 #endif
7574 _ACEOF
7575 if ac_fn_c_try_compile "$LINENO"; then :
7576 ac_cv_header_stat_broken=no
7577 else
7578 ac_cv_header_stat_broken=yes
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7583 $as_echo "$ac_cv_header_stat_broken" >&6; }
7584 if test $ac_cv_header_stat_broken = yes; then
7586 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7592 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7593 do :
7594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7596 #ifdef HAVE_SYS_PARAM_H
7597 # include <sys/param.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 saved_sysctl_h_CFLAGS=$CFLAGS
7611 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7612 for ac_header in sys/sysctl.h
7613 do :
7614 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7615 #ifdef HAVE_SYS_PARAM_H
7616 # include <sys/param.h>
7617 #endif
7619 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7620 cat >>confdefs.h <<_ACEOF
7621 #define HAVE_SYS_SYSCTL_H 1
7622 _ACEOF
7626 done
7628 CFLAGS=$saved_sysctl_h_CFLAGS
7630 for ac_header in \
7631 netinet/ip.h \
7632 net/if.h \
7633 net/if_arp.h \
7634 net/if_dl.h \
7635 net/if_types.h \
7636 net/route.h \
7637 netinet/if_ether.h \
7638 netinet/if_inarp.h \
7639 netinet/in_pcb.h \
7640 netinet/ip_icmp.h \
7641 netinet/ip_var.h \
7642 netinet/udp.h \
7643 netipx/ipx.h \
7644 sys/un.h \
7646 do :
7647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7649 #ifdef HAVE_SYS_SOCKET_H
7650 # include <sys/socket.h>
7651 #endif
7652 #ifdef HAVE_SYS_SOCKETVAR_H
7653 # include <sys/socketvar.h>
7654 #endif
7655 #ifdef HAVE_NET_ROUTE_H
7656 # include <net/route.h>
7657 #endif
7658 #ifdef HAVE_NETINET_IN_H
7659 # include <netinet/in.h>
7660 #endif
7661 #ifdef HAVE_NETINET_IN_SYSTM_H
7662 # include <netinet/in_systm.h>
7663 #endif
7664 #ifdef HAVE_NET_IF_H
7665 # include <net/if.h>
7666 #endif
7667 #ifdef HAVE_NETINET_IP_H
7668 # include <netinet/ip.h>
7669 #endif
7671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7681 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7682 do :
7683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7685 #ifdef HAVE_ALIAS_H
7686 # include <alias.h>
7687 #endif
7688 #ifdef HAVE_SYS_SOCKET_H
7689 # include <sys/socket.h>
7690 #endif
7691 #ifdef HAVE_SYS_SOCKETVAR_H
7692 # include <sys/socketvar.h>
7693 #endif
7694 #ifdef HAVE_SYS_TIMEOUT_H
7695 # include <sys/timeout.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IN_H
7698 # include <netinet/in.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IN_SYSTM_H
7701 # include <netinet/in_systm.h>
7702 #endif
7703 #ifdef HAVE_NETINET_IP_H
7704 # include <netinet/ip.h>
7705 #endif
7706 #ifdef HAVE_NETINET_IP_VAR_H
7707 # include <netinet/ip_var.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IP_ICMP_H
7710 # include <netinet/ip_icmp.h>
7711 #endif
7712 #ifdef HAVE_NETINET_UDP_H
7713 # include <netinet/udp.h>
7714 #endif
7715 #ifdef HAVE_NETINET_TCP_H
7716 # include <netinet/tcp.h>
7717 #endif
7718 #ifdef HAVE_NETINET_TCP_TIMER_H
7719 #include <netinet/tcp_timer.h>
7720 #endif
7722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 _ACEOF
7729 done
7732 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7733 do :
7734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7736 #ifdef HAVE_ASM_TYPES_H
7737 # include <asm/types.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKET_H
7740 # include <sys/socket.h>
7741 #endif
7742 #ifdef HAVE_LINUX_TYPES_H
7743 # include <linux/types.h>
7744 #endif
7746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 _ACEOF
7753 done
7756 for ac_header in resolv.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7759 #ifdef HAVE_SYS_SOCKET_H
7760 # include <sys/socket.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IN_H
7763 # include <netinet/in.h>
7764 #endif
7765 #ifdef HAVE_ARPA_NAMESER_H
7766 # include <arpa/nameser.h>
7767 #endif
7769 if test "x$ac_cv_header_resolv_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_RESOLV_H 1
7772 _ACEOF
7776 done
7779 for ac_header in ifaddrs.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7783 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_IFADDRS_H 1
7786 _ACEOF
7790 done
7793 for ac_header in sys/ucontext.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7797 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_SYS_UCONTEXT_H 1
7800 _ACEOF
7804 done
7807 for ac_header in sys/thr.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7810 #ifdef HAVE_SYS_UCONTEXT_H
7811 #include <sys/ucontext.h>
7812 #endif
7814 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_SYS_THR_H 1
7817 _ACEOF
7821 done
7824 for ac_header in pthread_np.h
7825 do :
7826 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7827 #include <pthread.h>
7828 #endif
7830 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_PTHREAD_NP_H 1
7833 _ACEOF
7837 done
7840 for ac_header in linux/videodev2.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7843 #include <sys/time.h>
7844 #endif
7845 #include <sys/types.h>
7846 #ifdef HAVE_ASM_TYPES_H
7847 #include <asm/types.h>
7848 #endif
7850 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_LINUX_VIDEODEV2_H 1
7853 _ACEOF
7857 done
7860 for ac_header in libprocstat.h
7861 do :
7862 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7863 #include <sys/param.h>
7864 #endif
7865 #ifdef HAVE_SYS_QUEUE_H
7866 #include <sys/queue.h>
7867 #endif
7868 #ifdef HAVE_SYS_SOCKET_H
7869 #include <sys/socket.h>
7870 #endif
7872 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7873 cat >>confdefs.h <<_ACEOF
7874 #define HAVE_LIBPROCSTAT_H 1
7875 _ACEOF
7879 done
7883 DLLFLAGS="-D_REENTRANT"
7885 LDRPATH_INSTALL=""
7887 LDRPATH_LOCAL=""
7889 LDDLLFLAGS=""
7891 LDEXECFLAGS=""
7893 TOP_INSTALL_LIB=""
7895 TOP_INSTALL_DEV=""
7897 WINELOADER_LDFLAGS=""
7899 WINEPRELOADER_LDFLAGS=""
7901 LIBEXT="so"
7902 DLLEXT=".so"
7903 # Extract the first word of "ldd", so it can be a program name with args.
7904 set dummy ldd; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_path_LDD+:} false; then :
7908 $as_echo_n "(cached) " >&6
7909 else
7910 case $LDD in
7911 [\\/]* | ?:[\\/]*)
7912 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 as_dummy="/sbin:/usr/sbin:$PATH"
7917 for as_dir in $as_dummy
7919 IFS=$as_save_IFS
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925 break 2
7927 done
7928 done
7929 IFS=$as_save_IFS
7931 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7933 esac
7935 LDD=$ac_cv_path_LDD
7936 if test -n "$LDD"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7938 $as_echo "$LDD" >&6; }
7939 else
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7945 if test -n "$ac_tool_prefix"; then
7946 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7947 set dummy ${ac_tool_prefix}otool; ac_word=$2
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7949 $as_echo_n "checking for $ac_word... " >&6; }
7950 if ${ac_cv_prog_OTOOL+:} false; then :
7951 $as_echo_n "(cached) " >&6
7952 else
7953 if test -n "$OTOOL"; then
7954 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7955 else
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 for as_dir in $PATH
7959 IFS=$as_save_IFS
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 break 2
7967 done
7968 done
7969 IFS=$as_save_IFS
7973 OTOOL=$ac_cv_prog_OTOOL
7974 if test -n "$OTOOL"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7976 $as_echo "$OTOOL" >&6; }
7977 else
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7979 $as_echo "no" >&6; }
7984 if test -z "$ac_cv_prog_OTOOL"; then
7985 ac_ct_OTOOL=$OTOOL
7986 # Extract the first word of "otool", so it can be a program name with args.
7987 set dummy otool; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$ac_ct_OTOOL"; then
7994 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_ac_ct_OTOOL="otool"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8014 if test -n "$ac_ct_OTOOL"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8016 $as_echo "$ac_ct_OTOOL" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8022 if test "x$ac_ct_OTOOL" = x; then
8023 OTOOL="otool"
8024 else
8025 case $cross_compiling:$ac_tool_warned in
8026 yes:)
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8029 ac_tool_warned=yes ;;
8030 esac
8031 OTOOL=$ac_ct_OTOOL
8033 else
8034 OTOOL="$ac_cv_prog_OTOOL"
8037 if test -n "$ac_tool_prefix"; then
8038 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8039 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 $as_echo_n "checking for $ac_word... " >&6; }
8042 if ${ac_cv_prog_READELF+:} false; then :
8043 $as_echo_n "(cached) " >&6
8044 else
8045 if test -n "$READELF"; then
8046 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8047 else
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 for as_dir in $PATH
8051 IFS=$as_save_IFS
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8057 break 2
8059 done
8060 done
8061 IFS=$as_save_IFS
8065 READELF=$ac_cv_prog_READELF
8066 if test -n "$READELF"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8068 $as_echo "$READELF" >&6; }
8069 else
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8076 if test -z "$ac_cv_prog_READELF"; then
8077 ac_ct_READELF=$READELF
8078 # Extract the first word of "readelf", so it can be a program name with args.
8079 set dummy readelf; ac_word=$2
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081 $as_echo_n "checking for $ac_word... " >&6; }
8082 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8083 $as_echo_n "(cached) " >&6
8084 else
8085 if test -n "$ac_ct_READELF"; then
8086 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8087 else
8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 for as_dir in $PATH
8091 IFS=$as_save_IFS
8092 test -z "$as_dir" && as_dir=.
8093 for ac_exec_ext in '' $ac_executable_extensions; do
8094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8095 ac_cv_prog_ac_ct_READELF="readelf"
8096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8097 break 2
8099 done
8100 done
8101 IFS=$as_save_IFS
8105 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8106 if test -n "$ac_ct_READELF"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8108 $as_echo "$ac_ct_READELF" >&6; }
8109 else
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8114 if test "x$ac_ct_READELF" = x; then
8115 READELF="true"
8116 else
8117 case $cross_compiling:$ac_tool_warned in
8118 yes:)
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8121 ac_tool_warned=yes ;;
8122 esac
8123 READELF=$ac_ct_READELF
8125 else
8126 READELF="$ac_cv_prog_READELF"
8129 wine_rules_file=conf$$rules.make
8130 rm -f $wine_rules_file
8131 SUBDIRS=""
8133 DISABLED_SUBDIRS=""
8135 CONFIGURE_TARGETS=""
8138 wine_fn_append_file ()
8140 as_fn_append $1 " \\$as_nl $2"
8143 wine_fn_append_rule ()
8145 $as_echo "$1" >>$wine_rules_file
8148 wine_fn_config_makefile ()
8150 wine_fn_append_file SUBDIRS $1
8151 if eval test \"x\$"$2"\" = x"no"; then :
8152 wine_fn_append_file DISABLED_SUBDIRS $1
8156 wine_fn_config_symlink ()
8158 ac_links=$@
8159 wine_fn_append_rule \
8160 "$ac_links:
8161 @./config.status \$@"
8162 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8165 wine_binary="wine"
8166 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8167 WINELOADER_PROGRAMS="$wine_binary"
8169 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8171 case $host_os in
8172 cygwin*|mingw32*)
8173 if test -n "$ac_tool_prefix"; then
8174 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8175 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8177 $as_echo_n "checking for $ac_word... " >&6; }
8178 if ${ac_cv_prog_DLLTOOL+:} false; then :
8179 $as_echo_n "(cached) " >&6
8180 else
8181 if test -n "$DLLTOOL"; then
8182 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8183 else
8184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 for as_dir in $PATH
8187 IFS=$as_save_IFS
8188 test -z "$as_dir" && as_dir=.
8189 for ac_exec_ext in '' $ac_executable_extensions; do
8190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8191 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8193 break 2
8195 done
8196 done
8197 IFS=$as_save_IFS
8201 DLLTOOL=$ac_cv_prog_DLLTOOL
8202 if test -n "$DLLTOOL"; then
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8204 $as_echo "$DLLTOOL" >&6; }
8205 else
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8212 if test -z "$ac_cv_prog_DLLTOOL"; then
8213 ac_ct_DLLTOOL=$DLLTOOL
8214 # Extract the first word of "dlltool", so it can be a program name with args.
8215 set dummy dlltool; ac_word=$2
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8217 $as_echo_n "checking for $ac_word... " >&6; }
8218 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8219 $as_echo_n "(cached) " >&6
8220 else
8221 if test -n "$ac_ct_DLLTOOL"; then
8222 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8223 else
8224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8225 for as_dir in $PATH
8227 IFS=$as_save_IFS
8228 test -z "$as_dir" && as_dir=.
8229 for ac_exec_ext in '' $ac_executable_extensions; do
8230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8231 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8233 break 2
8235 done
8236 done
8237 IFS=$as_save_IFS
8241 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8242 if test -n "$ac_ct_DLLTOOL"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8244 $as_echo "$ac_ct_DLLTOOL" >&6; }
8245 else
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 $as_echo "no" >&6; }
8250 if test "x$ac_ct_DLLTOOL" = x; then
8251 DLLTOOL="false"
8252 else
8253 case $cross_compiling:$ac_tool_warned in
8254 yes:)
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8257 ac_tool_warned=yes ;;
8258 esac
8259 DLLTOOL=$ac_ct_DLLTOOL
8261 else
8262 DLLTOOL="$ac_cv_prog_DLLTOOL"
8265 LIBEXT="dll"
8266 DLLEXT=""
8267 case $host_cpu in
8268 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8270 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8281 else
8282 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8289 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8290 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8291 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8292 fi ;;
8293 esac
8294 enable_iphlpapi=${enable_iphlpapi:-no}
8295 enable_kernel32=${enable_kernel32:-no}
8296 enable_ntdll=${enable_ntdll:-no}
8297 enable_ws2_32=${enable_ws2_32:-no}
8298 enable_loader=${enable_loader:-no}
8299 enable_server=${enable_server:-no}
8300 with_x=${with_x:-no}
8301 with_pthread=${with_pthread:-no}
8304 darwin*|macosx*)
8305 ac_ext=m
8306 ac_cpp='$OBJCPP $CPPFLAGS'
8307 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8308 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8309 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8311 ac_ext=m
8312 ac_cpp='$OBJCPP $CPPFLAGS'
8313 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8314 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8315 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8316 if test -n "$ac_tool_prefix"; then
8317 for ac_prog in gcc objcc objc cc CC
8319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8322 $as_echo_n "checking for $ac_word... " >&6; }
8323 if ${ac_cv_prog_OBJC+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 if test -n "$OBJC"; then
8327 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8328 else
8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 for as_dir in $PATH
8332 IFS=$as_save_IFS
8333 test -z "$as_dir" && as_dir=.
8334 for ac_exec_ext in '' $ac_executable_extensions; do
8335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8336 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8338 break 2
8340 done
8341 done
8342 IFS=$as_save_IFS
8346 OBJC=$ac_cv_prog_OBJC
8347 if test -n "$OBJC"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8349 $as_echo "$OBJC" >&6; }
8350 else
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8356 test -n "$OBJC" && break
8357 done
8359 if test -z "$OBJC"; then
8360 ac_ct_OBJC=$OBJC
8361 for ac_prog in gcc objcc objc cc CC
8363 # Extract the first word of "$ac_prog", so it can be a program name with args.
8364 set dummy $ac_prog; ac_word=$2
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8366 $as_echo_n "checking for $ac_word... " >&6; }
8367 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 if test -n "$ac_ct_OBJC"; then
8371 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8372 else
8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8374 for as_dir in $PATH
8376 IFS=$as_save_IFS
8377 test -z "$as_dir" && as_dir=.
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 break 2
8384 done
8385 done
8386 IFS=$as_save_IFS
8390 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8391 if test -n "$ac_ct_OBJC"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8393 $as_echo "$ac_ct_OBJC" >&6; }
8394 else
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8396 $as_echo "no" >&6; }
8400 test -n "$ac_ct_OBJC" && break
8401 done
8403 if test "x$ac_ct_OBJC" = x; then
8404 OBJC="gcc"
8405 else
8406 case $cross_compiling:$ac_tool_warned in
8407 yes:)
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8410 ac_tool_warned=yes ;;
8411 esac
8412 OBJC=$ac_ct_OBJC
8416 # Provide some information about the compiler.
8417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8418 set X $ac_compile
8419 ac_compiler=$2
8420 for ac_option in --version -v -V -qversion; do
8421 { { ac_try="$ac_compiler $ac_option >&5"
8422 case "(($ac_try" in
8423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8424 *) ac_try_echo=$ac_try;;
8425 esac
8426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8427 $as_echo "$ac_try_echo"; } >&5
8428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8429 ac_status=$?
8430 if test -s conftest.err; then
8431 sed '10a\
8432 ... rest of stderr output deleted ...
8433 10q' conftest.err >conftest.er1
8434 cat conftest.er1 >&5
8436 rm -f conftest.er1 conftest.err
8437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8438 test $ac_status = 0; }
8439 done
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8442 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8443 if ${ac_cv_objc_compiler_gnu+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8450 main ()
8452 #ifndef __GNUC__
8453 choke me
8454 #endif
8457 return 0;
8459 _ACEOF
8460 if ac_fn_objc_try_compile "$LINENO"; then :
8461 ac_compiler_gnu=yes
8462 else
8463 ac_compiler_gnu=no
8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8470 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8471 if test $ac_compiler_gnu = yes; then
8472 GOBJC=yes
8473 else
8474 GOBJC=
8476 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8477 ac_save_OBJCFLAGS=$OBJCFLAGS
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8479 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8480 if ${ac_cv_prog_objc_g+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_save_objc_werror_flag=$ac_objc_werror_flag
8484 ac_objc_werror_flag=yes
8485 ac_cv_prog_objc_g=no
8486 OBJCFLAGS="-g"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8491 main ()
8495 return 0;
8497 _ACEOF
8498 if ac_fn_objc_try_compile "$LINENO"; then :
8499 ac_cv_prog_objc_g=yes
8500 else
8501 OBJCFLAGS=""
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8506 main ()
8510 return 0;
8512 _ACEOF
8513 if ac_fn_objc_try_compile "$LINENO"; then :
8515 else
8516 ac_objc_werror_flag=$ac_save_objc_werror_flag
8517 OBJCFLAGS="-g"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8522 main ()
8526 return 0;
8528 _ACEOF
8529 if ac_fn_objc_try_compile "$LINENO"; then :
8530 ac_cv_prog_objc_g=yes
8532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8537 ac_objc_werror_flag=$ac_save_objc_werror_flag
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8540 $as_echo "$ac_cv_prog_objc_g" >&6; }
8541 if test "$ac_test_OBJCFLAGS" = set; then
8542 OBJCFLAGS=$ac_save_OBJCFLAGS
8543 elif test $ac_cv_prog_objc_g = yes; then
8544 if test "$GOBJC" = yes; then
8545 OBJCFLAGS="-g -O2"
8546 else
8547 OBJCFLAGS="-g"
8549 else
8550 if test "$GOBJC" = yes; then
8551 OBJCFLAGS="-O2"
8552 else
8553 OBJCFLAGS=
8556 ac_ext=m
8557 ac_cpp='$OBJCPP $CPPFLAGS'
8558 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8559 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8560 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8563 ac_ext=m
8564 ac_cpp='$OBJCPP $CPPFLAGS'
8565 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8566 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8567 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8569 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8570 if test -z "$OBJCPP"; then
8571 if ${ac_cv_prog_OBJCPP+:} false; then :
8572 $as_echo_n "(cached) " >&6
8573 else
8574 # Double quotes because OBJCPP needs to be expanded
8575 for OBJCPP in "$OBJC -E" "/lib/cpp"
8577 ac_preproc_ok=false
8578 for ac_objc_preproc_warn_flag in '' yes
8580 # Use a header file that comes with gcc, so configuring glibc
8581 # with a fresh cross-compiler works.
8582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8583 # <limits.h> exists even on freestanding compilers.
8584 # On the NeXT, cc -E runs the code through the compiler's parser,
8585 # not just through cpp. "Syntax error" is here to catch this case.
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 #ifdef __STDC__
8589 # include <limits.h>
8590 #else
8591 # include <assert.h>
8592 #endif
8593 Syntax error
8594 _ACEOF
8595 if ac_fn_objc_try_cpp "$LINENO"; then :
8597 else
8598 # Broken: fails on valid input.
8599 continue
8601 rm -f conftest.err conftest.i conftest.$ac_ext
8603 # OK, works on sane cases. Now check whether nonexistent headers
8604 # can be detected and how.
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8607 #include <ac_nonexistent.h>
8608 _ACEOF
8609 if ac_fn_objc_try_cpp "$LINENO"; then :
8610 # Broken: success on invalid input.
8611 continue
8612 else
8613 # Passes both tests.
8614 ac_preproc_ok=:
8615 break
8617 rm -f conftest.err conftest.i conftest.$ac_ext
8619 done
8620 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8621 rm -f conftest.i conftest.err conftest.$ac_ext
8622 if $ac_preproc_ok; then :
8623 break
8626 done
8627 ac_cv_prog_OBJCPP=$OBJCPP
8630 OBJCPP=$ac_cv_prog_OBJCPP
8631 else
8632 ac_cv_prog_OBJCPP=$OBJCPP
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8635 $as_echo "$OBJCPP" >&6; }
8636 ac_preproc_ok=false
8637 for ac_objc_preproc_warn_flag in '' yes
8639 # Use a header file that comes with gcc, so configuring glibc
8640 # with a fresh cross-compiler works.
8641 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8642 # <limits.h> exists even on freestanding compilers.
8643 # On the NeXT, cc -E runs the code through the compiler's parser,
8644 # not just through cpp. "Syntax error" is here to catch this case.
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 #ifdef __STDC__
8648 # include <limits.h>
8649 #else
8650 # include <assert.h>
8651 #endif
8652 Syntax error
8653 _ACEOF
8654 if ac_fn_objc_try_cpp "$LINENO"; then :
8656 else
8657 # Broken: fails on valid input.
8658 continue
8660 rm -f conftest.err conftest.i conftest.$ac_ext
8662 # OK, works on sane cases. Now check whether nonexistent headers
8663 # can be detected and how.
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666 #include <ac_nonexistent.h>
8667 _ACEOF
8668 if ac_fn_objc_try_cpp "$LINENO"; then :
8669 # Broken: success on invalid input.
8670 continue
8671 else
8672 # Passes both tests.
8673 ac_preproc_ok=:
8674 break
8676 rm -f conftest.err conftest.i conftest.$ac_ext
8678 done
8679 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8680 rm -f conftest.i conftest.err conftest.$ac_ext
8681 if $ac_preproc_ok; then :
8683 else
8684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8686 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8687 See \`config.log' for more details" "$LINENO" 5; }
8690 ac_ext=m
8691 ac_cpp='$OBJCPP $CPPFLAGS'
8692 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8693 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8694 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8697 for ac_header in Metal/Metal.h
8698 do :
8699 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8700 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8701 cat >>confdefs.h <<_ACEOF
8702 #define HAVE_METAL_METAL_H 1
8703 _ACEOF
8707 done
8709 ac_ext=c
8710 ac_cpp='$CPP $CPPFLAGS'
8711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8715 LIBEXT="dylib"
8716 DLLFLAGS="$DLLFLAGS -fPIC"
8717 LDDLLFLAGS="-fPIC"
8718 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8719 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8720 COREFOUNDATION_LIBS="-framework CoreFoundation"
8722 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8724 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8726 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8728 CORESERVICES_LIBS="-framework CoreServices"
8730 APPKIT_LIBS="-framework AppKit"
8732 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8735 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8737 wine_can_build_preloader=yes
8738 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8740 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8741 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 int main(int argc, char **argv) { return 0; }
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 ac_cv_cflags__Wl__no_new_main__e__main=yes
8752 else
8753 ac_cv_cflags__Wl__no_new_main__e__main=no
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8760 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8761 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8762 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8764 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8765 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8776 else
8777 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8784 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8785 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8786 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8787 else
8788 { $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
8789 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8790 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8801 else
8802 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $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
8809 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8810 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8811 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8812 else
8813 wine_can_build_preloader=no
8816 else
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8818 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8819 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 int main(int argc, char **argv) { return 0; }
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8830 else
8831 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8838 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8839 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8840 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8841 else
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8843 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8844 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8845 $as_echo_n "(cached) " >&6
8846 else
8847 ac_wine_try_cflags_saved=$CFLAGS
8848 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 int main(int argc, char **argv) { return 0; }
8852 _ACEOF
8853 if ac_fn_c_try_link "$LINENO"; then :
8854 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8855 else
8856 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8858 rm -f core conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8860 CFLAGS=$ac_wine_try_cflags_saved
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8863 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8864 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8865 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8866 else
8867 wine_can_build_preloader=no
8871 if test "$wine_can_build_preloader" = "yes"
8872 then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8874 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8875 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_wine_try_cflags_saved=$CFLAGS
8879 CFLAGS="$CFLAGS -Wl,-no_pie"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8882 int main(int argc, char **argv) { return 0; }
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 ac_cv_cflags__Wl__no_pie=yes
8886 else
8887 ac_cv_cflags__Wl__no_pie=no
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 CFLAGS=$ac_wine_try_cflags_saved
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8894 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8895 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8896 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8898 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8899 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8900 else
8901 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8904 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8905 then
8906 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8909 if test "$ac_cv_header_Security_Security_h" = "yes"
8910 then
8911 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8913 ac_save_LIBS="$LIBS"
8914 LIBS="$LIBS $SECURITY_LIBS"
8915 for ac_func in SSLCopyPeerCertificates
8916 do :
8917 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8918 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8919 cat >>confdefs.h <<_ACEOF
8920 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8921 _ACEOF
8924 done
8926 LIBS="$ac_save_LIBS"
8928 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8929 then
8930 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8931 then
8932 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8934 else
8935 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8938 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8939 ac_save_LIBS="$LIBS"
8940 LIBS="$LIBS $COREAUDIO_LIBS"
8941 for ac_func in AUGraphAddNode
8942 do :
8943 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8944 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8945 cat >>confdefs.h <<_ACEOF
8946 #define HAVE_AUGRAPHADDNODE 1
8947 _ACEOF
8950 done
8952 LIBS="$ac_save_LIBS"
8954 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8955 then
8956 OPENAL_LIBS="-framework OpenAL"
8959 cat >>confdefs.h <<_ACEOF
8960 #define HAVE_OPENAL 1
8961 _ACEOF
8963 ac_cv_lib_openal=yes
8965 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8966 then
8967 OPENCL_LIBS="-framework OpenCL"
8969 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8971 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8972 then
8973 ac_save_LIBS="$LIBS"
8974 LIBS="$LIBS $IOKIT_LIBS"
8975 for ac_func in IOHIDManagerCreate
8976 do :
8977 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8978 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8979 cat >>confdefs.h <<_ACEOF
8980 #define HAVE_IOHIDMANAGERCREATE 1
8981 _ACEOF
8984 done
8986 LIBS="$ac_save_LIBS"
8989 if test "x$with_quicktime" != "xno"
8990 then
8991 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8992 then
8993 ac_save_LIBS="$LIBS"
8994 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8996 $as_echo_n "checking for the QuickTime framework... " >&6; }
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
8999 #include <QuickTime/ImageCompression.h>
9001 main ()
9003 CodecManagerVersion(NULL);
9005 return 0;
9007 _ACEOF
9008 if ac_fn_c_try_link "$LINENO"; then :
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9010 $as_echo "yes" >&6; }
9011 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9013 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9014 else
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9016 $as_echo "no" >&6; }
9017 ac_cv_header_QuickTime_ImageCompression_h=no
9019 rm -f core conftest.err conftest.$ac_objext \
9020 conftest$ac_exeext conftest.$ac_ext
9021 LIBS="$ac_save_LIBS"
9024 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9025 case "x$with_quicktime" in
9026 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9027 xno) ;;
9028 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9029 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9030 esac
9034 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9035 then
9036 CARBON_LIBS="-framework Carbon"
9039 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9040 then
9041 METAL_LIBS="-framework Metal -framework QuartzCore"
9045 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9046 then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9048 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9049 ac_ext=m
9050 ac_cpp='$OBJCPP $CPPFLAGS'
9051 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9052 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9053 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9056 /* end confdefs.h. */
9057 #include <Metal/Metal.h>
9059 main ()
9061 id<MTLDevice> device; device.registryID;
9063 return 0;
9065 _ACEOF
9066 if ac_fn_objc_try_compile "$LINENO"; then :
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9068 $as_echo "yes" >&6; }
9070 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9072 else
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9074 $as_echo "no" >&6; }
9076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9077 ac_ext=c
9078 ac_cpp='$CPP $CPPFLAGS'
9079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9085 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9086 then
9087 ac_save_LIBS="$LIBS"
9088 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9089 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9090 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9091 enable_winemac_drv=${enable_winemac_drv:-yes}
9094 LIBS="$ac_save_LIBS"
9097 if test "x$enable_win16" = "xyes"
9098 then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9100 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9101 if test "$cross_compiling" = yes; then :
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9103 $as_echo "cross-compiling, assuming yes" >&6; }
9104 else
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9107 asm(".text\n"
9108 "bad:\tnop;nop\n"
9109 "good:\tnop;nop\n\t"
9110 ".globl _testfunc\n"
9111 "_testfunc:\tcallw good");
9112 extern void testfunc();
9114 main ()
9116 unsigned short *p = (unsigned short *)testfunc;
9117 return p[0] != 0xe866 || p[1] != 0xfffa
9119 return 0;
9121 _ACEOF
9122 if ac_fn_c_try_run "$LINENO"; then :
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9124 $as_echo "yes" >&6; }
9125 else
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9127 $as_echo "no" >&6; }
9128 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
9130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9131 conftest.$ac_objext conftest.beam conftest.$ac_ext
9136 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9138 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9140 WINELOADER_DEPENDS="wine_info.plist"
9142 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9143 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9146 linux-android*)
9147 DLLFLAGS="$DLLFLAGS -fPIC"
9148 LDDLLFLAGS="-fPIC"
9149 LDEXECFLAGS="-Wl,-pie"
9150 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9152 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9153 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9154 $as_echo_n "(cached) " >&6
9155 else
9156 ac_wine_try_cflags_saved=$CFLAGS
9157 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9160 int main(int argc, char **argv) { return 0; }
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9163 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9164 else
9165 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 CFLAGS=$ac_wine_try_cflags_saved
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9172 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9173 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9174 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9176 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9177 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9179 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9180 if eval \${$as_ac_var+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_wine_try_cflags_saved=$CFLAGS
9184 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9187 int main(int argc, char **argv) { return 0; }
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 eval "$as_ac_var=yes"
9191 else
9192 eval "$as_ac_var=no"
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 CFLAGS=$ac_wine_try_cflags_saved
9198 eval ac_res=\$$as_ac_var
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9200 $as_echo "$ac_res" >&6; }
9201 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9202 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9203 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9204 else
9205 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9207 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9208 if eval \${$as_ac_var+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_wine_try_cflags_saved=$CFLAGS
9212 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9215 int main(int argc, char **argv) { return 0; }
9216 _ACEOF
9217 if ac_fn_c_try_link "$LINENO"; then :
9218 eval "$as_ac_var=yes"
9219 else
9220 eval "$as_ac_var=no"
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9224 CFLAGS=$ac_wine_try_cflags_saved
9226 eval ac_res=\$$as_ac_var
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9228 $as_echo "$ac_res" >&6; }
9229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9230 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9231 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9235 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9236 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_wine_try_cflags_saved=$CFLAGS
9240 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9243 int main(int argc, char **argv) { return 0; }
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 ac_cv_cflags__Wl___enable_new_dtags=yes
9247 else
9248 ac_cv_cflags__Wl___enable_new_dtags=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 CFLAGS=$ac_wine_try_cflags_saved
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9255 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9256 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9257 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9260 LIBWINE_SHAREDLIB="libwine.so"
9262 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9264 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9267 $as_echo_n "checking for -lEGL... " >&6; }
9268 if ${ac_cv_lib_soname_EGL+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_soname_save_LIBS=$LIBS
9272 LIBS="-lEGL $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char eglGetProcAddress ();
9284 main ()
9286 return eglGetProcAddress ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 case "$LIBEXT" in
9293 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9294 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'` ;;
9295 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9296 if ${ac_cv_lib_soname_EGL:+false} :; then :
9297 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9298 fi ;;
9299 esac
9300 else
9301 ac_cv_lib_soname_EGL=
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 LIBS=$ac_check_soname_save_LIBS
9307 if ${ac_cv_lib_soname_EGL:+false} :; then :
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9309 $as_echo "not found" >&6; }
9311 else
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9313 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9315 cat >>confdefs.h <<_ACEOF
9316 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9317 _ACEOF
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9322 $as_echo_n "checking for -lGLESv2... " >&6; }
9323 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_soname_save_LIBS=$LIBS
9327 LIBS="-lGLESv2 $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char glFlush ();
9339 main ()
9341 return glFlush ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 case "$LIBEXT" in
9348 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9349 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'` ;;
9350 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9351 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9352 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9353 fi ;;
9354 esac
9355 else
9356 ac_cv_lib_soname_GLESv2=
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 LIBS=$ac_check_soname_save_LIBS
9362 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9364 $as_echo "not found" >&6; }
9366 else
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9368 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9370 cat >>confdefs.h <<_ACEOF
9371 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9372 _ACEOF
9377 if test "x$exec_prefix" = xNONE
9378 then
9379 case $host_cpu in
9380 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9381 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9382 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9383 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9384 esac
9389 case $host_cpu in
9390 *i[3456789]86*)
9391 DLLFLAGS="$DLLFLAGS -fno-PIC"
9392 LDDLLFLAGS="-fno-PIC" ;;
9394 DLLFLAGS="$DLLFLAGS -fPIC"
9395 LDDLLFLAGS="-fPIC" ;;
9396 esac
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9398 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9399 if ${ac_cv_c_dll_gnuelf+:} false; then :
9400 $as_echo_n "(cached) " >&6
9401 else
9402 ac_wine_try_cflags_saved=$CFLAGS
9403 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9406 void myfunc() {}
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9410 else
9411 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 CFLAGS=$ac_wine_try_cflags_saved
9416 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9417 ac_cv_c_dll_gnuelf="yes"
9418 else
9419 ac_cv_c_dll_gnuelf="no"
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9423 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9424 if test "$ac_cv_c_dll_gnuelf" = "yes"
9425 then
9426 LIBWINE_LDFLAGS="-shared"
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9428 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9429 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9430 $as_echo_n "(cached) " >&6
9431 else
9432 ac_wine_try_cflags_saved=$CFLAGS
9433 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9436 int main(int argc, char **argv) { return 0; }
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9440 else
9441 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 CFLAGS=$ac_wine_try_cflags_saved
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9448 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9449 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9450 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9451 else
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9453 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9454 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_wine_try_cflags_saved=$CFLAGS
9458 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9461 int main(int argc, char **argv) { return 0; }
9462 _ACEOF
9463 if ac_fn_c_try_link "$LINENO"; then :
9464 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9465 else
9466 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 CFLAGS=$ac_wine_try_cflags_saved
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9473 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9474 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9475 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9479 echo '{ global: *; };' >conftest.map
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9481 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9482 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_wine_try_cflags_saved=$CFLAGS
9486 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9489 int main(int argc, char **argv) { return 0; }
9490 _ACEOF
9491 if ac_fn_c_try_link "$LINENO"; then :
9492 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9493 else
9494 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 CFLAGS=$ac_wine_try_cflags_saved
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9501 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9502 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9503 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9505 rm -f conftest.map
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9508 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9509 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_cflags__Wl___export_dynamic=yes
9520 else
9521 ac_cv_cflags__Wl___export_dynamic=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9528 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9529 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9530 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9532 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9534 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9536 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9537 if eval \${$as_ac_var+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547 eval "$as_ac_var=yes"
9548 else
9549 eval "$as_ac_var=no"
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 eval ac_res=\$$as_ac_var
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9557 $as_echo "$ac_res" >&6; }
9558 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9559 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9560 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9561 else
9562 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9564 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9565 if eval \${$as_ac_var+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_wine_try_cflags_saved=$CFLAGS
9569 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 eval "$as_ac_var=yes"
9576 else
9577 eval "$as_ac_var=no"
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 CFLAGS=$ac_wine_try_cflags_saved
9583 eval ac_res=\$$as_ac_var
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9585 $as_echo "$ac_res" >&6; }
9586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9587 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9588 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9593 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9594 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_wine_try_cflags_saved=$CFLAGS
9598 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601 int main(int argc, char **argv) { return 0; }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_cflags__Wl___enable_new_dtags=yes
9605 else
9606 ac_cv_cflags__Wl___enable_new_dtags=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 CFLAGS=$ac_wine_try_cflags_saved
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9613 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9614 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9615 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9618 case $host_cpu in
9619 *i[3456789]86* | x86_64 | *aarch64*)
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9621 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9622 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9623 $as_echo_n "(cached) " >&6
9624 else
9625 ac_wine_try_cflags_saved=$CFLAGS
9626 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9629 int main(int argc, char **argv) { return 0; }
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9633 else
9634 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 CFLAGS=$ac_wine_try_cflags_saved
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9641 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9642 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9643 case $host_os in
9644 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9645 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9646 esac
9647 else
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9649 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9650 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_wine_try_cflags_saved=$CFLAGS
9654 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9657 int main(int argc, char **argv) { return 0; }
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9661 else
9662 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 CFLAGS=$ac_wine_try_cflags_saved
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9669 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9670 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9671 case $host_os in
9672 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9673 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9674 esac
9676 # Extract the first word of "prelink", so it can be a program name with args.
9677 set dummy prelink; ac_word=$2
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9679 $as_echo_n "checking for $ac_word... " >&6; }
9680 if ${ac_cv_path_PRELINK+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 case $PRELINK in
9684 [\\/]* | ?:[\\/]*)
9685 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 for as_dir in /sbin /usr/sbin $PATH
9691 IFS=$as_save_IFS
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9697 break 2
9699 done
9700 done
9701 IFS=$as_save_IFS
9703 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9705 esac
9707 PRELINK=$ac_cv_path_PRELINK
9708 if test -n "$PRELINK"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9710 $as_echo "$PRELINK" >&6; }
9711 else
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9713 $as_echo "no" >&6; }
9717 if test "x$PRELINK" = xfalse
9718 then
9719 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9723 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9724 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 ac_wine_try_cflags_saved=$CFLAGS
9728 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9731 int main(int argc, char **argv) { return 0; }
9732 _ACEOF
9733 if ac_fn_c_try_link "$LINENO"; then :
9734 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9735 else
9736 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9738 rm -f core conftest.err conftest.$ac_objext \
9739 conftest$ac_exeext conftest.$ac_ext
9740 CFLAGS=$ac_wine_try_cflags_saved
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9743 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9744 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9745 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9748 esac
9750 else
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9752 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9753 if ${ac_cv_c_dll_unixware+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 ac_wine_try_cflags_saved=$CFLAGS
9757 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760 void myfunc() {}
9761 _ACEOF
9762 if ac_fn_c_try_link "$LINENO"; then :
9763 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9764 else
9765 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9767 rm -f core conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 CFLAGS=$ac_wine_try_cflags_saved
9770 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9771 ac_cv_c_dll_unixware="yes"
9772 else
9773 ac_cv_c_dll_unixware="no"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9777 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9778 if test "$ac_cv_c_dll_unixware" = "yes"
9779 then
9780 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9783 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9785 LIBWINE_DEPENDS="wine.map"
9787 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9788 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9790 esac
9792 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9793 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9794 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9795 enable_winemac_drv=${enable_winemac_drv:-no}
9796 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9799 if test "x$with_mingw" != xno
9800 then
9801 case "x$with_mingw" in
9802 x|xyes) case "$host_cpu" in
9803 aarch64*)
9804 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9805 arm*)
9806 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9807 i[3456789]86*)
9808 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
9809 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9810 mingw32-gcc" ;;
9811 x86_64)
9812 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
9813 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9815 ac_prefix_list="" ;;
9816 esac
9817 for ac_prog in $ac_prefix_list
9819 # Extract the first word of "$ac_prog", so it can be a program name with args.
9820 set dummy $ac_prog; ac_word=$2
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9822 $as_echo_n "checking for $ac_word... " >&6; }
9823 if ${ac_cv_prog_CROSSCC+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 if test -n "$CROSSCC"; then
9827 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9828 else
9829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9830 for as_dir in $PATH
9832 IFS=$as_save_IFS
9833 test -z "$as_dir" && as_dir=.
9834 for ac_exec_ext in '' $ac_executable_extensions; do
9835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9836 ac_cv_prog_CROSSCC="$ac_prog"
9837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 break 2
9840 done
9841 done
9842 IFS=$as_save_IFS
9846 CROSSCC=$ac_cv_prog_CROSSCC
9847 if test -n "$CROSSCC"; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9849 $as_echo "$CROSSCC" >&6; }
9850 else
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9852 $as_echo "no" >&6; }
9856 test -n "$CROSSCC" && break
9857 done
9858 test -n "$CROSSCC" || CROSSCC="false"
9860 *) CROSSCC=$with_mingw ;;
9861 esac
9862 if test "$CROSSCC" != "false"
9863 then
9864 ac_save_CC="$CC"
9865 saved_CFLAGS=$CFLAGS
9866 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9868 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9872 CC="$CROSSCC"
9873 CFLAGS=$CROSSCFLAGS
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9875 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9876 if ${wine_cv_crosscc+:} false; then :
9877 $as_echo_n "(cached) " >&6
9878 else
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9883 main ()
9887 return 0;
9889 _ACEOF
9890 if ac_fn_c_try_compile "$LINENO"; then :
9891 wine_cv_crosscc=yes
9892 else
9893 wine_cv_crosscc=no
9895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9898 $as_echo "$wine_cv_crosscc" >&6; }
9899 if test $wine_cv_crosscc = yes
9900 then
9901 set x $CROSSCC
9902 shift
9903 while test $# -ge 1
9905 case "$1" in
9906 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9907 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9908 esac
9909 shift
9910 done
9912 llvm_target=$CROSSTARGET
9913 llvm_cflags="-fuse-ld=lld"
9914 if test -z "$llvm_target"
9915 then
9916 case $host_cpu in
9917 *i[3456789]86*) llvm_target=i686-windows ;;
9918 *) llvm_target=$host_cpu-windows ;;
9919 esac
9921 case $llvm_target in
9922 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9923 esac
9924 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9927 if eval \${$as_ac_var+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int __cdecl mainCRTStartup(void) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 eval "$as_ac_var=yes"
9942 else
9943 eval "$as_ac_var=no"
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 eval ac_res=\$$as_ac_var
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9953 $as_echo "$ac_res" >&6; }
9954 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9955 CROSSTARGET=$llvm_target
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9957 DELAYLOADFLAG="-Wl,-delayload,"
9959 CFLAGS="$CFLAGS $llvm_cflags"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9963 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9964 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 ac_wine_try_cflags_saved_cc=$CC
9969 ac_wine_try_cflags_saved_exeext=$ac_exeext
9970 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9971 CC="$CROSSCC"
9972 ac_exeext=".exe"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int __cdecl mainCRTStartup(void) { return 0; }
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_crosscflags__fno_strict_aliasing=yes
9979 else
9980 ac_cv_crosscflags__fno_strict_aliasing=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9985 CC=$ac_wine_try_cflags_saved_cc
9986 ac_exeext=$ac_wine_try_cflags_saved_exeext
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9989 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9990 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9991 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9994 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9995 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 ac_wine_try_cflags_saved_cc=$CC
10000 ac_wine_try_cflags_saved_exeext=$ac_exeext
10001 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10002 CC="$CROSSCC"
10003 ac_exeext=".exe"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 int __cdecl mainCRTStartup(void) { return 0; }
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10010 else
10011 ac_cv_crosscflags__Werror_unknown_warning_option=no
10013 rm -f core conftest.err conftest.$ac_objext \
10014 conftest$ac_exeext conftest.$ac_ext
10015 CFLAGS=$ac_wine_try_cflags_saved
10016 CC=$ac_wine_try_cflags_saved_cc
10017 ac_exeext=$ac_wine_try_cflags_saved_exeext
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10020 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10021 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
10022 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10025 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10026 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_wine_try_cflags_saved=$CFLAGS
10030 ac_wine_try_cflags_saved_cc=$CC
10031 ac_wine_try_cflags_saved_exeext=$ac_exeext
10032 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10033 CC="$CROSSCC"
10034 ac_exeext=".exe"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 int __cdecl mainCRTStartup(void) { return 0; }
10038 _ACEOF
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10041 else
10042 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 CFLAGS=$ac_wine_try_cflags_saved
10047 CC=$ac_wine_try_cflags_saved_cc
10048 ac_exeext=$ac_wine_try_cflags_saved_exeext
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10051 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10052 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10053 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10056 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10057 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_wine_try_cflags_saved=$CFLAGS
10061 ac_wine_try_cflags_saved_cc=$CC
10062 ac_wine_try_cflags_saved_exeext=$ac_exeext
10063 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10064 CC="$CROSSCC"
10065 ac_exeext=".exe"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 int __cdecl mainCRTStartup(void) { return 0; }
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10072 else
10073 ac_cv_crosscflags__Wdeclaration_after_statement=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 CFLAGS=$ac_wine_try_cflags_saved
10078 CC=$ac_wine_try_cflags_saved_cc
10079 ac_exeext=$ac_wine_try_cflags_saved_exeext
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10082 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10083 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10087 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10088 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 ac_wine_try_cflags_saved_cc=$CC
10093 ac_wine_try_cflags_saved_exeext=$ac_exeext
10094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10095 CC="$CROSSCC"
10096 ac_exeext=".exe"
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 int __cdecl mainCRTStartup(void) { return 0; }
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 ac_cv_crosscflags__Wempty_body=yes
10103 else
10104 ac_cv_crosscflags__Wempty_body=no
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 CFLAGS=$ac_wine_try_cflags_saved
10109 CC=$ac_wine_try_cflags_saved_cc
10110 ac_exeext=$ac_wine_try_cflags_saved_exeext
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10113 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10114 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10115 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10118 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10119 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_wine_try_cflags_saved=$CFLAGS
10123 ac_wine_try_cflags_saved_cc=$CC
10124 ac_wine_try_cflags_saved_exeext=$ac_exeext
10125 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10126 CC="$CROSSCC"
10127 ac_exeext=".exe"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 int __cdecl mainCRTStartup(void) { return 0; }
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 ac_cv_crosscflags__Wignored_qualifiers=yes
10134 else
10135 ac_cv_crosscflags__Wignored_qualifiers=no
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_wine_try_cflags_saved
10140 CC=$ac_wine_try_cflags_saved_cc
10141 ac_exeext=$ac_wine_try_cflags_saved_exeext
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10144 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10145 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10146 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10149 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10150 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 ac_wine_try_cflags_saved_cc=$CC
10155 ac_wine_try_cflags_saved_exeext=$ac_exeext
10156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10157 CC="$CROSSCC"
10158 ac_exeext=".exe"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int __cdecl mainCRTStartup(void) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_crosscflags__Wpacked_not_aligned=yes
10165 else
10166 ac_cv_crosscflags__Wpacked_not_aligned=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 CFLAGS=$ac_wine_try_cflags_saved
10171 CC=$ac_wine_try_cflags_saved_cc
10172 ac_exeext=$ac_wine_try_cflags_saved_exeext
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10175 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10176 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10180 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10181 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 ac_wine_try_cflags_saved_cc=$CC
10186 ac_wine_try_cflags_saved_exeext=$ac_exeext
10187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10188 CC="$CROSSCC"
10189 ac_exeext=".exe"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 int __cdecl mainCRTStartup(void) { return 0; }
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 ac_cv_crosscflags__Wpragma_pack=yes
10196 else
10197 ac_cv_crosscflags__Wpragma_pack=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10202 CC=$ac_wine_try_cflags_saved_cc
10203 ac_exeext=$ac_wine_try_cflags_saved_exeext
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10206 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10207 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10208 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10211 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10212 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_wine_try_cflags_saved=$CFLAGS
10216 ac_wine_try_cflags_saved_cc=$CC
10217 ac_wine_try_cflags_saved_exeext=$ac_exeext
10218 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10219 CC="$CROSSCC"
10220 ac_exeext=".exe"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int __cdecl mainCRTStartup(void) { return 0; }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_crosscflags__Wshift_overflow_2=yes
10227 else
10228 ac_cv_crosscflags__Wshift_overflow_2=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10233 CC=$ac_wine_try_cflags_saved_cc
10234 ac_exeext=$ac_wine_try_cflags_saved_exeext
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10237 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10238 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10239 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10242 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10243 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 ac_wine_try_cflags_saved_cc=$CC
10248 ac_wine_try_cflags_saved_exeext=$ac_exeext
10249 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10250 CC="$CROSSCC"
10251 ac_exeext=".exe"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 int __cdecl mainCRTStartup(void) { return 0; }
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_crosscflags__Wstrict_prototypes=yes
10258 else
10259 ac_cv_crosscflags__Wstrict_prototypes=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 CFLAGS=$ac_wine_try_cflags_saved
10264 CC=$ac_wine_try_cflags_saved_cc
10265 ac_exeext=$ac_wine_try_cflags_saved_exeext
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10268 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10269 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10270 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10273 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10274 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_wine_try_cflags_saved=$CFLAGS
10278 ac_wine_try_cflags_saved_cc=$CC
10279 ac_wine_try_cflags_saved_exeext=$ac_exeext
10280 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10281 CC="$CROSSCC"
10282 ac_exeext=".exe"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10285 int __cdecl mainCRTStartup(void) { return 0; }
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_crosscflags__Wtype_limits=yes
10289 else
10290 ac_cv_crosscflags__Wtype_limits=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 CFLAGS=$ac_wine_try_cflags_saved
10295 CC=$ac_wine_try_cflags_saved_cc
10296 ac_exeext=$ac_wine_try_cflags_saved_exeext
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10299 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10300 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10301 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10304 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10305 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_wine_try_cflags_saved=$CFLAGS
10309 ac_wine_try_cflags_saved_cc=$CC
10310 ac_wine_try_cflags_saved_exeext=$ac_exeext
10311 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10312 CC="$CROSSCC"
10313 ac_exeext=".exe"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10316 int __cdecl mainCRTStartup(void) { return 0; }
10317 _ACEOF
10318 if ac_fn_c_try_link "$LINENO"; then :
10319 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10320 else
10321 ac_cv_crosscflags__Wunused_but_set_parameter=no
10323 rm -f core conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 CFLAGS=$ac_wine_try_cflags_saved
10326 CC=$ac_wine_try_cflags_saved_cc
10327 ac_exeext=$ac_wine_try_cflags_saved_exeext
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10330 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10331 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10332 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10335 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10336 if ${ac_cv_crosscflags__Wvla+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 ac_wine_try_cflags_saved_cc=$CC
10341 ac_wine_try_cflags_saved_exeext=$ac_exeext
10342 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10343 CC="$CROSSCC"
10344 ac_exeext=".exe"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 int __cdecl mainCRTStartup(void) { return 0; }
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 ac_cv_crosscflags__Wvla=yes
10351 else
10352 ac_cv_crosscflags__Wvla=no
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10357 CC=$ac_wine_try_cflags_saved_cc
10358 ac_exeext=$ac_wine_try_cflags_saved_exeext
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10361 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10362 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10363 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10367 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int __cdecl mainCRTStartup(void) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__Wwrite_strings=yes
10382 else
10383 ac_cv_crosscflags__Wwrite_strings=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10392 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10393 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10397 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10398 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_wine_try_cflags_saved=$CFLAGS
10402 ac_wine_try_cflags_saved_cc=$CC
10403 ac_wine_try_cflags_saved_exeext=$ac_exeext
10404 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10405 CC="$CROSSCC"
10406 ac_exeext=".exe"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 int __cdecl mainCRTStartup(void) { return 0; }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 ac_cv_crosscflags__Wpointer_arith=yes
10413 else
10414 ac_cv_crosscflags__Wpointer_arith=no
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 CFLAGS=$ac_wine_try_cflags_saved
10419 CC=$ac_wine_try_cflags_saved_cc
10420 ac_exeext=$ac_wine_try_cflags_saved_exeext
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10423 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10424 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10428 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10429 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_wine_try_cflags_saved=$CFLAGS
10433 ac_wine_try_cflags_saved_cc=$CC
10434 ac_wine_try_cflags_saved_exeext=$ac_exeext
10435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10436 CC="$CROSSCC"
10437 ac_exeext=".exe"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 int __cdecl mainCRTStartup(void) { return 0; }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 ac_cv_crosscflags__Wlogical_op=yes
10444 else
10445 ac_cv_crosscflags__Wlogical_op=no
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 CFLAGS=$ac_wine_try_cflags_saved
10450 CC=$ac_wine_try_cflags_saved_cc
10451 ac_exeext=$ac_wine_try_cflags_saved_exeext
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10454 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10455 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10456 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10459 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10460 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_wine_try_cflags_saved=$CFLAGS
10464 ac_wine_try_cflags_saved_cc=$CC
10465 ac_wine_try_cflags_saved_exeext=$ac_exeext
10466 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10467 CC="$CROSSCC"
10468 ac_exeext=".exe"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10471 int __cdecl mainCRTStartup(void) { return 0; }
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_crosscflags__Wabsolute_value=yes
10475 else
10476 ac_cv_crosscflags__Wabsolute_value=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 CFLAGS=$ac_wine_try_cflags_saved
10481 CC=$ac_wine_try_cflags_saved_cc
10482 ac_exeext=$ac_wine_try_cflags_saved_exeext
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10485 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10486 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10490 case $host_cpu in
10491 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10492 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10493 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10494 $as_echo_n "(cached) " >&6
10495 else
10496 ac_wine_try_cflags_saved=$CFLAGS
10497 ac_wine_try_cflags_saved_cc=$CC
10498 ac_wine_try_cflags_saved_exeext=$ac_exeext
10499 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10500 CC="$CROSSCC"
10501 ac_exeext=".exe"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10504 int __cdecl mainCRTStartup(void) { return 0; }
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"; then :
10507 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10508 else
10509 ac_cv_crosscflags__fno_omit_frame_pointer=no
10511 rm -f core conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10513 CFLAGS=$ac_wine_try_cflags_saved
10514 CC=$ac_wine_try_cflags_saved_cc
10515 ac_exeext=$ac_wine_try_cflags_saved_exeext
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10518 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10519 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10520 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10521 fi ;;
10522 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10523 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10524 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_wine_try_cflags_saved=$CFLAGS
10528 ac_wine_try_cflags_saved_cc=$CC
10529 ac_wine_try_cflags_saved_exeext=$ac_exeext
10530 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10531 CC="$CROSSCC"
10532 ac_exeext=".exe"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10535 int __cdecl mainCRTStartup(void) { return 0; }
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_crosscflags__Wno_format=yes
10539 else
10540 ac_cv_crosscflags__Wno_format=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 CFLAGS=$ac_wine_try_cflags_saved
10545 CC=$ac_wine_try_cflags_saved_cc
10546 ac_exeext=$ac_wine_try_cflags_saved_exeext
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10549 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10550 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10551 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10554 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10555 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_wine_try_cflags_saved=$CFLAGS
10559 ac_wine_try_cflags_saved_cc=$CC
10560 ac_wine_try_cflags_saved_exeext=$ac_exeext
10561 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10562 CC="$CROSSCC"
10563 ac_exeext=".exe"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10566 int __cdecl mainCRTStartup(void) { return 0; }
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_crosscflags__Wformat_overflow=yes
10570 else
10571 ac_cv_crosscflags__Wformat_overflow=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 CFLAGS=$ac_wine_try_cflags_saved
10576 CC=$ac_wine_try_cflags_saved_cc
10577 ac_exeext=$ac_wine_try_cflags_saved_exeext
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10580 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10581 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10582 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10585 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10586 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10587 $as_echo_n "(cached) " >&6
10588 else
10589 ac_wine_try_cflags_saved=$CFLAGS
10590 ac_wine_try_cflags_saved_cc=$CC
10591 ac_wine_try_cflags_saved_exeext=$ac_exeext
10592 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10593 CC="$CROSSCC"
10594 ac_exeext=".exe"
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10597 int __cdecl mainCRTStartup(void) { return 0; }
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600 ac_cv_crosscflags__Wnonnull=yes
10601 else
10602 ac_cv_crosscflags__Wnonnull=no
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 CFLAGS=$ac_wine_try_cflags_saved
10607 CC=$ac_wine_try_cflags_saved_cc
10608 ac_exeext=$ac_wine_try_cflags_saved_exeext
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10611 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10612 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10613 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10616 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10617 if ${ac_cv_crosscflags__mcx16+:} false; then :
10618 $as_echo_n "(cached) " >&6
10619 else
10620 ac_wine_try_cflags_saved=$CFLAGS
10621 ac_wine_try_cflags_saved_cc=$CC
10622 ac_wine_try_cflags_saved_exeext=$ac_exeext
10623 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10624 CC="$CROSSCC"
10625 ac_exeext=".exe"
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10628 int __cdecl mainCRTStartup(void) { return 0; }
10629 _ACEOF
10630 if ac_fn_c_try_link "$LINENO"; then :
10631 ac_cv_crosscflags__mcx16=yes
10632 else
10633 ac_cv_crosscflags__mcx16=no
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 CFLAGS=$ac_wine_try_cflags_saved
10638 CC=$ac_wine_try_cflags_saved_cc
10639 ac_exeext=$ac_wine_try_cflags_saved_exeext
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10642 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10643 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10644 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10645 fi ;;
10646 esac
10649 if test -z "$CROSSDEBUG"
10650 then
10651 for ac_flag in $CROSSCFLAGS; do
10652 case $ac_flag in
10653 -gdwarf*) CROSSDEBUG=dwarf ;;
10654 -gcodeview) CROSSDEBUG=pdb ;;
10655 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10656 esac
10657 done
10659 case $CROSSDEBUG in
10660 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10661 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10662 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_wine_try_cflags_saved=$CFLAGS
10666 ac_wine_try_cflags_saved_cc=$CC
10667 ac_wine_try_cflags_saved_exeext=$ac_exeext
10668 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10669 CC="$CROSSCC"
10670 ac_exeext=".exe"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 int __cdecl mainCRTStartup(void) { return 0; }
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 ac_cv_crosscflags__gdwarf_2=yes
10677 else
10678 ac_cv_crosscflags__gdwarf_2=no
10680 rm -f core conftest.err conftest.$ac_objext \
10681 conftest$ac_exeext conftest.$ac_ext
10682 CFLAGS=$ac_wine_try_cflags_saved
10683 CC=$ac_wine_try_cflags_saved_cc
10684 ac_exeext=$ac_wine_try_cflags_saved_exeext
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10687 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10688 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10689 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10692 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10693 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_wine_try_cflags_saved=$CFLAGS
10697 ac_wine_try_cflags_saved_cc=$CC
10698 ac_wine_try_cflags_saved_exeext=$ac_exeext
10699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10700 CC="$CROSSCC"
10701 ac_exeext=".exe"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int __cdecl mainCRTStartup(void) { return 0; }
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 ac_cv_crosscflags__gstrict_dwarf=yes
10708 else
10709 ac_cv_crosscflags__gstrict_dwarf=no
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 CFLAGS=$ac_wine_try_cflags_saved
10714 CC=$ac_wine_try_cflags_saved_cc
10715 ac_exeext=$ac_wine_try_cflags_saved_exeext
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10718 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10719 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10720 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10721 fi ;;
10722 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10723 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10724 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10725 $as_echo_n "(cached) " >&6
10726 else
10727 ac_wine_try_cflags_saved=$CFLAGS
10728 ac_wine_try_cflags_saved_cc=$CC
10729 ac_wine_try_cflags_saved_exeext=$ac_exeext
10730 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10731 CC="$CROSSCC"
10732 ac_exeext=".exe"
10733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10735 int __cdecl mainCRTStartup(void) { return 0; }
10736 _ACEOF
10737 if ac_fn_c_try_link "$LINENO"; then :
10738 ac_cv_crosscflags__gcodeview=yes
10739 else
10740 ac_cv_crosscflags__gcodeview=no
10742 rm -f core conftest.err conftest.$ac_objext \
10743 conftest$ac_exeext conftest.$ac_ext
10744 CFLAGS=$ac_wine_try_cflags_saved
10745 CC=$ac_wine_try_cflags_saved_cc
10746 ac_exeext=$ac_wine_try_cflags_saved_exeext
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10749 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10750 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10751 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10752 fi ;;
10753 esac
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10756 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10757 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10758 $as_echo_n "(cached) " >&6
10759 else
10760 ac_wine_try_cflags_saved=$CFLAGS
10761 ac_wine_try_cflags_saved_cc=$CC
10762 ac_wine_try_cflags_saved_exeext=$ac_exeext
10763 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10764 CC="$CROSSCC"
10765 ac_exeext=".exe"
10766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10768 int __cdecl mainCRTStartup(void) { return 0; }
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771 ac_cv_crosscflags__fexcess_precision_standard=yes
10772 else
10773 ac_cv_crosscflags__fexcess_precision_standard=no
10775 rm -f core conftest.err conftest.$ac_objext \
10776 conftest$ac_exeext conftest.$ac_ext
10777 CFLAGS=$ac_wine_try_cflags_saved
10778 CC=$ac_wine_try_cflags_saved_cc
10779 ac_exeext=$ac_wine_try_cflags_saved_exeext
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10782 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10783 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10784 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10788 if test "x$enable_werror" = "xyes"
10789 then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10791 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10792 if ${ac_cv_crosscflags__Werror+:} false; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 ac_wine_try_cflags_saved=$CFLAGS
10796 ac_wine_try_cflags_saved_cc=$CC
10797 ac_wine_try_cflags_saved_exeext=$ac_exeext
10798 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10799 CC="$CROSSCC"
10800 ac_exeext=".exe"
10801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10803 int __cdecl mainCRTStartup(void) { return 0; }
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_crosscflags__Werror=yes
10807 else
10808 ac_cv_crosscflags__Werror=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 CFLAGS=$ac_wine_try_cflags_saved
10813 CC=$ac_wine_try_cflags_saved_cc
10814 ac_exeext=$ac_wine_try_cflags_saved_exeext
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10817 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10818 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10819 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10823 CFLAGS=$saved_CFLAGS
10824 CC="$ac_save_CC"
10827 if test "x$CROSSTARGET" = "x"; then :
10828 case "x$with_mingw" in
10829 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10830 xno) ;;
10831 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10832 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10833 esac
10838 if test "$ac_cv_header_pthread_h" = "yes"
10839 then
10840 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10841 if test "x$ac_cv_func_pthread_create" = xyes; then :
10843 else
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10845 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10846 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10847 $as_echo_n "(cached) " >&6
10848 else
10849 ac_check_lib_save_LIBS=$LIBS
10850 LIBS="-lpthread $LIBS"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10854 /* Override any GCC internal prototype to avoid an error.
10855 Use char because int might match the return type of a GCC
10856 builtin and then its argument prototype would still apply. */
10857 #ifdef __cplusplus
10858 extern "C"
10859 #endif
10860 char pthread_create ();
10862 main ()
10864 return pthread_create ();
10866 return 0;
10868 _ACEOF
10869 if ac_fn_c_try_link "$LINENO"; then :
10870 ac_cv_lib_pthread_pthread_create=yes
10871 else
10872 ac_cv_lib_pthread_pthread_create=no
10874 rm -f core conftest.err conftest.$ac_objext \
10875 conftest$ac_exeext conftest.$ac_ext
10876 LIBS=$ac_check_lib_save_LIBS
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10879 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10880 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10881 PTHREAD_LIBS="-lpthread"
10888 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10889 case "x$with_pthread" in
10890 xno) ;;
10891 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10892 Wine cannot support threads without libpthread.
10893 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10894 esac
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10900 $as_echo_n "checking for X... " >&6; }
10903 # Check whether --with-x was given.
10904 if test "${with_x+set}" = set; then :
10905 withval=$with_x;
10908 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10909 if test "x$with_x" = xno; then
10910 # The user explicitly disabled X.
10911 have_x=disabled
10912 else
10913 case $x_includes,$x_libraries in #(
10914 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10915 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 # One or both of the vars are not set, and there is no cached value.
10919 ac_x_includes=no ac_x_libraries=no
10920 rm -f -r conftest.dir
10921 if mkdir conftest.dir; then
10922 cd conftest.dir
10923 cat >Imakefile <<'_ACEOF'
10924 incroot:
10925 @echo incroot='${INCROOT}'
10926 usrlibdir:
10927 @echo usrlibdir='${USRLIBDIR}'
10928 libdir:
10929 @echo libdir='${LIBDIR}'
10930 _ACEOF
10931 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10932 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10933 for ac_var in incroot usrlibdir libdir; do
10934 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10935 done
10936 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10937 for ac_extension in a so sl dylib la dll; do
10938 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10939 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10940 ac_im_usrlibdir=$ac_im_libdir; break
10942 done
10943 # Screen out bogus values from the imake configuration. They are
10944 # bogus both because they are the default anyway, and because
10945 # using them would break gcc on systems where it needs fixed includes.
10946 case $ac_im_incroot in
10947 /usr/include) ac_x_includes= ;;
10948 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10949 esac
10950 case $ac_im_usrlibdir in
10951 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10952 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10953 esac
10955 cd ..
10956 rm -f -r conftest.dir
10959 # Standard set of common directories for X headers.
10960 # Check X11 before X11Rn because it is often a symlink to the current release.
10961 ac_x_header_dirs='
10962 /usr/X11/include
10963 /usr/X11R7/include
10964 /usr/X11R6/include
10965 /usr/X11R5/include
10966 /usr/X11R4/include
10968 /usr/include/X11
10969 /usr/include/X11R7
10970 /usr/include/X11R6
10971 /usr/include/X11R5
10972 /usr/include/X11R4
10974 /usr/local/X11/include
10975 /usr/local/X11R7/include
10976 /usr/local/X11R6/include
10977 /usr/local/X11R5/include
10978 /usr/local/X11R4/include
10980 /usr/local/include/X11
10981 /usr/local/include/X11R7
10982 /usr/local/include/X11R6
10983 /usr/local/include/X11R5
10984 /usr/local/include/X11R4
10986 /usr/X386/include
10987 /usr/x386/include
10988 /usr/XFree86/include/X11
10990 /usr/include
10991 /usr/local/include
10992 /usr/unsupported/include
10993 /usr/athena/include
10994 /usr/local/x11r5/include
10995 /usr/lpp/Xamples/include
10997 /usr/openwin/include
10998 /usr/openwin/share/include'
11000 if test "$ac_x_includes" = no; then
11001 # Guess where to find include files, by looking for Xlib.h.
11002 # First, try using that file with no special directory specified.
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11005 #include <X11/Xlib.h>
11006 _ACEOF
11007 if ac_fn_c_try_cpp "$LINENO"; then :
11008 # We can compile using X headers with no special include directory.
11009 ac_x_includes=
11010 else
11011 for ac_dir in $ac_x_header_dirs; do
11012 if test -r "$ac_dir/X11/Xlib.h"; then
11013 ac_x_includes=$ac_dir
11014 break
11016 done
11018 rm -f conftest.err conftest.i conftest.$ac_ext
11019 fi # $ac_x_includes = no
11021 if test "$ac_x_libraries" = no; then
11022 # Check for the libraries.
11023 # See if we find them without any special options.
11024 # Don't add to $LIBS permanently.
11025 ac_save_LIBS=$LIBS
11026 LIBS="-lX11 $LIBS"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 #include <X11/Xlib.h>
11031 main ()
11033 XrmInitialize ()
11035 return 0;
11037 _ACEOF
11038 if ac_fn_c_try_link "$LINENO"; then :
11039 LIBS=$ac_save_LIBS
11040 # We can link X programs with no special library path.
11041 ac_x_libraries=
11042 else
11043 LIBS=$ac_save_LIBS
11044 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11046 # Don't even attempt the hair of trying to link an X program!
11047 for ac_extension in a so sl dylib la dll; do
11048 if test -r "$ac_dir/libX11.$ac_extension"; then
11049 ac_x_libraries=$ac_dir
11050 break 2
11052 done
11053 done
11055 rm -f core conftest.err conftest.$ac_objext \
11056 conftest$ac_exeext conftest.$ac_ext
11057 fi # $ac_x_libraries = no
11059 case $ac_x_includes,$ac_x_libraries in #(
11060 no,* | *,no | *\'*)
11061 # Didn't find X, or a directory has "'" in its name.
11062 ac_cv_have_x="have_x=no";; #(
11064 # Record where we found X for the cache.
11065 ac_cv_have_x="have_x=yes\
11066 ac_x_includes='$ac_x_includes'\
11067 ac_x_libraries='$ac_x_libraries'"
11068 esac
11070 ;; #(
11071 *) have_x=yes;;
11072 esac
11073 eval "$ac_cv_have_x"
11074 fi # $with_x != no
11076 if test "$have_x" != yes; then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11078 $as_echo "$have_x" >&6; }
11079 no_x=yes
11080 else
11081 # If each of the values was on the command line, it overrides each guess.
11082 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11083 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11084 # Update the cache value to reflect the command line values.
11085 ac_cv_have_x="have_x=yes\
11086 ac_x_includes='$x_includes'\
11087 ac_x_libraries='$x_libraries'"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11089 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11092 if test "$no_x" = yes; then
11093 # Not all programs may use this symbol, but it does not hurt to define it.
11095 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11097 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11098 else
11099 if test -n "$x_includes"; then
11100 X_CFLAGS="$X_CFLAGS -I$x_includes"
11103 # It would also be nice to do this for all -L options, not just this one.
11104 if test -n "$x_libraries"; then
11105 X_LIBS="$X_LIBS -L$x_libraries"
11106 # For Solaris; some versions of Sun CC require a space after -R and
11107 # others require no space. Words are not sufficient . . . .
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11109 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11110 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11111 ac_xsave_c_werror_flag=$ac_c_werror_flag
11112 ac_c_werror_flag=yes
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11117 main ()
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11126 $as_echo "no" >&6; }
11127 X_LIBS="$X_LIBS -R$x_libraries"
11128 else
11129 LIBS="$ac_xsave_LIBS -R $x_libraries"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11134 main ()
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11143 $as_echo "yes" >&6; }
11144 X_LIBS="$X_LIBS -R $x_libraries"
11145 else
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11147 $as_echo "neither works" >&6; }
11149 rm -f core conftest.err conftest.$ac_objext \
11150 conftest$ac_exeext conftest.$ac_ext
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 ac_c_werror_flag=$ac_xsave_c_werror_flag
11155 LIBS=$ac_xsave_LIBS
11158 # Check for system-dependent libraries X programs must link with.
11159 # Do this before checking for the system-independent R6 libraries
11160 # (-lICE), since we may need -lsocket or whatever for X linking.
11162 if test "$ISC" = yes; then
11163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11164 else
11165 # Martyn Johnson says this is needed for Ultrix, if the X
11166 # libraries were built with DECnet support. And Karl Berry says
11167 # the Alpha needs dnet_stub (dnet does not exist).
11168 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char XOpenDisplay ();
11180 main ()
11182 return XOpenDisplay ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11189 else
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11191 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11192 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-ldnet $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char dnet_ntoa ();
11208 main ()
11210 return dnet_ntoa ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_dnet_dnet_ntoa=yes
11217 else
11218 ac_cv_lib_dnet_dnet_ntoa=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11225 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11226 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11227 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11230 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11232 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11233 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-ldnet_stub $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char dnet_ntoa ();
11249 main ()
11251 return dnet_ntoa ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11258 else
11259 ac_cv_lib_dnet_stub_dnet_ntoa=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11266 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11267 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11268 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS="$ac_xsave_LIBS"
11277 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11278 # to get the SysV transport functions.
11279 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11280 # needs -lnsl.
11281 # The nsl library prevents programs from opening the X display
11282 # on Irix 5.2, according to T.E. Dickey.
11283 # The functions gethostbyname, getservbyname, and inet_addr are
11284 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11285 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11286 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11290 if test $ac_cv_func_gethostbyname = no; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11292 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11293 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lnsl $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char gethostbyname ();
11309 main ()
11311 return gethostbyname ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_nsl_gethostbyname=yes
11318 else
11319 ac_cv_lib_nsl_gethostbyname=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11326 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11327 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11331 if test $ac_cv_lib_nsl_gethostbyname = no; then
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11333 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11334 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-lbsd $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char gethostbyname ();
11350 main ()
11352 return gethostbyname ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 ac_cv_lib_bsd_gethostbyname=yes
11359 else
11360 ac_cv_lib_bsd_gethostbyname=no
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11367 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11368 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11375 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11376 # socket/setsockopt and other routines are undefined under SCO ODT
11377 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11378 # on later versions), says Simon Leinen: it contains gethostby*
11379 # variants that don't use the name server (or something). -lsocket
11380 # must be given before -lnsl if both are needed. We assume that
11381 # if connect needs -lnsl, so does gethostbyname.
11382 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11383 if test "x$ac_cv_func_connect" = xyes; then :
11387 if test $ac_cv_func_connect = no; then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11389 $as_echo_n "checking for connect in -lsocket... " >&6; }
11390 if ${ac_cv_lib_socket_connect+:} false; then :
11391 $as_echo_n "(cached) " >&6
11392 else
11393 ac_check_lib_save_LIBS=$LIBS
11394 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char connect ();
11406 main ()
11408 return connect ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_socket_connect=yes
11415 else
11416 ac_cv_lib_socket_connect=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11423 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11424 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11425 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11430 # Guillermo Gomez says -lposix is necessary on A/UX.
11431 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11432 if test "x$ac_cv_func_remove" = xyes; then :
11436 if test $ac_cv_func_remove = no; then
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11438 $as_echo_n "checking for remove in -lposix... " >&6; }
11439 if ${ac_cv_lib_posix_remove+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-lposix $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char remove ();
11455 main ()
11457 return remove ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_posix_remove=yes
11464 else
11465 ac_cv_lib_posix_remove=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11472 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11473 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11479 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11480 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11481 if test "x$ac_cv_func_shmat" = xyes; then :
11485 if test $ac_cv_func_shmat = no; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11487 $as_echo_n "checking for shmat in -lipc... " >&6; }
11488 if ${ac_cv_lib_ipc_shmat+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_lib_save_LIBS=$LIBS
11492 LIBS="-lipc $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char shmat ();
11504 main ()
11506 return shmat ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 ac_cv_lib_ipc_shmat=yes
11513 else
11514 ac_cv_lib_ipc_shmat=no
11516 rm -f core conftest.err conftest.$ac_objext \
11517 conftest$ac_exeext conftest.$ac_ext
11518 LIBS=$ac_check_lib_save_LIBS
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11521 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11522 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11529 # Check for libraries that X11R6 Xt/Xaw programs need.
11530 ac_save_LDFLAGS=$LDFLAGS
11531 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11532 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11533 # check for ICE first), but we must link in the order -lSM -lICE or
11534 # we get undefined symbols. So assume we have SM if we have ICE.
11535 # These have to be linked with before -lX11, unlike the other
11536 # libraries we check for below, so use a different variable.
11537 # John Interrante, Karl Berry
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11539 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11540 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11541 $as_echo_n "(cached) " >&6
11542 else
11543 ac_check_lib_save_LIBS=$LIBS
11544 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11551 #ifdef __cplusplus
11552 extern "C"
11553 #endif
11554 char IceConnectionNumber ();
11556 main ()
11558 return IceConnectionNumber ();
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_link "$LINENO"; then :
11564 ac_cv_lib_ICE_IceConnectionNumber=yes
11565 else
11566 ac_cv_lib_ICE_IceConnectionNumber=no
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_lib_save_LIBS
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11573 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11574 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11575 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11578 LDFLAGS=$ac_save_LDFLAGS
11583 if test "$have_x" = "yes"
11584 then
11585 ac_save_CPPFLAGS="$CPPFLAGS"
11586 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11589 $as_echo_n "checking for -lX11... " >&6; }
11590 if ${ac_cv_lib_soname_X11+:} false; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 ac_check_soname_save_LIBS=$LIBS
11594 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11598 /* Override any GCC internal prototype to avoid an error.
11599 Use char because int might match the return type of a GCC
11600 builtin and then its argument prototype would still apply. */
11601 #ifdef __cplusplus
11602 extern "C"
11603 #endif
11604 char XCreateWindow ();
11606 main ()
11608 return XCreateWindow ();
11610 return 0;
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"; then :
11614 case "$LIBEXT" in
11615 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11616 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'` ;;
11617 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11618 if ${ac_cv_lib_soname_X11:+false} :; then :
11619 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11620 fi ;;
11621 esac
11622 else
11623 ac_cv_lib_soname_X11=
11625 rm -f core conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_soname_save_LIBS
11629 if ${ac_cv_lib_soname_X11:+false} :; then :
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11631 $as_echo "not found" >&6; }
11633 else
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11635 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11637 cat >>confdefs.h <<_ACEOF
11638 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11639 _ACEOF
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11644 $as_echo_n "checking for -lXext... " >&6; }
11645 if ${ac_cv_lib_soname_Xext+:} false; then :
11646 $as_echo_n "(cached) " >&6
11647 else
11648 ac_check_soname_save_LIBS=$LIBS
11649 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11656 #ifdef __cplusplus
11657 extern "C"
11658 #endif
11659 char XextCreateExtension ();
11661 main ()
11663 return XextCreateExtension ();
11665 return 0;
11667 _ACEOF
11668 if ac_fn_c_try_link "$LINENO"; then :
11669 case "$LIBEXT" in
11670 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11671 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'` ;;
11672 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11673 if ${ac_cv_lib_soname_Xext:+false} :; then :
11674 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11675 fi ;;
11676 esac
11677 else
11678 ac_cv_lib_soname_Xext=
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_soname_save_LIBS
11684 if ${ac_cv_lib_soname_Xext:+false} :; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11686 $as_echo "not found" >&6; }
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11690 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11692 cat >>confdefs.h <<_ACEOF
11693 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11694 _ACEOF
11696 X_LIBS="$X_LIBS -lXext"
11698 X_LIBS="$X_LIBS -lX11"
11700 for ac_header in X11/Xlib.h \
11701 X11/XKBlib.h \
11702 X11/Xutil.h \
11703 X11/Xcursor/Xcursor.h \
11704 X11/extensions/shape.h \
11705 X11/extensions/XInput.h \
11706 X11/extensions/XInput2.h \
11707 X11/extensions/XShm.h \
11708 X11/extensions/Xcomposite.h \
11709 X11/extensions/Xfixes.h \
11710 X11/extensions/Xinerama.h \
11711 X11/extensions/Xrandr.h \
11712 X11/extensions/Xrender.h \
11713 X11/extensions/xf86vmode.h \
11714 X11/extensions/xf86vmproto.h
11715 do :
11716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11717 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11718 # include <X11/Xlib.h>
11719 #endif
11720 #ifdef HAVE_X11_XUTIL_H
11721 # include <X11/Xutil.h>
11722 #endif
11724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11725 cat >>confdefs.h <<_ACEOF
11726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11727 _ACEOF
11731 done
11734 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11735 then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11737 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11738 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11739 $as_echo_n "(cached) " >&6
11740 else
11741 ac_check_lib_save_LIBS=$LIBS
11742 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11746 /* Override any GCC internal prototype to avoid an error.
11747 Use char because int might match the return type of a GCC
11748 builtin and then its argument prototype would still apply. */
11749 #ifdef __cplusplus
11750 extern "C"
11751 #endif
11752 char XkbQueryExtension ();
11754 main ()
11756 return XkbQueryExtension ();
11758 return 0;
11760 _ACEOF
11761 if ac_fn_c_try_link "$LINENO"; then :
11762 ac_cv_lib_X11_XkbQueryExtension=yes
11763 else
11764 ac_cv_lib_X11_XkbQueryExtension=no
11766 rm -f core conftest.err conftest.$ac_objext \
11767 conftest$ac_exeext conftest.$ac_ext
11768 LIBS=$ac_check_lib_save_LIBS
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11771 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11772 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11774 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11780 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11781 then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11783 $as_echo_n "checking for -lXcursor... " >&6; }
11784 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_soname_save_LIBS=$LIBS
11788 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char XcursorImageLoadCursor ();
11800 main ()
11802 return XcursorImageLoadCursor ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 case "$LIBEXT" in
11809 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11810 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'` ;;
11811 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11812 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11813 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11814 fi ;;
11815 esac
11816 else
11817 ac_cv_lib_soname_Xcursor=
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_soname_save_LIBS
11823 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11825 $as_echo "not found" >&6; }
11827 else
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11829 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11831 cat >>confdefs.h <<_ACEOF
11832 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11833 _ACEOF
11838 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11839 case "x$with_xcursor" in
11840 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11841 xno) ;;
11842 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11843 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11844 esac
11848 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11849 then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11851 $as_echo_n "checking for -lXi... " >&6; }
11852 if ${ac_cv_lib_soname_Xi+:} false; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 ac_check_soname_save_LIBS=$LIBS
11856 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11863 #ifdef __cplusplus
11864 extern "C"
11865 #endif
11866 char XOpenDevice ();
11868 main ()
11870 return XOpenDevice ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"; then :
11876 case "$LIBEXT" in
11877 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11878 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'` ;;
11879 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11880 if ${ac_cv_lib_soname_Xi:+false} :; then :
11881 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11882 fi ;;
11883 esac
11884 else
11885 ac_cv_lib_soname_Xi=
11887 rm -f core conftest.err conftest.$ac_objext \
11888 conftest$ac_exeext conftest.$ac_ext
11889 LIBS=$ac_check_soname_save_LIBS
11891 if ${ac_cv_lib_soname_Xi:+false} :; then :
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11893 $as_echo "not found" >&6; }
11895 else
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11897 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11899 cat >>confdefs.h <<_ACEOF
11900 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11901 _ACEOF
11906 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11907 case "x$with_xinput" in
11908 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11909 xno) ;;
11910 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11911 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11912 esac
11916 if test "x$ac_cv_lib_soname_Xi" != x
11917 then
11918 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11919 case "x$with_xinput2" in
11920 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11921 xno) ;;
11922 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11923 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11924 esac
11929 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11930 then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11932 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11933 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char XShmQueryExtension ();
11949 main ()
11951 return XShmQueryExtension ();
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 ac_cv_lib_Xext_XShmQueryExtension=yes
11958 else
11959 ac_cv_lib_Xext_XShmQueryExtension=no
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11966 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11967 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11969 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11974 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11975 case "x$with_xshm" in
11976 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11977 xno) ;;
11978 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11979 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11980 esac
11984 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11985 then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11987 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11988 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char XShapeQueryExtension ();
12004 main ()
12006 return XShapeQueryExtension ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_Xext_XShapeQueryExtension=yes
12013 else
12014 ac_cv_lib_Xext_XShapeQueryExtension=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
12021 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
12022 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
12024 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
12029 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
12030 case "x$with_xshape" in
12031 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
12032 xno) ;;
12033 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
12034 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
12035 esac
12039 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
12040 then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12042 $as_echo_n "checking for -lXxf86vm... " >&6; }
12043 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12044 $as_echo_n "(cached) " >&6
12045 else
12046 ac_check_soname_save_LIBS=$LIBS
12047 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char XF86VidModeQueryExtension ();
12059 main ()
12061 return XF86VidModeQueryExtension ();
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_link "$LINENO"; then :
12067 case "$LIBEXT" in
12068 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12069 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'` ;;
12070 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12071 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12072 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12073 fi ;;
12074 esac
12075 else
12076 ac_cv_lib_soname_Xxf86vm=
12078 rm -f core conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_soname_save_LIBS
12082 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12084 $as_echo "not found" >&6; }
12086 else
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12088 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12090 cat >>confdefs.h <<_ACEOF
12091 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12092 _ACEOF
12097 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12098 case "x$with_xxf86vm" in
12099 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12100 xno) ;;
12101 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12102 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12103 esac
12107 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12108 then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12110 $as_echo_n "checking for -lXrender... " >&6; }
12111 if ${ac_cv_lib_soname_Xrender+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_check_soname_save_LIBS=$LIBS
12115 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char XRenderQueryExtension ();
12127 main ()
12129 return XRenderQueryExtension ();
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_link "$LINENO"; then :
12135 case "$LIBEXT" in
12136 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12137 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'` ;;
12138 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12139 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12140 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12141 fi ;;
12142 esac
12143 else
12144 ac_cv_lib_soname_Xrender=
12146 rm -f core conftest.err conftest.$ac_objext \
12147 conftest$ac_exeext conftest.$ac_ext
12148 LIBS=$ac_check_soname_save_LIBS
12150 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12152 $as_echo "not found" >&6; }
12154 else
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12156 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12158 cat >>confdefs.h <<_ACEOF
12159 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12160 _ACEOF
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12163 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12164 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_lib_save_LIBS=$LIBS
12168 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char XRenderSetPictureTransform ();
12180 main ()
12182 return XRenderSetPictureTransform ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12189 else
12190 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_lib_save_LIBS
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12197 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12198 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12200 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12205 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12206 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12207 $as_echo_n "(cached) " >&6
12208 else
12209 ac_check_lib_save_LIBS=$LIBS
12210 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12217 #ifdef __cplusplus
12218 extern "C"
12219 #endif
12220 char XRenderCreateLinearGradient ();
12222 main ()
12224 return XRenderCreateLinearGradient ();
12226 return 0;
12228 _ACEOF
12229 if ac_fn_c_try_link "$LINENO"; then :
12230 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12231 else
12232 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12234 rm -f core conftest.err conftest.$ac_objext \
12235 conftest$ac_exeext conftest.$ac_ext
12236 LIBS=$ac_check_lib_save_LIBS
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12239 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12240 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12242 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12249 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12250 case "x$with_xrender" in
12251 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12252 xno) ;;
12253 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12254 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12255 esac
12259 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12260 then
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12263 #include <X11/Xlib.h>
12264 #include <X11/extensions/Xrandr.h>
12266 main ()
12268 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_compile "$LINENO"; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12275 $as_echo_n "checking for -lXrandr... " >&6; }
12276 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_check_soname_save_LIBS=$LIBS
12280 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 #ifdef __cplusplus
12288 extern "C"
12289 #endif
12290 char XRRQueryExtension ();
12292 main ()
12294 return XRRQueryExtension ();
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 case "$LIBEXT" in
12301 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12302 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'` ;;
12303 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12304 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12305 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12306 fi ;;
12307 esac
12308 else
12309 ac_cv_lib_soname_Xrandr=
12311 rm -f core conftest.err conftest.$ac_objext \
12312 conftest$ac_exeext conftest.$ac_ext
12313 LIBS=$ac_check_soname_save_LIBS
12315 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12317 $as_echo "not found" >&6; }
12319 else
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12321 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12323 cat >>confdefs.h <<_ACEOF
12324 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12325 _ACEOF
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12329 #include <X11/Xlib.h>
12330 #include <X11/extensions/Xrandr.h>
12332 main ()
12334 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_compile "$LINENO"; then :
12341 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12343 else
12344 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12352 case "x$with_xrandr" in
12353 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12354 xno) ;;
12355 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12356 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12357 esac
12361 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12362 then
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365 #include <X11/Xlib.h>
12366 #include <X11/extensions/Xfixes.h>
12368 main ()
12370 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_compile "$LINENO"; then :
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12377 $as_echo_n "checking for -lXfixes... " >&6; }
12378 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 ac_check_soname_save_LIBS=$LIBS
12382 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 #ifdef __cplusplus
12390 extern "C"
12391 #endif
12392 char XFixesQueryVersion ();
12394 main ()
12396 return XFixesQueryVersion ();
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 case "$LIBEXT" in
12403 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12406 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12407 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12408 fi ;;
12409 esac
12410 else
12411 ac_cv_lib_soname_Xfixes=
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_soname_save_LIBS
12417 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12419 $as_echo "not found" >&6; }
12421 else
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12423 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12425 cat >>confdefs.h <<_ACEOF
12426 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12427 _ACEOF
12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12435 case "x$with_xfixes" in
12436 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12437 xno) ;;
12438 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12439 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12440 esac
12444 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12445 then
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12448 #include <X11/Xlib.h>
12449 #include <X11/extensions/Xinerama.h>
12451 main ()
12453 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12455 return 0;
12457 _ACEOF
12458 if ac_fn_c_try_compile "$LINENO"; then :
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12460 $as_echo_n "checking for -lXinerama... " >&6; }
12461 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12462 $as_echo_n "(cached) " >&6
12463 else
12464 ac_check_soname_save_LIBS=$LIBS
12465 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12472 #ifdef __cplusplus
12473 extern "C"
12474 #endif
12475 char XineramaQueryScreens ();
12477 main ()
12479 return XineramaQueryScreens ();
12481 return 0;
12483 _ACEOF
12484 if ac_fn_c_try_link "$LINENO"; then :
12485 case "$LIBEXT" in
12486 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12487 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'` ;;
12488 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12489 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12490 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12491 fi ;;
12492 esac
12493 else
12494 ac_cv_lib_soname_Xinerama=
12496 rm -f core conftest.err conftest.$ac_objext \
12497 conftest$ac_exeext conftest.$ac_ext
12498 LIBS=$ac_check_soname_save_LIBS
12500 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12502 $as_echo "not found" >&6; }
12504 else
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12506 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12508 cat >>confdefs.h <<_ACEOF
12509 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12510 _ACEOF
12515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12517 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12518 case "x$with_xinerama" in
12519 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12520 xno) ;;
12521 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12522 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12523 esac
12527 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12528 then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12530 $as_echo_n "checking for -lXcomposite... " >&6; }
12531 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12532 $as_echo_n "(cached) " >&6
12533 else
12534 ac_check_soname_save_LIBS=$LIBS
12535 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 #ifdef __cplusplus
12543 extern "C"
12544 #endif
12545 char XCompositeRedirectWindow ();
12547 main ()
12549 return XCompositeRedirectWindow ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"; then :
12555 case "$LIBEXT" in
12556 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12557 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'` ;;
12558 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12559 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12560 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12561 fi ;;
12562 esac
12563 else
12564 ac_cv_lib_soname_Xcomposite=
12566 rm -f core conftest.err conftest.$ac_objext \
12567 conftest$ac_exeext conftest.$ac_ext
12568 LIBS=$ac_check_soname_save_LIBS
12570 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12572 $as_echo "not found" >&6; }
12574 else
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12576 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12578 cat >>confdefs.h <<_ACEOF
12579 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12580 _ACEOF
12585 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12586 case "x$with_xcomposite" in
12587 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12588 xno) ;;
12589 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12590 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12591 esac
12595 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12596 #include <X11/Xlib.h>
12597 #endif
12599 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12601 cat >>confdefs.h <<_ACEOF
12602 #define HAVE_XICCALLBACK_CALLBACK 1
12603 _ACEOF
12607 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12608 #include <X11/Xlib.h>
12609 #endif
12611 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12613 cat >>confdefs.h <<_ACEOF
12614 #define HAVE_XEVENT_XCOOKIE 1
12615 _ACEOF
12622 opengl_msg=""
12623 if test "x$with_opengl" != "xno"
12624 then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12626 $as_echo_n "checking for -lGL... " >&6; }
12627 if ${ac_cv_lib_soname_GL+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_soname_save_LIBS=$LIBS
12631 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char glXCreateContext ();
12643 main ()
12645 return glXCreateContext ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 case "$LIBEXT" in
12652 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12653 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'` ;;
12654 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12655 if ${ac_cv_lib_soname_GL:+false} :; then :
12656 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12657 fi ;;
12658 esac
12659 else
12660 ac_cv_lib_soname_GL=
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_soname_save_LIBS
12666 if ${ac_cv_lib_soname_GL:+false} :; then :
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12668 $as_echo "not found" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12670 $as_echo_n "checking for -lGL... " >&6; }
12671 if ${ac_cv_lib_soname_GL+:} false; then :
12672 $as_echo_n "(cached) " >&6
12673 else
12674 ac_check_soname_save_LIBS=$LIBS
12675 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"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 #ifdef __cplusplus
12683 extern "C"
12684 #endif
12685 char glXCreateContext ();
12687 main ()
12689 return glXCreateContext ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"; then :
12695 case "$LIBEXT" in
12696 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12697 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'` ;;
12698 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12699 if ${ac_cv_lib_soname_GL:+false} :; then :
12700 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12701 fi ;;
12702 esac
12703 else
12704 ac_cv_lib_soname_GL=
12706 rm -f core conftest.err conftest.$ac_objext \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_soname_save_LIBS
12710 if ${ac_cv_lib_soname_GL:+false} :; then :
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12712 $as_echo "not found" >&6; }
12713 if test -f /usr/X11R6/lib/libGL.a
12714 then
12715 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12716 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12717 else
12718 opengl_msg="No OpenGL library found on this system."
12720 else
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12722 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12724 cat >>confdefs.h <<_ACEOF
12725 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12726 _ACEOF
12728 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"
12730 else
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12732 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12734 cat >>confdefs.h <<_ACEOF
12735 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12736 _ACEOF
12738 OPENGL_LIBS="-lGL"
12740 if test "x$with_glu" != "xno"
12741 then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12743 $as_echo_n "checking for -lGLU... " >&6; }
12744 if ${ac_cv_lib_soname_GLU+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 ac_check_soname_save_LIBS=$LIBS
12748 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
12758 char gluLookAt ();
12760 main ()
12762 return gluLookAt ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"; then :
12768 case "$LIBEXT" in
12769 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12770 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'` ;;
12771 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12772 if ${ac_cv_lib_soname_GLU:+false} :; then :
12773 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12774 fi ;;
12775 esac
12776 else
12777 ac_cv_lib_soname_GLU=
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_soname_save_LIBS
12783 if ${ac_cv_lib_soname_GLU:+false} :; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12785 $as_echo "not found" >&6; }
12787 else
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12789 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12791 cat >>confdefs.h <<_ACEOF
12792 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12793 _ACEOF
12797 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12798 case "x$with_glu" in
12799 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12800 xno) ;;
12801 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12802 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12803 esac
12808 if test "x$with_osmesa" != "xno"
12809 then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12811 $as_echo_n "checking for -lOSMesa... " >&6; }
12812 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 ac_check_soname_save_LIBS=$LIBS
12816 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 #ifdef __cplusplus
12824 extern "C"
12825 #endif
12826 char OSMesaGetProcAddress ();
12828 main ()
12830 return OSMesaGetProcAddress ();
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
12836 case "$LIBEXT" in
12837 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12838 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'` ;;
12839 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12840 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12841 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12842 fi ;;
12843 esac
12844 else
12845 ac_cv_lib_soname_OSMesa=
12847 rm -f core conftest.err conftest.$ac_objext \
12848 conftest$ac_exeext conftest.$ac_ext
12849 LIBS=$ac_check_soname_save_LIBS
12851 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12853 $as_echo "not found" >&6; }
12855 else
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12857 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12859 cat >>confdefs.h <<_ACEOF
12860 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12861 _ACEOF
12865 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12866 case "x$with_osmesa" in
12867 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12868 xno) ;;
12869 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12870 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12871 esac
12876 if test -n "$opengl_msg"; then :
12877 case "x$with_opengl" in
12878 x) as_fn_append wine_warnings "|$opengl_msg
12879 OpenGL and Direct3D won't be supported." ;;
12880 xno) ;;
12881 *) as_fn_error $? "$opengl_msg
12882 OpenGL and Direct3D won't be supported.
12883 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12884 esac
12888 CPPFLAGS="$ac_save_CPPFLAGS"
12889 else
12890 X_CFLAGS=""
12891 X_LIBS=""
12894 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12895 then
12896 if test "x$X_LIBS" = "x"; then :
12897 case "x$with_x" in
12898 xno) ;;
12899 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12900 without X support, which probably isn't what you want. You will need
12901 to install ${notice_platform}development packages of Xlib at the very least.
12902 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12903 esac
12904 enable_winex11_drv=${enable_winex11_drv:-no}
12906 else
12907 if test "x$X_LIBS" = "x"; then :
12908 case "x$with_x" in
12909 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12912 This is an error since --with-x was requested." "$LINENO" 5 ;;
12913 esac
12914 enable_winex11_drv=${enable_winex11_drv:-no}
12918 if test "$ac_cv_header_CL_cl_h" = "yes"
12919 then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12921 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12922 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12923 $as_echo_n "(cached) " >&6
12924 else
12925 ac_check_lib_save_LIBS=$LIBS
12926 LIBS="-lOpenCL $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char clGetPlatformInfo ();
12938 main ()
12940 return clGetPlatformInfo ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12947 else
12948 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12950 rm -f core conftest.err conftest.$ac_objext \
12951 conftest$ac_exeext conftest.$ac_ext
12952 LIBS=$ac_check_lib_save_LIBS
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12955 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12956 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12957 OPENCL_LIBS="-lOpenCL"
12962 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12963 case "x$with_opencl" in
12964 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12965 xno) ;;
12966 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12967 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12968 esac
12969 enable_opencl=${enable_opencl:-no}
12972 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12973 then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12975 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12976 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lpcap $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char pcap_create ();
12992 main ()
12994 return pcap_create ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_pcap_pcap_create=yes
13001 else
13002 ac_cv_lib_pcap_pcap_create=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
13009 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
13010 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
13011 PCAP_LIBS="-lpcap"
13016 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
13017 case "x$with_pcap" in
13018 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
13019 xno) ;;
13020 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
13021 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
13022 esac
13023 enable_wpcap=${enable_wpcap:-no}
13027 if test "x$with_xml" != "xno"
13028 then
13029 if ${XML2_CFLAGS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
13034 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
13035 if ${XML2_LIBS:+false} :; then :
13036 if ${PKG_CONFIG+:} false; then :
13037 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
13040 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
13041 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
13042 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
13044 ac_save_CPPFLAGS=$CPPFLAGS
13045 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13046 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13047 do :
13048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13049 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13051 cat >>confdefs.h <<_ACEOF
13052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13053 _ACEOF
13057 done
13059 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"
13060 then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13062 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13063 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 ac_check_lib_save_LIBS=$LIBS
13067 LIBS="-lxml2 $XML2_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 char xmlParseMemory ();
13079 main ()
13081 return xmlParseMemory ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_lib_xml2_xmlParseMemory=yes
13088 else
13089 ac_cv_lib_xml2_xmlParseMemory=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13096 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13097 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13099 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13101 else
13102 XML2_LIBS=""
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13106 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13107 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_check_lib_save_LIBS=$LIBS
13111 LIBS="-lxml2 $XML2_LIBS $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char xmlReadMemory ();
13123 main ()
13125 return xmlReadMemory ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"; then :
13131 ac_cv_lib_xml2_xmlReadMemory=yes
13132 else
13133 ac_cv_lib_xml2_xmlReadMemory=no
13135 rm -f core conftest.err conftest.$ac_objext \
13136 conftest$ac_exeext conftest.$ac_ext
13137 LIBS=$ac_check_lib_save_LIBS
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13140 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13141 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13143 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13148 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13149 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13150 $as_echo_n "(cached) " >&6
13151 else
13152 ac_check_lib_save_LIBS=$LIBS
13153 LIBS="-lxml2 $XML2_LIBS $LIBS"
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13160 #ifdef __cplusplus
13161 extern "C"
13162 #endif
13163 char xmlNewDocPI ();
13165 main ()
13167 return xmlNewDocPI ();
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_link "$LINENO"; then :
13173 ac_cv_lib_xml2_xmlNewDocPI=yes
13174 else
13175 ac_cv_lib_xml2_xmlNewDocPI=no
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_lib_save_LIBS
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13182 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13183 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13185 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13190 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13191 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13192 $as_echo_n "(cached) " >&6
13193 else
13194 ac_check_lib_save_LIBS=$LIBS
13195 LIBS="-lxml2 $XML2_LIBS $LIBS"
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13199 /* Override any GCC internal prototype to avoid an error.
13200 Use char because int might match the return type of a GCC
13201 builtin and then its argument prototype would still apply. */
13202 #ifdef __cplusplus
13203 extern "C"
13204 #endif
13205 char xmlSchemaSetParserStructuredErrors ();
13207 main ()
13209 return xmlSchemaSetParserStructuredErrors ();
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_link "$LINENO"; then :
13215 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13216 else
13217 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13219 rm -f core conftest.err conftest.$ac_objext \
13220 conftest$ac_exeext conftest.$ac_ext
13221 LIBS=$ac_check_lib_save_LIBS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13224 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13225 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13227 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13232 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13233 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13234 $as_echo_n "(cached) " >&6
13235 else
13236 ac_check_lib_save_LIBS=$LIBS
13237 LIBS="-lxml2 $XML2_LIBS $LIBS"
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13241 /* Override any GCC internal prototype to avoid an error.
13242 Use char because int might match the return type of a GCC
13243 builtin and then its argument prototype would still apply. */
13244 #ifdef __cplusplus
13245 extern "C"
13246 #endif
13247 char xmlSchemaSetValidStructuredErrors ();
13249 main ()
13251 return xmlSchemaSetValidStructuredErrors ();
13253 return 0;
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"; then :
13257 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13258 else
13259 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13261 rm -f core conftest.err conftest.$ac_objext \
13262 conftest$ac_exeext conftest.$ac_ext
13263 LIBS=$ac_check_lib_save_LIBS
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13266 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13267 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13269 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13274 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13275 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13276 $as_echo_n "(cached) " >&6
13277 else
13278 ac_check_lib_save_LIBS=$LIBS
13279 LIBS="-lxml2 $XML2_LIBS $LIBS"
13280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13281 /* end confdefs.h. */
13283 /* Override any GCC internal prototype to avoid an error.
13284 Use char because int might match the return type of a GCC
13285 builtin and then its argument prototype would still apply. */
13286 #ifdef __cplusplus
13287 extern "C"
13288 #endif
13289 char xmlFirstElementChild ();
13291 main ()
13293 return xmlFirstElementChild ();
13295 return 0;
13297 _ACEOF
13298 if ac_fn_c_try_link "$LINENO"; then :
13299 ac_cv_lib_xml2_xmlFirstElementChild=yes
13300 else
13301 ac_cv_lib_xml2_xmlFirstElementChild=no
13303 rm -f core conftest.err conftest.$ac_objext \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_lib_save_LIBS
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13308 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13309 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13311 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13315 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13317 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13319 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13323 else
13324 XML2_CFLAGS=""
13325 XML2_LIBS=""
13327 CPPFLAGS=$ac_save_CPPFLAGS
13328 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13329 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13332 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13333 case "x$with_xml" in
13334 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13335 xno) ;;
13336 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13337 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13338 esac
13342 if test "x$with_xslt" != "xno"
13343 then
13344 if ${XSLT_CFLAGS:+false} :; then :
13345 if ${PKG_CONFIG+:} false; then :
13346 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13349 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13350 if ${XSLT_LIBS:+false} :; then :
13351 if ${PKG_CONFIG+:} false; then :
13352 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13355 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13356 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13357 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13358 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13359 ac_save_CPPFLAGS=$CPPFLAGS
13360 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13361 for ac_header in libxslt/pattern.h libxslt/transform.h
13362 do :
13363 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13365 # include <libxslt/pattern.h>
13366 #endif
13368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13369 cat >>confdefs.h <<_ACEOF
13370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13371 _ACEOF
13375 done
13377 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13378 then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13380 $as_echo_n "checking for -lxslt... " >&6; }
13381 if ${ac_cv_lib_soname_xslt+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_soname_save_LIBS=$LIBS
13385 LIBS="-lxslt $XSLT_LIBS $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char xsltCompilePattern ();
13397 main ()
13399 return xsltCompilePattern ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 case "$LIBEXT" in
13406 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13407 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'` ;;
13408 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13409 if ${ac_cv_lib_soname_xslt:+false} :; then :
13410 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 fi ;;
13412 esac
13413 else
13414 ac_cv_lib_soname_xslt=
13416 rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418 LIBS=$ac_check_soname_save_LIBS
13420 if ${ac_cv_lib_soname_xslt:+false} :; then :
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13422 $as_echo "not found" >&6; }
13424 else
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13426 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13428 cat >>confdefs.h <<_ACEOF
13429 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13430 _ACEOF
13434 else
13435 XSLT_CFLAGS=""
13437 CPPFLAGS=$ac_save_CPPFLAGS
13438 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13439 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13442 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13443 case "x$with_xslt" in
13444 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13445 xno) ;;
13446 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13447 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13448 esac
13452 if test "x$with_inotify" != "xno"
13453 then
13454 if ${INOTIFY_CFLAGS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13460 if ${INOTIFY_LIBS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13467 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13469 ac_save_CPPFLAGS=$CPPFLAGS
13470 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13471 for ac_header in sys/inotify.h
13472 do :
13473 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13474 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13475 cat >>confdefs.h <<_ACEOF
13476 #define HAVE_SYS_INOTIFY_H 1
13477 _ACEOF
13481 done
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13484 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13485 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13486 $as_echo_n "(cached) " >&6
13487 else
13488 ac_check_lib_save_LIBS=$LIBS
13489 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13496 #ifdef __cplusplus
13497 extern "C"
13498 #endif
13499 char inotify_add_watch ();
13501 main ()
13503 return inotify_add_watch ();
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 ac_cv_lib_inotify_inotify_add_watch=yes
13510 else
13511 ac_cv_lib_inotify_inotify_add_watch=no
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LIBS=$ac_check_lib_save_LIBS
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13518 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13519 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13521 else
13522 INOTIFY_LIBS=""
13525 CPPFLAGS=$ac_save_CPPFLAGS
13526 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13527 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13530 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13531 case "x$with_inotify" in
13532 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13533 xno) ;;
13534 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13535 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13536 esac
13540 if test "x$with_dbus" != "xno"
13541 then
13542 if ${DBUS_CFLAGS:+false} :; then :
13543 if ${PKG_CONFIG+:} false; then :
13544 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13548 if ${DBUS_LIBS:+false} :; then :
13549 if ${PKG_CONFIG+:} false; then :
13550 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13555 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13556 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13557 ac_save_CPPFLAGS=$CPPFLAGS
13558 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13559 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13560 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13562 $as_echo_n "checking for -ldbus-1... " >&6; }
13563 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13564 $as_echo_n "(cached) " >&6
13565 else
13566 ac_check_soname_save_LIBS=$LIBS
13567 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13571 /* Override any GCC internal prototype to avoid an error.
13572 Use char because int might match the return type of a GCC
13573 builtin and then its argument prototype would still apply. */
13574 #ifdef __cplusplus
13575 extern "C"
13576 #endif
13577 char dbus_connection_close ();
13579 main ()
13581 return dbus_connection_close ();
13583 return 0;
13585 _ACEOF
13586 if ac_fn_c_try_link "$LINENO"; then :
13587 case "$LIBEXT" in
13588 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13589 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'` ;;
13590 *) 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'`
13591 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13592 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13593 fi ;;
13594 esac
13595 else
13596 ac_cv_lib_soname_dbus_1=
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_soname_save_LIBS
13602 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13604 $as_echo "not found" >&6; }
13605 DBUS_CFLAGS=""
13606 else
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13608 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13612 _ACEOF
13616 else
13617 DBUS_CFLAGS=""
13621 CPPFLAGS=$ac_save_CPPFLAGS
13622 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13623 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13626 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13627 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13628 case "x$with_dbus" in
13629 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13630 xno) ;;
13631 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13632 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13633 esac
13637 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13638 then
13639 if ${HAL_CFLAGS:+false} :; then :
13640 if ${PKG_CONFIG+:} false; then :
13641 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13645 if ${HAL_LIBS:+false} :; then :
13646 if ${PKG_CONFIG+:} false; then :
13647 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13651 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13652 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13653 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13654 ac_save_CPPFLAGS=$CPPFLAGS
13655 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13656 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13657 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13659 $as_echo_n "checking for -lhal... " >&6; }
13660 if ${ac_cv_lib_soname_hal+:} false; then :
13661 $as_echo_n "(cached) " >&6
13662 else
13663 ac_check_soname_save_LIBS=$LIBS
13664 LIBS="-lhal $HAL_LIBS $LIBS"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13668 /* Override any GCC internal prototype to avoid an error.
13669 Use char because int might match the return type of a GCC
13670 builtin and then its argument prototype would still apply. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 char libhal_ctx_new ();
13676 main ()
13678 return libhal_ctx_new ();
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684 case "$LIBEXT" in
13685 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13686 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'` ;;
13687 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13688 if ${ac_cv_lib_soname_hal:+false} :; then :
13689 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13690 fi ;;
13691 esac
13692 else
13693 ac_cv_lib_soname_hal=
13695 rm -f core conftest.err conftest.$ac_objext \
13696 conftest$ac_exeext conftest.$ac_ext
13697 LIBS=$ac_check_soname_save_LIBS
13699 if ${ac_cv_lib_soname_hal:+false} :; then :
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13701 $as_echo "not found" >&6; }
13702 HAL_CFLAGS=""
13703 else
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13705 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13707 cat >>confdefs.h <<_ACEOF
13708 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13709 _ACEOF
13713 else
13714 HAL_CFLAGS=""
13718 CPPFLAGS=$ac_save_CPPFLAGS
13719 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13720 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13722 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13723 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13724 case "x$with_hal" in
13725 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13726 xno) ;;
13727 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13728 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13729 esac
13734 if test "x$with_gnutls" != "xno"
13735 then
13736 if ${GNUTLS_CFLAGS:+false} :; then :
13737 if ${PKG_CONFIG+:} false; then :
13738 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13742 if ${GNUTLS_LIBS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13748 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13749 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13750 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13751 ac_save_CPPFLAGS=$CPPFLAGS
13752 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13753 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13754 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 #include <gnutls/gnutls.h>
13758 #include <gnutls/crypto.h>
13760 main ()
13762 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13764 return 0;
13766 _ACEOF
13767 if ac_fn_c_try_compile "$LINENO"; then :
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13769 $as_echo_n "checking for -lgnutls... " >&6; }
13770 if ${ac_cv_lib_soname_gnutls+:} false; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 ac_check_soname_save_LIBS=$LIBS
13774 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13778 /* Override any GCC internal prototype to avoid an error.
13779 Use char because int might match the return type of a GCC
13780 builtin and then its argument prototype would still apply. */
13781 #ifdef __cplusplus
13782 extern "C"
13783 #endif
13784 char gnutls_global_init ();
13786 main ()
13788 return gnutls_global_init ();
13790 return 0;
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 case "$LIBEXT" in
13795 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13796 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'` ;;
13797 *) 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'`
13798 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13799 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'`
13800 fi ;;
13801 esac
13802 else
13803 ac_cv_lib_soname_gnutls=
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 LIBS=$ac_check_soname_save_LIBS
13809 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13811 $as_echo "not found" >&6; }
13812 GNUTLS_CFLAGS=""
13813 else
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13815 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13817 cat >>confdefs.h <<_ACEOF
13818 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13819 _ACEOF
13823 ac_wine_check_funcs_save_LIBS="$LIBS"
13824 LIBS="$LIBS $GNUTLS_LIBS"
13825 for ac_func in gnutls_cipher_init
13826 do :
13827 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13828 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13829 cat >>confdefs.h <<_ACEOF
13830 #define HAVE_GNUTLS_CIPHER_INIT 1
13831 _ACEOF
13833 else
13834 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13836 done
13838 LIBS="$ac_wine_check_funcs_save_LIBS"
13840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13841 else
13842 GNUTLS_CFLAGS=""
13846 CPPFLAGS=$ac_save_CPPFLAGS
13847 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13848 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13851 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13852 case "x$with_gnutls" in
13853 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13854 xno) ;;
13855 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13856 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13857 esac
13861 CURSES_LIBS=""
13862 if test "$ac_cv_header_ncurses_h" = "yes"
13863 then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13865 $as_echo_n "checking for -lncurses... " >&6; }
13866 if ${ac_cv_lib_soname_ncurses+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_check_soname_save_LIBS=$LIBS
13870 LIBS="-lncurses $LIBS"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13874 /* Override any GCC internal prototype to avoid an error.
13875 Use char because int might match the return type of a GCC
13876 builtin and then its argument prototype would still apply. */
13877 #ifdef __cplusplus
13878 extern "C"
13879 #endif
13880 char waddch ();
13882 main ()
13884 return waddch ();
13886 return 0;
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"; then :
13890 case "$LIBEXT" in
13891 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13892 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'` ;;
13893 *) 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'`
13894 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13895 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13896 fi ;;
13897 esac
13898 else
13899 ac_cv_lib_soname_ncurses=
13901 rm -f core conftest.err conftest.$ac_objext \
13902 conftest$ac_exeext conftest.$ac_ext
13903 LIBS=$ac_check_soname_save_LIBS
13905 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13907 $as_echo "not found" >&6; }
13909 else
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13911 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13913 cat >>confdefs.h <<_ACEOF
13914 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13915 _ACEOF
13917 CURSES_LIBS="-lncurses"
13919 elif test "$ac_cv_header_curses_h" = "yes"
13920 then
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13922 $as_echo_n "checking for -lcurses... " >&6; }
13923 if ${ac_cv_lib_soname_curses+:} false; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 ac_check_soname_save_LIBS=$LIBS
13927 LIBS="-lcurses $LIBS"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 #ifdef __cplusplus
13935 extern "C"
13936 #endif
13937 char waddch ();
13939 main ()
13941 return waddch ();
13943 return 0;
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"; then :
13947 case "$LIBEXT" in
13948 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13949 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'` ;;
13950 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13951 if ${ac_cv_lib_soname_curses:+false} :; then :
13952 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13953 fi ;;
13954 esac
13955 else
13956 ac_cv_lib_soname_curses=
13958 rm -f core conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13960 LIBS=$ac_check_soname_save_LIBS
13962 if ${ac_cv_lib_soname_curses:+false} :; then :
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13964 $as_echo "not found" >&6; }
13966 else
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13968 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13970 cat >>confdefs.h <<_ACEOF
13971 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13972 _ACEOF
13974 CURSES_LIBS="-lcurses"
13977 ac_save_LIBS="$LIBS"
13978 LIBS="$LIBS $CURSES_LIBS"
13979 for ac_func in mousemask
13980 do :
13981 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13982 if test "x$ac_cv_func_mousemask" = xyes; then :
13983 cat >>confdefs.h <<_ACEOF
13984 #define HAVE_MOUSEMASK 1
13985 _ACEOF
13988 done
13990 LIBS="$ac_save_LIBS"
13991 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13992 case "x$with_curses" in
13993 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13994 xno) ;;
13995 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13996 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13997 esac
14001 if test "x$with_sane" != "xno"
14002 then
14003 if ${SANE_CFLAGS:+false} :; then :
14004 if ${PKG_CONFIG+:} false; then :
14005 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
14008 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
14009 if ${SANE_LIBS:+false} :; then :
14010 if ${PKG_CONFIG+:} false; then :
14011 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
14014 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
14016 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
14017 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
14018 ac_save_CPPFLAGS=$CPPFLAGS
14019 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
14020 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
14021 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
14023 $as_echo_n "checking for -lsane... " >&6; }
14024 if ${ac_cv_lib_soname_sane+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_check_soname_save_LIBS=$LIBS
14028 LIBS="-lsane $SANE_LIBS $LIBS"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14032 /* Override any GCC internal prototype to avoid an error.
14033 Use char because int might match the return type of a GCC
14034 builtin and then its argument prototype would still apply. */
14035 #ifdef __cplusplus
14036 extern "C"
14037 #endif
14038 char sane_init ();
14040 main ()
14042 return sane_init ();
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then :
14048 case "$LIBEXT" in
14049 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14050 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'` ;;
14051 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14052 if ${ac_cv_lib_soname_sane:+false} :; then :
14053 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14054 fi ;;
14055 esac
14056 else
14057 ac_cv_lib_soname_sane=
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 LIBS=$ac_check_soname_save_LIBS
14063 if ${ac_cv_lib_soname_sane:+false} :; then :
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14065 $as_echo "not found" >&6; }
14066 SANE_CFLAGS=""
14067 else
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14069 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14071 cat >>confdefs.h <<_ACEOF
14072 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14073 _ACEOF
14077 else
14078 SANE_CFLAGS=""
14082 CPPFLAGS=$ac_save_CPPFLAGS
14083 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14084 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14087 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14088 case "x$with_sane" in
14089 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14090 xno) ;;
14091 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14092 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14093 esac
14097 if test "x$with_usb" != "xno"
14098 then
14099 if ${USB_CFLAGS:+false} :; then :
14100 if ${PKG_CONFIG+:} false; then :
14101 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14105 if ${USB_LIBS:+false} :; then :
14106 if ${PKG_CONFIG+:} false; then :
14107 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14111 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14112 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14113 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14114 ac_save_CPPFLAGS=$CPPFLAGS
14115 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14116 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14117 if test "x$ac_cv_header_libusb_h" = xyes; then :
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14119 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14120 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_check_lib_save_LIBS=$LIBS
14124 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 #endif
14134 char libusb_interrupt_event_handler ();
14136 main ()
14138 return libusb_interrupt_event_handler ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14145 else
14146 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14148 rm -f core conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150 LIBS=$ac_check_lib_save_LIBS
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14153 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14154 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14156 else
14157 USB_LIBS=""
14160 else
14161 USB_LIBS=""
14165 CPPFLAGS=$ac_save_CPPFLAGS
14166 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14167 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14170 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14171 case "x$with_usb" in
14172 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14173 xno) ;;
14174 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14175 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14176 esac
14177 enable_wineusb_sys=${enable_wineusb_sys:-no}
14180 if test "x$with_v4l2" != "xno"
14181 then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14183 $as_echo_n "checking for -lv4l2... " >&6; }
14184 if ${ac_cv_lib_soname_v4l2+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 ac_check_soname_save_LIBS=$LIBS
14188 LIBS="-lv4l2 $LIBS"
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14192 /* Override any GCC internal prototype to avoid an error.
14193 Use char because int might match the return type of a GCC
14194 builtin and then its argument prototype would still apply. */
14195 #ifdef __cplusplus
14196 extern "C"
14197 #endif
14198 char v4l2_open ();
14200 main ()
14202 return v4l2_open ();
14204 return 0;
14206 _ACEOF
14207 if ac_fn_c_try_link "$LINENO"; then :
14208 case "$LIBEXT" in
14209 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14210 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'` ;;
14211 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14212 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14213 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14214 fi ;;
14215 esac
14216 else
14217 ac_cv_lib_soname_v4l2=
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS=$ac_check_soname_save_LIBS
14223 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14225 $as_echo "not found" >&6; }
14227 else
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14229 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14231 cat >>confdefs.h <<_ACEOF
14232 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14233 _ACEOF
14238 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14239 case "x$with_v4l2" in
14240 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14241 xno) ;;
14242 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14243 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14244 esac
14248 if test "x$with_gphoto" != "xno"
14249 then
14250 if ${GPHOTO2_CFLAGS:+false} :; then :
14251 if ${PKG_CONFIG+:} false; then :
14252 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14255 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14256 if ${GPHOTO2_LIBS:+false} :; then :
14257 if ${PKG_CONFIG+:} false; then :
14258 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14261 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14262 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14263 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14264 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14265 ac_save_CPPFLAGS=$CPPFLAGS
14266 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14267 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14268 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14270 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14271 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 ac_check_lib_save_LIBS=$LIBS
14275 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14279 /* Override any GCC internal prototype to avoid an error.
14280 Use char because int might match the return type of a GCC
14281 builtin and then its argument prototype would still apply. */
14282 #ifdef __cplusplus
14283 extern "C"
14284 #endif
14285 char gp_camera_new ();
14287 main ()
14289 return gp_camera_new ();
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"; then :
14295 ac_cv_lib_gphoto2_gp_camera_new=yes
14296 else
14297 ac_cv_lib_gphoto2_gp_camera_new=no
14299 rm -f core conftest.err conftest.$ac_objext \
14300 conftest$ac_exeext conftest.$ac_ext
14301 LIBS=$ac_check_lib_save_LIBS
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14304 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14305 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14307 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14309 else
14310 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14313 else
14314 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14318 CPPFLAGS=$ac_save_CPPFLAGS
14319 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14320 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14322 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14323 if ${PKG_CONFIG+:} false; then :
14324 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14327 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14328 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14329 if ${PKG_CONFIG+:} false; then :
14330 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14333 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14334 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14335 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14336 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14337 ac_save_CPPFLAGS=$CPPFLAGS
14338 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14339 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14340 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14342 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14343 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14344 $as_echo_n "(cached) " >&6
14345 else
14346 ac_check_lib_save_LIBS=$LIBS
14347 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14354 #ifdef __cplusplus
14355 extern "C"
14356 #endif
14357 char gp_port_info_list_new ();
14359 main ()
14361 return gp_port_info_list_new ();
14363 return 0;
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14368 else
14369 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 LIBS=$ac_check_lib_save_LIBS
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14376 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14377 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14379 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14381 else
14382 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14385 else
14386 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14390 CPPFLAGS=$ac_save_CPPFLAGS
14391 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14392 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14395 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14396 case "x$with_gphoto" in
14397 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14398 xno) ;;
14399 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14400 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14401 esac
14404 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14405 case "x$with_gphoto" in
14406 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14407 xno) ;;
14408 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14409 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14410 esac
14415 if test "$ac_cv_header_resolv_h" = "yes"
14416 then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14418 $as_echo_n "checking for resolver library... " >&6; }
14419 if ${ac_cv_have_resolv+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 ac_save_LIBS="$LIBS"
14423 for lib in '' -lresolv
14425 LIBS="$lib $ac_save_LIBS"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 #ifdef HAVE_NETINET_IN_H
14429 #include <netinet/in.h>
14430 #endif
14431 #include <resolv.h>
14433 main ()
14435 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_have_resolv=${lib:-"none required"}
14442 else
14443 ac_cv_have_resolv="not found"
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 test "x$ac_cv_have_resolv" = "xnot found" || break
14448 done
14449 LIBS="$ac_save_LIBS"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14452 $as_echo "$ac_cv_have_resolv" >&6; }
14454 case "$ac_cv_have_resolv" in
14455 "not found") ;;
14456 "none required")
14458 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14461 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14463 RESOLV_LIBS=$ac_cv_have_resolv
14465 esac
14467 if test "x$ac_cv_have_resolv" != "xnot found"
14468 then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14470 $as_echo_n "checking for res_getservers... " >&6; }
14471 if ${ac_cv_have_res_getservers+:} false; then :
14472 $as_echo_n "(cached) " >&6
14473 else
14474 ac_save_LIBS="$LIBS"
14475 LIBS="$RESOLV_LIBS $LIBS"
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 #include <resolv.h>
14480 main ()
14482 res_getservers(NULL, NULL, 0);
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_have_res_getservers=yes
14489 else
14490 ac_cv_have_res_getservers=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 LIBS="$ac_save_LIBS"
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14497 $as_echo "$ac_cv_have_res_getservers" >&6; }
14498 if test "$ac_cv_have_res_getservers" = "yes"
14499 then
14501 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14507 if test "x$with_cms" != "xno"
14508 then
14509 if ${LCMS2_CFLAGS:+false} :; then :
14510 if ${PKG_CONFIG+:} false; then :
14511 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14515 if ${LCMS2_LIBS:+false} :; then :
14516 if ${PKG_CONFIG+:} false; then :
14517 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14521 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14522 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14523 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14524 ac_save_CPPFLAGS=$CPPFLAGS
14525 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14526 for ac_header in lcms2.h
14527 do :
14528 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14529 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14530 cat >>confdefs.h <<_ACEOF
14531 #define HAVE_LCMS2_H 1
14532 _ACEOF
14536 done
14538 if test "$ac_cv_header_lcms2_h" = "yes"
14539 then
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14541 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14542 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_check_lib_save_LIBS=$LIBS
14546 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 #endif
14556 char cmsOpenProfileFromFile ();
14558 main ()
14560 return cmsOpenProfileFromFile ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14567 else
14568 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_check_lib_save_LIBS
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14575 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14576 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14578 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14580 else
14581 LCMS2_LIBS=""
14584 else
14585 LCMS2_CFLAGS=""
14586 LCMS2_LIBS=""
14588 CPPFLAGS=$ac_save_CPPFLAGS
14589 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14590 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14593 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14594 case "x$with_cms" in
14595 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14596 xno) ;;
14597 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14598 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14599 esac
14603 if test "x$with_freetype" != "xno"
14604 then
14605 if ${FREETYPE_CFLAGS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14610 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14611 if ${FREETYPE_LIBS:+false} :; then :
14612 if ${PKG_CONFIG+:} false; then :
14613 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14616 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14617 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14618 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14619 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14620 ac_save_CPPFLAGS=$CPPFLAGS
14621 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14622 for ac_header in ft2build.h
14623 do :
14624 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14625 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14626 cat >>confdefs.h <<_ACEOF
14627 #define HAVE_FT2BUILD_H 1
14628 _ACEOF
14632 done
14634 if test "$ac_cv_header_ft2build_h" = "yes"
14635 then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14637 $as_echo_n "checking for -lfreetype... " >&6; }
14638 if ${ac_cv_lib_soname_freetype+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_check_soname_save_LIBS=$LIBS
14642 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14649 #ifdef __cplusplus
14650 extern "C"
14651 #endif
14652 char FT_Init_FreeType ();
14654 main ()
14656 return FT_Init_FreeType ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 case "$LIBEXT" in
14663 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14664 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'` ;;
14665 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14666 if ${ac_cv_lib_soname_freetype:+false} :; then :
14667 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14668 fi ;;
14669 esac
14670 else
14671 ac_cv_lib_soname_freetype=
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LIBS=$ac_check_soname_save_LIBS
14677 if ${ac_cv_lib_soname_freetype:+false} :; then :
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14679 $as_echo "not found" >&6; }
14680 FREETYPE_LIBS=""
14681 else
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14683 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14685 cat >>confdefs.h <<_ACEOF
14686 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14687 _ACEOF
14690 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14692 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14693 #include FT_MODULE_H
14695 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14697 cat >>confdefs.h <<_ACEOF
14698 #define HAVE_FT_TRUETYPEENGINETYPE 1
14699 _ACEOF
14705 else
14706 FREETYPE_CFLAGS=""
14707 FREETYPE_LIBS=""
14709 CPPFLAGS=$ac_save_CPPFLAGS
14710 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14711 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14714 if test "x$ac_cv_lib_soname_freetype" = x; then :
14715 case "x$with_freetype" in
14716 xno) ;;
14717 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14718 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14719 esac
14720 enable_fonts=${enable_fonts:-no}
14723 ac_wine_check_funcs_save_LIBS="$LIBS"
14724 LIBS="$LIBS $PTHREAD_LIBS"
14725 for ac_func in \
14726 pthread_getthreadid_np
14727 do :
14728 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14729 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14730 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14731 cat >>confdefs.h <<_ACEOF
14732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14733 _ACEOF
14736 done
14738 LIBS="$ac_wine_check_funcs_save_LIBS"
14740 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14741 then
14742 if test "$ac_cv_header_gettext_po_h" = "yes"
14743 then
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14745 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14746 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14747 $as_echo_n "(cached) " >&6
14748 else
14749 ac_check_lib_save_LIBS=$LIBS
14750 LIBS="-lgettextpo $LIBS"
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14757 #ifdef __cplusplus
14758 extern "C"
14759 #endif
14760 char po_message_msgctxt ();
14762 main ()
14764 return po_message_msgctxt ();
14766 return 0;
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14771 else
14772 ac_cv_lib_gettextpo_po_message_msgctxt=no
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 LIBS=$ac_check_lib_save_LIBS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14779 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14780 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14782 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14784 GETTEXTPO_LIBS="-lgettextpo"
14789 if test "x$GETTEXTPO_LIBS" = "x"; then :
14790 case "x$with_gettextpo" in
14791 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14792 xno) ;;
14793 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14794 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14795 esac
14798 if test "$srcdir" != .; then :
14799 case "x$with_gettextpo" in
14800 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14801 xno) ;;
14802 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14803 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14804 esac
14809 if test "x$with_pulse" != "xno";
14810 then
14811 if ${PULSE_CFLAGS:+false} :; then :
14812 if ${PKG_CONFIG+:} false; then :
14813 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14817 if ${PULSE_LIBS:+false} :; then :
14818 if ${PKG_CONFIG+:} false; then :
14819 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14824 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14825 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14826 ac_save_CPPFLAGS=$CPPFLAGS
14827 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14828 for ac_header in pulse/pulseaudio.h
14829 do :
14830 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14831 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14832 cat >>confdefs.h <<_ACEOF
14833 #define HAVE_PULSE_PULSEAUDIO_H 1
14834 _ACEOF
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14836 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14837 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 ac_check_lib_save_LIBS=$LIBS
14841 LIBS="-lpulse $PULSE_LIBS $LIBS"
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14848 #ifdef __cplusplus
14849 extern "C"
14850 #endif
14851 char pa_stream_is_corked ();
14853 main ()
14855 return pa_stream_is_corked ();
14857 return 0;
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 ac_cv_lib_pulse_pa_stream_is_corked=yes
14862 else
14863 ac_cv_lib_pulse_pa_stream_is_corked=no
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 LIBS=$ac_check_lib_save_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14870 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14871 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14873 else
14874 PULSE_LIBS=""
14877 else
14878 PULSE_LIBS=""
14881 done
14883 CPPFLAGS=$ac_save_CPPFLAGS
14884 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14885 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14888 if test -z "$PULSE_LIBS"; then :
14889 case "x$with_pulse" in
14890 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14891 xno) ;;
14892 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14893 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14894 esac
14895 enable_winepulse_drv=${enable_winepulse_drv:-no}
14898 if test "x$with_gstreamer" != "xno"
14899 then
14900 if ${GSTREAMER_CFLAGS:+false} :; then :
14901 if ${PKG_CONFIG+:} false; then :
14902 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14906 if ${GSTREAMER_LIBS:+false} :; then :
14907 if ${PKG_CONFIG+:} false; then :
14908 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14913 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14914 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14915 ac_save_CPPFLAGS=$CPPFLAGS
14916 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14917 ac_gst_incl=""
14918 for i in $GSTREAMER_CFLAGS
14920 case "$i" in
14921 -I*) ac_gst_incl="$ac_gst_incl $i";;
14922 esac
14923 done
14924 GSTREAMER_CFLAGS=$ac_gst_incl
14925 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14926 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14927 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14929 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 #include <gst/gst.h>
14934 main ()
14936 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14938 return 0;
14940 _ACEOF
14941 if ac_fn_c_try_compile "$LINENO"; then :
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14943 $as_echo "yes" >&6; }
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14945 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14946 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14947 $as_echo_n "(cached) " >&6
14948 else
14949 ac_check_lib_save_LIBS=$LIBS
14950 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14957 #ifdef __cplusplus
14958 extern "C"
14959 #endif
14960 char gst_pad_new ();
14962 main ()
14964 return gst_pad_new ();
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14971 else
14972 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14976 LIBS=$ac_check_lib_save_LIBS
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14979 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14980 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14984 else
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14986 $as_echo "no" >&6; }
14987 ac_glib2_broken=yes
14988 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994 CPPFLAGS=$ac_save_CPPFLAGS
14995 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14996 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14999 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 :
15000 case "x$with_gstreamer" in
15001 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
15002 xno) ;;
15003 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
15004 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
15005 esac
15008 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
15010 ALSA_LIBS=""
15012 if test "x$with_alsa" != "xno"
15013 then
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
15015 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
15016 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
15017 $as_echo_n "(cached) " >&6
15018 else
15019 ac_check_lib_save_LIBS=$LIBS
15020 LIBS="-lasound $LIBS"
15021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15024 /* Override any GCC internal prototype to avoid an error.
15025 Use char because int might match the return type of a GCC
15026 builtin and then its argument prototype would still apply. */
15027 #ifdef __cplusplus
15028 extern "C"
15029 #endif
15030 char snd_pcm_hw_params_get_access_mask ();
15032 main ()
15034 return snd_pcm_hw_params_get_access_mask ();
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"; then :
15040 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
15041 else
15042 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
15044 rm -f core conftest.err conftest.$ac_objext \
15045 conftest$ac_exeext conftest.$ac_ext
15046 LIBS=$ac_check_lib_save_LIBS
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15049 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15050 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15053 #include <alsa/asoundlib.h>
15055 main ()
15057 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_compile "$LINENO"; then :
15063 ALSA_LIBS="-lasound"
15065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15069 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15071 if test "x$with_oss" != xno
15072 then
15073 ac_save_CPPFLAGS="$CPPFLAGS"
15074 if test -f /etc/oss.conf
15075 then
15076 . /etc/oss.conf
15078 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15079 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15080 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15081 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15082 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15084 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15086 cat >>confdefs.h <<_ACEOF
15087 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15088 _ACEOF
15090 OSS4_CFLAGS="$ac_oss_incl"
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15093 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15094 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15095 $as_echo_n "(cached) " >&6
15096 else
15097 ac_check_lib_save_LIBS=$LIBS
15098 LIBS="-lossaudio $LIBS"
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15102 /* Override any GCC internal prototype to avoid an error.
15103 Use char because int might match the return type of a GCC
15104 builtin and then its argument prototype would still apply. */
15105 #ifdef __cplusplus
15106 extern "C"
15107 #endif
15108 char _oss_ioctl ();
15110 main ()
15112 return _oss_ioctl ();
15114 return 0;
15116 _ACEOF
15117 if ac_fn_c_try_link "$LINENO"; then :
15118 ac_cv_lib_ossaudio__oss_ioctl=yes
15119 else
15120 ac_cv_lib_ossaudio__oss_ioctl=no
15122 rm -f core conftest.err conftest.$ac_objext \
15123 conftest$ac_exeext conftest.$ac_ext
15124 LIBS=$ac_check_lib_save_LIBS
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15127 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15128 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15129 OSS4_LIBS="-lossaudio"
15138 CPPFLAGS="$ac_save_CPPFLAGS"
15140 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15141 case "x$with_oss" in
15142 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15143 xno) ;;
15144 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15145 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15146 esac
15147 enable_wineoss_drv=${enable_wineoss_drv:-no}
15150 if test "x$with_udev" != "xno"
15151 then
15152 if ${UDEV_CFLAGS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15158 if ${UDEV_LIBS:+false} :; then :
15159 if ${PKG_CONFIG+:} false; then :
15160 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15164 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15165 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15166 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15167 ac_save_CPPFLAGS=$CPPFLAGS
15168 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15169 for ac_header in libudev.h
15170 do :
15171 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15172 if test "x$ac_cv_header_libudev_h" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_LIBUDEV_H 1
15175 _ACEOF
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15177 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15178 if ${ac_cv_lib_udev_udev_new+:} false; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181 ac_check_lib_save_LIBS=$LIBS
15182 LIBS="-ludev $UDEV_LIBS $LIBS"
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 #ifdef __cplusplus
15190 extern "C"
15191 #endif
15192 char udev_new ();
15194 main ()
15196 return udev_new ();
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 ac_cv_lib_udev_udev_new=yes
15203 else
15204 ac_cv_lib_udev_udev_new=no
15206 rm -f core conftest.err conftest.$ac_objext \
15207 conftest$ac_exeext conftest.$ac_ext
15208 LIBS=$ac_check_lib_save_LIBS
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15211 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15212 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15214 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15216 else
15217 UDEV_LIBS=""
15220 else
15221 UDEV_LIBS=""
15224 done
15226 CPPFLAGS=$ac_save_CPPFLAGS
15227 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15228 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15231 if test "x$UDEV_LIBS" = "x"; then :
15232 case "x$with_udev" in
15233 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15234 xno) ;;
15235 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15236 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15237 esac
15241 if test "x$with_unwind" != xno
15242 then
15243 if ${UNWIND_CFLAGS:+false} :; then :
15244 if ${PKG_CONFIG+:} false; then :
15245 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15249 if ${UNWIND_LIBS:+false} :; then :
15250 if ${PKG_CONFIG+:} false; then :
15251 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15255 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15256 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15257 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15258 ac_save_CPPFLAGS=$CPPFLAGS
15259 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15261 $as_echo_n "checking for unw_step... " >&6; }
15262 if ${wine_cv_have_unw_step+:} false; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15267 #define UNW_LOCAL_ONLY
15268 #include <libunwind.h>
15270 main ()
15272 unw_cursor_t cursor; unw_step( &cursor );
15274 return 0;
15276 _ACEOF
15277 if ac_fn_c_try_link "$LINENO"; then :
15278 wine_cv_have_unw_step="yes"
15279 else
15280 wine_cv_have_unw_step="no"
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15286 $as_echo "$wine_cv_have_unw_step" >&6; }
15287 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15288 then
15289 save_libs=$LIBS
15290 LIBS="$UNWIND_LIBS $LIBS"
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15292 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15293 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #define UNW_LOCAL_ONLY
15299 #include <libunwind.h>
15301 main ()
15303 unw_cursor_t cursor; unw_step( &cursor );
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 wine_cv_have_libunwind_unw_step="yes"
15310 else
15311 wine_cv_have_libunwind_unw_step="no"
15313 rm -f core conftest.err conftest.$ac_objext \
15314 conftest$ac_exeext conftest.$ac_ext
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15317 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15318 LIBS=$save_libs
15320 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15321 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15322 then
15324 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15327 CPPFLAGS=$ac_save_CPPFLAGS
15328 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15329 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15332 case $host in
15333 aarch64*|*-darwin*)
15334 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15335 case "x$with_unwind" in
15336 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15337 xno) ;;
15338 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15339 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15340 esac
15342 fi ;;
15343 esac
15345 if test "x$with_sdl" != "xno"
15346 then
15347 if ${SDL2_CFLAGS:+false} :; then :
15348 if ${PKG_CONFIG+:} false; then :
15349 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15353 if ${SDL2_LIBS:+false} :; then :
15354 if ${PKG_CONFIG+:} false; then :
15355 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15359 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15360 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15361 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15362 ac_save_CPPFLAGS=$CPPFLAGS
15363 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15364 for ac_header in SDL2/SDL.h
15365 do :
15366 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15367 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15368 cat >>confdefs.h <<_ACEOF
15369 #define HAVE_SDL2_SDL_H 1
15370 _ACEOF
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15372 $as_echo_n "checking for -lSDL2... " >&6; }
15373 if ${ac_cv_lib_soname_SDL2+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_check_soname_save_LIBS=$LIBS
15377 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char SDL_Init ();
15389 main ()
15391 return SDL_Init ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 case "$LIBEXT" in
15398 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15399 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'` ;;
15400 *) 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'`
15401 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15402 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 fi ;;
15404 esac
15405 else
15406 ac_cv_lib_soname_SDL2=
15408 rm -f core conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_soname_save_LIBS
15412 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15414 $as_echo "not found" >&6; }
15416 else
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15418 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15420 cat >>confdefs.h <<_ACEOF
15421 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15422 _ACEOF
15428 done
15430 CPPFLAGS=$ac_save_CPPFLAGS
15431 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15432 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15435 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15436 case "x$with_sdl" in
15437 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15438 xno) ;;
15439 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15440 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15441 esac
15445 if test "x$with_faudio" != "xno"
15446 then
15447 if ${FAUDIO_CFLAGS:+false} :; then :
15448 if ${PKG_CONFIG+:} false; then :
15449 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15453 if ${FAUDIO_LIBS:+false} :; then :
15454 if ${PKG_CONFIG+:} false; then :
15455 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15459 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15460 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15461 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15462 ac_save_CPPFLAGS=$CPPFLAGS
15463 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15464 for ac_header in FAudio.h
15465 do :
15466 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15467 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15468 cat >>confdefs.h <<_ACEOF
15469 #define HAVE_FAUDIO_H 1
15470 _ACEOF
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15472 $as_echo_n "checking for -lFAudio... " >&6; }
15473 if ${ac_cv_lib_soname_FAudio+:} false; then :
15474 $as_echo_n "(cached) " >&6
15475 else
15476 ac_check_soname_save_LIBS=$LIBS
15477 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15481 /* Override any GCC internal prototype to avoid an error.
15482 Use char because int might match the return type of a GCC
15483 builtin and then its argument prototype would still apply. */
15484 #ifdef __cplusplus
15485 extern "C"
15486 #endif
15487 char FAudioCreate ();
15489 main ()
15491 return FAudioCreate ();
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 case "$LIBEXT" in
15498 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15499 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'` ;;
15500 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15501 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15502 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15503 fi ;;
15504 esac
15505 else
15506 ac_cv_lib_soname_FAudio=
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext conftest.$ac_ext
15510 LIBS=$ac_check_soname_save_LIBS
15512 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15514 $as_echo "not found" >&6; }
15516 else
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15518 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15520 cat >>confdefs.h <<_ACEOF
15521 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15522 _ACEOF
15528 done
15530 ac_wine_check_funcs_save_LIBS="$LIBS"
15531 LIBS="$LIBS $FAUDIO_LIBS"
15532 for ac_func in FAudio_CommitOperationSet \
15533 F3DAudioInitialize8 \
15534 FAudioLinkedVersion \
15535 FAudioCreateReverb9WithCustomAllocatorEXT
15536 do :
15537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15542 _ACEOF
15545 done
15547 LIBS="$ac_wine_check_funcs_save_LIBS"
15549 CPPFLAGS=$ac_save_CPPFLAGS
15550 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15551 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15554 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15555 case "x$with_faudio" in
15556 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15557 xno) ;;
15558 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15559 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15560 esac
15564 if test "x$with_capi" != "xno"
15565 then
15566 if ${CAPI20_CFLAGS:+false} :; then :
15567 if ${PKG_CONFIG+:} false; then :
15568 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15572 if ${CAPI20_LIBS:+false} :; then :
15573 if ${PKG_CONFIG+:} false; then :
15574 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15579 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15580 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15581 ac_save_CPPFLAGS=$CPPFLAGS
15582 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15583 for ac_header in capi20.h linux/capi.h
15584 do :
15585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15589 cat >>confdefs.h <<_ACEOF
15590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15591 _ACEOF
15595 done
15597 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15598 then
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15600 $as_echo_n "checking for -lcapi20... " >&6; }
15601 if ${ac_cv_lib_soname_capi20+:} false; then :
15602 $as_echo_n "(cached) " >&6
15603 else
15604 ac_check_soname_save_LIBS=$LIBS
15605 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15609 /* Override any GCC internal prototype to avoid an error.
15610 Use char because int might match the return type of a GCC
15611 builtin and then its argument prototype would still apply. */
15612 #ifdef __cplusplus
15613 extern "C"
15614 #endif
15615 char capi20_register ();
15617 main ()
15619 return capi20_register ();
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"; then :
15625 case "$LIBEXT" in
15626 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15627 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'` ;;
15628 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15629 if ${ac_cv_lib_soname_capi20:+false} :; then :
15630 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15631 fi ;;
15632 esac
15633 else
15634 ac_cv_lib_soname_capi20=
15636 rm -f core conftest.err conftest.$ac_objext \
15637 conftest$ac_exeext conftest.$ac_ext
15638 LIBS=$ac_check_soname_save_LIBS
15640 if ${ac_cv_lib_soname_capi20:+false} :; then :
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15642 $as_echo "not found" >&6; }
15644 else
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15646 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15648 cat >>confdefs.h <<_ACEOF
15649 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15650 _ACEOF
15655 CPPFLAGS=$ac_save_CPPFLAGS
15656 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15657 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15660 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15661 case "x$with_capi" in
15662 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15663 xno) ;;
15664 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15665 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15666 esac
15670 if test "x$with_cups" != "xno"
15671 then
15672 if ${CUPS_CFLAGS:+false} :; then :
15673 if ${PKG_CONFIG+:} false; then :
15674 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15677 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15678 if ${CUPS_LIBS:+false} :; then :
15679 if ${PKG_CONFIG+:} false; then :
15680 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15683 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15684 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15685 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15686 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15687 ac_save_CPPFLAGS=$CPPFLAGS
15688 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15689 for ac_header in cups/cups.h cups/ppd.h
15690 do :
15691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15692 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15694 cat >>confdefs.h <<_ACEOF
15695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15696 _ACEOF
15700 done
15702 if test "$ac_cv_header_cups_cups_h" = "yes"
15703 then
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15705 $as_echo_n "checking for -lcups... " >&6; }
15706 if ${ac_cv_lib_soname_cups+:} false; then :
15707 $as_echo_n "(cached) " >&6
15708 else
15709 ac_check_soname_save_LIBS=$LIBS
15710 LIBS="-lcups $CUPS_LIBS $LIBS"
15711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15712 /* end confdefs.h. */
15714 /* Override any GCC internal prototype to avoid an error.
15715 Use char because int might match the return type of a GCC
15716 builtin and then its argument prototype would still apply. */
15717 #ifdef __cplusplus
15718 extern "C"
15719 #endif
15720 char cupsGetDefault ();
15722 main ()
15724 return cupsGetDefault ();
15726 return 0;
15728 _ACEOF
15729 if ac_fn_c_try_link "$LINENO"; then :
15730 case "$LIBEXT" in
15731 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15732 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'` ;;
15733 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15734 if ${ac_cv_lib_soname_cups:+false} :; then :
15735 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15736 fi ;;
15737 esac
15738 else
15739 ac_cv_lib_soname_cups=
15741 rm -f core conftest.err conftest.$ac_objext \
15742 conftest$ac_exeext conftest.$ac_ext
15743 LIBS=$ac_check_soname_save_LIBS
15745 if ${ac_cv_lib_soname_cups:+false} :; then :
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15747 $as_echo "not found" >&6; }
15748 CUPS_LIBS=""
15749 else
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15751 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15753 cat >>confdefs.h <<_ACEOF
15754 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15755 _ACEOF
15759 else
15760 CUPS_CFLAGS=""
15761 CUPS_LIBS=""
15763 CPPFLAGS=$ac_save_CPPFLAGS
15764 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15765 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15768 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15769 case "x$with_cups" in
15770 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15771 xno) ;;
15772 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15773 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15774 esac
15778 if test "x$with_fontconfig" != "xno"
15779 then
15780 if ${FONTCONFIG_CFLAGS:+false} :; then :
15781 if ${PKG_CONFIG+:} false; then :
15782 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15785 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15786 if ${FONTCONFIG_LIBS:+false} :; then :
15787 if ${PKG_CONFIG+:} false; then :
15788 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15791 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15793 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15794 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15795 ac_save_CPPFLAGS=$CPPFLAGS
15796 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15797 for ac_header in fontconfig/fontconfig.h
15798 do :
15799 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15800 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15803 _ACEOF
15807 done
15809 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15810 then
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15812 $as_echo_n "checking for -lfontconfig... " >&6; }
15813 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15814 $as_echo_n "(cached) " >&6
15815 else
15816 ac_check_soname_save_LIBS=$LIBS
15817 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15821 /* Override any GCC internal prototype to avoid an error.
15822 Use char because int might match the return type of a GCC
15823 builtin and then its argument prototype would still apply. */
15824 #ifdef __cplusplus
15825 extern "C"
15826 #endif
15827 char FcInit ();
15829 main ()
15831 return FcInit ();
15833 return 0;
15835 _ACEOF
15836 if ac_fn_c_try_link "$LINENO"; then :
15837 case "$LIBEXT" in
15838 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15839 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'` ;;
15840 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15841 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15842 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15843 fi ;;
15844 esac
15845 else
15846 ac_cv_lib_soname_fontconfig=
15848 rm -f core conftest.err conftest.$ac_objext \
15849 conftest$ac_exeext conftest.$ac_ext
15850 LIBS=$ac_check_soname_save_LIBS
15852 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15854 $as_echo "not found" >&6; }
15855 FONTCONFIG_CFLAGS=""
15856 else
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15858 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15860 cat >>confdefs.h <<_ACEOF
15861 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15862 _ACEOF
15866 else
15867 FONTCONFIG_CFLAGS=""
15869 CPPFLAGS=$ac_save_CPPFLAGS
15870 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15871 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15874 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15875 case "x$with_fontconfig" in
15876 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15877 xno) ;;
15878 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15879 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15880 esac
15884 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15885 then
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15887 $as_echo_n "checking for -lgsm... " >&6; }
15888 if ${ac_cv_lib_soname_gsm+:} false; then :
15889 $as_echo_n "(cached) " >&6
15890 else
15891 ac_check_soname_save_LIBS=$LIBS
15892 LIBS="-lgsm $LIBS"
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15899 #ifdef __cplusplus
15900 extern "C"
15901 #endif
15902 char gsm_create ();
15904 main ()
15906 return gsm_create ();
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_link "$LINENO"; then :
15912 case "$LIBEXT" in
15913 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15914 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'` ;;
15915 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15916 if ${ac_cv_lib_soname_gsm:+false} :; then :
15917 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15918 fi ;;
15919 esac
15920 else
15921 ac_cv_lib_soname_gsm=
15923 rm -f core conftest.err conftest.$ac_objext \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_soname_save_LIBS
15927 if ${ac_cv_lib_soname_gsm:+false} :; then :
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15929 $as_echo "not found" >&6; }
15931 else
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15933 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15935 cat >>confdefs.h <<_ACEOF
15936 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15937 _ACEOF
15942 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15943 case "x$with_gsm" in
15944 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15945 xno) ;;
15946 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15947 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15948 esac
15952 if test "x$with_krb5" != "xno"
15953 then
15954 if ${KRB5_CFLAGS:+false} :; then :
15955 if ${PKG_CONFIG+:} false; then :
15956 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15959 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15960 if ${KRB5_LIBS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15965 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15967 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15968 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15969 ac_save_CPPFLAGS=$CPPFLAGS
15970 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15971 for ac_header in krb5/krb5.h
15972 do :
15973 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15974 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_KRB5_KRB5_H 1
15977 _ACEOF
15981 done
15983 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15984 then
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15986 $as_echo_n "checking for -lkrb5... " >&6; }
15987 if ${ac_cv_lib_soname_krb5+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_check_soname_save_LIBS=$LIBS
15991 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char krb5_is_config_principal ();
16003 main ()
16005 return krb5_is_config_principal ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 case "$LIBEXT" in
16012 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16013 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'` ;;
16014 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16015 if ${ac_cv_lib_soname_krb5:+false} :; then :
16016 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16017 fi ;;
16018 esac
16019 else
16020 ac_cv_lib_soname_krb5=
16022 rm -f core conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_soname_save_LIBS
16026 if ${ac_cv_lib_soname_krb5:+false} :; then :
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16028 $as_echo "not found" >&6; }
16029 KRB5_CFLAGS=""
16030 else
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
16032 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
16034 cat >>confdefs.h <<_ACEOF
16035 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
16036 _ACEOF
16040 else
16041 KRB5_CFLAGS=""
16043 CPPFLAGS=$ac_save_CPPFLAGS
16044 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16045 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16048 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16049 case "x$with_krb5" in
16050 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16051 xno) ;;
16052 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16053 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16054 esac
16057 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16059 if test "x$with_gssapi" != "xno"
16060 then
16061 if ${GSSAPI_CFLAGS:+false} :; then :
16062 if ${PKG_CONFIG+:} false; then :
16063 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16066 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16067 if ${GSSAPI_LIBS:+false} :; then :
16068 if ${PKG_CONFIG+:} false; then :
16069 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16072 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16074 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16075 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16076 ac_save_CPPFLAGS=$CPPFLAGS
16077 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16078 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16079 do :
16080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16081 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16082 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16085 _ACEOF
16089 done
16091 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16092 then
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16094 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16095 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16096 $as_echo_n "(cached) " >&6
16097 else
16098 ac_check_soname_save_LIBS=$LIBS
16099 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16103 /* Override any GCC internal prototype to avoid an error.
16104 Use char because int might match the return type of a GCC
16105 builtin and then its argument prototype would still apply. */
16106 #ifdef __cplusplus
16107 extern "C"
16108 #endif
16109 char gss_init_sec_context ();
16111 main ()
16113 return gss_init_sec_context ();
16115 return 0;
16117 _ACEOF
16118 if ac_fn_c_try_link "$LINENO"; then :
16119 case "$LIBEXT" in
16120 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16121 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'` ;;
16122 *) 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'`
16123 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16124 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16125 fi ;;
16126 esac
16127 else
16128 ac_cv_lib_soname_gssapi_krb5=
16130 rm -f core conftest.err conftest.$ac_objext \
16131 conftest$ac_exeext conftest.$ac_ext
16132 LIBS=$ac_check_soname_save_LIBS
16134 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16136 $as_echo "not found" >&6; }
16137 GSSAPI_CFLAGS=""
16138 else
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16140 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16142 cat >>confdefs.h <<_ACEOF
16143 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16144 _ACEOF
16148 else
16149 GSSAPI_CFLAGS=""
16151 CPPFLAGS=$ac_save_CPPFLAGS
16152 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16153 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16156 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16157 case "x$with_gssapi" in
16158 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16159 xno) ;;
16160 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16161 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16162 esac
16166 if test "x$with_jpeg" != "xno"
16167 then
16168 if ${JPEG_CFLAGS:+false} :; then :
16169 if ${PKG_CONFIG+:} false; then :
16170 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16174 if ${JPEG_LIBS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16181 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16182 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16183 ac_save_CPPFLAGS=$CPPFLAGS
16184 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16185 for ac_header in jpeglib.h
16186 do :
16187 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16188 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_JPEGLIB_H 1
16191 _ACEOF
16195 done
16197 if test "$ac_cv_header_jpeglib_h" = "yes"
16198 then
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16200 $as_echo_n "checking for -ljpeg... " >&6; }
16201 if ${ac_cv_lib_soname_jpeg+:} false; then :
16202 $as_echo_n "(cached) " >&6
16203 else
16204 ac_check_soname_save_LIBS=$LIBS
16205 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16209 /* Override any GCC internal prototype to avoid an error.
16210 Use char because int might match the return type of a GCC
16211 builtin and then its argument prototype would still apply. */
16212 #ifdef __cplusplus
16213 extern "C"
16214 #endif
16215 char jpeg_start_decompress ();
16217 main ()
16219 return jpeg_start_decompress ();
16221 return 0;
16223 _ACEOF
16224 if ac_fn_c_try_link "$LINENO"; then :
16225 case "$LIBEXT" in
16226 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16227 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'` ;;
16228 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16229 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16230 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16231 fi ;;
16232 esac
16233 else
16234 ac_cv_lib_soname_jpeg=
16236 rm -f core conftest.err conftest.$ac_objext \
16237 conftest$ac_exeext conftest.$ac_ext
16238 LIBS=$ac_check_soname_save_LIBS
16240 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16242 $as_echo "not found" >&6; }
16243 JPEG_CFLAGS=""
16244 else
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16246 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16248 cat >>confdefs.h <<_ACEOF
16249 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16250 _ACEOF
16254 else
16255 JPEG_CFLAGS=""
16257 CPPFLAGS=$ac_save_CPPFLAGS
16258 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16259 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16262 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16263 case "x$with_jpeg" in
16264 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16265 xno) ;;
16266 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16267 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16268 esac
16272 if test "x$with_png" != "xno"
16273 then
16274 if ${PNG_CFLAGS:+false} :; then :
16275 if ${PKG_CONFIG+:} false; then :
16276 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16279 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16280 if ${PNG_LIBS:+false} :; then :
16281 if ${PKG_CONFIG+:} false; then :
16282 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16285 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16287 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16288 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16289 ac_save_CPPFLAGS=$CPPFLAGS
16290 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16291 for ac_header in png.h
16292 do :
16293 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16294 if test "x$ac_cv_header_png_h" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_PNG_H 1
16297 _ACEOF
16301 done
16303 if test "$ac_cv_header_png_h" = "yes"
16304 then
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16306 $as_echo_n "checking for -lpng... " >&6; }
16307 if ${ac_cv_lib_soname_png+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 ac_check_soname_save_LIBS=$LIBS
16311 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16315 /* Override any GCC internal prototype to avoid an error.
16316 Use char because int might match the return type of a GCC
16317 builtin and then its argument prototype would still apply. */
16318 #ifdef __cplusplus
16319 extern "C"
16320 #endif
16321 char png_create_read_struct ();
16323 main ()
16325 return png_create_read_struct ();
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"; then :
16331 case "$LIBEXT" in
16332 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16333 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'` ;;
16334 *) 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'`
16335 if ${ac_cv_lib_soname_png:+false} :; then :
16336 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16337 fi ;;
16338 esac
16339 else
16340 ac_cv_lib_soname_png=
16342 rm -f core conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16344 LIBS=$ac_check_soname_save_LIBS
16346 if ${ac_cv_lib_soname_png:+false} :; then :
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16348 $as_echo "not found" >&6; }
16349 PNG_CFLAGS=""
16350 else
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16352 $as_echo "$ac_cv_lib_soname_png" >&6; }
16354 cat >>confdefs.h <<_ACEOF
16355 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16356 _ACEOF
16360 else
16361 PNG_CFLAGS=""
16363 CPPFLAGS=$ac_save_CPPFLAGS
16364 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16365 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16368 if test "x$ac_cv_lib_soname_png" = "x"; then :
16369 case "x$with_png" in
16370 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16371 xno) ;;
16372 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16373 This is an error since --with-png was requested." "$LINENO" 5 ;;
16374 esac
16378 if test "x$with_tiff" != "xno"
16379 then
16380 if ${TIFF_CFLAGS:+false} :; then :
16381 if ${PKG_CONFIG+:} false; then :
16382 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16386 if ${TIFF_LIBS:+false} :; then :
16387 if ${PKG_CONFIG+:} false; then :
16388 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16393 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16394 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16395 ac_save_CPPFLAGS=$CPPFLAGS
16396 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16397 for ac_header in tiffio.h
16398 do :
16399 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16400 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_TIFFIO_H 1
16403 _ACEOF
16407 done
16409 if test "$ac_cv_header_tiffio_h" = "yes"
16410 then
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16412 $as_echo_n "checking for -ltiff... " >&6; }
16413 if ${ac_cv_lib_soname_tiff+:} false; then :
16414 $as_echo_n "(cached) " >&6
16415 else
16416 ac_check_soname_save_LIBS=$LIBS
16417 LIBS="-ltiff $TIFF_LIBS $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 #ifdef __cplusplus
16425 extern "C"
16426 #endif
16427 char TIFFClientOpen ();
16429 main ()
16431 return TIFFClientOpen ();
16433 return 0;
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 case "$LIBEXT" in
16438 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16439 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'` ;;
16440 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16441 if ${ac_cv_lib_soname_tiff:+false} :; then :
16442 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16443 fi ;;
16444 esac
16445 else
16446 ac_cv_lib_soname_tiff=
16448 rm -f core conftest.err conftest.$ac_objext \
16449 conftest$ac_exeext conftest.$ac_ext
16450 LIBS=$ac_check_soname_save_LIBS
16452 if ${ac_cv_lib_soname_tiff:+false} :; then :
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16454 $as_echo "not found" >&6; }
16456 else
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16458 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16460 cat >>confdefs.h <<_ACEOF
16461 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16462 _ACEOF
16467 CPPFLAGS=$ac_save_CPPFLAGS
16468 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16469 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16472 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16473 case "x$with_tiff" in
16474 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16475 xno) ;;
16476 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16477 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16478 esac
16482 if test "x$with_mpg123" != "xno"
16483 then
16484 if ${MPG123_CFLAGS:+false} :; then :
16485 if ${PKG_CONFIG+:} false; then :
16486 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16490 if ${MPG123_LIBS:+false} :; then :
16491 if ${PKG_CONFIG+:} false; then :
16492 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16496 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16497 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16498 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16499 ac_save_CPPFLAGS=$CPPFLAGS
16500 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16501 for ac_header in mpg123.h
16502 do :
16503 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16504 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_MPG123_H 1
16507 _ACEOF
16511 done
16513 if test "$ac_cv_header_mpg123_h" = "yes"
16514 then
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16516 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16517 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 ac_check_lib_save_LIBS=$LIBS
16521 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16525 /* Override any GCC internal prototype to avoid an error.
16526 Use char because int might match the return type of a GCC
16527 builtin and then its argument prototype would still apply. */
16528 #ifdef __cplusplus
16529 extern "C"
16530 #endif
16531 char mpg123_feed ();
16533 main ()
16535 return mpg123_feed ();
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_lib_mpg123_mpg123_feed=yes
16542 else
16543 ac_cv_lib_mpg123_mpg123_feed=no
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16547 LIBS=$ac_check_lib_save_LIBS
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16550 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16551 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16553 else
16554 MPG123_LIBS=""
16557 else
16558 MPG123_CFLAGS=""
16559 MPG123_LIBS=""
16561 CPPFLAGS=$ac_save_CPPFLAGS
16562 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16563 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16566 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16567 case "x$with_mpg123" in
16568 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16569 xno) ;;
16570 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16571 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16572 esac
16573 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16575 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16577 if test "$ac_cv_header_AL_al_h" = "yes"
16578 then
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16580 $as_echo_n "checking for -lopenal... " >&6; }
16581 if ${ac_cv_lib_soname_openal+:} false; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 ac_check_soname_save_LIBS=$LIBS
16585 LIBS="-lopenal $LIBS"
16586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16589 /* Override any GCC internal prototype to avoid an error.
16590 Use char because int might match the return type of a GCC
16591 builtin and then its argument prototype would still apply. */
16592 #ifdef __cplusplus
16593 extern "C"
16594 #endif
16595 char alGetSource3i ();
16597 main ()
16599 return alGetSource3i ();
16601 return 0;
16603 _ACEOF
16604 if ac_fn_c_try_link "$LINENO"; then :
16605 case "$LIBEXT" in
16606 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16607 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'` ;;
16608 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16609 if ${ac_cv_lib_soname_openal:+false} :; then :
16610 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16611 fi ;;
16612 esac
16613 else
16614 ac_cv_lib_soname_openal=
16616 rm -f core conftest.err conftest.$ac_objext \
16617 conftest$ac_exeext conftest.$ac_ext
16618 LIBS=$ac_check_soname_save_LIBS
16620 if ${ac_cv_lib_soname_openal:+false} :; then :
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16622 $as_echo "not found" >&6; }
16624 else
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16626 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16628 cat >>confdefs.h <<_ACEOF
16629 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16630 _ACEOF
16632 OPENAL_LIBS="-lopenal"
16634 ac_cv_lib_openal=yes
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_OPENAL 1
16638 _ACEOF
16642 if test "x$ac_cv_lib_openal" != xyes; then :
16643 case "x$with_openal" in
16644 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16645 xno) ;;
16646 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16647 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16648 esac
16649 enable_openal32=${enable_openal32:-no}
16652 if test "x$ac_cv_lib_soname_FAudio" = "x"
16653 then
16654 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16655 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16656 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16657 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16658 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16659 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16660 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16661 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16662 enable_xactengine3_0=${enable_xactengine3_0:-no}
16663 enable_xactengine3_1=${enable_xactengine3_1:-no}
16664 enable_xactengine3_2=${enable_xactengine3_2:-no}
16665 enable_xactengine3_3=${enable_xactengine3_3:-no}
16666 enable_xactengine3_4=${enable_xactengine3_4:-no}
16667 enable_xactengine3_5=${enable_xactengine3_5:-no}
16668 enable_xactengine3_6=${enable_xactengine3_6:-no}
16669 enable_xactengine3_7=${enable_xactengine3_7:-no}
16670 enable_xapofx1_1=${enable_xapofx1_1:-no}
16671 enable_xapofx1_2=${enable_xapofx1_2:-no}
16672 enable_xapofx1_3=${enable_xapofx1_3:-no}
16673 enable_xapofx1_4=${enable_xapofx1_4:-no}
16674 enable_xapofx1_5=${enable_xapofx1_5:-no}
16675 enable_xaudio2_0=${enable_xaudio2_0:-no}
16676 enable_xaudio2_1=${enable_xaudio2_1:-no}
16677 enable_xaudio2_2=${enable_xaudio2_2:-no}
16678 enable_xaudio2_3=${enable_xaudio2_3:-no}
16679 enable_xaudio2_4=${enable_xaudio2_4:-no}
16680 enable_xaudio2_5=${enable_xaudio2_5:-no}
16681 enable_xaudio2_6=${enable_xaudio2_6:-no}
16682 enable_xaudio2_7=${enable_xaudio2_7:-no}
16683 enable_xaudio2_8=${enable_xaudio2_8:-no}
16684 enable_xaudio2_9=${enable_xaudio2_9:-no}
16687 if test "$ac_cv_header_kstat_h" = "yes"
16688 then
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16690 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16691 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 ac_check_lib_save_LIBS=$LIBS
16695 LIBS="-lkstat $LIBS"
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16699 /* Override any GCC internal prototype to avoid an error.
16700 Use char because int might match the return type of a GCC
16701 builtin and then its argument prototype would still apply. */
16702 #ifdef __cplusplus
16703 extern "C"
16704 #endif
16705 char kstat_open ();
16707 main ()
16709 return kstat_open ();
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"; then :
16715 ac_cv_lib_kstat_kstat_open=yes
16716 else
16717 ac_cv_lib_kstat_kstat_open=no
16719 rm -f core conftest.err conftest.$ac_objext \
16720 conftest$ac_exeext conftest.$ac_ext
16721 LIBS=$ac_check_lib_save_LIBS
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16724 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16725 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16727 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16729 KSTAT_LIBS="-lkstat"
16735 if test "$ac_cv_header_libprocstat_h" = "yes"
16736 then
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16738 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16739 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16740 $as_echo_n "(cached) " >&6
16741 else
16742 ac_check_lib_save_LIBS=$LIBS
16743 LIBS="-lprocstat $LIBS"
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16747 /* Override any GCC internal prototype to avoid an error.
16748 Use char because int might match the return type of a GCC
16749 builtin and then its argument prototype would still apply. */
16750 #ifdef __cplusplus
16751 extern "C"
16752 #endif
16753 char procstat_open_sysctl ();
16755 main ()
16757 return procstat_open_sysctl ();
16759 return 0;
16761 _ACEOF
16762 if ac_fn_c_try_link "$LINENO"; then :
16763 ac_cv_lib_procstat_procstat_open_sysctl=yes
16764 else
16765 ac_cv_lib_procstat_procstat_open_sysctl=no
16767 rm -f core conftest.err conftest.$ac_objext \
16768 conftest$ac_exeext conftest.$ac_ext
16769 LIBS=$ac_check_lib_save_LIBS
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16772 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16773 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16775 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16777 PROCSTAT_LIBS="-lprocstat"
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16784 $as_echo_n "checking for -lodbc... " >&6; }
16785 if ${ac_cv_lib_soname_odbc+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 ac_check_soname_save_LIBS=$LIBS
16789 LIBS="-lodbc $LIBS"
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16793 /* Override any GCC internal prototype to avoid an error.
16794 Use char because int might match the return type of a GCC
16795 builtin and then its argument prototype would still apply. */
16796 #ifdef __cplusplus
16797 extern "C"
16798 #endif
16799 char SQLConnect ();
16801 main ()
16803 return SQLConnect ();
16805 return 0;
16807 _ACEOF
16808 if ac_fn_c_try_link "$LINENO"; then :
16809 case "$LIBEXT" in
16810 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16811 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'` ;;
16812 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16813 if ${ac_cv_lib_soname_odbc:+false} :; then :
16814 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16815 fi ;;
16816 esac
16817 else
16818 ac_cv_lib_soname_odbc=
16820 rm -f core conftest.err conftest.$ac_objext \
16821 conftest$ac_exeext conftest.$ac_ext
16822 LIBS=$ac_check_soname_save_LIBS
16824 if ${ac_cv_lib_soname_odbc:+false} :; then :
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16826 $as_echo "not found" >&6; }
16827 cat >>confdefs.h <<_ACEOF
16828 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16829 _ACEOF
16831 else
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16833 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16835 cat >>confdefs.h <<_ACEOF
16836 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16837 _ACEOF
16842 if test "x$with_netapi" != "xno"
16843 then
16844 if ${NETAPI_CFLAGS:+false} :; then :
16845 if ${PKG_CONFIG+:} false; then :
16846 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16850 if ${NETAPI_LIBS:+false} :; then :
16851 if ${PKG_CONFIG+:} false; then :
16852 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16857 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16858 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16859 ac_save_CPPFLAGS=$CPPFLAGS
16860 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16862 $as_echo_n "checking for -lnetapi... " >&6; }
16863 if ${ac_cv_lib_soname_netapi+:} false; then :
16864 $as_echo_n "(cached) " >&6
16865 else
16866 ac_check_soname_save_LIBS=$LIBS
16867 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16871 /* Override any GCC internal prototype to avoid an error.
16872 Use char because int might match the return type of a GCC
16873 builtin and then its argument prototype would still apply. */
16874 #ifdef __cplusplus
16875 extern "C"
16876 #endif
16877 char libnetapi_init ();
16879 main ()
16881 return libnetapi_init ();
16883 return 0;
16885 _ACEOF
16886 if ac_fn_c_try_link "$LINENO"; then :
16887 case "$LIBEXT" in
16888 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16889 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'` ;;
16890 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16891 if ${ac_cv_lib_soname_netapi:+false} :; then :
16892 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16893 fi ;;
16894 esac
16895 else
16896 ac_cv_lib_soname_netapi=
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16900 LIBS=$ac_check_soname_save_LIBS
16902 if ${ac_cv_lib_soname_netapi:+false} :; then :
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16904 $as_echo "not found" >&6; }
16905 cat >>confdefs.h <<_ACEOF
16906 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16907 _ACEOF
16909 else
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16911 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16913 cat >>confdefs.h <<_ACEOF
16914 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16915 _ACEOF
16919 CPPFLAGS=$ac_save_CPPFLAGS
16920 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16921 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16925 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16926 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16927 then
16928 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16931 if test "x$with_vulkan" != "xno"
16932 then
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16934 $as_echo_n "checking for -lvulkan... " >&6; }
16935 if ${ac_cv_lib_soname_vulkan+:} false; then :
16936 $as_echo_n "(cached) " >&6
16937 else
16938 ac_check_soname_save_LIBS=$LIBS
16939 LIBS="-lvulkan $LIBS"
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16946 #ifdef __cplusplus
16947 extern "C"
16948 #endif
16949 char vkGetInstanceProcAddr ();
16951 main ()
16953 return vkGetInstanceProcAddr ();
16955 return 0;
16957 _ACEOF
16958 if ac_fn_c_try_link "$LINENO"; then :
16959 case "$LIBEXT" in
16960 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16961 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'` ;;
16962 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16963 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16964 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16965 fi ;;
16966 esac
16967 else
16968 ac_cv_lib_soname_vulkan=
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16972 LIBS=$ac_check_soname_save_LIBS
16974 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16976 $as_echo "not found" >&6; }
16978 else
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16980 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16982 cat >>confdefs.h <<_ACEOF
16983 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16984 _ACEOF
16988 if test "x$ac_cv_lib_soname_vulkan" = "x"
16989 then
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16991 $as_echo_n "checking for -lMoltenVK... " >&6; }
16992 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 ac_check_soname_save_LIBS=$LIBS
16996 LIBS="-lMoltenVK $LIBS"
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
17000 /* Override any GCC internal prototype to avoid an error.
17001 Use char because int might match the return type of a GCC
17002 builtin and then its argument prototype would still apply. */
17003 #ifdef __cplusplus
17004 extern "C"
17005 #endif
17006 char vkGetInstanceProcAddr ();
17008 main ()
17010 return vkGetInstanceProcAddr ();
17012 return 0;
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 case "$LIBEXT" in
17017 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17018 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'` ;;
17019 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17020 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
17021 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17022 fi ;;
17023 esac
17024 else
17025 ac_cv_lib_soname_MoltenVK=
17027 rm -f core conftest.err conftest.$ac_objext \
17028 conftest$ac_exeext conftest.$ac_ext
17029 LIBS=$ac_check_soname_save_LIBS
17031 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17033 $as_echo "not found" >&6; }
17035 else
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17037 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
17039 cat >>confdefs.h <<_ACEOF
17040 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
17041 _ACEOF
17047 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
17048 case "x$with_vulkan" in
17049 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17050 xno) ;;
17051 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17052 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17053 esac
17057 if test "x$with_vkd3d" != "xno"
17058 then
17059 if ${VKD3D_CFLAGS:+false} :; then :
17060 if ${PKG_CONFIG+:} false; then :
17061 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17065 if ${VKD3D_LIBS:+false} :; then :
17066 if ${PKG_CONFIG+:} false; then :
17067 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17072 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17073 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17074 ac_save_CPPFLAGS=$CPPFLAGS
17075 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17077 $as_echo_n "checking for -lvkd3d... " >&6; }
17078 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 ac_check_soname_save_LIBS=$LIBS
17082 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17086 /* Override any GCC internal prototype to avoid an error.
17087 Use char because int might match the return type of a GCC
17088 builtin and then its argument prototype would still apply. */
17089 #ifdef __cplusplus
17090 extern "C"
17091 #endif
17092 char vkd3d_get_dxgi_format ();
17094 main ()
17096 return vkd3d_get_dxgi_format ();
17098 return 0;
17100 _ACEOF
17101 if ac_fn_c_try_link "$LINENO"; then :
17102 case "$LIBEXT" in
17103 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17104 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'` ;;
17105 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17106 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17107 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17108 fi ;;
17109 esac
17110 else
17111 ac_cv_lib_soname_vkd3d=
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 LIBS=$ac_check_soname_save_LIBS
17117 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17119 $as_echo "not found" >&6; }
17121 else
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17123 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17125 cat >>confdefs.h <<_ACEOF
17126 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17127 _ACEOF
17131 CPPFLAGS=$ac_save_CPPFLAGS
17132 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17133 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17136 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17137 case "x$with_vkd3d" in
17138 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17139 xno) ;;
17140 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17141 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17142 esac
17145 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17148 EXTRACFLAGS=""
17150 if test "x${GCC}" = "xyes"
17151 then
17152 EXTRACFLAGS="-Wall -pipe"
17154 saved_CFLAGS=$CFLAGS
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17156 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17157 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 int main(int argc, char **argv) { return 0; }
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_cflags__Werror_unknown_warning_option=yes
17168 else
17169 ac_cv_cflags__Werror_unknown_warning_option=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 CFLAGS=$ac_wine_try_cflags_saved
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17176 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17177 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17178 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17181 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17182 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_wine_try_cflags_saved=$CFLAGS
17186 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 int main(int argc, char **argv) { return 0; }
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_cflags__Werror_unused_command_line_argument=yes
17193 else
17194 ac_cv_cflags__Werror_unused_command_line_argument=no
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17198 CFLAGS=$ac_wine_try_cflags_saved
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17201 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17202 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17203 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17206 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17207 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 ac_wine_try_cflags_saved=$CFLAGS
17211 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17214 int main(int argc, char **argv) { return 0; }
17215 _ACEOF
17216 if ac_fn_c_try_link "$LINENO"; then :
17217 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17218 else
17219 ac_cv_cflags__Werror_ignored_optimization_argument=no
17221 rm -f core conftest.err conftest.$ac_objext \
17222 conftest$ac_exeext conftest.$ac_ext
17223 CFLAGS=$ac_wine_try_cflags_saved
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17226 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17227 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17228 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17231 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17232 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 ac_wine_try_cflags_saved=$CFLAGS
17236 CFLAGS="$CFLAGS -fcf-protection=none"
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 int main(int argc, char **argv) { return 0; }
17240 _ACEOF
17241 if ac_fn_c_try_link "$LINENO"; then :
17242 ac_cv_cflags__fcf_protection_none=yes
17243 else
17244 ac_cv_cflags__fcf_protection_none=no
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 CFLAGS=$ac_wine_try_cflags_saved
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17251 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17252 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17253 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17256 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17257 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -fno-stack-protector"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 int main(int argc, char **argv) { return 0; }
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_cflags__fno_stack_protector=yes
17268 else
17269 ac_cv_cflags__fno_stack_protector=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 CFLAGS=$ac_wine_try_cflags_saved
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17276 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17277 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17278 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17281 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17282 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 ac_wine_try_cflags_saved=$CFLAGS
17286 CFLAGS="$CFLAGS -fno-strict-aliasing"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 int main(int argc, char **argv) { return 0; }
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 ac_cv_cflags__fno_strict_aliasing=yes
17293 else
17294 ac_cv_cflags__fno_strict_aliasing=no
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17298 CFLAGS=$ac_wine_try_cflags_saved
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17301 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17302 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17303 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17306 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17307 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 ac_wine_try_cflags_saved=$CFLAGS
17311 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17314 int main(int argc, char **argv) { return 0; }
17315 _ACEOF
17316 if ac_fn_c_try_link "$LINENO"; then :
17317 ac_cv_cflags__Wdeclaration_after_statement=yes
17318 else
17319 ac_cv_cflags__Wdeclaration_after_statement=no
17321 rm -f core conftest.err conftest.$ac_objext \
17322 conftest$ac_exeext conftest.$ac_ext
17323 CFLAGS=$ac_wine_try_cflags_saved
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17326 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17327 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17328 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17331 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17332 if ${ac_cv_cflags__Wempty_body+:} false; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17335 ac_wine_try_cflags_saved=$CFLAGS
17336 CFLAGS="$CFLAGS -Wempty-body"
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 int main(int argc, char **argv) { return 0; }
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_cflags__Wempty_body=yes
17343 else
17344 ac_cv_cflags__Wempty_body=no
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 CFLAGS=$ac_wine_try_cflags_saved
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17351 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17352 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17353 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17356 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17357 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17358 $as_echo_n "(cached) " >&6
17359 else
17360 ac_wine_try_cflags_saved=$CFLAGS
17361 CFLAGS="$CFLAGS -Wignored-qualifiers"
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 int main(int argc, char **argv) { return 0; }
17365 _ACEOF
17366 if ac_fn_c_try_link "$LINENO"; then :
17367 ac_cv_cflags__Wignored_qualifiers=yes
17368 else
17369 ac_cv_cflags__Wignored_qualifiers=no
17371 rm -f core conftest.err conftest.$ac_objext \
17372 conftest$ac_exeext conftest.$ac_ext
17373 CFLAGS=$ac_wine_try_cflags_saved
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17376 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17377 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17378 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17381 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17382 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 ac_wine_try_cflags_saved=$CFLAGS
17386 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 int main(int argc, char **argv) { return 0; }
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"; then :
17392 ac_cv_cflags__Wpacked_not_aligned=yes
17393 else
17394 ac_cv_cflags__Wpacked_not_aligned=no
17396 rm -f core conftest.err conftest.$ac_objext \
17397 conftest$ac_exeext conftest.$ac_ext
17398 CFLAGS=$ac_wine_try_cflags_saved
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17401 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17402 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17403 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17406 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17407 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 ac_wine_try_cflags_saved=$CFLAGS
17411 CFLAGS="$CFLAGS -Wpragma-pack"
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 int main(int argc, char **argv) { return 0; }
17415 _ACEOF
17416 if ac_fn_c_try_link "$LINENO"; then :
17417 ac_cv_cflags__Wpragma_pack=yes
17418 else
17419 ac_cv_cflags__Wpragma_pack=no
17421 rm -f core conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17423 CFLAGS=$ac_wine_try_cflags_saved
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17426 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17427 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17428 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17431 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17432 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 ac_wine_try_cflags_saved=$CFLAGS
17436 CFLAGS="$CFLAGS -Wshift-overflow=2"
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 int main(int argc, char **argv) { return 0; }
17440 _ACEOF
17441 if ac_fn_c_try_link "$LINENO"; then :
17442 ac_cv_cflags__Wshift_overflow_2=yes
17443 else
17444 ac_cv_cflags__Wshift_overflow_2=no
17446 rm -f core conftest.err conftest.$ac_objext \
17447 conftest$ac_exeext conftest.$ac_ext
17448 CFLAGS=$ac_wine_try_cflags_saved
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17451 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17452 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17453 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17456 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17457 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17460 ac_wine_try_cflags_saved=$CFLAGS
17461 CFLAGS="$CFLAGS -Wstrict-prototypes"
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17464 int main(int argc, char **argv) { return 0; }
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"; then :
17467 ac_cv_cflags__Wstrict_prototypes=yes
17468 else
17469 ac_cv_cflags__Wstrict_prototypes=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17473 CFLAGS=$ac_wine_try_cflags_saved
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17476 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17477 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17478 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17481 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17482 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 ac_wine_try_cflags_saved=$CFLAGS
17486 CFLAGS="$CFLAGS -Wtype-limits"
17487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17489 int main(int argc, char **argv) { return 0; }
17490 _ACEOF
17491 if ac_fn_c_try_link "$LINENO"; then :
17492 ac_cv_cflags__Wtype_limits=yes
17493 else
17494 ac_cv_cflags__Wtype_limits=no
17496 rm -f core conftest.err conftest.$ac_objext \
17497 conftest$ac_exeext conftest.$ac_ext
17498 CFLAGS=$ac_wine_try_cflags_saved
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17501 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17502 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17503 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17506 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17507 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17508 $as_echo_n "(cached) " >&6
17509 else
17510 ac_wine_try_cflags_saved=$CFLAGS
17511 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 int main(int argc, char **argv) { return 0; }
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"; then :
17517 ac_cv_cflags__Wunused_but_set_parameter=yes
17518 else
17519 ac_cv_cflags__Wunused_but_set_parameter=no
17521 rm -f core conftest.err conftest.$ac_objext \
17522 conftest$ac_exeext conftest.$ac_ext
17523 CFLAGS=$ac_wine_try_cflags_saved
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17526 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17527 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17528 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17531 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17532 if ${ac_cv_cflags__Wvla+:} false; then :
17533 $as_echo_n "(cached) " >&6
17534 else
17535 ac_wine_try_cflags_saved=$CFLAGS
17536 CFLAGS="$CFLAGS -Wvla"
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 int main(int argc, char **argv) { return 0; }
17540 _ACEOF
17541 if ac_fn_c_try_link "$LINENO"; then :
17542 ac_cv_cflags__Wvla=yes
17543 else
17544 ac_cv_cflags__Wvla=no
17546 rm -f core conftest.err conftest.$ac_objext \
17547 conftest$ac_exeext conftest.$ac_ext
17548 CFLAGS=$ac_wine_try_cflags_saved
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17551 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17552 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17553 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17556 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17557 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 ac_wine_try_cflags_saved=$CFLAGS
17561 CFLAGS="$CFLAGS -Wwrite-strings"
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 int main(int argc, char **argv) { return 0; }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_cflags__Wwrite_strings=yes
17568 else
17569 ac_cv_cflags__Wwrite_strings=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 CFLAGS=$ac_wine_try_cflags_saved
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17576 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17577 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17578 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17581 if test -z "$CROSSTARGET"
17582 then
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17584 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17585 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 ac_wine_try_cflags_saved=$CFLAGS
17589 CFLAGS="$CFLAGS -fexcess-precision=standard"
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 int main(int argc, char **argv) { return 0; }
17593 _ACEOF
17594 if ac_fn_c_try_link "$LINENO"; then :
17595 ac_cv_cflags__fexcess_precision_standard=yes
17596 else
17597 ac_cv_cflags__fexcess_precision_standard=no
17599 rm -f core conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17601 CFLAGS=$ac_wine_try_cflags_saved
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17604 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17605 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17606 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17612 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17613 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -Wpointer-arith"
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 int main(int argc, char **argv) { return 0; }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_cflags__Wpointer_arith=yes
17624 else
17625 ac_cv_cflags__Wpointer_arith=no
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 CFLAGS=$ac_wine_try_cflags_saved
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17632 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17633 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17634 saved_string_h_CFLAGS=$CFLAGS
17635 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17637 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17638 if ${ac_cv_c_string_h_warnings+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #include <string.h>
17645 main ()
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653 ac_cv_c_string_h_warnings=no
17654 else
17655 ac_cv_c_string_h_warnings=yes
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17660 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17661 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17662 CFLAGS=$saved_string_h_CFLAGS
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17666 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17667 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670 ac_wine_try_cflags_saved=$CFLAGS
17671 CFLAGS="$CFLAGS -Wlogical-op"
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 int main(int argc, char **argv) { return 0; }
17675 _ACEOF
17676 if ac_fn_c_try_link "$LINENO"; then :
17677 ac_cv_cflags__Wlogical_op=yes
17678 else
17679 ac_cv_cflags__Wlogical_op=no
17681 rm -f core conftest.err conftest.$ac_objext \
17682 conftest$ac_exeext conftest.$ac_ext
17683 CFLAGS=$ac_wine_try_cflags_saved
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17686 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17687 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17688 saved_string_h_CFLAGS=$CFLAGS
17689 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17691 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17692 if ${ac_cv_c_logicalop_noisy+:} false; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 #include <string.h>
17698 char*f(const char *h,char n) {return strchr(h,n);}
17700 main ()
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 ac_cv_c_logicalop_noisy=no
17709 else
17710 ac_cv_c_logicalop_noisy=yes
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17715 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17716 CFLAGS=$saved_string_h_CFLAGS
17717 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17720 for ac_flag in $CFLAGS; do
17721 case $ac_flag in
17722 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17723 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17724 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 ac_wine_try_cflags_saved=$CFLAGS
17728 CFLAGS="$CFLAGS -gdwarf-2"
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 int main(int argc, char **argv) { return 0; }
17732 _ACEOF
17733 if ac_fn_c_try_link "$LINENO"; then :
17734 ac_cv_cflags__gdwarf_2=yes
17735 else
17736 ac_cv_cflags__gdwarf_2=no
17738 rm -f core conftest.err conftest.$ac_objext \
17739 conftest$ac_exeext conftest.$ac_ext
17740 CFLAGS=$ac_wine_try_cflags_saved
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17743 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17744 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17745 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17748 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17749 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17750 $as_echo_n "(cached) " >&6
17751 else
17752 ac_wine_try_cflags_saved=$CFLAGS
17753 CFLAGS="$CFLAGS -gstrict-dwarf"
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 int main(int argc, char **argv) { return 0; }
17757 _ACEOF
17758 if ac_fn_c_try_link "$LINENO"; then :
17759 ac_cv_cflags__gstrict_dwarf=yes
17760 else
17761 ac_cv_cflags__gstrict_dwarf=no
17763 rm -f core conftest.err conftest.$ac_objext \
17764 conftest$ac_exeext conftest.$ac_ext
17765 CFLAGS=$ac_wine_try_cflags_saved
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17768 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17769 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17770 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17771 fi ;;
17772 esac
17773 done
17775 MSVCRTFLAGS=""
17777 case $host_os in
17778 mingw32*) ;;
17779 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17780 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17781 if ${ac_cv_cflags__fno_builtin+:} false; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784 ac_wine_try_cflags_saved=$CFLAGS
17785 CFLAGS="$CFLAGS -fno-builtin"
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 int main(int argc, char **argv) { return 0; }
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"; then :
17791 ac_cv_cflags__fno_builtin=yes
17792 else
17793 ac_cv_cflags__fno_builtin=no
17795 rm -f core conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17797 CFLAGS=$ac_wine_try_cflags_saved
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17800 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17801 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17802 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17805 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17806 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17807 $as_echo_n "(cached) " >&6
17808 else
17809 ac_wine_try_cflags_saved=$CFLAGS
17810 CFLAGS="$CFLAGS -fshort-wchar"
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h. */
17813 int main(int argc, char **argv) { return 0; }
17814 _ACEOF
17815 if ac_fn_c_try_link "$LINENO"; then :
17816 ac_cv_cflags__fshort_wchar=yes
17817 else
17818 ac_cv_cflags__fshort_wchar=no
17820 rm -f core conftest.err conftest.$ac_objext \
17821 conftest$ac_exeext conftest.$ac_ext
17822 CFLAGS=$ac_wine_try_cflags_saved
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17825 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17826 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17827 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17828 fi ;;
17829 esac
17831 case $host_cpu in
17832 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17833 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17834 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17837 ac_wine_try_cflags_saved=$CFLAGS
17838 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 int main(int argc, char **argv) { return 0; }
17842 _ACEOF
17843 if ac_fn_c_try_link "$LINENO"; then :
17844 ac_cv_cflags__fno_omit_frame_pointer=yes
17845 else
17846 ac_cv_cflags__fno_omit_frame_pointer=no
17848 rm -f core conftest.err conftest.$ac_objext \
17849 conftest$ac_exeext conftest.$ac_ext
17850 CFLAGS=$ac_wine_try_cflags_saved
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17853 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17854 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17855 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17856 fi ;;
17857 *x86_64*)
17858 case $host_os in
17859 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17860 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17861 if ${ac_cv_cflags__Wno_format+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 ac_wine_try_cflags_saved=$CFLAGS
17865 CFLAGS="$CFLAGS -Wno-format"
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17868 int main(int argc, char **argv) { return 0; }
17869 _ACEOF
17870 if ac_fn_c_try_link "$LINENO"; then :
17871 ac_cv_cflags__Wno_format=yes
17872 else
17873 ac_cv_cflags__Wno_format=no
17875 rm -f core conftest.err conftest.$ac_objext \
17876 conftest$ac_exeext conftest.$ac_ext
17877 CFLAGS=$ac_wine_try_cflags_saved
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17880 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17881 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17882 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17883 fi ;;
17884 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17885 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17886 if ${ac_cv_cflags__mabi_ms+:} false; then :
17887 $as_echo_n "(cached) " >&6
17888 else
17889 ac_wine_try_cflags_saved=$CFLAGS
17890 CFLAGS="$CFLAGS -mabi=ms"
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 int main(int argc, char **argv) { return 0; }
17894 _ACEOF
17895 if ac_fn_c_try_link "$LINENO"; then :
17896 ac_cv_cflags__mabi_ms=yes
17897 else
17898 ac_cv_cflags__mabi_ms=no
17900 rm -f core conftest.err conftest.$ac_objext \
17901 conftest$ac_exeext conftest.$ac_ext
17902 CFLAGS=$ac_wine_try_cflags_saved
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17905 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17906 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17907 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17908 fi ;;
17909 esac ;;
17910 esac
17912 CFLAGS=$saved_CFLAGS
17914 if test "x$enable_werror" = "xyes"
17915 then
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17917 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17918 if ${ac_cv_cflags__Werror+:} false; then :
17919 $as_echo_n "(cached) " >&6
17920 else
17921 ac_wine_try_cflags_saved=$CFLAGS
17922 CFLAGS="$CFLAGS -Werror"
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17925 int main(int argc, char **argv) { return 0; }
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"; then :
17928 ac_cv_cflags__Werror=yes
17929 else
17930 ac_cv_cflags__Werror=no
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext conftest.$ac_ext
17934 CFLAGS=$ac_wine_try_cflags_saved
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17937 $as_echo "$ac_cv_cflags__Werror" >&6; }
17938 if test "x$ac_cv_cflags__Werror" = xyes; then :
17939 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17946 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17947 if ${ac_cv_c_fortify_enabled+:} false; then :
17948 $as_echo_n "(cached) " >&6
17949 else
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <string.h>
17954 main ()
17956 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17957 #error Fortify enabled
17958 #endif
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 ac_cv_c_fortify_enabled=no
17965 else
17966 ac_cv_c_fortify_enabled=yes
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17971 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17972 if test "$ac_cv_c_fortify_enabled" = yes
17973 then
17974 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17979 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17980 if ${ac_cv_c_cfi_support+:} false; then :
17981 $as_echo_n "(cached) " >&6
17982 else
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17987 main ()
17991 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 ac_cv_c_cfi_support="yes"
17996 else
17997 ac_cv_c_cfi_support="no"
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18002 $as_echo "$ac_cv_c_cfi_support" >&6; }
18003 if test "$ac_cv_c_cfi_support" = "yes"
18004 then
18005 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18006 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18007 else
18008 if test "x$enable_win64" = "xyes"
18009 then
18010 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18015 case $build_os in
18016 cygwin*|mingw32*) TOOLSEXT=".exe"
18018 esac
18020 case $host_os in
18021 linux*)
18022 case $host_cpu in
18023 *i[3456789]86*|x86_64*|*aarch64*)
18024 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18025 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18027 esac
18029 esac
18032 ac_save_CFLAGS="$CFLAGS"
18033 CFLAGS="$CFLAGS $BUILTINFLAG"
18034 for ac_func in \
18035 __res_get_state \
18036 __res_getservers \
18037 _spawnvp \
18038 epoll_create \
18039 ffs \
18040 finite \
18041 finitef \
18042 fnmatch \
18043 fork \
18044 fpclass \
18045 fstatfs \
18046 fstatvfs \
18047 futimens \
18048 futimes \
18049 futimesat \
18050 getattrlist \
18051 getauxval \
18052 getifaddrs \
18053 getopt_long_only \
18054 kqueue \
18055 lstat \
18056 mach_continuous_time \
18057 pipe2 \
18058 poll \
18059 port_create \
18060 prctl \
18061 pread \
18062 proc_pidinfo \
18063 pwrite \
18064 readdir \
18065 readlink \
18066 sched_yield \
18067 select \
18068 setproctitle \
18069 setprogname \
18070 settimeofday \
18071 sigprocmask \
18072 statfs \
18073 statvfs \
18074 strnlen \
18075 strtold \
18076 symlink \
18077 sysinfo \
18078 tcdrain \
18079 thr_kill2 \
18080 usleep
18082 do :
18083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18085 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18086 cat >>confdefs.h <<_ACEOF
18087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18088 _ACEOF
18091 done
18093 CFLAGS="$ac_save_CFLAGS"
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18096 $as_echo_n "checking for library containing dlopen... " >&6; }
18097 if ${ac_cv_search_dlopen+:} false; then :
18098 $as_echo_n "(cached) " >&6
18099 else
18100 ac_func_search_save_LIBS=$LIBS
18101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102 /* end confdefs.h. */
18104 /* Override any GCC internal prototype to avoid an error.
18105 Use char because int might match the return type of a GCC
18106 builtin and then its argument prototype would still apply. */
18107 #ifdef __cplusplus
18108 extern "C"
18109 #endif
18110 char dlopen ();
18112 main ()
18114 return dlopen ();
18116 return 0;
18118 _ACEOF
18119 for ac_lib in '' dl; do
18120 if test -z "$ac_lib"; then
18121 ac_res="none required"
18122 else
18123 ac_res=-l$ac_lib
18124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18126 if ac_fn_c_try_link "$LINENO"; then :
18127 ac_cv_search_dlopen=$ac_res
18129 rm -f core conftest.err conftest.$ac_objext \
18130 conftest$ac_exeext
18131 if ${ac_cv_search_dlopen+:} false; then :
18132 break
18134 done
18135 if ${ac_cv_search_dlopen+:} false; then :
18137 else
18138 ac_cv_search_dlopen=no
18140 rm conftest.$ac_ext
18141 LIBS=$ac_func_search_save_LIBS
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18144 $as_echo "$ac_cv_search_dlopen" >&6; }
18145 ac_res=$ac_cv_search_dlopen
18146 if test "$ac_res" != no; then :
18147 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18151 ac_wine_check_funcs_save_LIBS="$LIBS"
18152 LIBS="$LIBS $DL_LIBS"
18153 for ac_func in dladdr dlinfo
18154 do :
18155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18157 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18160 _ACEOF
18163 done
18165 LIBS="$ac_wine_check_funcs_save_LIBS"
18167 if test "$ac_cv_func_poll" = no
18168 then
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18170 $as_echo_n "checking for poll in -lpoll... " >&6; }
18171 if ${ac_cv_lib_poll_poll+:} false; then :
18172 $as_echo_n "(cached) " >&6
18173 else
18174 ac_check_lib_save_LIBS=$LIBS
18175 LIBS="-lpoll $LIBS"
18176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18179 /* Override any GCC internal prototype to avoid an error.
18180 Use char because int might match the return type of a GCC
18181 builtin and then its argument prototype would still apply. */
18182 #ifdef __cplusplus
18183 extern "C"
18184 #endif
18185 char poll ();
18187 main ()
18189 return poll ();
18191 return 0;
18193 _ACEOF
18194 if ac_fn_c_try_link "$LINENO"; then :
18195 ac_cv_lib_poll_poll=yes
18196 else
18197 ac_cv_lib_poll_poll=no
18199 rm -f core conftest.err conftest.$ac_objext \
18200 conftest$ac_exeext conftest.$ac_ext
18201 LIBS=$ac_check_lib_save_LIBS
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18204 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18205 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18206 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18207 POLL_LIBS="-lpoll"
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18214 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18215 if ${ac_cv_search_gethostbyname+:} false; then :
18216 $as_echo_n "(cached) " >&6
18217 else
18218 ac_func_search_save_LIBS=$LIBS
18219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18220 /* end confdefs.h. */
18222 /* Override any GCC internal prototype to avoid an error.
18223 Use char because int might match the return type of a GCC
18224 builtin and then its argument prototype would still apply. */
18225 #ifdef __cplusplus
18226 extern "C"
18227 #endif
18228 char gethostbyname ();
18230 main ()
18232 return gethostbyname ();
18234 return 0;
18236 _ACEOF
18237 for ac_lib in '' nsl; do
18238 if test -z "$ac_lib"; then
18239 ac_res="none required"
18240 else
18241 ac_res=-l$ac_lib
18242 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18244 if ac_fn_c_try_link "$LINENO"; then :
18245 ac_cv_search_gethostbyname=$ac_res
18247 rm -f core conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext
18249 if ${ac_cv_search_gethostbyname+:} false; then :
18250 break
18252 done
18253 if ${ac_cv_search_gethostbyname+:} false; then :
18255 else
18256 ac_cv_search_gethostbyname=no
18258 rm conftest.$ac_ext
18259 LIBS=$ac_func_search_save_LIBS
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18262 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18263 ac_res=$ac_cv_search_gethostbyname
18264 if test "$ac_res" != no; then :
18265 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18271 $as_echo_n "checking for library containing connect... " >&6; }
18272 if ${ac_cv_search_connect+:} false; then :
18273 $as_echo_n "(cached) " >&6
18274 else
18275 ac_func_search_save_LIBS=$LIBS
18276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h. */
18279 /* Override any GCC internal prototype to avoid an error.
18280 Use char because int might match the return type of a GCC
18281 builtin and then its argument prototype would still apply. */
18282 #ifdef __cplusplus
18283 extern "C"
18284 #endif
18285 char connect ();
18287 main ()
18289 return connect ();
18291 return 0;
18293 _ACEOF
18294 for ac_lib in '' socket; do
18295 if test -z "$ac_lib"; then
18296 ac_res="none required"
18297 else
18298 ac_res=-l$ac_lib
18299 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18301 if ac_fn_c_try_link "$LINENO"; then :
18302 ac_cv_search_connect=$ac_res
18304 rm -f core conftest.err conftest.$ac_objext \
18305 conftest$ac_exeext
18306 if ${ac_cv_search_connect+:} false; then :
18307 break
18309 done
18310 if ${ac_cv_search_connect+:} false; then :
18312 else
18313 ac_cv_search_connect=no
18315 rm conftest.$ac_ext
18316 LIBS=$ac_func_search_save_LIBS
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18319 $as_echo "$ac_cv_search_connect" >&6; }
18320 ac_res=$ac_cv_search_connect
18321 if test "$ac_res" != no; then :
18322 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18328 $as_echo_n "checking for library containing inet_aton... " >&6; }
18329 if ${ac_cv_search_inet_aton+:} false; then :
18330 $as_echo_n "(cached) " >&6
18331 else
18332 ac_func_search_save_LIBS=$LIBS
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18336 /* Override any GCC internal prototype to avoid an error.
18337 Use char because int might match the return type of a GCC
18338 builtin and then its argument prototype would still apply. */
18339 #ifdef __cplusplus
18340 extern "C"
18341 #endif
18342 char inet_aton ();
18344 main ()
18346 return inet_aton ();
18348 return 0;
18350 _ACEOF
18351 for ac_lib in '' resolv; do
18352 if test -z "$ac_lib"; then
18353 ac_res="none required"
18354 else
18355 ac_res=-l$ac_lib
18356 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18358 if ac_fn_c_try_link "$LINENO"; then :
18359 ac_cv_search_inet_aton=$ac_res
18361 rm -f core conftest.err conftest.$ac_objext \
18362 conftest$ac_exeext
18363 if ${ac_cv_search_inet_aton+:} false; then :
18364 break
18366 done
18367 if ${ac_cv_search_inet_aton+:} false; then :
18369 else
18370 ac_cv_search_inet_aton=no
18372 rm conftest.$ac_ext
18373 LIBS=$ac_func_search_save_LIBS
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18376 $as_echo "$ac_cv_search_inet_aton" >&6; }
18377 ac_res=$ac_cv_search_inet_aton
18378 if test "$ac_res" != no; then :
18379 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18384 for ac_func in \
18385 getaddrinfo \
18386 getnameinfo \
18387 getnetbyname \
18388 getservbyport \
18390 do :
18391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18394 cat >>confdefs.h <<_ACEOF
18395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18396 _ACEOF
18399 done
18402 case $host_os in
18403 darwin*|macosx*) ;;
18404 *) ac_save_LIBS=$LIBS
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18406 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18407 if ${ac_cv_search_clock_gettime+:} false; then :
18408 $as_echo_n "(cached) " >&6
18409 else
18410 ac_func_search_save_LIBS=$LIBS
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18414 /* Override any GCC internal prototype to avoid an error.
18415 Use char because int might match the return type of a GCC
18416 builtin and then its argument prototype would still apply. */
18417 #ifdef __cplusplus
18418 extern "C"
18419 #endif
18420 char clock_gettime ();
18422 main ()
18424 return clock_gettime ();
18426 return 0;
18428 _ACEOF
18429 for ac_lib in '' rt; do
18430 if test -z "$ac_lib"; then
18431 ac_res="none required"
18432 else
18433 ac_res=-l$ac_lib
18434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18436 if ac_fn_c_try_link "$LINENO"; then :
18437 ac_cv_search_clock_gettime=$ac_res
18439 rm -f core conftest.err conftest.$ac_objext \
18440 conftest$ac_exeext
18441 if ${ac_cv_search_clock_gettime+:} false; then :
18442 break
18444 done
18445 if ${ac_cv_search_clock_gettime+:} false; then :
18447 else
18448 ac_cv_search_clock_gettime=no
18450 rm conftest.$ac_ext
18451 LIBS=$ac_func_search_save_LIBS
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18454 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18455 ac_res=$ac_cv_search_clock_gettime
18456 if test "$ac_res" != no; then :
18457 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18459 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18461 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18465 LIBS=$ac_save_LIBS
18467 esac
18469 if test "x$with_ldap" != "xno"
18470 then
18471 if ${LDAP_CFLAGS:+false} :; then :
18472 if ${PKG_CONFIG+:} false; then :
18473 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18477 if ${LDAP_LIBS:+false} :; then :
18478 if ${PKG_CONFIG+:} false; then :
18479 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18483 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18484 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18485 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18486 ac_save_CPPFLAGS=$CPPFLAGS
18487 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18488 for ac_header in ldap.h lber.h
18489 do :
18490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18491 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18493 cat >>confdefs.h <<_ACEOF
18494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18495 _ACEOF
18499 done
18501 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18502 then
18503 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18505 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18507 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18508 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18511 ac_check_lib_save_LIBS=$LIBS
18512 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18516 /* Override any GCC internal prototype to avoid an error.
18517 Use char because int might match the return type of a GCC
18518 builtin and then its argument prototype would still apply. */
18519 #ifdef __cplusplus
18520 extern "C"
18521 #endif
18522 char ldap_initialize ();
18524 main ()
18526 return ldap_initialize ();
18528 return 0;
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"; then :
18532 ac_cv_lib_ldap_r_ldap_initialize=yes
18533 else
18534 ac_cv_lib_ldap_r_ldap_initialize=no
18536 rm -f core conftest.err conftest.$ac_objext \
18537 conftest$ac_exeext conftest.$ac_ext
18538 LIBS=$ac_check_lib_save_LIBS
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18541 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18542 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18544 $as_echo_n "checking for ber_init in -llber... " >&6; }
18545 if ${ac_cv_lib_lber_ber_init+:} false; then :
18546 $as_echo_n "(cached) " >&6
18547 else
18548 ac_check_lib_save_LIBS=$LIBS
18549 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18553 /* Override any GCC internal prototype to avoid an error.
18554 Use char because int might match the return type of a GCC
18555 builtin and then its argument prototype would still apply. */
18556 #ifdef __cplusplus
18557 extern "C"
18558 #endif
18559 char ber_init ();
18561 main ()
18563 return ber_init ();
18565 return 0;
18567 _ACEOF
18568 if ac_fn_c_try_link "$LINENO"; then :
18569 ac_cv_lib_lber_ber_init=yes
18570 else
18571 ac_cv_lib_lber_ber_init=no
18573 rm -f core conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18575 LIBS=$ac_check_lib_save_LIBS
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18578 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18579 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18581 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18583 else
18584 LDAP_LIBS=""
18587 else
18588 LDAP_LIBS=""
18591 else
18592 LDAP_LIBS=""
18595 ac_wine_check_funcs_save_LIBS="$LIBS"
18596 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18597 for ac_func in \
18598 ldap_count_references \
18599 ldap_first_reference \
18600 ldap_next_reference \
18601 ldap_parse_reference \
18602 ldap_parse_sort_control \
18603 ldap_parse_sortresponse_control \
18604 ldap_parse_vlv_control \
18605 ldap_parse_vlvresponse_control
18606 do :
18607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18609 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18610 cat >>confdefs.h <<_ACEOF
18611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18612 _ACEOF
18615 done
18617 LIBS="$ac_wine_check_funcs_save_LIBS"
18618 else
18619 LDAP_LIBS=""
18621 CPPFLAGS=$ac_save_CPPFLAGS
18622 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18623 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18626 if test "x$LDAP_LIBS" = "x"; then :
18627 case "x$with_ldap" in
18628 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18629 xno) ;;
18630 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18631 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18632 esac
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18637 $as_echo_n "checking for sched_setaffinity... " >&6; }
18638 if ${wine_cv_have_sched_setaffinity+:} false; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 #define _GNU_SOURCE
18644 #include <sched.h>
18646 main ()
18648 sched_setaffinity(0, 0, 0);
18650 return 0;
18652 _ACEOF
18653 if ac_fn_c_try_link "$LINENO"; then :
18654 wine_cv_have_sched_setaffinity=yes
18655 else
18656 wine_cv_have_sched_setaffinity=no
18658 rm -f core conftest.err conftest.$ac_objext \
18659 conftest$ac_exeext conftest.$ac_ext
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18662 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18663 if test "$wine_cv_have_sched_setaffinity" = "yes"
18664 then
18666 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18671 $as_echo_n "checking for fallocate... " >&6; }
18672 if ${wine_cv_have_fallocate+:} false; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #define _GNU_SOURCE
18678 #include <fcntl.h>
18680 main ()
18682 fallocate(-1, 0, 0, 0);
18684 return 0;
18686 _ACEOF
18687 if ac_fn_c_try_link "$LINENO"; then :
18688 wine_cv_have_fallocate=yes
18689 else
18690 wine_cv_have_fallocate=no
18692 rm -f core conftest.err conftest.$ac_objext \
18693 conftest$ac_exeext conftest.$ac_ext
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18696 $as_echo "$wine_cv_have_fallocate" >&6; }
18697 if test "$wine_cv_have_fallocate" = "yes"
18698 then
18700 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18706 $as_echo_n "checking for inline... " >&6; }
18707 if ${ac_cv_c_inline+:} false; then :
18708 $as_echo_n "(cached) " >&6
18709 else
18710 ac_cv_c_inline=no
18711 for ac_kw in inline __inline__ __inline; do
18712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18713 /* end confdefs.h. */
18714 #ifndef __cplusplus
18715 typedef int foo_t;
18716 static $ac_kw foo_t static_foo () {return 0; }
18717 $ac_kw foo_t foo () {return 0; }
18718 #endif
18720 _ACEOF
18721 if ac_fn_c_try_compile "$LINENO"; then :
18722 ac_cv_c_inline=$ac_kw
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18725 test "$ac_cv_c_inline" != no && break
18726 done
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18730 $as_echo "$ac_cv_c_inline" >&6; }
18732 case $ac_cv_c_inline in
18733 inline | yes) ;;
18735 case $ac_cv_c_inline in
18736 no) ac_val=;;
18737 *) ac_val=$ac_cv_c_inline;;
18738 esac
18739 cat >>confdefs.h <<_ACEOF
18740 #ifndef __cplusplus
18741 #define inline $ac_val
18742 #endif
18743 _ACEOF
18745 esac
18747 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18748 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18750 cat >>confdefs.h <<_ACEOF
18751 #define HAVE_FSBLKCNT_T 1
18752 _ACEOF
18756 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18757 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_FSFILCNT_T 1
18761 _ACEOF
18766 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18767 #include <signal.h>
18769 if test "x$ac_cv_type_sigset_t" = xyes; then :
18771 cat >>confdefs.h <<_ACEOF
18772 #define HAVE_SIGSET_T 1
18773 _ACEOF
18778 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18780 if test "x$ac_cv_type_request_sense" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_REQUEST_SENSE 1
18784 _ACEOF
18790 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18791 #ifdef HAVE_SYS_SOCKET_H
18792 #include <sys/socket.h>
18793 #endif
18794 #ifdef HAVE_SYS_SOCKETVAR_H
18795 #include <sys/socketvar.h>
18796 #endif
18797 #ifdef HAVE_NET_ROUTE_H
18798 #include <net/route.h>
18799 #endif
18800 #ifdef HAVE_NETINET_IN_H
18801 #include <netinet/in.h>
18802 #endif
18803 #ifdef HAVE_NETINET_IN_SYSTM_H
18804 #include <netinet/in_systm.h>
18805 #endif
18806 #ifdef HAVE_NETINET_IP_H
18807 #include <netinet/ip.h>
18808 #endif
18809 #ifdef HAVE_NETINET_IN_PCB_H
18810 #include <netinet/in_pcb.h>
18811 #endif
18813 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18815 cat >>confdefs.h <<_ACEOF
18816 #define HAVE_STRUCT_XINPGEN 1
18817 _ACEOF
18823 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18824 #include <linux/input.h>
18825 #endif
18827 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18831 _ACEOF
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18838 $as_echo_n "checking for if_nameindex... " >&6; }
18839 if ${wine_cv_have_if_nameindex+:} false; then :
18840 $as_echo_n "(cached) " >&6
18841 else
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 #ifdef HAVE_SYS_TYPES_H
18845 #include <sys/types.h>
18846 #endif
18847 #ifdef HAVE_SYS_SOCKET_H
18848 #include <sys/socket.h>
18849 #endif
18850 #ifdef HAVE_NET_IF_H
18851 # include <net/if.h>
18852 #endif
18854 main ()
18856 struct if_nameindex *p = if_nameindex(); return p->if_index;
18858 return 0;
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"; then :
18862 wine_cv_have_if_nameindex=yes
18863 else
18864 wine_cv_have_if_nameindex=no
18866 rm -f core conftest.err conftest.$ac_objext \
18867 conftest$ac_exeext conftest.$ac_ext
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18870 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18871 if test "$wine_cv_have_if_nameindex" = "yes"
18872 then
18874 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18879 $as_echo_n "checking for sigaddset... " >&6; }
18880 if ${wine_cv_have_sigaddset+:} false; then :
18881 $as_echo_n "(cached) " >&6
18882 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <signal.h>
18887 main ()
18889 sigset_t set; sigaddset(&set,SIGTERM);
18891 return 0;
18893 _ACEOF
18894 if ac_fn_c_try_link "$LINENO"; then :
18895 wine_cv_have_sigaddset=yes
18896 else
18897 wine_cv_have_sigaddset=no
18899 rm -f core conftest.err conftest.$ac_objext \
18900 conftest$ac_exeext conftest.$ac_ext
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18903 $as_echo "$wine_cv_have_sigaddset" >&6; }
18904 if test "$wine_cv_have_sigaddset" = "yes"
18905 then
18907 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18913 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18914 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18915 $as_echo_n "(cached) " >&6
18916 else
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #include <netdb.h>
18921 main ()
18924 char *name=0;
18925 struct hostent he;
18926 struct hostent *result;
18927 char *buf=0;
18928 int bufsize=0;
18929 int errnr;
18930 char *addr=0;
18931 int addrlen=0;
18932 int addrtype=0;
18933 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18934 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18937 return 0;
18939 _ACEOF
18940 if ac_fn_c_try_link "$LINENO"; then :
18941 wine_cv_linux_gethostbyname_r_6=yes
18942 else
18943 wine_cv_linux_gethostbyname_r_6=no
18946 rm -f core conftest.err conftest.$ac_objext \
18947 conftest$ac_exeext conftest.$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18951 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18952 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18953 then
18955 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18959 if test "$ac_cv_header_linux_joystick_h" = "yes"
18960 then
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18962 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18963 if ${wine_cv_linux_joystick_22_api+:} false; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18969 #include <sys/ioctl.h>
18970 #include <sys/types.h>
18971 #include <linux/joystick.h>
18973 struct js_event blub;
18974 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18975 #error "no 2.2 header"
18976 #endif
18979 main ()
18981 /*empty*/
18983 return 0;
18985 _ACEOF
18986 if ac_fn_c_try_compile "$LINENO"; then :
18987 wine_cv_linux_joystick_22_api=yes
18988 else
18989 wine_cv_linux_joystick_22_api=no
18991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18995 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18996 if test "$wine_cv_linux_joystick_22_api" = "yes"
18997 then
18999 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19005 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
19006 #ifdef HAVE_SYS_PARAM_H
19007 # include <sys/param.h>
19008 #endif
19009 #ifdef HAVE_SYS_MOUNT_H
19010 # include <sys/mount.h>
19011 #endif
19012 #ifdef HAVE_SYS_VFS_H
19013 # include <sys/vfs.h>
19014 #endif
19015 #ifdef HAVE_SYS_STATFS_H
19016 # include <sys/statfs.h>
19017 #endif
19019 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 #define HAVE_STRUCT_STATFS_F_BFREE 1
19023 _ACEOF
19027 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
19028 #ifdef HAVE_SYS_PARAM_H
19029 # include <sys/param.h>
19030 #endif
19031 #ifdef HAVE_SYS_MOUNT_H
19032 # include <sys/mount.h>
19033 #endif
19034 #ifdef HAVE_SYS_VFS_H
19035 # include <sys/vfs.h>
19036 #endif
19037 #ifdef HAVE_SYS_STATFS_H
19038 # include <sys/statfs.h>
19039 #endif
19041 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19045 _ACEOF
19049 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
19050 #ifdef HAVE_SYS_PARAM_H
19051 # include <sys/param.h>
19052 #endif
19053 #ifdef HAVE_SYS_MOUNT_H
19054 # include <sys/mount.h>
19055 #endif
19056 #ifdef HAVE_SYS_VFS_H
19057 # include <sys/vfs.h>
19058 #endif
19059 #ifdef HAVE_SYS_STATFS_H
19060 # include <sys/statfs.h>
19061 #endif
19063 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19067 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19072 #ifdef HAVE_SYS_PARAM_H
19073 # include <sys/param.h>
19074 #endif
19075 #ifdef HAVE_SYS_MOUNT_H
19076 # include <sys/mount.h>
19077 #endif
19078 #ifdef HAVE_SYS_VFS_H
19079 # include <sys/vfs.h>
19080 #endif
19081 #ifdef HAVE_SYS_STATFS_H
19082 # include <sys/statfs.h>
19083 #endif
19085 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_STRUCT_STATFS_F_FFREE 1
19089 _ACEOF
19093 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19094 #ifdef HAVE_SYS_PARAM_H
19095 # include <sys/param.h>
19096 #endif
19097 #ifdef HAVE_SYS_MOUNT_H
19098 # include <sys/mount.h>
19099 #endif
19100 #ifdef HAVE_SYS_VFS_H
19101 # include <sys/vfs.h>
19102 #endif
19103 #ifdef HAVE_SYS_STATFS_H
19104 # include <sys/statfs.h>
19105 #endif
19107 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19116 #ifdef HAVE_SYS_PARAM_H
19117 # include <sys/param.h>
19118 #endif
19119 #ifdef HAVE_SYS_MOUNT_H
19120 # include <sys/mount.h>
19121 #endif
19122 #ifdef HAVE_SYS_VFS_H
19123 # include <sys/vfs.h>
19124 #endif
19125 #ifdef HAVE_SYS_STATFS_H
19126 # include <sys/statfs.h>
19127 #endif
19129 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19133 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19140 #include <sys/statvfs.h>
19141 #endif
19143 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19147 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19154 #include <dirent.h>
19155 #endif
19157 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19161 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19168 #ifdef HAVE_SYS_SOCKET_H
19169 # include <sys/socket.h>
19170 #endif
19171 #ifdef HAVE_SYS_UN_H
19172 # include <sys/un.h>
19173 #endif
19175 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19184 #ifdef HAVE_SYS_SOCKET_H
19185 # include <sys/socket.h>
19186 #endif
19187 #ifdef HAVE_SYS_UN_H
19188 # include <sys/un.h>
19189 #endif
19191 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19195 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19200 #ifdef HAVE_SYS_SOCKET_H
19201 # include <sys/socket.h>
19202 #endif
19203 #ifdef HAVE_SYS_UN_H
19204 # include <sys/un.h>
19205 #endif
19207 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19211 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19218 #ifdef HAVE_SCSI_SG_H
19219 #include <scsi/sg.h>
19220 #endif
19222 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_SCSIREQ_T_CMD 1
19226 _ACEOF
19230 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>
19231 #ifdef HAVE_SCSI_SG_H
19232 #include <scsi/sg.h>
19233 #endif
19235 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19239 _ACEOF
19245 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19247 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_SIGINFO_T_SI_FD 1
19251 _ACEOF
19257 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19258 #ifdef HAVE_SYS_MTIO_H
19259 #include <sys/mtio.h>
19260 #endif
19262 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19266 _ACEOF
19270 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19271 #ifdef HAVE_SYS_MTIO_H
19272 #include <sys/mtio.h>
19273 #endif
19275 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19279 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19284 #ifdef HAVE_SYS_MTIO_H
19285 #include <sys/mtio.h>
19286 #endif
19288 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19292 _ACEOF
19298 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19299 #include <getopt.h>
19300 #endif
19302 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_OPTION_NAME 1
19306 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19313 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19315 cat >>confdefs.h <<_ACEOF
19316 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19317 _ACEOF
19321 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19322 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19324 cat >>confdefs.h <<_ACEOF
19325 #define HAVE_STRUCT_STAT_ST_MTIM 1
19326 _ACEOF
19330 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19331 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19333 cat >>confdefs.h <<_ACEOF
19334 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19335 _ACEOF
19339 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19340 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19342 cat >>confdefs.h <<_ACEOF
19343 #define HAVE_STRUCT_STAT_ST_CTIM 1
19344 _ACEOF
19348 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19349 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19353 _ACEOF
19357 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19358 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_STRUCT_STAT_ST_ATIM 1
19362 _ACEOF
19366 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19367 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19371 _ACEOF
19375 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19376 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19380 _ACEOF
19384 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19385 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19387 cat >>confdefs.h <<_ACEOF
19388 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19389 _ACEOF
19393 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19394 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19398 _ACEOF
19402 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19403 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19405 cat >>confdefs.h <<_ACEOF
19406 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19407 _ACEOF
19411 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19412 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19414 cat >>confdefs.h <<_ACEOF
19415 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19416 _ACEOF
19422 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
19423 #include <sys/types.h>
19424 #endif
19425 #ifdef HAVE_NETINET_IN_H
19426 #include <netinet/in.h>
19427 #endif
19429 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19433 _ACEOF
19439 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19440 #include <sys/types.h>
19441 #endif
19442 #ifdef HAVE_NETINET_IN_H
19443 #include <netinet/in.h>
19444 #endif
19445 #ifdef HAVE_RESOLV_H
19446 #include <resolv.h>
19447 #endif
19449 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19451 cat >>confdefs.h <<_ACEOF
19452 #define HAVE_STRUCT___RES_STATE 1
19453 _ACEOF
19459 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
19460 #include <resolv.h>
19461 #endif
19463 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19467 _ACEOF
19473 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19474 #include <sys/types.h>
19475 #endif
19476 #ifdef HAVE_NETINET_IN_H
19477 # include <netinet/in.h>
19478 #endif
19479 #ifdef HAVE_ARPA_NAMESER_H
19480 # include <arpa/nameser.h>
19481 #endif
19483 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19485 cat >>confdefs.h <<_ACEOF
19486 #define HAVE_NS_MSG__MSG_PTR 1
19487 _ACEOF
19493 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19494 #include <sys/types.h>
19495 #endif
19496 #ifdef HAVE_NETINET_IN_H
19497 #include <netinet/in.h>
19498 #endif
19499 #ifdef HAVE_NETINET_IP_H
19500 #include <netinet/ip.h>
19501 #endif
19502 #ifdef HAVE_NETINET_IP_ICMP_H
19503 #include <netinet/ip_icmp.h>
19504 #endif
19505 #ifdef HAVE_NETINET_ICMP_VAR_H
19506 #include <netinet/icmp_var.h>
19507 #endif
19509 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19513 _ACEOF
19519 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19520 #include <sys/types.h>
19521 #endif
19522 #ifdef HAVE_ALIAS_H
19523 #include <alias.h>
19524 #endif
19525 #ifdef HAVE_SYS_SOCKET_H
19526 #include <sys/socket.h>
19527 #endif
19528 #ifdef HAVE_SYS_SOCKETVAR_H
19529 #include <sys/socketvar.h>
19530 #endif
19531 #ifdef HAVE_SYS_TIMEOUT_H
19532 #include <sys/timeout.h>
19533 #endif
19534 #ifdef HAVE_NETINET_IN_H
19535 #include <netinet/in.h>
19536 #endif
19537 #ifdef HAVE_NETINET_IN_SYSTM_H
19538 #include <netinet/in_systm.h>
19539 #endif
19540 #ifdef HAVE_NETINET_IP_H
19541 #include <netinet/ip.h>
19542 #endif
19543 #ifdef HAVE_NETINET_IP_VAR_H
19544 #include <netinet/ip_var.h>
19545 #endif
19546 #ifdef HAVE_NETINET_IP_ICMP_H
19547 #include <netinet/ip_icmp.h>
19548 #endif
19549 #ifdef HAVE_NETINET_ICMP_VAR_H
19550 #include <netinet/icmp_var.h>
19551 #endif
19553 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19555 cat >>confdefs.h <<_ACEOF
19556 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19557 _ACEOF
19563 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19564 #include <sys/types.h>
19565 #endif
19566 #ifdef HAVE_SYS_SOCKETVAR_H
19567 #include <sys/socketvar.h>
19568 #endif
19569 #ifdef HAVE_NETINET_IN_H
19570 #include <netinet/in.h>
19571 #endif
19572 #ifdef HAVE_NETINET_IP_VAR_H
19573 #include <netinet/ip_var.h>
19574 #endif
19576 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19578 cat >>confdefs.h <<_ACEOF
19579 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19580 _ACEOF
19586 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
19587 #include <netinet/ip_var.h>
19588 #endif
19590 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19592 cat >>confdefs.h <<_ACEOF
19593 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19594 _ACEOF
19600 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19601 #include <sys/types.h>
19602 #endif
19603 #ifdef HAVE_SYS_SOCKETVAR_H
19604 #include <sys/socketvar.h>
19605 #endif
19606 #ifdef HAVE_NETINET_IN_H
19607 #include <netinet/in.h>
19608 #endif
19609 #ifdef HAVE_NETINET_TCP_H
19610 #include <netinet/tcp.h>
19611 #endif
19612 #ifdef HAVE_NETINET_TCP_VAR_H
19613 #include <netinet/tcp_var.h>
19614 #endif
19616 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19618 cat >>confdefs.h <<_ACEOF
19619 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19620 _ACEOF
19626 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
19627 #include <netinet/tcp_var.h>
19628 #endif
19630 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19632 cat >>confdefs.h <<_ACEOF
19633 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19634 _ACEOF
19640 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19641 #include <sys/types.h>
19642 #endif
19643 #ifdef HAVE_NETINET_IN_H
19644 #include <netinet/in.h>
19645 #endif
19646 #ifdef HAVE_NETINET_IP_VAR_H
19647 #include <netinet/ip_var.h>
19648 #endif
19649 #ifdef HAVE_NETINET_UDP_H
19650 #include <netinet/udp.h>
19651 #endif
19652 #ifdef HAVE_NETINET_UDP_VAR_H
19653 #include <netinet/udp_var.h>
19654 #endif
19656 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19658 cat >>confdefs.h <<_ACEOF
19659 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19660 _ACEOF
19666 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19667 #include <sys/types.h>
19668 #endif
19669 #ifdef HAVE_NET_IF_H
19670 # include <net/if.h>
19671 #endif
19673 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19675 cat >>confdefs.h <<_ACEOF
19676 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19677 _ACEOF
19683 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19684 # include <sys/sysinfo.h>
19685 #endif
19687 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19689 cat >>confdefs.h <<_ACEOF
19690 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19691 _ACEOF
19695 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19696 # include <sys/sysinfo.h>
19697 #endif
19699 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19701 cat >>confdefs.h <<_ACEOF
19702 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19703 _ACEOF
19709 ac_save_LIBS="$LIBS"
19710 LIBS="$LIBS -lm"
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19712 $as_echo_n "checking for isfinite... " >&6; }
19713 if ${ac_cv_have_isfinite+:} false; then :
19714 $as_echo_n "(cached) " >&6
19715 else
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #define _GNU_SOURCE
19719 #include <math.h>
19721 main ()
19723 float f = 0.0; return isfinite(f)
19725 return 0;
19727 _ACEOF
19728 if ac_fn_c_try_link "$LINENO"; then :
19729 ac_cv_have_isfinite="yes"
19730 else
19731 ac_cv_have_isfinite="no"
19733 rm -f core conftest.err conftest.$ac_objext \
19734 conftest$ac_exeext conftest.$ac_ext
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19737 $as_echo "$ac_cv_have_isfinite" >&6; }
19738 if test "$ac_cv_have_isfinite" = "yes"
19739 then
19741 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19746 $as_echo_n "checking for isinf... " >&6; }
19747 if ${ac_cv_have_isinf+:} false; then :
19748 $as_echo_n "(cached) " >&6
19749 else
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 #include <math.h>
19754 main ()
19756 float f = 0.0; return isinf(f)
19758 return 0;
19760 _ACEOF
19761 if ac_fn_c_try_link "$LINENO"; then :
19762 ac_cv_have_isinf="yes"
19763 else
19764 ac_cv_have_isinf="no"
19766 rm -f core conftest.err conftest.$ac_objext \
19767 conftest$ac_exeext conftest.$ac_ext
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19770 $as_echo "$ac_cv_have_isinf" >&6; }
19771 if test "$ac_cv_have_isinf" = "yes"
19772 then
19774 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19779 $as_echo_n "checking for isnan... " >&6; }
19780 if ${ac_cv_have_isnan+:} false; then :
19781 $as_echo_n "(cached) " >&6
19782 else
19783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19785 #include <math.h>
19787 main ()
19789 float f = 0.0; return isnan(f)
19791 return 0;
19793 _ACEOF
19794 if ac_fn_c_try_link "$LINENO"; then :
19795 ac_cv_have_isnan="yes"
19796 else
19797 ac_cv_have_isnan="no"
19799 rm -f core conftest.err conftest.$ac_objext \
19800 conftest$ac_exeext conftest.$ac_ext
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19803 $as_echo "$ac_cv_have_isnan" >&6; }
19804 if test "$ac_cv_have_isnan" = "yes"
19805 then
19807 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19811 for ac_func in \
19812 acosh \
19813 acoshf \
19814 asinh \
19815 asinhf \
19816 atanh \
19817 atanhf \
19818 cbrt \
19819 cbrtf \
19820 erf \
19821 erfc \
19822 erfcf \
19823 erff \
19824 exp2 \
19825 exp2f \
19826 expm1 \
19827 expm1f \
19828 fma \
19829 fmaf \
19830 ilogb \
19831 ilogbf \
19832 j0 \
19833 j1 \
19834 jn \
19835 lgamma \
19836 lgammaf \
19837 llrint \
19838 llrintf \
19839 llround \
19840 llroundf \
19841 log1p \
19842 log1pf \
19843 log2 \
19844 log2f \
19845 lrint \
19846 lrintf \
19847 lround \
19848 lroundf \
19849 nearbyint \
19850 nearbyintf \
19851 nexttoward \
19852 nexttowardf \
19853 remainder \
19854 remainderf \
19855 remquo \
19856 remquof \
19857 rint \
19858 rintf \
19859 round \
19860 roundf \
19861 tgamma \
19862 tgammaf \
19863 trunc \
19864 truncf \
19865 y0 \
19866 y1 \
19869 do :
19870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19873 cat >>confdefs.h <<_ACEOF
19874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19875 _ACEOF
19878 done
19880 LIBS="$ac_save_LIBS"
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19883 $as_echo_n "checking for __builtin_popcount... " >&6; }
19884 if ${ac_cv_have___builtin_popcount+:} false; then :
19885 $as_echo_n "(cached) " >&6
19886 else
19887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19891 main ()
19893 return __builtin_popcount(1)
19895 return 0;
19897 _ACEOF
19898 if ac_fn_c_try_link "$LINENO"; then :
19899 ac_cv_have___builtin_popcount="yes"
19900 else
19901 ac_cv_have___builtin_popcount="no"
19903 rm -f core conftest.err conftest.$ac_objext \
19904 conftest$ac_exeext conftest.$ac_ext
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19907 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19908 if test "$ac_cv_have___builtin_popcount" = "yes"
19909 then
19911 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19916 $as_echo_n "checking for __clear_cache... " >&6; }
19917 if ${ac_cv_have___clear_cache+:} false; then :
19918 $as_echo_n "(cached) " >&6
19919 else
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19924 main ()
19926 __clear_cache((void*)0, (void*)0); return 0;
19928 return 0;
19930 _ACEOF
19931 if ac_fn_c_try_link "$LINENO"; then :
19932 ac_cv_have___clear_cache="yes"
19933 else
19934 ac_cv_have___clear_cache="no"
19936 rm -f core conftest.err conftest.$ac_objext \
19937 conftest$ac_exeext conftest.$ac_ext
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19940 $as_echo "$ac_cv_have___clear_cache" >&6; }
19941 if test "$ac_cv_have___clear_cache" = "yes"
19942 then
19944 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19949 case $host_cpu in
19950 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19951 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19952 if ${ac_cv_cpp_def___i386__+:} false; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #ifndef __i386__
19959 #endif
19960 _ACEOF
19961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19962 $EGREP "yes" >/dev/null 2>&1; then :
19963 ac_cv_cpp_def___i386__=yes
19964 else
19965 ac_cv_cpp_def___i386__=no
19967 rm -f conftest*
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19971 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19972 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19973 CFLAGS="$CFLAGS -D__i386__"
19974 LINTFLAGS="$LINTFLAGS -D__i386__"
19975 fi ;;
19976 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19977 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19978 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19979 $as_echo_n "(cached) " >&6
19980 else
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983 #ifndef __x86_64__
19985 #endif
19986 _ACEOF
19987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19988 $EGREP "yes" >/dev/null 2>&1; then :
19989 ac_cv_cpp_def___x86_64__=yes
19990 else
19991 ac_cv_cpp_def___x86_64__=no
19993 rm -f conftest*
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19997 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19998 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19999 CFLAGS="$CFLAGS -D__x86_64__"
20000 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20001 fi ;;
20002 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20003 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
20004 if ${ac_cv_cpp_def___sparc64__+:} false; then :
20005 $as_echo_n "(cached) " >&6
20006 else
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20009 #ifndef __sparc64__
20011 #endif
20012 _ACEOF
20013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20014 $EGREP "yes" >/dev/null 2>&1; then :
20015 ac_cv_cpp_def___sparc64__=yes
20016 else
20017 ac_cv_cpp_def___sparc64__=no
20019 rm -f conftest*
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20023 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
20024 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
20025 CFLAGS="$CFLAGS -D__sparc64__"
20026 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20027 fi ;;
20028 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20029 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
20030 if ${ac_cv_cpp_def___sparc__+:} false; then :
20031 $as_echo_n "(cached) " >&6
20032 else
20033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20035 #ifndef __sparc__
20037 #endif
20038 _ACEOF
20039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20040 $EGREP "yes" >/dev/null 2>&1; then :
20041 ac_cv_cpp_def___sparc__=yes
20042 else
20043 ac_cv_cpp_def___sparc__=no
20045 rm -f conftest*
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20049 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
20050 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
20051 CFLAGS="$CFLAGS -D__sparc__"
20052 LINTFLAGS="$LINTFLAGS -D__sparc__"
20053 fi ;;
20054 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20055 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
20056 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
20057 $as_echo_n "(cached) " >&6
20058 else
20059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #ifndef __powerpc64__
20063 #endif
20064 _ACEOF
20065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20066 $EGREP "yes" >/dev/null 2>&1; then :
20067 ac_cv_cpp_def___powerpc64__=yes
20068 else
20069 ac_cv_cpp_def___powerpc64__=no
20071 rm -f conftest*
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20075 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
20076 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
20077 CFLAGS="$CFLAGS -D__powerpc64__"
20078 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20079 fi ;;
20080 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20081 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20082 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20083 $as_echo_n "(cached) " >&6
20084 else
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #ifndef __powerpc__
20089 #endif
20090 _ACEOF
20091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20092 $EGREP "yes" >/dev/null 2>&1; then :
20093 ac_cv_cpp_def___powerpc__=yes
20094 else
20095 ac_cv_cpp_def___powerpc__=no
20097 rm -f conftest*
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20101 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20102 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20103 CFLAGS="$CFLAGS -D__powerpc__"
20104 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20105 fi ;;
20106 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20107 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20108 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20109 $as_echo_n "(cached) " >&6
20110 else
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 #ifndef __aarch64__
20115 #endif
20116 _ACEOF
20117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20118 $EGREP "yes" >/dev/null 2>&1; then :
20119 ac_cv_cpp_def___aarch64__=yes
20120 else
20121 ac_cv_cpp_def___aarch64__=no
20123 rm -f conftest*
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20127 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20128 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20129 CFLAGS="$CFLAGS -D__aarch64__"
20130 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20131 fi ;;
20132 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20133 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20134 if ${ac_cv_cpp_def___arm__+:} false; then :
20135 $as_echo_n "(cached) " >&6
20136 else
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20139 #ifndef __arm__
20141 #endif
20142 _ACEOF
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "yes" >/dev/null 2>&1; then :
20145 ac_cv_cpp_def___arm__=yes
20146 else
20147 ac_cv_cpp_def___arm__=no
20149 rm -f conftest*
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20153 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20154 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20155 CFLAGS="$CFLAGS -D__arm__"
20156 LINTFLAGS="$LINTFLAGS -D__arm__"
20157 fi ;;
20158 esac
20160 case $host_vendor in
20161 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20162 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20163 if ${ac_cv_cpp_def___sun__+:} false; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20168 #ifndef __sun__
20170 #endif
20171 _ACEOF
20172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20173 $EGREP "yes" >/dev/null 2>&1; then :
20174 ac_cv_cpp_def___sun__=yes
20175 else
20176 ac_cv_cpp_def___sun__=no
20178 rm -f conftest*
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20182 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20183 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20184 CFLAGS="$CFLAGS -D__sun__"
20185 LINTFLAGS="$LINTFLAGS -D__sun__"
20186 fi ;;
20187 esac
20193 ac_config_commands="$ac_config_commands include/stamp-h"
20195 $as_echo_n "creating Makefile rules..." >&6
20197 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20198 OPENGL_LIBS = $OPENGL_LIBS
20199 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20200 IOKIT_LIBS = $IOKIT_LIBS
20201 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20202 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20203 CORESERVICES_LIBS = $CORESERVICES_LIBS
20204 APPKIT_LIBS = $APPKIT_LIBS
20205 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20206 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20207 SECURITY_LIBS = $SECURITY_LIBS
20208 COREAUDIO_LIBS = $COREAUDIO_LIBS
20209 OPENAL_LIBS = $OPENAL_LIBS
20210 OPENCL_LIBS = $OPENCL_LIBS
20211 QUICKTIME_LIBS = $QUICKTIME_LIBS
20212 CARBON_LIBS = $CARBON_LIBS
20213 METAL_LIBS = $METAL_LIBS
20214 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20215 PTHREAD_LIBS = $PTHREAD_LIBS
20216 X_CFLAGS = $X_CFLAGS
20217 X_PRE_LIBS = $X_PRE_LIBS
20218 X_LIBS = $X_LIBS
20219 X_EXTRA_LIBS = $X_EXTRA_LIBS
20220 PCAP_LIBS = $PCAP_LIBS
20221 XML2_CFLAGS = $XML2_CFLAGS
20222 XML2_LIBS = $XML2_LIBS
20223 XSLT_CFLAGS = $XSLT_CFLAGS
20224 XSLT_LIBS = $XSLT_LIBS
20225 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20226 INOTIFY_LIBS = $INOTIFY_LIBS
20227 DBUS_CFLAGS = $DBUS_CFLAGS
20228 DBUS_LIBS = $DBUS_LIBS
20229 HAL_CFLAGS = $HAL_CFLAGS
20230 HAL_LIBS = $HAL_LIBS
20231 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20232 GNUTLS_LIBS = $GNUTLS_LIBS
20233 SANE_CFLAGS = $SANE_CFLAGS
20234 SANE_LIBS = $SANE_LIBS
20235 USB_CFLAGS = $USB_CFLAGS
20236 USB_LIBS = $USB_LIBS
20237 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20238 GPHOTO2_LIBS = $GPHOTO2_LIBS
20239 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20240 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20241 RESOLV_LIBS = $RESOLV_LIBS
20242 LCMS2_CFLAGS = $LCMS2_CFLAGS
20243 LCMS2_LIBS = $LCMS2_LIBS
20244 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20245 FREETYPE_LIBS = $FREETYPE_LIBS
20246 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20247 PULSE_CFLAGS = $PULSE_CFLAGS
20248 PULSE_LIBS = $PULSE_LIBS
20249 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20250 GSTREAMER_LIBS = $GSTREAMER_LIBS
20251 ALSA_LIBS = $ALSA_LIBS
20252 OSS4_CFLAGS = $OSS4_CFLAGS
20253 OSS4_LIBS = $OSS4_LIBS
20254 UDEV_CFLAGS = $UDEV_CFLAGS
20255 UDEV_LIBS = $UDEV_LIBS
20256 UNWIND_CFLAGS = $UNWIND_CFLAGS
20257 UNWIND_LIBS = $UNWIND_LIBS
20258 SDL2_CFLAGS = $SDL2_CFLAGS
20259 SDL2_LIBS = $SDL2_LIBS
20260 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20261 FAUDIO_LIBS = $FAUDIO_LIBS
20262 CAPI20_CFLAGS = $CAPI20_CFLAGS
20263 CAPI20_LIBS = $CAPI20_LIBS
20264 CUPS_CFLAGS = $CUPS_CFLAGS
20265 CUPS_LIBS = $CUPS_LIBS
20266 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20267 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20268 KRB5_CFLAGS = $KRB5_CFLAGS
20269 KRB5_LIBS = $KRB5_LIBS
20270 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20271 GSSAPI_LIBS = $GSSAPI_LIBS
20272 JPEG_CFLAGS = $JPEG_CFLAGS
20273 JPEG_LIBS = $JPEG_LIBS
20274 PNG_CFLAGS = $PNG_CFLAGS
20275 PNG_LIBS = $PNG_LIBS
20276 TIFF_CFLAGS = $TIFF_CFLAGS
20277 TIFF_LIBS = $TIFF_LIBS
20278 MPG123_CFLAGS = $MPG123_CFLAGS
20279 MPG123_LIBS = $MPG123_LIBS
20280 KSTAT_LIBS = $KSTAT_LIBS
20281 PROCSTAT_LIBS = $PROCSTAT_LIBS
20282 NETAPI_CFLAGS = $NETAPI_CFLAGS
20283 NETAPI_LIBS = $NETAPI_LIBS
20284 VKD3D_CFLAGS = $VKD3D_CFLAGS
20285 VKD3D_LIBS = $VKD3D_LIBS
20286 POLL_LIBS = $POLL_LIBS
20287 RT_LIBS = $RT_LIBS
20288 LDAP_CFLAGS = $LDAP_CFLAGS
20289 LDAP_LIBS = $LDAP_LIBS
20294 wine_fn_append_rule "
20295 # Rules automatically generated by configure
20297 .INIT: Makefile
20298 .MAKEFILEDEPS:
20299 all: Makefile
20300 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20301 @./config.status Make.tmp Makefile
20302 depend: \$(MAKEDEP) dummy
20303 \$(MAKEDEP)"
20305 ac_config_links="$ac_config_links wine:tools/winewrapper"
20306 wine_fn_config_symlink wine
20307 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20308 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20309 wine_fn_config_symlink wine64
20312 wine_fn_config_makefile dlls/acledit enable_acledit
20313 wine_fn_config_makefile dlls/aclui enable_aclui
20314 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20315 wine_fn_config_makefile dlls/activeds enable_activeds
20316 wine_fn_config_makefile dlls/activeds/tests enable_tests
20317 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20318 wine_fn_config_makefile dlls/adsiid enable_adsiid
20319 wine_fn_config_makefile dlls/adsldp enable_adsldp
20320 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20321 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20322 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20323 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20324 wine_fn_config_makefile dlls/advpack enable_advpack
20325 wine_fn_config_makefile dlls/advpack/tests enable_tests
20326 wine_fn_config_makefile dlls/amsi enable_amsi
20327 wine_fn_config_makefile dlls/amstream enable_amstream
20328 wine_fn_config_makefile dlls/amstream/tests enable_tests
20329 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20332 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20334 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20339 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20351 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20353 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20354 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20355 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20357 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20362 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20363 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20365 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20366 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20375 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20379 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20380 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20383 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20385 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20386 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20389 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20390 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20391 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20394 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20395 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20399 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20400 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20401 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20402 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20406 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20407 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20410 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20412 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20414 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20415 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20416 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20426 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20428 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20429 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20432 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20434 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20436 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20438 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20439 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20442 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20443 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20444 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20445 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20446 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20447 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20448 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20449 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20450 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20453 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20455 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20457 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20461 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20462 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20463 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20464 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20465 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20466 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20467 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20468 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20469 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20470 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20471 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20472 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20473 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20474 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20475 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20476 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20477 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20478 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20479 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20480 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20481 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20482 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20483 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20484 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20485 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20486 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20487 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20488 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20489 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20490 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20491 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20492 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20493 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20494 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20495 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20496 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20497 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20498 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20499 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20500 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20501 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20502 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20503 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20504 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20505 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20506 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20507 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20508 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20509 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20510 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20511 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20512 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20513 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20514 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20515 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20516 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20517 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20518 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20519 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20520 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20521 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20522 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20523 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20524 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20525 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20526 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20527 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20528 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20529 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20530 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20531 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20532 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20533 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20534 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20535 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20536 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20537 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20538 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20539 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20540 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20541 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20542 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20543 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20544 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20545 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20546 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20547 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20548 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20549 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20550 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20551 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20552 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20553 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20554 wine_fn_config_makefile dlls/apphelp enable_apphelp
20555 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20556 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20557 wine_fn_config_makefile dlls/atl enable_atl
20558 wine_fn_config_makefile dlls/atl/tests enable_tests
20559 wine_fn_config_makefile dlls/atl100 enable_atl100
20560 wine_fn_config_makefile dlls/atl100/tests enable_tests
20561 wine_fn_config_makefile dlls/atl110 enable_atl110
20562 wine_fn_config_makefile dlls/atl80 enable_atl80
20563 wine_fn_config_makefile dlls/atl80/tests enable_tests
20564 wine_fn_config_makefile dlls/atl90 enable_atl90
20565 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20566 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20567 wine_fn_config_makefile dlls/atmlib enable_atmlib
20568 wine_fn_config_makefile dlls/authz enable_authz
20569 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20570 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20571 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20572 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20573 wine_fn_config_makefile dlls/avrt enable_avrt
20574 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20575 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20576 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20577 wine_fn_config_makefile dlls/browseui enable_browseui
20578 wine_fn_config_makefile dlls/browseui/tests enable_tests
20579 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20580 wine_fn_config_makefile dlls/cabinet enable_cabinet
20581 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20582 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20583 wine_fn_config_makefile dlls/cards enable_cards
20584 wine_fn_config_makefile dlls/cdosys enable_cdosys
20585 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20586 wine_fn_config_makefile dlls/clusapi enable_clusapi
20587 wine_fn_config_makefile dlls/combase enable_combase
20588 wine_fn_config_makefile dlls/combase/tests enable_tests
20589 wine_fn_config_makefile dlls/comcat enable_comcat
20590 wine_fn_config_makefile dlls/comcat/tests enable_tests
20591 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20592 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20593 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20594 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20595 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20596 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20597 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20598 wine_fn_config_makefile dlls/compstui enable_compstui
20599 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20600 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20601 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20602 wine_fn_config_makefile dlls/connect enable_connect
20603 wine_fn_config_makefile dlls/credui enable_credui
20604 wine_fn_config_makefile dlls/credui/tests enable_tests
20605 wine_fn_config_makefile dlls/crtdll enable_crtdll
20606 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20607 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20608 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20609 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20610 wine_fn_config_makefile dlls/cryptext enable_cryptext
20611 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20612 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20613 wine_fn_config_makefile dlls/cryptui enable_cryptui
20614 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20615 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20616 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20617 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20618 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20619 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20620 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20621 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20622 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20623 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20624 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20625 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20626 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20627 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20628 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20629 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20630 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20631 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20632 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20633 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20634 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20635 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20636 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20637 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20638 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20639 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20640 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20641 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20642 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20643 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20644 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20645 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20646 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20647 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20648 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20649 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20650 wine_fn_config_makefile dlls/d3dim enable_d3dim
20651 wine_fn_config_makefile dlls/d3drm enable_d3drm
20652 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20653 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20654 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20655 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20656 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20657 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20658 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20659 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20660 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20661 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20662 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20663 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20664 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20665 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20666 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20667 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20668 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20669 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20670 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20671 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20672 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20673 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20674 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20675 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20676 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20677 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20678 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20679 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20680 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20681 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20682 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20683 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20684 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20685 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20686 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20687 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20688 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20689 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20690 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20691 wine_fn_config_makefile dlls/davclnt enable_davclnt
20692 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20693 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20694 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20695 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20696 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20697 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20698 wine_fn_config_makefile dlls/ddraw enable_ddraw
20699 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20700 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20701 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20702 wine_fn_config_makefile dlls/devenum enable_devenum
20703 wine_fn_config_makefile dlls/devenum/tests enable_tests
20704 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20705 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20706 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20707 wine_fn_config_makefile dlls/difxapi enable_difxapi
20708 wine_fn_config_makefile dlls/dinput enable_dinput
20709 wine_fn_config_makefile dlls/dinput/tests enable_tests
20710 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20711 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20712 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20713 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20714 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20715 wine_fn_config_makefile dlls/dispex enable_dispex
20716 wine_fn_config_makefile dlls/dispex/tests enable_tests
20717 wine_fn_config_makefile dlls/display.drv16 enable_win16
20718 wine_fn_config_makefile dlls/dmband enable_dmband
20719 wine_fn_config_makefile dlls/dmband/tests enable_tests
20720 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20721 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20722 wine_fn_config_makefile dlls/dmime enable_dmime
20723 wine_fn_config_makefile dlls/dmime/tests enable_tests
20724 wine_fn_config_makefile dlls/dmloader enable_dmloader
20725 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20726 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20727 wine_fn_config_makefile dlls/dmscript enable_dmscript
20728 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20729 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20730 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20731 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20732 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20733 wine_fn_config_makefile dlls/dmusic enable_dmusic
20734 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20735 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20736 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20737 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20738 wine_fn_config_makefile dlls/dplay enable_dplay
20739 wine_fn_config_makefile dlls/dplayx enable_dplayx
20740 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20741 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20742 wine_fn_config_makefile dlls/dpnet enable_dpnet
20743 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20744 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20745 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20746 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20747 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20748 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20749 wine_fn_config_makefile dlls/drmclien enable_drmclien
20750 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20751 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20752 wine_fn_config_makefile dlls/dsound enable_dsound
20753 wine_fn_config_makefile dlls/dsound/tests enable_tests
20754 wine_fn_config_makefile dlls/dsquery enable_dsquery
20755 wine_fn_config_makefile dlls/dssenh enable_dssenh
20756 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20757 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20758 wine_fn_config_makefile dlls/dswave enable_dswave
20759 wine_fn_config_makefile dlls/dswave/tests enable_tests
20760 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20761 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20762 wine_fn_config_makefile dlls/dwrite enable_dwrite
20763 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20764 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20765 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20766 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20767 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20768 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20769 wine_fn_config_makefile dlls/dxgi enable_dxgi
20770 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20771 wine_fn_config_makefile dlls/dxguid enable_dxguid
20772 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20773 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20774 wine_fn_config_makefile dlls/esent enable_esent
20775 wine_fn_config_makefile dlls/evr enable_evr
20776 wine_fn_config_makefile dlls/evr/tests enable_tests
20777 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20778 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20779 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20780 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20781 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20782 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20783 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20784 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20785 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20786 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20787 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20788 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20789 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20790 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20791 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20792 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20793 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20794 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20795 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20796 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20797 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20798 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20799 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20800 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20801 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20802 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20803 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20804 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20805 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20806 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20807 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20808 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20809 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20810 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20811 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20812 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20813 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20814 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20815 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20816 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20817 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20818 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20819 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
20820 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20821 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20822 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20823 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20824 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20825 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20826 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20827 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20828 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20829 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20830 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20831 wine_fn_config_makefile dlls/faultrep enable_faultrep
20832 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20833 wine_fn_config_makefile dlls/feclient enable_feclient
20834 wine_fn_config_makefile dlls/fltlib enable_fltlib
20835 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20836 wine_fn_config_makefile dlls/fntcache enable_fntcache
20837 wine_fn_config_makefile dlls/fontsub enable_fontsub
20838 wine_fn_config_makefile dlls/fusion enable_fusion
20839 wine_fn_config_makefile dlls/fusion/tests enable_tests
20840 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20841 wine_fn_config_makefile dlls/gameux enable_gameux
20842 wine_fn_config_makefile dlls/gameux/tests enable_tests
20843 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20844 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20845 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20846 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20847 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20848 wine_fn_config_makefile dlls/glu32 enable_glu32
20849 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20850 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20851 wine_fn_config_makefile dlls/hal enable_hal
20852 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20853 wine_fn_config_makefile dlls/hid enable_hid
20854 wine_fn_config_makefile dlls/hid/tests enable_tests
20855 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20856 wine_fn_config_makefile dlls/hlink enable_hlink
20857 wine_fn_config_makefile dlls/hlink/tests enable_tests
20858 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20859 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20860 wine_fn_config_makefile dlls/http.sys enable_http_sys
20861 wine_fn_config_makefile dlls/httpapi enable_httpapi
20862 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20863 wine_fn_config_makefile dlls/iccvid enable_iccvid
20864 wine_fn_config_makefile dlls/icmp enable_icmp
20865 wine_fn_config_makefile dlls/ieframe enable_ieframe
20866 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20867 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20868 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20869 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20870 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20871 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20872 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20873 wine_fn_config_makefile dlls/imm32 enable_imm32
20874 wine_fn_config_makefile dlls/imm32/tests enable_tests
20875 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20876 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20877 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20878 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20879 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20880 wine_fn_config_makefile dlls/infosoft enable_infosoft
20881 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20882 wine_fn_config_makefile dlls/initpki enable_initpki
20883 wine_fn_config_makefile dlls/inkobj enable_inkobj
20884 wine_fn_config_makefile dlls/inseng enable_inseng
20885 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20886 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20887 wine_fn_config_makefile dlls/iprop enable_iprop
20888 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20889 wine_fn_config_makefile dlls/itircl enable_itircl
20890 wine_fn_config_makefile dlls/itss enable_itss
20891 wine_fn_config_makefile dlls/itss/tests enable_tests
20892 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20893 wine_fn_config_makefile dlls/jscript enable_jscript
20894 wine_fn_config_makefile dlls/jscript/tests enable_tests
20895 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20896 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20897 wine_fn_config_makefile dlls/kerberos enable_kerberos
20898 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20899 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20900 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20901 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20902 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20903 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20904 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20905 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20906 wine_fn_config_makefile dlls/ksuser enable_ksuser
20907 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20908 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20909 wine_fn_config_makefile dlls/loadperf enable_loadperf
20910 wine_fn_config_makefile dlls/localspl enable_localspl
20911 wine_fn_config_makefile dlls/localspl/tests enable_tests
20912 wine_fn_config_makefile dlls/localui enable_localui
20913 wine_fn_config_makefile dlls/localui/tests enable_tests
20914 wine_fn_config_makefile dlls/lz32 enable_lz32
20915 wine_fn_config_makefile dlls/lz32/tests enable_tests
20916 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20917 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20918 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20919 wine_fn_config_makefile dlls/mapistub enable_mapistub
20920 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20921 wine_fn_config_makefile dlls/mcicda enable_mcicda
20922 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20923 wine_fn_config_makefile dlls/mciseq enable_mciseq
20924 wine_fn_config_makefile dlls/mciwave enable_mciwave
20925 wine_fn_config_makefile dlls/mf enable_mf
20926 wine_fn_config_makefile dlls/mf/tests enable_tests
20927 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20928 wine_fn_config_makefile dlls/mferror enable_mferror
20929 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20930 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20931 wine_fn_config_makefile dlls/mfplat enable_mfplat
20932 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20933 wine_fn_config_makefile dlls/mfplay enable_mfplay
20934 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20935 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20936 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20937 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20938 wine_fn_config_makefile dlls/midimap enable_midimap
20939 wine_fn_config_makefile dlls/mlang enable_mlang
20940 wine_fn_config_makefile dlls/mlang/tests enable_tests
20941 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20942 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20943 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20944 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20945 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20946 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20947 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20948 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20949 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20950 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20951 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20952 wine_fn_config_makefile dlls/mpr enable_mpr
20953 wine_fn_config_makefile dlls/mpr/tests enable_tests
20954 wine_fn_config_makefile dlls/mprapi enable_mprapi
20955 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20956 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20957 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20958 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20959 wine_fn_config_makefile dlls/msado15 enable_msado15
20960 wine_fn_config_makefile dlls/msado15/tests enable_tests
20961 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20962 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20963 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20964 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20965 wine_fn_config_makefile dlls/mscms enable_mscms
20966 wine_fn_config_makefile dlls/mscms/tests enable_tests
20967 wine_fn_config_makefile dlls/mscoree enable_mscoree
20968 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20969 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20970 wine_fn_config_makefile dlls/msctf enable_msctf
20971 wine_fn_config_makefile dlls/msctf/tests enable_tests
20972 wine_fn_config_makefile dlls/msctfp enable_msctfp
20973 wine_fn_config_makefile dlls/msdaps enable_msdaps
20974 wine_fn_config_makefile dlls/msdelta enable_msdelta
20975 wine_fn_config_makefile dlls/msdmo enable_msdmo
20976 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20977 wine_fn_config_makefile dlls/msdrm enable_msdrm
20978 wine_fn_config_makefile dlls/msftedit enable_msftedit
20979 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20980 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20981 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20982 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20983 wine_fn_config_makefile dlls/mshtml enable_mshtml
20984 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20985 wine_fn_config_makefile dlls/msi enable_msi
20986 wine_fn_config_makefile dlls/msi/tests enable_tests
20987 wine_fn_config_makefile dlls/msident enable_msident
20988 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20989 wine_fn_config_makefile dlls/msimsg enable_msimsg
20990 wine_fn_config_makefile dlls/msimtf enable_msimtf
20991 wine_fn_config_makefile dlls/msisip enable_msisip
20992 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20993 wine_fn_config_makefile dlls/msls31 enable_msls31
20994 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20995 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20996 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20997 wine_fn_config_makefile dlls/msports enable_msports
20998 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20999 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21000 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21001 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21002 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21003 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21004 wine_fn_config_makefile dlls/mstask enable_mstask
21005 wine_fn_config_makefile dlls/mstask/tests enable_tests
21006 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21007 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21008 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21009 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21010 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21011 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21012 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21013 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21014 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21015 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21016 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21017 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21018 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21019 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21020 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21021 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21022 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21023 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21024 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21025 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21026 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21027 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21028 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21029 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21030 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21031 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21032 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21033 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21034 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21035 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21036 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21037 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21038 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21039 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21040 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21041 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21042 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21043 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21044 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21045 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21046 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21047 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21048 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21049 wine_fn_config_makefile dlls/mswsock enable_mswsock
21050 wine_fn_config_makefile dlls/msxml enable_msxml
21051 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21052 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21053 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21054 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21055 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21056 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21057 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21058 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21059 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21060 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21061 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21062 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21063 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21064 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21065 wine_fn_config_makefile dlls/netprofm enable_netprofm
21066 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21067 wine_fn_config_makefile dlls/newdev enable_newdev
21068 wine_fn_config_makefile dlls/ninput enable_ninput
21069 wine_fn_config_makefile dlls/ninput/tests enable_tests
21070 wine_fn_config_makefile dlls/normaliz enable_normaliz
21071 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21072 wine_fn_config_makefile dlls/npptools enable_npptools
21073 wine_fn_config_makefile dlls/ntdll enable_ntdll
21074 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21075 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21076 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21077 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21078 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21079 wine_fn_config_makefile dlls/ntprint enable_ntprint
21080 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21081 wine_fn_config_makefile dlls/objsel enable_objsel
21082 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21083 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21084 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21085 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21086 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21087 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21088 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21089 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21090 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21091 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21092 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21093 wine_fn_config_makefile dlls/ole32 enable_ole32
21094 wine_fn_config_makefile dlls/ole32/tests enable_tests
21095 wine_fn_config_makefile dlls/oleacc enable_oleacc
21096 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21097 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21098 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21099 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21100 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21101 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21102 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21103 wine_fn_config_makefile dlls/oledlg enable_oledlg
21104 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21105 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21106 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21107 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21108 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21109 wine_fn_config_makefile dlls/opcservices enable_opcservices
21110 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21111 wine_fn_config_makefile dlls/openal32 enable_openal32
21112 wine_fn_config_makefile dlls/opencl enable_opencl
21113 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21114 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21115 wine_fn_config_makefile dlls/packager enable_packager
21116 wine_fn_config_makefile dlls/packager/tests enable_tests
21117 wine_fn_config_makefile dlls/pdh enable_pdh
21118 wine_fn_config_makefile dlls/pdh/tests enable_tests
21119 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21120 wine_fn_config_makefile dlls/pidgen enable_pidgen
21121 wine_fn_config_makefile dlls/powrprof enable_powrprof
21122 wine_fn_config_makefile dlls/printui enable_printui
21123 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21124 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21125 wine_fn_config_makefile dlls/propsys enable_propsys
21126 wine_fn_config_makefile dlls/propsys/tests enable_tests
21127 wine_fn_config_makefile dlls/psapi enable_psapi
21128 wine_fn_config_makefile dlls/psapi/tests enable_tests
21129 wine_fn_config_makefile dlls/pstorec enable_pstorec
21130 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21131 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21132 wine_fn_config_makefile dlls/qasf enable_qasf
21133 wine_fn_config_makefile dlls/qasf/tests enable_tests
21134 wine_fn_config_makefile dlls/qcap enable_qcap
21135 wine_fn_config_makefile dlls/qcap/tests enable_tests
21136 wine_fn_config_makefile dlls/qdvd enable_qdvd
21137 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21138 wine_fn_config_makefile dlls/qedit enable_qedit
21139 wine_fn_config_makefile dlls/qedit/tests enable_tests
21140 wine_fn_config_makefile dlls/qmgr enable_qmgr
21141 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21142 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21143 wine_fn_config_makefile dlls/quartz enable_quartz
21144 wine_fn_config_makefile dlls/quartz/tests enable_tests
21145 wine_fn_config_makefile dlls/query enable_query
21146 wine_fn_config_makefile dlls/qwave enable_qwave
21147 wine_fn_config_makefile dlls/qwave/tests enable_tests
21148 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21149 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21150 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21151 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21152 wine_fn_config_makefile dlls/regapi enable_regapi
21153 wine_fn_config_makefile dlls/resutils enable_resutils
21154 wine_fn_config_makefile dlls/riched20 enable_riched20
21155 wine_fn_config_makefile dlls/riched20/tests enable_tests
21156 wine_fn_config_makefile dlls/riched32 enable_riched32
21157 wine_fn_config_makefile dlls/riched32/tests enable_tests
21158 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21159 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21160 wine_fn_config_makefile dlls/rsabase enable_rsabase
21161 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21162 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21163 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21164 wine_fn_config_makefile dlls/rtutils enable_rtutils
21165 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21166 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21167 wine_fn_config_makefile dlls/samlib enable_samlib
21168 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21169 wine_fn_config_makefile dlls/sapi enable_sapi
21170 wine_fn_config_makefile dlls/sapi/tests enable_tests
21171 wine_fn_config_makefile dlls/sas enable_sas
21172 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21173 wine_fn_config_makefile dlls/sccbase enable_sccbase
21174 wine_fn_config_makefile dlls/schannel enable_schannel
21175 wine_fn_config_makefile dlls/schannel/tests enable_tests
21176 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21177 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21178 wine_fn_config_makefile dlls/scrobj enable_scrobj
21179 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21180 wine_fn_config_makefile dlls/scrrun enable_scrrun
21181 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21182 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21183 wine_fn_config_makefile dlls/sechost enable_sechost
21184 wine_fn_config_makefile dlls/secur32 enable_secur32
21185 wine_fn_config_makefile dlls/secur32/tests enable_tests
21186 wine_fn_config_makefile dlls/security enable_security
21187 wine_fn_config_makefile dlls/sensapi enable_sensapi
21188 wine_fn_config_makefile dlls/serialui enable_serialui
21189 wine_fn_config_makefile dlls/serialui/tests enable_tests
21190 wine_fn_config_makefile dlls/setupapi enable_setupapi
21191 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21192 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21193 wine_fn_config_makefile dlls/sfc enable_sfc
21194 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21195 wine_fn_config_makefile dlls/shcore enable_shcore
21196 wine_fn_config_makefile dlls/shcore/tests enable_tests
21197 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21198 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21199 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21200 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21201 wine_fn_config_makefile dlls/shell32 enable_shell32
21202 wine_fn_config_makefile dlls/shell32/tests enable_tests
21203 wine_fn_config_makefile dlls/shfolder enable_shfolder
21204 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21205 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21206 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21207 wine_fn_config_makefile dlls/slc enable_slc
21208 wine_fn_config_makefile dlls/slc/tests enable_tests
21209 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21210 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21211 wine_fn_config_makefile dlls/softpub enable_softpub
21212 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21213 wine_fn_config_makefile dlls/spoolss enable_spoolss
21214 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21215 wine_fn_config_makefile dlls/srclient enable_srclient
21216 wine_fn_config_makefile dlls/sspicli enable_sspicli
21217 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21218 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21219 wine_fn_config_makefile dlls/sti enable_sti
21220 wine_fn_config_makefile dlls/sti/tests enable_tests
21221 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21222 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21223 wine_fn_config_makefile dlls/strmbase enable_strmbase
21224 wine_fn_config_makefile dlls/strmdll enable_strmdll
21225 wine_fn_config_makefile dlls/strmiids enable_strmiids
21226 wine_fn_config_makefile dlls/svrapi enable_svrapi
21227 wine_fn_config_makefile dlls/sxs enable_sxs
21228 wine_fn_config_makefile dlls/sxs/tests enable_tests
21229 wine_fn_config_makefile dlls/system.drv16 enable_win16
21230 wine_fn_config_makefile dlls/t2embed enable_t2embed
21231 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21232 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21233 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21234 wine_fn_config_makefile dlls/taskschd enable_taskschd
21235 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21236 wine_fn_config_makefile dlls/tdh enable_tdh
21237 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21238 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21239 wine_fn_config_makefile dlls/traffic enable_traffic
21240 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21241 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21242 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21243 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21244 wine_fn_config_makefile dlls/tzres enable_tzres
21245 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21246 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21247 wine_fn_config_makefile dlls/uianimation enable_uianimation
21248 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21249 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21250 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21251 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21252 wine_fn_config_makefile dlls/unicows enable_unicows
21253 wine_fn_config_makefile dlls/updspapi enable_updspapi
21254 wine_fn_config_makefile dlls/url enable_url
21255 wine_fn_config_makefile dlls/urlmon enable_urlmon
21256 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21257 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21258 wine_fn_config_makefile dlls/user.exe16 enable_win16
21259 wine_fn_config_makefile dlls/user32 enable_user32
21260 wine_fn_config_makefile dlls/user32/tests enable_tests
21261 wine_fn_config_makefile dlls/userenv enable_userenv
21262 wine_fn_config_makefile dlls/userenv/tests enable_tests
21263 wine_fn_config_makefile dlls/usp10 enable_usp10
21264 wine_fn_config_makefile dlls/usp10/tests enable_tests
21265 wine_fn_config_makefile dlls/utildll enable_utildll
21266 wine_fn_config_makefile dlls/uuid enable_uuid
21267 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21268 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21269 wine_fn_config_makefile dlls/vbscript enable_vbscript
21270 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21271 wine_fn_config_makefile dlls/vcomp enable_vcomp
21272 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21273 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21274 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21275 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21276 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21277 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21278 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21279 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21280 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21281 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21282 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21283 wine_fn_config_makefile dlls/version enable_version
21284 wine_fn_config_makefile dlls/version/tests enable_tests
21285 wine_fn_config_makefile dlls/vga enable_vga
21286 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21287 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21288 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21289 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21290 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21291 wine_fn_config_makefile dlls/vssapi enable_vssapi
21292 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21293 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21294 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21295 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21296 wine_fn_config_makefile dlls/w32skrnl enable_win16
21297 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21298 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21299 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21300 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21301 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21302 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21303 wine_fn_config_makefile dlls/wdscore enable_wdscore
21304 wine_fn_config_makefile dlls/webservices enable_webservices
21305 wine_fn_config_makefile dlls/webservices/tests enable_tests
21306 wine_fn_config_makefile dlls/wer enable_wer
21307 wine_fn_config_makefile dlls/wer/tests enable_tests
21308 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21309 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21310 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21311 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21312 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21313 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21314 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21315 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21316 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21317 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21318 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21319 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21320 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21321 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21322 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21323 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21324 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21325 wine_fn_config_makefile dlls/wined3d enable_wined3d
21326 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21327 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21328 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21329 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21330 wine_fn_config_makefile dlls/winemapi enable_winemapi
21331 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21332 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21333 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21334 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21335 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21336 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21337 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21338 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21339 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21340 wine_fn_config_makefile dlls/wing32 enable_wing32
21341 wine_fn_config_makefile dlls/winhttp enable_winhttp
21342 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21343 wine_fn_config_makefile dlls/wininet enable_wininet
21344 wine_fn_config_makefile dlls/wininet/tests enable_tests
21345 wine_fn_config_makefile dlls/winmm enable_winmm
21346 wine_fn_config_makefile dlls/winmm/tests enable_tests
21347 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21348 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21349 wine_fn_config_makefile dlls/winscard enable_winscard
21350 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21351 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21352 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21353 wine_fn_config_makefile dlls/winsta enable_winsta
21354 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21355 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21356 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21357 wine_fn_config_makefile dlls/wintrust enable_wintrust
21358 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21359 wine_fn_config_makefile dlls/winusb enable_winusb
21360 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21361 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21362 wine_fn_config_makefile dlls/wlanui enable_wlanui
21363 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21364 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21365 wine_fn_config_makefile dlls/wmasf enable_wmasf
21366 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21367 wine_fn_config_makefile dlls/wmi enable_wmi
21368 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21369 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21370 wine_fn_config_makefile dlls/wmp enable_wmp
21371 wine_fn_config_makefile dlls/wmp/tests enable_tests
21372 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21373 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21374 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21375 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21376 wine_fn_config_makefile dlls/wow32 enable_win16
21377 wine_fn_config_makefile dlls/wpc enable_wpc
21378 wine_fn_config_makefile dlls/wpc/tests enable_tests
21379 wine_fn_config_makefile dlls/wpcap enable_wpcap
21380 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21381 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21382 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21383 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21384 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21385 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21386 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21387 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21388 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21389 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21390 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21391 wine_fn_config_makefile dlls/wuapi enable_wuapi
21392 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21393 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21394 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21395 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21396 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21397 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21398 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21399 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21400 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21401 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21402 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21403 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21404 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21405 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21406 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21407 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21408 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21409 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21410 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21411 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21412 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21413 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21414 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21415 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21416 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21417 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21418 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21419 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21420 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21421 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21422 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21423 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21424 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21425 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21426 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21427 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21428 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21429 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21430 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21431 wine_fn_config_makefile dlls/xmllite enable_xmllite
21432 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21433 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21434 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21435 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21436 wine_fn_config_makefile fonts enable_fonts
21437 wine_fn_config_makefile include enable_include
21438 wine_fn_config_makefile libs/port enable_port
21439 wine_fn_config_makefile libs/wine enable_wine
21440 wine_fn_config_makefile libs/wpp enable_wpp
21441 wine_fn_config_makefile loader enable_loader
21442 wine_fn_config_makefile nls enable_nls
21443 wine_fn_config_makefile po enable_po
21444 wine_fn_config_makefile programs/arp enable_arp
21445 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21446 wine_fn_config_makefile programs/attrib enable_attrib
21447 wine_fn_config_makefile programs/cabarc enable_cabarc
21448 wine_fn_config_makefile programs/cacls enable_cacls
21449 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21450 wine_fn_config_makefile programs/clock enable_clock
21451 wine_fn_config_makefile programs/cmd enable_cmd
21452 wine_fn_config_makefile programs/cmd/tests enable_tests
21453 wine_fn_config_makefile programs/conhost enable_conhost
21454 wine_fn_config_makefile programs/control enable_control
21455 wine_fn_config_makefile programs/cscript enable_cscript
21456 wine_fn_config_makefile programs/dism enable_dism
21457 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21458 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21459 wine_fn_config_makefile programs/eject enable_eject
21460 wine_fn_config_makefile programs/expand enable_expand
21461 wine_fn_config_makefile programs/explorer enable_explorer
21462 wine_fn_config_makefile programs/extrac32 enable_extrac32
21463 wine_fn_config_makefile programs/fc enable_fc
21464 wine_fn_config_makefile programs/find enable_find
21465 wine_fn_config_makefile programs/find/tests enable_tests
21466 wine_fn_config_makefile programs/findstr enable_findstr
21467 wine_fn_config_makefile programs/fsutil enable_fsutil
21468 wine_fn_config_makefile programs/fsutil/tests enable_tests
21469 wine_fn_config_makefile programs/hh enable_hh
21470 wine_fn_config_makefile programs/hostname enable_hostname
21471 wine_fn_config_makefile programs/icacls enable_icacls
21472 wine_fn_config_makefile programs/icinfo enable_icinfo
21473 wine_fn_config_makefile programs/iexplore enable_iexplore
21474 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21475 wine_fn_config_makefile programs/lodctr enable_lodctr
21476 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21477 wine_fn_config_makefile programs/mshta enable_mshta
21478 wine_fn_config_makefile programs/msidb enable_msidb
21479 wine_fn_config_makefile programs/msiexec enable_msiexec
21480 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21481 wine_fn_config_makefile programs/net enable_net
21482 wine_fn_config_makefile programs/netsh enable_netsh
21483 wine_fn_config_makefile programs/netstat enable_netstat
21484 wine_fn_config_makefile programs/ngen enable_ngen
21485 wine_fn_config_makefile programs/notepad enable_notepad
21486 wine_fn_config_makefile programs/oleview enable_oleview
21487 wine_fn_config_makefile programs/ping enable_ping
21488 wine_fn_config_makefile programs/plugplay enable_plugplay
21489 wine_fn_config_makefile programs/powershell enable_powershell
21490 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21491 wine_fn_config_makefile programs/progman enable_progman
21492 wine_fn_config_makefile programs/reg enable_reg
21493 wine_fn_config_makefile programs/reg/tests enable_tests
21494 wine_fn_config_makefile programs/regasm enable_regasm
21495 wine_fn_config_makefile programs/regedit enable_regedit
21496 wine_fn_config_makefile programs/regedit/tests enable_tests
21497 wine_fn_config_makefile programs/regini enable_regini
21498 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21499 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21500 wine_fn_config_makefile programs/rpcss enable_rpcss
21501 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21502 wine_fn_config_makefile programs/rundll32 enable_rundll32
21503 wine_fn_config_makefile programs/sc enable_sc
21504 wine_fn_config_makefile programs/schtasks enable_schtasks
21505 wine_fn_config_makefile programs/schtasks/tests enable_tests
21506 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21507 wine_fn_config_makefile programs/secedit enable_secedit
21508 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21509 wine_fn_config_makefile programs/services enable_services
21510 wine_fn_config_makefile programs/services/tests enable_tests
21511 wine_fn_config_makefile programs/shutdown enable_shutdown
21512 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21513 wine_fn_config_makefile programs/start enable_start
21514 wine_fn_config_makefile programs/subst enable_subst
21515 wine_fn_config_makefile programs/svchost enable_svchost
21516 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21517 wine_fn_config_makefile programs/taskkill enable_taskkill
21518 wine_fn_config_makefile programs/tasklist enable_tasklist
21519 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21520 wine_fn_config_makefile programs/termsv enable_termsv
21521 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21522 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21523 wine_fn_config_makefile programs/view enable_view
21524 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21525 wine_fn_config_makefile programs/where enable_where
21526 wine_fn_config_makefile programs/whoami enable_whoami
21527 wine_fn_config_makefile programs/wineboot enable_wineboot
21528 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21529 wine_fn_config_makefile programs/winecfg enable_winecfg
21530 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21531 wine_fn_config_makefile programs/winedbg enable_winedbg
21532 wine_fn_config_makefile programs/winedevice enable_winedevice
21533 wine_fn_config_makefile programs/winefile enable_winefile
21534 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21535 wine_fn_config_makefile programs/winemine enable_winemine
21536 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21537 wine_fn_config_makefile programs/winepath enable_winepath
21538 wine_fn_config_makefile programs/winetest enable_winetest
21539 wine_fn_config_makefile programs/winevdm enable_win16
21540 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21541 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21542 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21543 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21544 wine_fn_config_makefile programs/winver enable_winver
21545 wine_fn_config_makefile programs/wmic enable_wmic
21546 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21547 wine_fn_config_makefile programs/wordpad enable_wordpad
21548 wine_fn_config_makefile programs/write enable_write
21549 wine_fn_config_makefile programs/wscript enable_wscript
21550 wine_fn_config_makefile programs/wscript/tests enable_tests
21551 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21552 wine_fn_config_makefile programs/wusa enable_wusa
21553 wine_fn_config_makefile programs/xcopy enable_xcopy
21554 wine_fn_config_makefile programs/xcopy/tests enable_tests
21555 wine_fn_config_makefile server enable_server
21556 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21557 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21558 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21559 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21560 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21561 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21562 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21563 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21564 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21567 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21568 wine_fn_append_file CONFIGURE_TARGETS "tags"
21569 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21570 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21571 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21572 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21573 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21574 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21576 if test "x$enable_tools" != xno
21577 then
21578 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21579 ac_config_commands="$ac_config_commands tools/makedep"
21583 ac_config_commands="$ac_config_commands Makefile"
21586 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21590 if test "x$enable_maintainer_mode" = xyes
21591 then
21592 wine_fn_append_rule "configure: configure.ac aclocal.m4
21593 autoconf --warnings=all
21594 include/config.h.in: include/stamp-h.in
21595 include/stamp-h.in: configure.ac aclocal.m4
21596 autoheader --warnings=all
21597 @echo timestamp > \$@"
21600 if test "x$enable_tools" != xno
21601 then
21602 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21603 @./config.status tools/makedep
21604 Makefile: tools/makedep$ac_exeext
21605 fonts: tools/sfnt2fon
21606 include: tools tools/widl"
21607 else
21608 wine_fn_append_rule "\$(MAKEDEP):
21609 @echo \"You need to run make in $TOOLSDIR first\" && false"
21612 if test -n "$with_wine64"
21613 then
21614 case "$with_wine64" in
21615 /*) reldir="" ;;
21616 *) reldir="../" ;;
21617 esac
21618 rm -f fonts server 2>/dev/null
21619 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21620 loader/wine64 loader/wine64-preloader:
21621 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21622 $with_wine64/loader/wine:
21623 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21624 $with_wine64/loader/wine-preloader:
21625 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21626 clean::
21627 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21628 else
21629 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21630 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21631 fonts \
21632 loader/wine.inf \
21633 loader/winebus.inf \
21634 loader/winehid.inf \
21635 loader/wineusb.inf \
21636 nls \
21637 programs/msidb/msidb \
21638 programs/msiexec/msiexec \
21639 programs/notepad/notepad \
21640 programs/regedit/regedit \
21641 programs/regsvr32/regsvr32 \
21642 programs/wineboot/wineboot \
21643 programs/winecfg/winecfg \
21644 programs/wineconsole/wineconsole \
21645 programs/winedbg/winedbg \
21646 programs/winefile/winefile \
21647 programs/winemine/winemine \
21648 programs/winepath/winepath \
21649 server/wineserver"
21651 case $host_os in
21652 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21653 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21654 esac
21657 $as_echo " done" >&6
21658 cat >confcache <<\_ACEOF
21659 # This file is a shell script that caches the results of configure
21660 # tests run on this system so they can be shared between configure
21661 # scripts and configure runs, see configure's option --config-cache.
21662 # It is not useful on other systems. If it contains results you don't
21663 # want to keep, you may remove or edit it.
21665 # config.status only pays attention to the cache file if you give it
21666 # the --recheck option to rerun configure.
21668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21670 # following values.
21672 _ACEOF
21674 # The following way of writing the cache mishandles newlines in values,
21675 # but we know of no workaround that is simple, portable, and efficient.
21676 # So, we kill variables containing newlines.
21677 # Ultrix sh set writes to stderr and can't be redirected directly,
21678 # and sets the high bit in the cache file unless we assign to the vars.
21680 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21681 eval ac_val=\$$ac_var
21682 case $ac_val in #(
21683 *${as_nl}*)
21684 case $ac_var in #(
21685 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21686 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21687 esac
21688 case $ac_var in #(
21689 _ | IFS | as_nl) ;; #(
21690 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21691 *) { eval $ac_var=; unset $ac_var;} ;;
21692 esac ;;
21693 esac
21694 done
21696 (set) 2>&1 |
21697 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21698 *${as_nl}ac_space=\ *)
21699 # `set' does not quote correctly, so add quotes: double-quote
21700 # substitution turns \\\\ into \\, and sed turns \\ into \.
21701 sed -n \
21702 "s/'/'\\\\''/g;
21703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21704 ;; #(
21706 # `set' quotes correctly as required by POSIX, so do not add quotes.
21707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21709 esac |
21710 sort
21712 sed '
21713 /^ac_cv_env_/b end
21714 t clear
21715 :clear
21716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21717 t end
21718 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21719 :end' >>confcache
21720 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21721 if test -w "$cache_file"; then
21722 if test "x$cache_file" != "x/dev/null"; then
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21724 $as_echo "$as_me: updating cache $cache_file" >&6;}
21725 if test ! -f "$cache_file" || test -h "$cache_file"; then
21726 cat confcache >"$cache_file"
21727 else
21728 case $cache_file in #(
21729 */* | ?:*)
21730 mv -f confcache "$cache_file"$$ &&
21731 mv -f "$cache_file"$$ "$cache_file" ;; #(
21733 mv -f confcache "$cache_file" ;;
21734 esac
21737 else
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21739 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21742 rm -f confcache
21744 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21745 # Let make expand exec_prefix.
21746 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21748 DEFS=-DHAVE_CONFIG_H
21750 ac_libobjs=
21751 ac_ltlibobjs=
21753 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21754 # 1. Remove the extension, and $U if already installed.
21755 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21756 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21757 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21758 # will be set to the directory where LIBOBJS objects are built.
21759 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21760 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21761 done
21762 LIBOBJS=$ac_libobjs
21764 LTLIBOBJS=$ac_ltlibobjs
21768 : "${CONFIG_STATUS=./config.status}"
21769 ac_write_fail=0
21770 ac_clean_files_save=$ac_clean_files
21771 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21773 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21774 as_write_fail=0
21775 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21776 #! $SHELL
21777 # Generated by $as_me.
21778 # Run this file to recreate the current configuration.
21779 # Compiler output produced by configure, useful for debugging
21780 # configure, is in config.log if it exists.
21782 debug=false
21783 ac_cs_recheck=false
21784 ac_cs_silent=false
21786 SHELL=\${CONFIG_SHELL-$SHELL}
21787 export SHELL
21788 _ASEOF
21789 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21790 ## -------------------- ##
21791 ## M4sh Initialization. ##
21792 ## -------------------- ##
21794 # Be more Bourne compatible
21795 DUALCASE=1; export DUALCASE # for MKS sh
21796 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21797 emulate sh
21798 NULLCMD=:
21799 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21800 # is contrary to our usage. Disable this feature.
21801 alias -g '${1+"$@"}'='"$@"'
21802 setopt NO_GLOB_SUBST
21803 else
21804 case `(set -o) 2>/dev/null` in #(
21805 *posix*) :
21806 set -o posix ;; #(
21807 *) :
21809 esac
21813 as_nl='
21815 export as_nl
21816 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21817 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21818 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21819 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21820 # Prefer a ksh shell builtin over an external printf program on Solaris,
21821 # but without wasting forks for bash or zsh.
21822 if test -z "$BASH_VERSION$ZSH_VERSION" \
21823 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21824 as_echo='print -r --'
21825 as_echo_n='print -rn --'
21826 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21827 as_echo='printf %s\n'
21828 as_echo_n='printf %s'
21829 else
21830 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21831 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21832 as_echo_n='/usr/ucb/echo -n'
21833 else
21834 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21835 as_echo_n_body='eval
21836 arg=$1;
21837 case $arg in #(
21838 *"$as_nl"*)
21839 expr "X$arg" : "X\\(.*\\)$as_nl";
21840 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21841 esac;
21842 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21844 export as_echo_n_body
21845 as_echo_n='sh -c $as_echo_n_body as_echo'
21847 export as_echo_body
21848 as_echo='sh -c $as_echo_body as_echo'
21851 # The user is always right.
21852 if test "${PATH_SEPARATOR+set}" != set; then
21853 PATH_SEPARATOR=:
21854 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21855 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21856 PATH_SEPARATOR=';'
21861 # IFS
21862 # We need space, tab and new line, in precisely that order. Quoting is
21863 # there to prevent editors from complaining about space-tab.
21864 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21865 # splitting by setting IFS to empty value.)
21866 IFS=" "" $as_nl"
21868 # Find who we are. Look in the path if we contain no directory separator.
21869 as_myself=
21870 case $0 in #((
21871 *[\\/]* ) as_myself=$0 ;;
21872 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21873 for as_dir in $PATH
21875 IFS=$as_save_IFS
21876 test -z "$as_dir" && as_dir=.
21877 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21878 done
21879 IFS=$as_save_IFS
21882 esac
21883 # We did not find ourselves, most probably we were run as `sh COMMAND'
21884 # in which case we are not to be found in the path.
21885 if test "x$as_myself" = x; then
21886 as_myself=$0
21888 if test ! -f "$as_myself"; then
21889 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21890 exit 1
21893 # Unset variables that we do not need and which cause bugs (e.g. in
21894 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21895 # suppresses any "Segmentation fault" message there. '((' could
21896 # trigger a bug in pdksh 5.2.14.
21897 for as_var in BASH_ENV ENV MAIL MAILPATH
21898 do eval test x\${$as_var+set} = xset \
21899 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21900 done
21901 PS1='$ '
21902 PS2='> '
21903 PS4='+ '
21905 # NLS nuisances.
21906 LC_ALL=C
21907 export LC_ALL
21908 LANGUAGE=C
21909 export LANGUAGE
21911 # CDPATH.
21912 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21915 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21916 # ----------------------------------------
21917 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21918 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21919 # script with STATUS, using 1 if that was 0.
21920 as_fn_error ()
21922 as_status=$1; test $as_status -eq 0 && as_status=1
21923 if test "$4"; then
21924 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21925 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21927 $as_echo "$as_me: error: $2" >&2
21928 as_fn_exit $as_status
21929 } # as_fn_error
21932 # as_fn_set_status STATUS
21933 # -----------------------
21934 # Set $? to STATUS, without forking.
21935 as_fn_set_status ()
21937 return $1
21938 } # as_fn_set_status
21940 # as_fn_exit STATUS
21941 # -----------------
21942 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21943 as_fn_exit ()
21945 set +e
21946 as_fn_set_status $1
21947 exit $1
21948 } # as_fn_exit
21950 # as_fn_unset VAR
21951 # ---------------
21952 # Portably unset VAR.
21953 as_fn_unset ()
21955 { eval $1=; unset $1;}
21957 as_unset=as_fn_unset
21958 # as_fn_append VAR VALUE
21959 # ----------------------
21960 # Append the text in VALUE to the end of the definition contained in VAR. Take
21961 # advantage of any shell optimizations that allow amortized linear growth over
21962 # repeated appends, instead of the typical quadratic growth present in naive
21963 # implementations.
21964 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21965 eval 'as_fn_append ()
21967 eval $1+=\$2
21969 else
21970 as_fn_append ()
21972 eval $1=\$$1\$2
21974 fi # as_fn_append
21976 # as_fn_arith ARG...
21977 # ------------------
21978 # Perform arithmetic evaluation on the ARGs, and store the result in the
21979 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21980 # must be portable across $(()) and expr.
21981 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21982 eval 'as_fn_arith ()
21984 as_val=$(( $* ))
21986 else
21987 as_fn_arith ()
21989 as_val=`expr "$@" || test $? -eq 1`
21991 fi # as_fn_arith
21994 if expr a : '\(a\)' >/dev/null 2>&1 &&
21995 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21996 as_expr=expr
21997 else
21998 as_expr=false
22001 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22002 as_basename=basename
22003 else
22004 as_basename=false
22007 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22008 as_dirname=dirname
22009 else
22010 as_dirname=false
22013 as_me=`$as_basename -- "$0" ||
22014 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22015 X"$0" : 'X\(//\)$' \| \
22016 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22017 $as_echo X/"$0" |
22018 sed '/^.*\/\([^/][^/]*\)\/*$/{
22019 s//\1/
22022 /^X\/\(\/\/\)$/{
22023 s//\1/
22026 /^X\/\(\/\).*/{
22027 s//\1/
22030 s/.*/./; q'`
22032 # Avoid depending upon Character Ranges.
22033 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22035 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22036 as_cr_digits='0123456789'
22037 as_cr_alnum=$as_cr_Letters$as_cr_digits
22039 ECHO_C= ECHO_N= ECHO_T=
22040 case `echo -n x` in #(((((
22041 -n*)
22042 case `echo 'xy\c'` in
22043 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22044 xy) ECHO_C='\c';;
22045 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22046 ECHO_T=' ';;
22047 esac;;
22049 ECHO_N='-n';;
22050 esac
22052 rm -f conf$$ conf$$.exe conf$$.file
22053 if test -d conf$$.dir; then
22054 rm -f conf$$.dir/conf$$.file
22055 else
22056 rm -f conf$$.dir
22057 mkdir conf$$.dir 2>/dev/null
22059 if (echo >conf$$.file) 2>/dev/null; then
22060 if ln -s conf$$.file conf$$ 2>/dev/null; then
22061 as_ln_s='ln -s'
22062 # ... but there are two gotchas:
22063 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22064 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22065 # In both cases, we have to default to `cp -pR'.
22066 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22067 as_ln_s='cp -pR'
22068 elif ln conf$$.file conf$$ 2>/dev/null; then
22069 as_ln_s=ln
22070 else
22071 as_ln_s='cp -pR'
22073 else
22074 as_ln_s='cp -pR'
22076 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22077 rmdir conf$$.dir 2>/dev/null
22080 # as_fn_mkdir_p
22081 # -------------
22082 # Create "$as_dir" as a directory, including parents if necessary.
22083 as_fn_mkdir_p ()
22086 case $as_dir in #(
22087 -*) as_dir=./$as_dir;;
22088 esac
22089 test -d "$as_dir" || eval $as_mkdir_p || {
22090 as_dirs=
22091 while :; do
22092 case $as_dir in #(
22093 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22094 *) as_qdir=$as_dir;;
22095 esac
22096 as_dirs="'$as_qdir' $as_dirs"
22097 as_dir=`$as_dirname -- "$as_dir" ||
22098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22099 X"$as_dir" : 'X\(//\)[^/]' \| \
22100 X"$as_dir" : 'X\(//\)$' \| \
22101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22102 $as_echo X"$as_dir" |
22103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22104 s//\1/
22107 /^X\(\/\/\)[^/].*/{
22108 s//\1/
22111 /^X\(\/\/\)$/{
22112 s//\1/
22115 /^X\(\/\).*/{
22116 s//\1/
22119 s/.*/./; q'`
22120 test -d "$as_dir" && break
22121 done
22122 test -z "$as_dirs" || eval "mkdir $as_dirs"
22123 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22126 } # as_fn_mkdir_p
22127 if mkdir -p . 2>/dev/null; then
22128 as_mkdir_p='mkdir -p "$as_dir"'
22129 else
22130 test -d ./-p && rmdir ./-p
22131 as_mkdir_p=false
22135 # as_fn_executable_p FILE
22136 # -----------------------
22137 # Test if FILE is an executable regular file.
22138 as_fn_executable_p ()
22140 test -f "$1" && test -x "$1"
22141 } # as_fn_executable_p
22142 as_test_x='test -x'
22143 as_executable_p=as_fn_executable_p
22145 # Sed expression to map a string onto a valid CPP name.
22146 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22148 # Sed expression to map a string onto a valid variable name.
22149 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22152 exec 6>&1
22153 ## ----------------------------------- ##
22154 ## Main body of $CONFIG_STATUS script. ##
22155 ## ----------------------------------- ##
22156 _ASEOF
22157 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22160 # Save the log message, to keep $0 and so on meaningful, and to
22161 # report actual input values of CONFIG_FILES etc. instead of their
22162 # values after options handling.
22163 ac_log="
22164 This file was extended by Wine $as_me 5.15, which was
22165 generated by GNU Autoconf 2.69. Invocation command line was
22167 CONFIG_FILES = $CONFIG_FILES
22168 CONFIG_HEADERS = $CONFIG_HEADERS
22169 CONFIG_LINKS = $CONFIG_LINKS
22170 CONFIG_COMMANDS = $CONFIG_COMMANDS
22171 $ $0 $@
22173 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22176 _ACEOF
22178 case $ac_config_files in *"
22179 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22180 esac
22182 case $ac_config_headers in *"
22183 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22184 esac
22187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22188 # Files that config.status was made for.
22189 config_files="$ac_config_files"
22190 config_headers="$ac_config_headers"
22191 config_links="$ac_config_links"
22192 config_commands="$ac_config_commands"
22194 _ACEOF
22196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22197 ac_cs_usage="\
22198 \`$as_me' instantiates files and other configuration actions
22199 from templates according to the current configuration. Unless the files
22200 and actions are specified as TAGs, all are instantiated by default.
22202 Usage: $0 [OPTION]... [TAG]...
22204 -h, --help print this help, then exit
22205 -V, --version print version number and configuration settings, then exit
22206 --config print configuration, then exit
22207 -q, --quiet, --silent
22208 do not print progress messages
22209 -d, --debug don't remove temporary files
22210 --recheck update $as_me by reconfiguring in the same conditions
22211 --file=FILE[:TEMPLATE]
22212 instantiate the configuration file FILE
22213 --header=FILE[:TEMPLATE]
22214 instantiate the configuration header FILE
22216 Configuration files:
22217 $config_files
22219 Configuration headers:
22220 $config_headers
22222 Configuration links:
22223 $config_links
22225 Configuration commands:
22226 $config_commands
22228 Report bugs to <wine-devel@winehq.org>.
22229 Wine home page: <https://www.winehq.org>."
22231 _ACEOF
22232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22233 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22234 ac_cs_version="\\
22235 Wine config.status 5.15
22236 configured by $0, generated by GNU Autoconf 2.69,
22237 with options \\"\$ac_cs_config\\"
22239 Copyright (C) 2012 Free Software Foundation, Inc.
22240 This config.status script is free software; the Free Software Foundation
22241 gives unlimited permission to copy, distribute and modify it."
22243 ac_pwd='$ac_pwd'
22244 srcdir='$srcdir'
22245 test -n "\$AWK" || AWK=awk
22246 _ACEOF
22248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22249 # The default lists apply if the user does not specify any file.
22250 ac_need_defaults=:
22251 while test $# != 0
22253 case $1 in
22254 --*=?*)
22255 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22256 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22257 ac_shift=:
22259 --*=)
22260 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22261 ac_optarg=
22262 ac_shift=:
22265 ac_option=$1
22266 ac_optarg=$2
22267 ac_shift=shift
22269 esac
22271 case $ac_option in
22272 # Handling of the options.
22273 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22274 ac_cs_recheck=: ;;
22275 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22276 $as_echo "$ac_cs_version"; exit ;;
22277 --config | --confi | --conf | --con | --co | --c )
22278 $as_echo "$ac_cs_config"; exit ;;
22279 --debug | --debu | --deb | --de | --d | -d )
22280 debug=: ;;
22281 --file | --fil | --fi | --f )
22282 $ac_shift
22283 case $ac_optarg in
22284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22285 '') as_fn_error $? "missing file argument" ;;
22286 esac
22287 as_fn_append CONFIG_FILES " '$ac_optarg'"
22288 ac_need_defaults=false;;
22289 --header | --heade | --head | --hea )
22290 $ac_shift
22291 case $ac_optarg in
22292 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22293 esac
22294 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22295 ac_need_defaults=false;;
22296 --he | --h)
22297 # Conflict between --help and --header
22298 as_fn_error $? "ambiguous option: \`$1'
22299 Try \`$0 --help' for more information.";;
22300 --help | --hel | -h )
22301 $as_echo "$ac_cs_usage"; exit ;;
22302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22303 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22304 ac_cs_silent=: ;;
22306 # This is an error.
22307 -*) as_fn_error $? "unrecognized option: \`$1'
22308 Try \`$0 --help' for more information." ;;
22310 *) as_fn_append ac_config_targets " $1"
22311 ac_need_defaults=false ;;
22313 esac
22314 shift
22315 done
22317 ac_configure_extra_args=
22319 if $ac_cs_silent; then
22320 exec 6>/dev/null
22321 ac_configure_extra_args="$ac_configure_extra_args --silent"
22324 _ACEOF
22325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22326 if \$ac_cs_recheck; then
22327 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22328 shift
22329 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22330 CONFIG_SHELL='$SHELL'
22331 export CONFIG_SHELL
22332 exec "\$@"
22335 _ACEOF
22336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22337 exec 5>>config.log
22339 echo
22340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22341 ## Running $as_me. ##
22342 _ASBOX
22343 $as_echo "$ac_log"
22344 } >&5
22346 _ACEOF
22347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22349 # INIT-COMMANDS
22351 wine_fn_output_makedep ()
22353 as_dir=tools; as_fn_mkdir_p
22354 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22356 wine_fn_output_makefile ()
22358 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22359 `cat $wine_rules_file`
22360 _WINE_EOF
22361 as_fn_error $? "could not create Makefile" "$LINENO" 5
22364 _ACEOF
22366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22368 # Handling of arguments.
22369 for ac_config_target in $ac_config_targets
22371 case $ac_config_target in
22372 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22373 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22374 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22375 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22376 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22377 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22378 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22380 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22381 esac
22382 done
22385 # If the user did not use the arguments to specify the items to instantiate,
22386 # then the envvar interface is used. Set only those that are not.
22387 # We use the long form for the default assignment because of an extremely
22388 # bizarre bug on SunOS 4.1.3.
22389 if $ac_need_defaults; then
22390 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22391 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22392 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22393 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22396 # Have a temporary directory for convenience. Make it in the build tree
22397 # simply because there is no reason against having it here, and in addition,
22398 # creating and moving files from /tmp can sometimes cause problems.
22399 # Hook for its removal unless debugging.
22400 # Note that there is a small window in which the directory will not be cleaned:
22401 # after its creation but before its name has been assigned to `$tmp'.
22402 $debug ||
22404 tmp= ac_tmp=
22405 trap 'exit_status=$?
22406 : "${ac_tmp:=$tmp}"
22407 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22409 trap 'as_fn_exit 1' 1 2 13 15
22411 # Create a (secure) tmp directory for tmp files.
22414 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22415 test -d "$tmp"
22416 } ||
22418 tmp=./conf$$-$RANDOM
22419 (umask 077 && mkdir "$tmp")
22420 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22421 ac_tmp=$tmp
22423 # Set up the scripts for CONFIG_FILES section.
22424 # No need to generate them if there are no CONFIG_FILES.
22425 # This happens for instance with `./config.status config.h'.
22426 if test -n "$CONFIG_FILES"; then
22429 ac_cr=`echo X | tr X '\015'`
22430 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22431 # But we know of no other shell where ac_cr would be empty at this
22432 # point, so we can use a bashism as a fallback.
22433 if test "x$ac_cr" = x; then
22434 eval ac_cr=\$\'\\r\'
22436 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22437 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22438 ac_cs_awk_cr='\\r'
22439 else
22440 ac_cs_awk_cr=$ac_cr
22443 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22444 _ACEOF
22448 echo "cat >conf$$subs.awk <<_ACEOF" &&
22449 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22450 echo "_ACEOF"
22451 } >conf$$subs.sh ||
22452 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22453 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22454 ac_delim='%!_!# '
22455 for ac_last_try in false false false false false :; do
22456 . ./conf$$subs.sh ||
22457 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22459 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22460 if test $ac_delim_n = $ac_delim_num; then
22461 break
22462 elif $ac_last_try; then
22463 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22464 else
22465 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22467 done
22468 rm -f conf$$subs.sh
22470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22471 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22472 _ACEOF
22473 sed -n '
22475 s/^/S["/; s/!.*/"]=/
22478 s/^[^!]*!//
22479 :repl
22480 t repl
22481 s/'"$ac_delim"'$//
22482 t delim
22485 s/\(.\{148\}\)..*/\1/
22486 t more1
22487 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22490 b repl
22491 :more1
22492 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22495 s/.\{148\}//
22496 t nl
22497 :delim
22499 s/\(.\{148\}\)..*/\1/
22500 t more2
22501 s/["\\]/\\&/g; s/^/"/; s/$/"/
22504 :more2
22505 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22508 s/.\{148\}//
22509 t delim
22510 ' <conf$$subs.awk | sed '
22511 /^[^""]/{
22513 s/\n//
22515 ' >>$CONFIG_STATUS || ac_write_fail=1
22516 rm -f conf$$subs.awk
22517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22518 _ACAWK
22519 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22520 for (key in S) S_is_set[key] = 1
22521 FS = "\a"
22525 line = $ 0
22526 nfields = split(line, field, "@")
22527 substed = 0
22528 len = length(field[1])
22529 for (i = 2; i < nfields; i++) {
22530 key = field[i]
22531 keylen = length(key)
22532 if (S_is_set[key]) {
22533 value = S[key]
22534 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22535 len += length(value) + length(field[++i])
22536 substed = 1
22537 } else
22538 len += 1 + keylen
22541 print line
22544 _ACAWK
22545 _ACEOF
22546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22547 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22548 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22549 else
22551 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22552 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22553 _ACEOF
22555 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22556 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22557 # trailing colons and then remove the whole line if VPATH becomes empty
22558 # (actually we leave an empty line to preserve line numbers).
22559 if test "x$srcdir" = x.; then
22560 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22562 s///
22563 s/^/:/
22564 s/[ ]*$/:/
22565 s/:\$(srcdir):/:/g
22566 s/:\${srcdir}:/:/g
22567 s/:@srcdir@:/:/g
22568 s/^:*//
22569 s/:*$//
22571 s/\(=[ ]*\).*/\1/
22573 s/\n//
22574 s/^[^=]*=[ ]*$//
22578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22579 fi # test -n "$CONFIG_FILES"
22581 # Set up the scripts for CONFIG_HEADERS section.
22582 # No need to generate them if there are no CONFIG_HEADERS.
22583 # This happens for instance with `./config.status Makefile'.
22584 if test -n "$CONFIG_HEADERS"; then
22585 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22586 BEGIN {
22587 _ACEOF
22589 # Transform confdefs.h into an awk script `defines.awk', embedded as
22590 # here-document in config.status, that substitutes the proper values into
22591 # config.h.in to produce config.h.
22593 # Create a delimiter string that does not exist in confdefs.h, to ease
22594 # handling of long lines.
22595 ac_delim='%!_!# '
22596 for ac_last_try in false false :; do
22597 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22598 if test -z "$ac_tt"; then
22599 break
22600 elif $ac_last_try; then
22601 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22602 else
22603 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22605 done
22607 # For the awk script, D is an array of macro values keyed by name,
22608 # likewise P contains macro parameters if any. Preserve backslash
22609 # newline sequences.
22611 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22612 sed -n '
22613 s/.\{148\}/&'"$ac_delim"'/g
22614 t rset
22615 :rset
22616 s/^[ ]*#[ ]*define[ ][ ]*/ /
22617 t def
22619 :def
22620 s/\\$//
22621 t bsnl
22622 s/["\\]/\\&/g
22623 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22624 D["\1"]=" \3"/p
22625 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22627 :bsnl
22628 s/["\\]/\\&/g
22629 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22630 D["\1"]=" \3\\\\\\n"\\/p
22631 t cont
22632 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22633 t cont
22635 :cont
22637 s/.\{148\}/&'"$ac_delim"'/g
22638 t clear
22639 :clear
22640 s/\\$//
22641 t bsnlc
22642 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22644 :bsnlc
22645 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22646 b cont
22647 ' <confdefs.h | sed '
22648 s/'"$ac_delim"'/"\\\
22649 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22652 for (key in D) D_is_set[key] = 1
22653 FS = "\a"
22655 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22656 line = \$ 0
22657 split(line, arg, " ")
22658 if (arg[1] == "#") {
22659 defundef = arg[2]
22660 mac1 = arg[3]
22661 } else {
22662 defundef = substr(arg[1], 2)
22663 mac1 = arg[2]
22665 split(mac1, mac2, "(") #)
22666 macro = mac2[1]
22667 prefix = substr(line, 1, index(line, defundef) - 1)
22668 if (D_is_set[macro]) {
22669 # Preserve the white space surrounding the "#".
22670 print prefix "define", macro P[macro] D[macro]
22671 next
22672 } else {
22673 # Replace #undef with comments. This is necessary, for example,
22674 # in the case of _POSIX_SOURCE, which is predefined and required
22675 # on some systems where configure will not decide to define it.
22676 if (defundef == "undef") {
22677 print "/*", prefix defundef, macro, "*/"
22678 next
22682 { print }
22683 _ACAWK
22684 _ACEOF
22685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22686 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22687 fi # test -n "$CONFIG_HEADERS"
22690 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22691 shift
22692 for ac_tag
22694 case $ac_tag in
22695 :[FHLC]) ac_mode=$ac_tag; continue;;
22696 esac
22697 case $ac_mode$ac_tag in
22698 :[FHL]*:*);;
22699 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22700 :[FH]-) ac_tag=-:-;;
22701 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22702 esac
22703 ac_save_IFS=$IFS
22704 IFS=:
22705 set x $ac_tag
22706 IFS=$ac_save_IFS
22707 shift
22708 ac_file=$1
22709 shift
22711 case $ac_mode in
22712 :L) ac_source=$1;;
22713 :[FH])
22714 ac_file_inputs=
22715 for ac_f
22717 case $ac_f in
22718 -) ac_f="$ac_tmp/stdin";;
22719 *) # Look for the file first in the build tree, then in the source tree
22720 # (if the path is not absolute). The absolute path cannot be DOS-style,
22721 # because $ac_f cannot contain `:'.
22722 test -f "$ac_f" ||
22723 case $ac_f in
22724 [\\/$]*) false;;
22725 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22726 esac ||
22727 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22728 esac
22729 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22730 as_fn_append ac_file_inputs " '$ac_f'"
22731 done
22733 # Let's still pretend it is `configure' which instantiates (i.e., don't
22734 # use $as_me), people would be surprised to read:
22735 # /* config.h. Generated by config.status. */
22736 configure_input='Generated from '`
22737 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22738 `' by configure.'
22739 if test x"$ac_file" != x-; then
22740 configure_input="$ac_file. $configure_input"
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22742 $as_echo "$as_me: creating $ac_file" >&6;}
22744 # Neutralize special characters interpreted by sed in replacement strings.
22745 case $configure_input in #(
22746 *\&* | *\|* | *\\* )
22747 ac_sed_conf_input=`$as_echo "$configure_input" |
22748 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22749 *) ac_sed_conf_input=$configure_input;;
22750 esac
22752 case $ac_tag in
22753 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22754 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22755 esac
22757 esac
22759 ac_dir=`$as_dirname -- "$ac_file" ||
22760 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22761 X"$ac_file" : 'X\(//\)[^/]' \| \
22762 X"$ac_file" : 'X\(//\)$' \| \
22763 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22764 $as_echo X"$ac_file" |
22765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22766 s//\1/
22769 /^X\(\/\/\)[^/].*/{
22770 s//\1/
22773 /^X\(\/\/\)$/{
22774 s//\1/
22777 /^X\(\/\).*/{
22778 s//\1/
22781 s/.*/./; q'`
22782 as_dir="$ac_dir"; as_fn_mkdir_p
22783 ac_builddir=.
22785 case "$ac_dir" in
22786 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22788 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22789 # A ".." for each directory in $ac_dir_suffix.
22790 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22791 case $ac_top_builddir_sub in
22792 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22793 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22794 esac ;;
22795 esac
22796 ac_abs_top_builddir=$ac_pwd
22797 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22798 # for backward compatibility:
22799 ac_top_builddir=$ac_top_build_prefix
22801 case $srcdir in
22802 .) # We are building in place.
22803 ac_srcdir=.
22804 ac_top_srcdir=$ac_top_builddir_sub
22805 ac_abs_top_srcdir=$ac_pwd ;;
22806 [\\/]* | ?:[\\/]* ) # Absolute name.
22807 ac_srcdir=$srcdir$ac_dir_suffix;
22808 ac_top_srcdir=$srcdir
22809 ac_abs_top_srcdir=$srcdir ;;
22810 *) # Relative name.
22811 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22812 ac_top_srcdir=$ac_top_build_prefix$srcdir
22813 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22814 esac
22815 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22818 case $ac_mode in
22821 # CONFIG_FILE
22824 _ACEOF
22826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22827 # If the template does not know about datarootdir, expand it.
22828 # FIXME: This hack should be removed a few years after 2.60.
22829 ac_datarootdir_hack=; ac_datarootdir_seen=
22830 ac_sed_dataroot='
22831 /datarootdir/ {
22835 /@datadir@/p
22836 /@docdir@/p
22837 /@infodir@/p
22838 /@localedir@/p
22839 /@mandir@/p'
22840 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22841 *datarootdir*) ac_datarootdir_seen=yes;;
22842 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22844 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22845 _ACEOF
22846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22847 ac_datarootdir_hack='
22848 s&@datadir@&$datadir&g
22849 s&@docdir@&$docdir&g
22850 s&@infodir@&$infodir&g
22851 s&@localedir@&$localedir&g
22852 s&@mandir@&$mandir&g
22853 s&\\\${datarootdir}&$datarootdir&g' ;;
22854 esac
22855 _ACEOF
22857 # Neutralize VPATH when `$srcdir' = `.'.
22858 # Shell code in configure.ac might set extrasub.
22859 # FIXME: do we really want to maintain this feature?
22860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22861 ac_sed_extra="$ac_vpsub
22862 $extrasub
22863 _ACEOF
22864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22866 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22867 s|@configure_input@|$ac_sed_conf_input|;t t
22868 s&@top_builddir@&$ac_top_builddir_sub&;t t
22869 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22870 s&@srcdir@&$ac_srcdir&;t t
22871 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22872 s&@top_srcdir@&$ac_top_srcdir&;t t
22873 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22874 s&@builddir@&$ac_builddir&;t t
22875 s&@abs_builddir@&$ac_abs_builddir&;t t
22876 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22877 $ac_datarootdir_hack
22879 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22880 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22882 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22883 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22884 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22885 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22887 which seems to be undefined. Please make sure it is defined" >&5
22888 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22889 which seems to be undefined. Please make sure it is defined" >&2;}
22891 rm -f "$ac_tmp/stdin"
22892 case $ac_file in
22893 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22894 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22895 esac \
22896 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22900 # CONFIG_HEADER
22902 if test x"$ac_file" != x-; then
22904 $as_echo "/* $configure_input */" \
22905 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22906 } >"$ac_tmp/config.h" \
22907 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22908 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22910 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22911 else
22912 rm -f "$ac_file"
22913 mv "$ac_tmp/config.h" "$ac_file" \
22914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22916 else
22917 $as_echo "/* $configure_input */" \
22918 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22919 || as_fn_error $? "could not create -" "$LINENO" 5
22924 # CONFIG_LINK
22927 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22929 else
22930 # Prefer the file from the source tree if names are identical.
22931 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22932 ac_source=$srcdir/$ac_source
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22936 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22938 if test ! -r "$ac_source"; then
22939 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22941 rm -f "$ac_file"
22943 # Try a relative symlink, then a hard link, then a copy.
22944 case $ac_source in
22945 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22946 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22947 esac
22948 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22949 ln "$ac_source" "$ac_file" 2>/dev/null ||
22950 cp -p "$ac_source" "$ac_file" ||
22951 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22954 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22955 $as_echo "$as_me: executing $ac_file commands" >&6;}
22957 esac
22960 case $ac_file$ac_mode in
22961 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22962 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22963 "Makefile":C) wine_fn_output_makefile Makefile ;;
22965 esac
22966 done # for ac_tag
22969 as_fn_exit 0
22970 _ACEOF
22971 ac_clean_files=$ac_clean_files_save
22973 test $ac_write_fail = 0 ||
22974 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22977 # configure is writing to config.log, and then calls config.status.
22978 # config.status does its own redirection, appending to config.log.
22979 # Unfortunately, on DOS this fails, as config.log is still kept open
22980 # by configure, so config.status won't be able to write to it; its
22981 # output is simply discarded. So we exec the FD to /dev/null,
22982 # effectively closing config.log, so it can be properly (re)opened and
22983 # appended to by config.status. When coming back to configure, we
22984 # need to make the FD available again.
22985 if test "$no_create" != yes; then
22986 ac_cs_success=:
22987 ac_config_status_args=
22988 test "$silent" = yes &&
22989 ac_config_status_args="$ac_config_status_args --quiet"
22990 exec 5>/dev/null
22991 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22992 exec 5>>config.log
22993 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22994 # would make configure fail if this is the last instruction.
22995 $ac_cs_success || as_fn_exit 1
22997 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22999 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23003 if test "$no_create" = "yes"
23004 then
23005 exit 0
23008 ac_save_IFS="$IFS"
23009 if test "x$wine_notices" != x; then
23010 echo >&6
23011 IFS="|"
23012 for msg in $wine_notices; do
23013 IFS="$ac_save_IFS"
23014 if ${msg:+false} :; then :
23016 else
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
23018 $as_echo "$as_me: $msg" >&6;}
23020 done
23022 IFS="|"
23023 for msg in $wine_warnings; do
23024 IFS="$ac_save_IFS"
23025 if ${msg:+false} :; then :
23027 else
23028 echo >&2
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23030 $as_echo "$as_me: WARNING: $msg" >&2;}
23032 done
23033 IFS="$ac_save_IFS"
23035 $as_echo "
23036 $as_me: Finished. Do '${ac_make}' to compile Wine.
23037 " >&6